]> code.delx.au - gnu-emacs/log
gnu-emacs
12 years agoUse mode-require-final-newline for idlwave.el and vera-mode.el.
Chong Yidong [Fri, 21 Oct 2011 02:23:59 +0000 (22:23 -0400)]
Use mode-require-final-newline for idlwave.el and vera-mode.el.
* progmodes/idlwave.el (idlwave-mode):
* progmodes/vera-mode.el (vera-mode): Use mode-require-final-newline.

12 years ago* test/automated/vc-bzr.el (vc-bzr-test-bug9781): New test.
Glenn Morris [Thu, 20 Oct 2011 22:23:54 +0000 (18:23 -0400)]
* test/automated/vc-bzr.el (vc-bzr-test-bug9781): New test.

12 years ago* lisp/vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
Glenn Morris [Thu, 20 Oct 2011 21:01:45 +0000 (17:01 -0400)]
* lisp/vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)

12 years agosrc/bidi.c: Fix a typo in a comment.
Eli Zaretskii [Thu, 20 Oct 2011 16:37:10 +0000 (18:37 +0200)]
src/bidi.c: Fix a typo in a comment.

12 years agoImprove the speedup of bidi display introduced in 2011-10-18T16:56:09Z!eliz@gnu.org...
Eli Zaretskii [Thu, 20 Oct 2011 12:39:52 +0000 (14:39 +0200)]
Improve the speedup of bidi display introduced in 2011-10-18T16:56:09Z!eliz@gnu.org for bug#9771.

 src/dispextern.h (struct bidi_it): New member next_en_type.
 src/bidi.c (bidi_line_init): Initialize the next_en_type member.
 (bidi_resolve_explicit_1): When next_en_pos is valid for the
 current character, check also for next_en_type being WEAK_EN.
 (bidi_resolve_weak): Don't enter the expensive loop if the current
 position is before next_en_pos.  Record the bidi type of the first
 non-ET, non-BN character we find, in addition to its position.
 (bidi_level_of_next_char): Invalidate next_en_type when
 next_en_pos is over-stepped.

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 20 Oct 2011 10:20:23 +0000 (06:20 -0400)]
Auto-commit of generated files.

12 years agoTime zone name fixes for non-ASCII locales (Bug#641, Bug#9794)
Paul Eggert [Thu, 20 Oct 2011 06:52:55 +0000 (23:52 -0700)]
Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794)

* configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
Remove; no longer needed, now that we defer to strftime for time
zone names.
* src/editfns.c: Rewrite current-time-zone so that it invokes
the equivalent of (format-time-string "%Z") to get the time zone name.
This fixes a bug when the time zone name contains characters that
need converting from the system time locale to Emacs internal format.
This fixes a shortcoming that I introduced in my 1999-10-19 patch:
that patch fixed format-time-string to do the conversion, but
I forgot to fix current-time-zone.
(format_time_string): New function, containing most of
what Fformat_time_string used to contain.
(Fformat_time_string): Rewrite in terms of format_time_string.
This doesn't change this function's behavior.
(current-time-zone): Rewrite to use format_time_string.
This fixes the bug reported by Michael Schierl in
<http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>.
Jason Rumney's 2007-06-07 change worked around this bug, but
didn't fix it.
* src/systime.h (tzname, timezone): Remove no-longer-used declarations.

12 years agoFix ChangeLog attribution.
Glenn Morris [Thu, 20 Oct 2011 04:16:51 +0000 (21:16 -0700)]
Fix ChangeLog attribution.

This was clearly a tiny change, ref:
http://article.gmane.org/gmane.emacs.gnus.cvs/8206

12 years agoFix ChangeLog attribution.
Glenn Morris [Thu, 20 Oct 2011 04:09:12 +0000 (21:09 -0700)]
Fix ChangeLog attribution.

All 4 listed authors have assignments, so I am not going to bother
working out precisely who wrote which piece of this.

12 years agoFix ChangeLog attribution.
Glenn Morris [Thu, 20 Oct 2011 04:05:36 +0000 (21:05 -0700)]
Fix ChangeLog attribution.

Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56492/focus=57459

From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: display picons _and_ textual address
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-18 12:21:19 GMT

