1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

103003 Commits

Author SHA1 Message Date
Chong Yidong
06e21633a4 Fix minor mode docstrings for the new meaning of a nil ARG.
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.

* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04:00
Eli Zaretskii
12b3296319 Followup to 2011-10-19T09:48:35Z!eliz@gnu.org.
src/xdisp.c (try_window_reusing_current_matrix): If a line ends in a display
 vector or the next line starts in a display vector, continue
 redrawing the window even though the character position of
 start_row was reached.

Fixes: debbugs:9771
2011-10-19 13:46:17 +02:00
Glenn Morris
ba9d54beb6 Auto-commit of generated files. 2011-10-19 06:18:49 -04:00
Eli Zaretskii
8547b010fa Fix part 2 of bug #9771 with lines that start with a display vector.
src/xdisp.c (start_display): If the character at POS is displayed
 via a display vector, reset IT->current.dpvec_index to zero.
2011-10-19 11:48:35 +02:00
Juri Linkov
5214e501a2 * lisp/net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
by checking environment variables "DESKTOP_SESSION" and
"XDG_CURRENT_DESKTOP".

Fixes: debbugs:9779
2011-10-19 12:10:10 +03:00
Juri Linkov
195f8db97d * lisp/net/browse-url.el (browse-url-browser-function): Add "Chromium".
(browse-url-chromium-program, browse-url-chromium-arguments):
New defcustoms.
(browse-url-default-browser): Check for `browse-url-chromium' and
call `browse-url-chromium-program'.
(browse-url-chromium): New command.