12 years agoFix ChangeLog attribution.
Glenn Morris [Thu, 20 Oct 2011 03:58:45 +0000 (20:58 -0700)]
Fix ChangeLog attribution.

Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56861/focus=56907

From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: CRM114 Mailfilter and spam.el
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-20 18:39:25 GMT

12 years agoFix ChangeLog attribution, add bug ref.
Glenn Morris [Thu, 20 Oct 2011 03:50:14 +0000 (20:50 -0700)]
Fix ChangeLog attribution, add bug ref.

12 years ago* test/automated/vc-bzr.el: New file.
Glenn Morris [Thu, 20 Oct 2011 03:39:45 +0000 (20:39 -0700)]
* test/automated/vc-bzr.el: New file.

12 years ago* emulation/cua-base.el (cua-set-mark): Fix case of string.
Christoph Scholtes [Thu, 20 Oct 2011 01:40:32 +0000 (19:40 -0600)]
* emulation/cua-base.el (cua-set-mark): Fix case of string.

12 years agoAdapt to new minor mode function behavior in manual examples.
Chong Yidong [Thu, 20 Oct 2011 00:41:15 +0000 (20:41 -0400)]
Adapt to new minor mode function behavior in manual examples.

* doc/emacs/custom.texi (Hooks, Init Examples):
* doc/emacs/display.texi (Font Lock):
* doc/emacs/fixit.texi (Spelling):
* doc/emacs/rmail.texi (Rmail Display): Minor mode function with no arg now
enables it.

* doc/emacs/fixit.texi (Spelling): Fix description of inline completion.

12 years agoFix more minor mode docstrings.
Chong Yidong [Thu, 20 Oct 2011 00:26:14 +0000 (20:26 -0400)]
Fix more minor mode docstrings.

* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.

* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.

* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.

* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).

12 years ago* lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
Juri Linkov [Wed, 19 Oct 2011 22:35:48 +0000 (01:35 +0300)]
* lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
the list of hard-coded chars with escape-glyph face.

12 years ago* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
Stefan Monnier [Wed, 19 Oct 2011 21:43:41 +0000 (17:43 -0400)]
* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.

12 years ago* net/tramp.el (tramp-connectable-p): Make a stronger check on a
Michael Albinus [Wed, 19 Oct 2011 20:21:35 +0000 (22:21 +0200)]
* net/tramp.el (tramp-connectable-p): Make a stronger check on a
running process.

12 years ago* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Ignore ignored files.
Glenn Morris [Wed, 19 Oct 2011 16:42:20 +0000 (09:42 -0700)]
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Ignore ignored files.

Fixes: debbugs:9726
12 years ago* INSTALL: Remove XCode part.
Jan Djärv [Wed, 19 Oct 2011 15:42:29 +0000 (17:42 +0200)]
* INSTALL: Remove XCode part.

12 years agoFix minor mode docstrings for the new meaning of a nil ARG.
Chong Yidong [Wed, 19 Oct 2011 12:54:24 +0000 (08:54 -0400)]
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.

12 years agoFollowup to 2011-10-19T09:48:35Z!eliz@gnu.org.
Eli Zaretskii [Wed, 19 Oct 2011 11:46:17 +0000 (13:46 +0200)]
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
12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 19 Oct 2011 10:18:49 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoFix part 2 of bug #9771 with lines that start with a display vector.
Eli Zaretskii [Wed, 19 Oct 2011 09:48:35 +0000 (11:48 +0200)]
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.

12 years ago* lisp/net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
Juri Linkov [Wed, 19 Oct 2011 09:10:10 +0000 (12:10 +0300)]
* 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
12 years ago* lisp/net/browse-url.el (browse-url-browser-function): Add "Chromium".
Juri Linkov [Wed, 19 Oct 2011 09:03:39 +0000 (12:03 +0300)]
* 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
12 years agoUpdate Search chapter in Emacs manual.
Chong Yidong [Wed, 19 Oct 2011 04:21:52 +0000 (00:21 -0400)]
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.

12 years agoMore edits to Display chapter of Emacs manual.
Chong Yidong [Tue, 18 Oct 2011 21:11:17 +0000 (17:11 -0400)]
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.