Fixes: debbugs:9779
2011-10-19 12:03:39 +03:00
Chong Yidong
5abc31ef18 Update Search chapter in Emacs manual.
* doc/emacs/search.texi (Repeat Isearch, Error in Isearch): Add kindex entries.
(Isearch Yank): Document isearch-yank-pop.
(Isearch Scroll): Refer to C-l instead of unbound `recenter'.
(Other Repeating Search): Document Occur Edit mode.
2011-10-19 00:21:52 -04:00
Chong Yidong
939db9ac78 More edits to Display chapter of Emacs manual.
* doc/emacs/display.texi (Fringes): Move overflow-newline-into-fringe here,
from Line Truncation node.
(Standard Faces): Note that only the background of the cursor face
has an effect.
(Cursor Display): Fix descriptions of cursor face
and bar cursor blinking.
(Text Display): Document nobreak-char-display more clearly.
(Line Truncation): Add xref to Split Window node.
(Display Custom): Don't bother documenting baud-rate or
no-redraw-on-reenter.

* doc/emacs/search.texi (Slow Isearch): Node removed.
2011-10-18 17:11:17 -04:00
Chong Yidong
4e948d153a Have nobreak-char-display handle U+2010 and U+2011.
See discussion at
http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00747.html

* src/xdisp.c (get_next_display_element): Handle U+2010 and U+2011
with nobreak-char-display too.
2011-10-18 17:07:56 -04:00
Jan Djärv
0ffe10653b * configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10.
Fixes: debbugs:9786
2011-10-18 20:12:53 +02:00
Eli Zaretskii
4787455fb7 Fix bug #9771 with slow redisplay in long lines full of control characters.
src/bidi.c (bidi_line_init): Initialize next_en_pos to zero, not -1.
 (bidi_resolve_neutral): Don't enter the expensive loop looking for
 non-neutral characters if the current character is a paragraph
 separator (a.k.a. Newline).  This avoids running the same
 expensive loop twice, once when we consume the preceding newline
 and the other time when the line actually needs to be displayed.
 Avoid the loop when we see neutrals on the base embedding level
 following a character whose directionality is the same as the
 paragraph's.  This avoids running the expensive loop when a line
 ends in a long sequence of neutrals, like control characters.
 Add assertion against STRONG_AL type.  Slightly rearrange code
 that determines the type of a neutral given the first non-neutral
 that follows it.
 (bidi_level_of_next_char): Set next_en_pos to zero when
 invalidating its info.
2011-10-18 18:56:09 +02:00
Paul Eggert
0a768890ba 2 GiB, not 4 GiB, for buffer sizes. 2011-10-18 08:55:20 -07:00
Paul Eggert
1987bb15c5 Mention buffer size limit --with-wide-int on 32-bit hosts. 2011-10-18 08:34:06 -07:00
Juanma Barranquero
343a34ff0b lisp/facemenu.el (list-colors-duplicates): Detect more duplicates on Windows.
Fixes: debbugs:9722
2011-10-18 16:31:27 +02:00
Teodor Zlatanov
97d0a92c79 Merge changes made in Gnus trunk.
gnus-util.el (gnus-bound-and-true-p): Macro for XEmacs compatibility.
nnir.el (nnir-mode): Use it.
nnmairix.el (nnmairix-determine-original-group-from-registry): Use it.
nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy.
nnmairix.el (gnus-registry-enabled): Ditto.
2011-10-18 14:10:52 +00:00
Stefan Monnier
6978a1514a * lisp/vc/log-edit.el (log-edit): Add "Author:" header to encourage people
to distinguish the author from the committer.
2011-10-18 09:38:09 -04:00
Michael Albinus
6a80b297a1 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently. 2011-10-18 11:58:06 +02:00
Daiki Ueno
28ef7b4285 Fix changelog entry for the last mml2015-epg-find-usable-key change. 2011-10-18 08:12:19 +00:00
Jirka Kosek
b31a567723 * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
Add support for detecting encoding in HTML5 specified only as
<meta charset="UTF-8">.  Implementation just makes http-equiv and
content-type parts from HTML4 encoding string optional.

Fixes: debbugs:9716
2011-10-18 11:02:47 +03:00
Glenn Morris
80c6d77f2d Doc fixes related to vc-initial-comment.
* doc/emacs/maintaining.texi (Registering): Remove vc-initial-comment. 

* lisp/vc/vc.el (vc-initial-comment): Mark as obsolete.

* lisp/ChangeLog.15: Fix old entry.

* etc/NEWS: Mention this.

Fixes: debbugs:9745
2011-10-17 23:52:32 -07:00
Glenn Morris
c9eb8bd155 Small updates for admin/notes/.
* admin/notes/changelogs: Copy some info here from copyright.
* admin/notes/copyright: Tiny update.
2011-10-17 23:24:57 -07:00
Chong Yidong
23769e49c7 * make-dist: Remove Cocoa/Emacs.xcodeproj from distribution. 2011-10-18 02:19:28 -04:00
Chong Yidong
08b0fee82a * lisp/faces.el (cursor): Doc fix.
Also, remove the :foreground attributes from cursor faces
in built-in themes, since that attribute is unmeaningful.
2011-10-18 02:17:05 -04:00
Jan Djärv
743d0817bc Removed nextstep/Cocoa/Emacs.xcodeproj. 2011-10-18 07:47:56 +02:00
Chong Yidong
d366bd532d Edits to Display chapter of Emacs manual.
* doc/emacs/display.texi (Faces): Simplify discussion.  Move documentation
of list-faces-display here, from Standard Faces node.  Note
special role of `default' background.
(Standard Faces): Note special role of `default' background.  Note
that region face may be taken fom GTK.  Add xref to Text Display.
(Text Scale): Rename from "Temporary Face Changes".  Callers
changed.  Don't bother documenting variable-pitch-mode.
(Font Lock): Copyedits.  Remove font-lock-maximum-size.
(Useless Whitespace): Simplify description of
delete-trailing-whitespace.  Note active region case.
(Text Display): Fix description of escape-glyph face assignment.
Remove unibye mode discussion.  Update some parts for Unicode.
Move glyphless chars documentation to Lisp manual.

* doc/emacs/frames.texi (Tooltips): Document x-gtk-use-system-tooltips.

* doc/lispref/display.texi (Glyphless Chars): New node.
2011-10-17 21:42:28 -04:00
Teodor Zlatanov
aa22bff2be Merge changes made in Gnus trunk.
From Dave Abrahams <dave@boostpro.com>.
gnus-registry.el (gnus-registry-enabled): Add new variable.
 (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask only while we need to find out if it should be t or nil.
 (gnus-registry-initialize): Don't set `gnus-registry-install' to t.
 (gnus-registry-install-hooks): Set `gnus-registry-enabled' to t when the registry is installed.  Set it to nil when it's unloaded.
 (gnus-registry-install-p): Provide user guidance for the initial value of `gnus-registry-install' when it's 'ask, otherwise return its value.
nnregistry.el (nnregistry-open-server, nnregistry-server-opened): Use `gnus-registry-enabled' instead of `gnus-registry-install'.
nnmairix.el (nnmairix-determine-original-group-from-registry): Use `gnus-registry-enabled' instead of `gnus-registry-install'.
nnir.el (nnir-mode): Use `gnus-registry-enabled' instead of `gnus-registry-install'.
2011-10-17 22:51:37 +00:00
Chong Yidong
67e729a5f7 * lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete. 2011-10-17 18:21:48 -04:00
Ryan Barrett
87e478b3c1 * dirtrack.el (dirtrack): Support shell buffers with path
prefixes, e.g. tramp-based remote shells.  (Bug#9647)
2011-10-17 21:48:28 +02:00
Eli Zaretskii
f2ff9e8894 Fix part 1 of bug #9771 with assertion violation in move_it_by_lines.
src/xdisp.c (move_it_vertically_backward): Don't look for character position
 immediately after the newline when in a continuation line.
2011-10-17 21:13:44 +02:00
Ted Zlatanov
0bc0638017 * json.el: Bump version to 1.3; (json-alist-p, json-plist-p): Rewrite to avoid recursion. 2011-10-17 13:40:27 -04:00
Glenn Morris
f1bfb0db98 ChangeLog fix (problem had no particular relation to CentOS). 2011-10-17 13:28:17 -04:00
Stefan Monnier
fa92a650fd * lisp/comint.el (comint-insert-input): Fix last change. 2011-10-17 13:14:04 -04:00
Eli Zaretskii
2c91f553b7 Fix part 4 of bug#9771 with assertion violation when wrap-prefix is used
for a line that begins with control characters.

 src/xdisp.c (push_display_prop): Determine whether to record string
 or buffer position by IT->string, not by IT->method.  Allow
 GET_FROM_DISPLAY_VECTOR as IT->method on entry.
2011-10-17 19:03:20 +02:00
Stefan Monnier
5a7c536b92 comint.el: Don't let insert' break an input' field into two.
* lisp/comint.el (comint-insert-input, comint-send-input)
(comint-get-old-input-default, comint-backward-matching-input)
(comint-next-prompt): Use nil instead of `input' for field property of
past user input (bug#114).

Fixes: debbugs:9160
2011-10-17 12:33:23 -04:00
Stefan Monnier
96a8a0dfd6 * lisp/minibuffer.el (completion--replace): Inherit surrounding properties.
(minibuffer-complete-and-exit): Use it.

Fixes: debbugs:114
2011-10-17 12:30:02 -04:00
Stefan Monnier
8b79f3e0ed * lisp/comint.el (comint--table-subvert): Quote the all-completions output.
Fixes: debbugs:9160
2011-10-17 09:43:40 -04:00
Martin Rudalics
4e5c3d2bf1 Remove redundant :type entry from ido-default-buffer-method 2011-10-17 15:27:53 +02:00
Martin Rudalics
d912bdcf9b Fix bug reference in ChangeLog 2011-10-17 15:11:46 +02:00
Martin Rudalics
b8f7ff0d82 Rewrite window related menu entries. (Bug#6786)
* menu-bar.el (menu-bar-file-menu): Add entry for making new
window on right of selected.  (Bug#6786) Reword other window
entries and separate them from frame entries.
2011-10-17 14:52:31 +02:00
Daiki Ueno
344465fd3b Merge changes made in Gnus trunk.
mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the primary key is marked as disabled.
mml1991.el (mml1991-epg-find-usable-key): Ditto.  Thanks to Christian von Roques <roques@mti.ag>.
2011-10-17 04:29:19 +00:00
Glenn Morris
21fedf28e5 * test/automated/f90.el: New file. 2011-10-15 13:56:02 -07:00
Glenn Morris
c235b55508 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests): Doc fixes. 2011-10-15 12:24:14 -07:00
Chong Yidong
ec5c990d86 * net/network-stream.el (network-stream-open-starttls): Improve failure detection
for lack of TLS capability.
2011-10-15 12:57:38 -04:00
Chong Yidong
4185924154 * doc/emacs/display.texi (Scrolling): Tweak explanation of scroll direction.
(View Mode): Add index entries.
2011-10-15 12:38:45 -04:00
Chong Yidong
21100e7d3f Two minor manual updates.
* doc/emacs/killing.texi (Deletion): Document negative prefix arg to M-SPC.

* doc/emacs/regs.texi (Text Registers): C-x r i does not activate the mark.
(Bookmarks): Document new default bookmark location.
2011-10-15 12:37:45 -04:00
Chong Yidong
6bbfa6e17d * lisp/mail/sendmail.el (sendmail-query-once): Tweak prompt message
putting the argument choices in front and in bold.
2011-10-15 12:35:19 -04:00
Martin Rudalics
c7b08b0d14 Rewrite and delabelize vertical border check. (Bug#5357) (Bug#9618)
* window.c (coordinates_in_window): Rewrite and delabelize
vertical border check.  (Bug#5357) (Bug#9618)
2011-10-15 12:12:00 +02:00
Stefan Monnier
3d1337be7b * lisp/pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging. 2011-10-14 14:39:16 -04:00
Stefan Monnier
ee0b45e4c2 * lisp/mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
empty buffer.
2011-10-14 14:37:53 -04:00
Stefan Monnier
984889776c * lisp/mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
unread-command-events rather than pushing yet-another event.
2011-10-14 14:36:33 -04:00