12 years agoHave nobreak-char-display handle U+2010 and U+2011.
Chong Yidong [Tue, 18 Oct 2011 21:07:56 +0000 (17:07 -0400)]
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.

12 years ago* configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10.
Jan Djärv [Tue, 18 Oct 2011 18:12:53 +0000 (20:12 +0200)]
* configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10.

Fixes: debbugs:9786
12 years agoFix bug #9771 with slow redisplay in long lines full of control characters.
Eli Zaretskii [Tue, 18 Oct 2011 16:56:09 +0000 (18:56 +0200)]
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.

12 years ago2 GiB, not 4 GiB, for buffer sizes.
Paul Eggert [Tue, 18 Oct 2011 15:55:20 +0000 (08:55 -0700)]
2 GiB, not 4 GiB, for buffer sizes.

12 years agoMention buffer size limit --with-wide-int on 32-bit hosts.
Paul Eggert [Tue, 18 Oct 2011 15:34:06 +0000 (08:34 -0700)]
Mention buffer size limit --with-wide-int on 32-bit hosts.

12 years agolisp/facemenu.el (list-colors-duplicates): Detect more duplicates on Windows.
Juanma Barranquero [Tue, 18 Oct 2011 14:31:27 +0000 (16:31 +0200)]
lisp/facemenu.el (list-colors-duplicates): Detect more duplicates on Windows.

Fixes: debbugs:9722
12 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Tue, 18 Oct 2011 14:10:52 +0000 (14:10 +0000)]
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.

12 years ago* lisp/vc/log-edit.el (log-edit): Add "Author:" header to encourage people
Stefan Monnier [Tue, 18 Oct 2011 13:38:09 +0000 (09:38 -0400)]
* lisp/vc/log-edit.el (log-edit): Add "Author:" header to encourage people
to distinguish the author from the committer.

12 years ago* net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
Michael Albinus [Tue, 18 Oct 2011 09:58:06 +0000 (11:58 +0200)]
* net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.

12 years agoFix changelog entry for the last mml2015-epg-find-usable-key change.
Daiki Ueno [Tue, 18 Oct 2011 08:12:19 +0000 (08:12 +0000)]
Fix changelog entry for the last mml2015-epg-find-usable-key change.

12 years ago* lisp/international/mule.el (sgml-html-meta-auto-coding-function):
Jirka Kosek [Tue, 18 Oct 2011 08:02:47 +0000 (11:02 +0300)]
* 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
12 years agoDoc fixes related to vc-initial-comment.
Glenn Morris [Tue, 18 Oct 2011 06:52:32 +0000 (23:52 -0700)]
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
12 years agoSmall updates for admin/notes/.
Glenn Morris [Tue, 18 Oct 2011 06:24:57 +0000 (23:24 -0700)]
Small updates for admin/notes/.

* admin/notes/changelogs: Copy some info here from copyright.
* admin/notes/copyright: Tiny update.

12 years ago* make-dist: Remove Cocoa/Emacs.xcodeproj from distribution.
Chong Yidong [Tue, 18 Oct 2011 06:19:28 +0000 (02:19 -0400)]
* make-dist: Remove Cocoa/Emacs.xcodeproj from distribution.

12 years ago* lisp/faces.el (cursor): Doc fix.
Chong Yidong [Tue, 18 Oct 2011 06:17:05 +0000 (02:17 -0400)]
* lisp/faces.el (cursor): Doc fix.

Also, remove the :foreground attributes from cursor faces
in built-in themes, since that attribute is unmeaningful.

12 years agoRemoved nextstep/Cocoa/Emacs.xcodeproj.
Jan Djärv [Tue, 18 Oct 2011 05:47:56 +0000 (07:47 +0200)]
Removed nextstep/Cocoa/Emacs.xcodeproj.

12 years agoEdits to Display chapter of Emacs manual.
Chong Yidong [Tue, 18 Oct 2011 01:42:28 +0000 (21:42 -0400)]
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.

12 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Mon, 17 Oct 2011 22:51:37 +0000 (22:51 +0000)]
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'.

12 years ago* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
Chong Yidong [Mon, 17 Oct 2011 22:21:48 +0000 (18:21 -0400)]
* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.

12 years ago* dirtrack.el (dirtrack): Support shell buffers with path
Ryan Barrett [Mon, 17 Oct 2011 19:48:28 +0000 (21:48 +0200)]
* dirtrack.el (dirtrack): Support shell buffers with path
prefixes, e.g. tramp-based remote shells.  (Bug#9647)

12 years agoFix part 1 of bug #9771 with assertion violation in move_it_by_lines.
Eli Zaretskii [Mon, 17 Oct 2011 19:13:44 +0000 (21:13 +0200)]
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.

12 years ago* json.el: Bump version to 1.3; (json-alist-p, json-plist-p): Rewrite to avoid recursion.
Ted Zlatanov [Mon, 17 Oct 2011 17:40:27 +0000 (13:40 -0400)]
* json.el: Bump version to 1.3; (json-alist-p, json-plist-p): Rewrite to avoid recursion.

12 years agoChangeLog fix (problem had no particular relation to CentOS).
Glenn Morris [Mon, 17 Oct 2011 17:28:17 +0000 (13:28 -0400)]
ChangeLog fix (problem had no particular relation to CentOS).

12 years ago* lisp/comint.el (comint-insert-input): Fix last change.
Stefan Monnier [Mon, 17 Oct 2011 17:14:04 +0000 (13:14 -0400)]
* lisp/comint.el (comint-insert-input): Fix last change.

12 years agoFix part 4 of bug#9771 with assertion violation when wrap-prefix is used
Eli Zaretskii [Mon, 17 Oct 2011 17:03:20 +0000 (19:03 +0200)]
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.

12 years agocomint.el: Don't let `insert' break an `input' field into two.
Stefan Monnier [Mon, 17 Oct 2011 16:33:23 +0000 (12:33 -0400)]
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
12 years ago* lisp/minibuffer.el (completion--replace): Inherit surrounding properties.
Stefan Monnier [Mon, 17 Oct 2011 16:30:02 +0000 (12:30 -0400)]
* lisp/minibuffer.el (completion--replace): Inherit surrounding properties.
(minibuffer-complete-and-exit): Use it.

Fixes: debbugs:114
12 years ago* lisp/comint.el (comint--table-subvert): Quote the all-completions output.
Stefan Monnier [Mon, 17 Oct 2011 13:43:40 +0000 (09:43 -0400)]
* lisp/comint.el (comint--table-subvert): Quote the all-completions output.

Fixes: debbugs:9160
12 years agoRemove redundant :type entry from ido-default-buffer-method
Martin Rudalics [Mon, 17 Oct 2011 13:27:53 +0000 (15:27 +0200)]
Remove redundant :type entry from ido-default-buffer-method

12 years agoFix bug reference in ChangeLog
Martin Rudalics [Mon, 17 Oct 2011 13:11:46 +0000 (15:11 +0200)]
Fix bug reference in ChangeLog

12 years agoRewrite window related menu entries. (Bug#6786)
Martin Rudalics [Mon, 17 Oct 2011 12:52:31 +0000 (14:52 +0200)]
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.

12 years agoMerge changes made in Gnus trunk.
Daiki Ueno [Mon, 17 Oct 2011 04:29:19 +0000 (04:29 +0000)]
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>.

12 years ago* test/automated/f90.el: New file.
Glenn Morris [Sat, 15 Oct 2011 20:56:02 +0000 (13:56 -0700)]
* test/automated/f90.el: New file.

12 years ago* emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests): Doc fixes.
Glenn Morris [Sat, 15 Oct 2011 19:24:14 +0000 (12:24 -0700)]
* emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests): Doc fixes.

12 years ago* net/network-stream.el (network-stream-open-starttls): Improve failure detection
Chong Yidong [Sat, 15 Oct 2011 16:57:38 +0000 (12:57 -0400)]
* net/network-stream.el (network-stream-open-starttls): Improve failure detection
for lack of TLS capability.

12 years ago* doc/emacs/display.texi (Scrolling): Tweak explanation of scroll direction.
Chong Yidong [Sat, 15 Oct 2011 16:38:45 +0000 (12:38 -0400)]
* doc/emacs/display.texi (Scrolling): Tweak explanation of scroll direction.
(View Mode): Add index entries.

12 years agoTwo minor manual updates.
Chong Yidong [Sat, 15 Oct 2011 16:37:45 +0000 (12:37 -0400)]
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.

12 years ago* lisp/mail/sendmail.el (sendmail-query-once): Tweak prompt message
Chong Yidong [Sat, 15 Oct 2011 16:35:19 +0000 (12:35 -0400)]
* lisp/mail/sendmail.el (sendmail-query-once): Tweak prompt message
putting the argument choices in front and in bold.

12 years agoRewrite and delabelize vertical border check. (Bug#5357) (Bug#9618)
Martin Rudalics [Sat, 15 Oct 2011 10:12:00 +0000 (12:12 +0200)]
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)

12 years ago* lisp/pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
Stefan Monnier [Fri, 14 Oct 2011 18:39:16 +0000 (14:39 -0400)]
* lisp/pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.

12 years ago* lisp/mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
Stefan Monnier [Fri, 14 Oct 2011 18:37:53 +0000 (14:37 -0400)]
* lisp/mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
empty buffer.

12 years ago* lisp/mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
Stefan Monnier [Fri, 14 Oct 2011 18:36:33 +0000 (14:36 -0400)]
* lisp/mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
unread-command-events rather than pushing yet-another event.

12 years ago* src/xterm.c (frame_highlight, frame_unhighlight): Ignore unexplained
Stefan Monnier [Fri, 14 Oct 2011 17:44:39 +0000 (13:44 -0400)]
* src/xterm.c (frame_highlight, frame_unhighlight): Ignore unexplained
errors in XSetWindowBorder.

Fixes: debbugs:9310
12 years agoImprove wording in sendmail-query-once description of options.
Eli Zaretskii [Fri, 14 Oct 2011 13:49:32 +0000 (15:49 +0200)]
Improve wording in sendmail-query-once description of options.

 lisp/mail/sendmail.el (sendmail-query-once): Improve the wording of
 the explanation of the possible choices.  Make the options passed
 to completing-read shorter.

12 years agoMinor rewording of some sections of the ERT manual.
Glenn Morris [Fri, 14 Oct 2011 07:16:56 +0000 (00:16 -0700)]
Minor rewording of some sections of the ERT manual.

* doc/misc/ert.texi (Introduction, How to Run Tests)
(Running Tests Interactively, Expected Failures)
(Tests and Their Environment, Useful Techniques)
(Interactive Debugging, Fixtures and Test Suites):
Minor rephrasings.
(Running Tests Interactively, The @code{should} Macro): Add xrefs.
(Running Tests in Batch Mode): Simplify loading instructions.
(Test Selectors): Clarify some selectors.
(Expected Failures, Useful Techniques):
Make examples fit in 80 columns.
Remove unused "LocalWords".

12 years agoflyspell.el (flyspell-large-region): Use extended character mode if defined (Bug...
Agustín Martín [Thu, 13 Oct 2011 18:37:57 +0000 (20:37 +0200)]
flyspell.el (flyspell-large-region): Use extended character mode if defined (Bug#1339).

flyspell-large-region was not setting extended character mode for the
external ispell process. This was affecting ispell with 8bit charsets
not being the default, like in german.

Since extended character mode was not used, process used default 7bit
pseudo-charset resulting in some messages like

 -> rterbuch - 68: word not found

about words not found.

This may be related to (Bug#1339).

12 years agoUpdate Killing chapter in Emacs manual. Other misc manual tweaks.
Chong Yidong [Thu, 13 Oct 2011 16:03:49 +0000 (12:03 -0400)]
Update Killing chapter in Emacs manual.  Other misc manual tweaks.

* doc/emacs/killing.texi (Deletion): Add xref to Using Region.
(Yanking): Move yank-excluded-properties to Lisp manual.  Move C-y
description here.  Recommend C-u C-SPC for jumping to mark.
(Kill Ring): Move kill ring variable documentation here.
(Primary Selection): Copyedits.
(Rectangles): Document new command rectangle-number-lines.
(CUA Bindings): Note that this disables the mark-even-if-inactive
behavior for C-x and C-c.

* doc/emacs/mark.texi (Mark): Mention "active region" terminology.
(Using Region): Document delete-active-region.

* doc/lispref/text.texi (Yanking): Document yank-excluded-properties.

* doc/lispref/package.texi (Packaging Basics): The commentary should say how
to begin using the package.

12 years agoUse xfree, not free, to avoid crash with --enable-checking=xmallocoverrun.
Dmitry Antipov [Thu, 13 Oct 2011 14:55:46 +0000 (07:55 -0700)]
Use xfree, not free, to avoid crash with --enable-checking=xmallocoverrun.

12 years agoFix ChangeLog entry of last commit.
Eli Zaretskii [Thu, 13 Oct 2011 12:01:59 +0000 (14:01 +0200)]
Fix ChangeLog entry of last commit.

12 years agoFix the "C-x =" display of the character info for LRE, LRO, RLE, and RLO.
Eli Zaretskii [Thu, 13 Oct 2011 11:58:54 +0000 (13:58 +0200)]
Fix the "C-x =" display of the character info for LRE, LRO, RLE, and RLO.

 lisp/simple.el (what-cursor-position): Fix the display of the
 character info for LRE, LRO, RLE, and RLO characters, by appending a
 PDF to them.

12 years agoFix the change with paragraph_dir initialization.
Eli Zaretskii [Thu, 13 Oct 2011 11:17:32 +0000 (13:17 +0200)]
Fix the change with paragraph_dir initialization.

 src/bidi.c (bidi_init_it): Don't initialize paragraph_dir here, as
 some callers set that themselves.
 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
 itb.paragraph_dir to NEUTRAL_DIR.  Fixes an occasional incorrect
 cursor motion with <left> and <right> arrow keys.

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 13 Oct 2011 10:18:32 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoetc/NEWS: Fix a typo.
Eli Zaretskii [Thu, 13 Oct 2011 08:57:42 +0000 (10:57 +0200)]
etc/NEWS: Fix a typo.

12 years ago* lisp/emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
Stefan Monnier [Thu, 13 Oct 2011 05:18:12 +0000 (01:18 -0400)]
* lisp/emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
even in case of error; add debug spec; simplify data flow.
(with-timeout-handler): Remove.

12 years ago* calc.texi (Basic Operations on Units): Discuss temperature
Jay Belanger [Thu, 13 Oct 2011 02:50:58 +0000 (21:50 -0500)]
* calc.texi (Basic Operations on Units): Discuss temperature
  conversion (`u t') alongside with other unit conversions ('u c').

12 years ago* configure.in: Also look for tputs in libcurses. (Bug#9736)
Glenn Morris [Thu, 13 Oct 2011 02:16:59 +0000 (22:16 -0400)]
* configure.in: Also look for tputs in libcurses.  (Bug#9736)

12 years agoFix bugs #9738 & 9739 with a display string that ends in 2 newlines.
Eli Zaretskii [Wed, 12 Oct 2011 20:07:59 +0000 (22:07 +0200)]
Fix bugs #9738 & 9739 with a display string that ends in 2 newlines.

 src/xdisp.c (find_row_edges): Handle the case where ROW comes from a
 display string and the previous row comes from the same string and
 is empty.

12 years ago* doc.c (get_doc_string): Encode file name.
Stefan Monnier [Wed, 12 Oct 2011 19:08:04 +0000 (15:08 -0400)]
* doc.c (get_doc_string): Encode file name.

Fixes: debbugs:9735
12 years agoFix Bug#6019, Bug#9315.
Michael Albinus [Wed, 12 Oct 2011 18:32:35 +0000 (20:32 +0200)]
Fix Bug#6019, Bug#9315.

* files.el (set-auto-mode): Call `file-name-sans-versions' for the
complete `buffer-file-name', the local file name part could look
remotely (for example on VMS).

* net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
`tramp-run-real-handler'.
(ange-ftp-fix-name-for-vms): Handle the case, where `name' is
already quoted by '"'.

* net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
Let `file-name-handler-alist' be nil, the local file name part
could look remotely (for example on VMS).

12 years agoUpdates to Mark chapter in Emacs manual.
Chong Yidong [Wed, 12 Oct 2011 17:38:34 +0000 (13:38 -0400)]
Updates to Mark chapter in Emacs manual.

* mark.texi (Mark): Clarify description of disabled Transient Mark
mode.
(Setting Mark): Document prefix arg for C-x C-x.  Document primary
selection changes.  Mention that commands like C-y set the mark.
(Marking Objects): Add xref to Words node.  Note that mark-word
and mark-sexp also have the "extend region" behavior.
(Using Region): Mention M-$ in the table.  Document
mark-even-if-inactive here instead of in Mark Ring.
(Mark Ring): Move mark-even-if-inactive to Using Region.  Take
note of the "Mark Set" behavior.
(Disabled Transient Mark): Rename from "Persistent Mark"
(Bug#9688).  Callers changed.

* programs.texi (Expressions):
* text.texi (Words): Defer to Marking Objects for mark-word doc.

Fixes: debbugs:9689
12 years agoRemove incorrect comments about U+2028 LS character.
Eli Zaretskii [Wed, 12 Oct 2011 15:12:52 +0000 (17:12 +0200)]
Remove incorrect comments about U+2028 LS character.

See http://www.unicode.org/mail-arch/unicode-ml/y2011-m10/0048.html
for more details.

 src/bidi.c (bidi_level_of_next_char):
 src/xdisp.c (get_visually_first_element): Remove old incorrect
 comments regarding the Unicode Line Separator character.

12 years agosrc/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
Eli Zaretskii [Wed, 12 Oct 2011 11:32:41 +0000 (13:32 +0200)]
src/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 12 Oct 2011 10:18:25 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years ago* configure.in: Remove check for -lintl (Bug#9713).
Paul Eggert [Wed, 12 Oct 2011 06:56:23 +0000 (23:56 -0700)]
* configure.in: Remove check for -lintl (Bug#9713).

The check breaks 'configure' in some CentOS 5.7 x86 configurations.
The check was helpful but not essential in Solaris 2.6 (1997),
and is no longer needed in Solaris 8 (2000).  Solaris 2.6 is
obsolete -- Sun dropped support for it in 2006 -- and without
access to that Silurian platform we can't maintain the code anyway.

12 years ago* alloc.c (Fgc_status): Do not access beyond zombies array
Dmitry Antipov [Wed, 12 Oct 2011 06:09:40 +0000 (23:09 -0700)]
* alloc.c (Fgc_status): Do not access beyond zombies array

boundary if nzombies > MAX_ZOMBIES.
* alloc.c (dump_zombies): Add missing format specifier.

12 years ago* xdisp.c (set_cursor_from_row): Simplify conditionals,
Paul Eggert [Wed, 12 Oct 2011 05:50:15 +0000 (22:50 -0700)]
* xdisp.c (set_cursor_from_row): Simplify conditionals,

to pacify GCC 4.6.1 x86-64 with -O2 -Wstrict-overflow.

12 years ago* lread.c (read_escape): Allow hex escapes as large as ?\xfffffff.
Paul Eggert [Wed, 12 Oct 2011 04:58:43 +0000 (21:58 -0700)]
* lread.c (read_escape): Allow hex escapes as large as ?\xfffffff.

Some packages use them to denote characters with modifiers.

12 years ago* doc/misc/ert.texi: Whitespace trivia to make main menu items line up better.
Glenn Morris [Wed, 12 Oct 2011 04:37:25 +0000 (21:37 -0700)]
* doc/misc/ert.texi: Whitespace trivia to make main menu items line up better.

12 years ago* lisp/textmodes/flyspell.el (flyspell-word): Move with-local-quit from here...
Stefan Monnier [Wed, 12 Oct 2011 02:48:40 +0000 (22:48 -0400)]
* lisp/textmodes/flyspell.el (flyspell-word): Move with-local-quit from here...
(flyspell-post-command-hook): ...to here.

12 years agoMake sendmail-query-once offer 3-way choice; avoid repeated queries.
Stefan Monnier [Tue, 11 Oct 2011 21:31:22 +0000 (17:31 -0400)]
Make sendmail-query-once offer 3-way choice; avoid repeated queries.
* mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
if not needed.
(sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
using completion.  Protect against "slow" callers.
Remove the "message hack".

12 years ago* lisp/gnus/html2text.el (html2text-clean-anchor): Check for quotes around
Andreas Schwab [Tue, 11 Oct 2011 20:20:08 +0000 (22:20 +0200)]
* lisp/gnus/html2text.el (html2text-clean-anchor): Check for quotes around
`href' value.