bpt/emacs.git
12 years ago* net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
Michael Albinus [Sun, 15 Jan 2012 16:03:30 +0000 (17:03 +0100)]
* net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.

12 years agoUpdate X Resources chapter of Emacs manual.
Chong Yidong [Sun, 15 Jan 2012 15:26:39 +0000 (23:26 +0800)]
Update X Resources chapter of Emacs manual.

* doc/emacs/xresources.texi (X Resources): Describe GTK+ case first.
(Resources): Don't use borderWidth as an example, since it doesn't
work with GTK+.
(Table of Resources): Clarify role of several resources, including
the Emacs 24 behavior of cursorBlink etc.
(Face Resources): Node deleted.  Recommend using Customize
instead.  Add paragraph to `Table of Resources' node summarizing
how to use X resources for changing faces.
(Lucid Resources): Rewrite, omitting description of font names,
referring to the Fonts node instead.
(LessTif Resources): Copyedits.
(GTK resources): Rewrite, describing the difference between gtk2
and gtk3.
(GTK Resource Basics): New node.
(GTK Widget Names, GTK Names in Emacs): Rewrite.
(GTK styles): Just refer to Fonts node for GTK font format.

* doc/emacs/display.texi (Faces): Document the cursor face.

12 years ago* etc/tutorials/TUTORIAL: Fix typo.
Chong Yidong [Sun, 15 Jan 2012 02:01:24 +0000 (10:01 +0800)]
* etc/tutorials/TUTORIAL: Fix typo.

12 years agoFix bug #9087 with crashes on MS-Windows under throw-on-input.
Eli Zaretskii [Sat, 14 Jan 2012 20:15:01 +0000 (22:15 +0200)]
Fix bug #9087 with crashes on MS-Windows under throw-on-input.

 src/w32fns.c (signal_user_input): Don't do a QUIT, to avoid
 thrashing the stack of the thread.

12 years agoAllow visiting Info files with no "Up" pointer, such as DIR files.
Eli Zaretskii [Sat, 14 Jan 2012 18:16:28 +0000 (20:16 +0200)]
Allow visiting Info files with no "Up" pointer, such as DIR files.

 lisp/info.el (Info-toc-build): If the Info file has no "Up" pointer,
 don't pass the (nil) value of `upnode' to string-match.

12 years agoEnsure PATH_DUMPLOADSEARCH will have correct value in MSDOS builds.
Eli Zaretskii [Sat, 14 Jan 2012 18:02:59 +0000 (20:02 +0200)]
Ensure PATH_DUMPLOADSEARCH will have correct value in MSDOS builds.

 msdos/sed4.inp (PATH_DUMPLOADSEARCH): Edit to "../lisp", for when the
 default in src/epaths.in will change, maybe.

12 years ago* startup.el (command-line): Fix values recognized by cursorBlink resource.
Chong Yidong [Sat, 14 Jan 2012 16:09:55 +0000 (00:09 +0800)]
* startup.el (command-line): Fix values recognized by cursorBlink resource.

12 years ago* startup.el (command-line): Fix X resource class for cursorColor.
Chong Yidong [Sat, 14 Jan 2012 13:52:14 +0000 (21:52 +0800)]
* startup.el (command-line): Fix X resource class for cursorColor.

12 years agoetc/tutorials/TUTORIAL: Fix a typo.
Eli Zaretskii [Sat, 14 Jan 2012 11:27:16 +0000 (13:27 +0200)]
etc/tutorials/TUTORIAL: Fix a typo.

12 years agoUpdate the Hebrew tutorial.
Eli Zaretskii [Sat, 14 Jan 2012 11:23:45 +0000 (13:23 +0200)]
Update the Hebrew tutorial.

 etc/tutorials/TUTORIAL.he: Update to follow changes to TUTORIAL in
 2012-01-10T08:27:22Z!cyd@gnu.org.
 admin/FOR-RELEASE (Check the Emacs Tutorial): Mark TUTORIAL.he as
 updated and checked.

12 years agoUpdate Emacs Invocation chapter of Emacs manual.
Chong Yidong [Sat, 14 Jan 2012 09:17:25 +0000 (17:17 +0800)]
Update Emacs Invocation chapter of Emacs manual.

* doc/emacs/cmdargs.texi (Action Arguments): No need to mention
EMACSLOADPATH.
(General Variables): Add xref to Lisp Libraries.
(Initial Options): Copyedits.
(Resume Arguments): Node deleted; emacs.bash/csh are obsolete.
(Environment): Clarify what getenv does.
(General Variables): Clarify EMACSPATH etc.  Emacs does not assume
light backgrounds on xterms.
(Misc Variables): TEMP and TMP are not Windows-specific.
(Display X): Copyedits.
(Colors X): -bd does nothing for GTK.
(Icons X): Gnome 3 doesn't use taskbars.

* doc/emacs/misc.texi (Shell): Document exec-path here.

* doc/emacs/rmail.texi (Movemail): Add xref for exec-path.

12 years agoFix race condition in epg.el compat code.
Paul Eggert [Sat, 14 Jan 2012 07:09:15 +0000 (15:09 +0800)]
Fix race condition in epg.el compat code.

* lisp/epg.el (epg--make-temp-file): Avoid permission race condition
when running on old Emacs versions.

Fixes: debbugs:10403

12 years ago* lisp/dired.el (dired-get-filename): Fix 'verbatim case of previous change.
Glenn Morris [Sat, 14 Jan 2012 02:07:49 +0000 (21:07 -0500)]
* lisp/dired.el (dired-get-filename): Fix 'verbatim case of previous change.

12 years agodired fix for `ls -b' quoting of spaces (bug#10469)
Glenn Morris [Fri, 13 Jan 2012 23:09:28 +0000 (18:09 -0500)]
dired fix for `ls -b' quoting of spaces (bug#10469)

* lisp/dired.el (dired-switches-escape-p): New function.
(dired-insert-directory): Use dired-switches-escape-p.
(dired-get-filename): Undo "\ " quoting if needed.

12 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric M. Ludlam [Fri, 13 Jan 2012 13:19:25 +0000 (21:19 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

12 years agofind-ls-option doc fixes (bug#10262)
Glenn Morris [Fri, 13 Jan 2012 02:32:07 +0000 (21:32 -0500)]
find-ls-option doc fixes (bug#10262)

* doc/emacs/dired.texi (Dired and Find): Clarify find-ls-options.
* lisp/find-dired.el (find-ls-option): Doc fix.

12 years agoDoc punctuation fixes.
Paul Eggert [Thu, 12 Jan 2012 21:52:31 +0000 (13:52 -0800)]
Doc punctuation fixes.

12 years ago* xdisp.c (rows_from_pos_range): Add parens as per gcc -Wparentheses.
Paul Eggert [Thu, 12 Jan 2012 21:33:25 +0000 (13:33 -0800)]
* xdisp.c (rows_from_pos_range): Add parens as per gcc -Wparentheses.

12 years ago* url-auth.el (url-digest-auth): Copy previous url-basic-auth change.
Glenn Morris [Thu, 12 Jan 2012 08:14:41 +0000 (00:14 -0800)]
* url-auth.el (url-digest-auth): Copy previous url-basic-auth change.

12 years agourl-auth fix for password-protected urls in url-handler-mode.
Glenn Morris [Thu, 12 Jan 2012 08:11:24 +0000 (00:11 -0800)]
url-auth fix for password-protected urls in url-handler-mode.

* lisp/usr/url-auth.el (url-basic-auth): Allow reading usernames etc
when the minibuffer is already in use, eg in url-handler-mode.

Fixes: debbugs:10298

12 years agoComments.
Glenn Morris [Thu, 12 Jan 2012 07:34:46 +0000 (23:34 -0800)]
Comments.

12 years agoTweak comment from previous change.
Glenn Morris [Thu, 12 Jan 2012 02:13:05 +0000 (21:13 -0500)]
Tweak comment from previous change.

12 years agomail-mode paragraph-separate fix for bug#10276
Glenn Morris [Thu, 12 Jan 2012 02:05:15 +0000 (21:05 -0500)]
mail-mode paragraph-separate fix for bug#10276

* lisp/mail/sendmail.el (mail-mode):
Update paragraph-separate for changes in adaptive-fill-regexp.

12 years agoFix Emacs bug #10463 - put `widen's around the critical spots.
Alan Mackenzie [Wed, 11 Jan 2012 22:21:44 +0000 (22:21 +0000)]
Fix Emacs bug #10463 - put `widen's around the critical spots.

12 years agoFix the last part of bug #10464 with mouse highlight at end of line.
Eli Zaretskii [Wed, 11 Jan 2012 19:45:42 +0000 (21:45 +0200)]
Fix the last part of bug #10464 with mouse highlight at end of line.

 src/xdisp.c (rows_from_pos_range): Handle the case where the
 highlight ends on a newline.
 (mouse_face_from_buffer_pos): Fix off-by-one error in calculating
 he end column for display of highlight that ends on a newline
 before a R2L line.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 11 Jan 2012 11:18:53 +0000 (06:18 -0500)]
Auto-commit of loaddefs files.

12 years agoFix name of FSF in copyright headers.
Glenn Morris [Wed, 11 Jan 2012 07:51:05 +0000 (23:51 -0800)]
Fix name of FSF in copyright headers.

12 years agoDuplicate-word and spelling fixes.
Paul Eggert [Wed, 11 Jan 2012 06:53:12 +0000 (22:53 -0800)]
Duplicate-word and spelling fixes.

12 years ago* lisp/dired-aux.el (dired-do-shell-command): Doc fix.
Glenn Morris [Wed, 11 Jan 2012 02:37:31 +0000 (21:37 -0500)]
* lisp/dired-aux.el (dired-do-shell-command): Doc fix.
(Inspired by the Emacs manual.)

12 years ago* lisp/dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
Glenn Morris [Wed, 11 Jan 2012 02:24:02 +0000 (21:24 -0500)]
* lisp/dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)

12 years agoinit_lread fix for bug#10208.
Glenn Morris [Wed, 11 Jan 2012 00:56:25 +0000 (19:56 -0500)]
init_lread fix for bug#10208.

* src/lread.c (init_lread): If no-site-lisp, remove site-lisp dirs
from load-path also when installation-directory is nil.

12 years agoPartial sync of TUTORIAL.fr with TUTORIAL.
Bastien Guerry [Tue, 10 Jan 2012 23:18:43 +0000 (00:18 +0100)]
Partial sync of TUTORIAL.fr with TUTORIAL.

12 years agoFix french translation of TUTORIAL.
Bastien Guerry [Tue, 10 Jan 2012 23:10:07 +0000 (00:10 +0100)]
Fix french translation of TUTORIAL.

This fix is only about the use of the wheel for a mouse.

See the corresponding change in this diff:
http://lists.gnu.org/archive/html/emacs-diffs/2012-01/msg00086.html

12 years agoComments on init_lread.
Glenn Morris [Tue, 10 Jan 2012 22:41:09 +0000 (17:41 -0500)]
Comments on init_lread.

12 years agonntp.el (nntp-send-authinfo): Query `auth-source-search' with the logical server...
Teodor Zlatanov [Tue, 10 Jan 2012 22:04:51 +0000 (22:04 +0000)]
nntp.el (nntp-send-authinfo): Query `auth-source-search' with the logical server name in addition to the actual machine address.
auth-source.el (auth-source-user-and-password): Add convenience wrapper to search by just host and optionally user.

12 years agoTweak previous doc fix.
Glenn Morris [Tue, 10 Jan 2012 20:41:53 +0000 (15:41 -0500)]
Tweak previous doc fix.

For some reason, invocation-directory is also a function.

12 years ago* src/emacs.c (syms_of_emacs) <installation-directory>: Doc fix.
Glenn Morris [Tue, 10 Jan 2012 20:37:10 +0000 (15:37 -0500)]
* src/emacs.c (syms_of_emacs) <installation-directory>: Doc fix.

This confusingly-named variable is typically nil in an installed Emacs,
and in an uninstalled Emacs points to the build directory, rather
than eg the target installation directory.  Yay.

12 years agoChangeLog fixes.
Juanma Barranquero [Tue, 10 Jan 2012 17:32:19 +0000 (18:32 +0100)]
ChangeLog fixes.

12 years agoFix an error message glitch in network-stream.el.
Chong Yidong [Tue, 10 Jan 2012 10:24:42 +0000 (18:24 +0800)]
Fix an error message glitch in network-stream.el.

* net/network-stream.el (network-stream-open-starttls): Avoid
emitting a confusing error message when the server gives a bad
response to the capability command.

12 years ago* src/epaths.in (PATH_DUMPLOADSEARCH): Revert previous change.
Glenn Morris [Tue, 10 Jan 2012 08:54:46 +0000 (00:54 -0800)]
* src/epaths.in (PATH_DUMPLOADSEARCH): Revert previous change.
Makes life microscopically harder for the c. zero people configuring
by hand as per INSTALL.

12 years agoUpdate English tutorial.
Chong Yidong [Tue, 10 Jan 2012 08:27:22 +0000 (16:27 +0800)]
Update English tutorial.

* etc/tutorials/TUTORIAL: Don't give instructions for old-style X
scrollbars.  Use DEL terminology instead of DelBack.  Improve
description of graphical continuation lines and mode-line.
Promote use of C-/ and C-SPC.  Remove discussion of flow control.

12 years agoSpelling fixes.
Paul Eggert [Tue, 10 Jan 2012 06:20:22 +0000 (22:20 -0800)]
Spelling fixes.

12 years agoMainly comment fixes related to PATH_LOADSEARCH etc.
Glenn Morris [Tue, 10 Jan 2012 03:00:28 +0000 (22:00 -0500)]
Mainly comment fixes related to PATH_LOADSEARCH etc.

* src/epaths.in (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH, PATH_EXEC)
(PATH_DATA, PATH_DOC): Update the template values to be closer to
their typical values these days.

* Makefile.in, src/epaths.in: Comments.

12 years ago* lisp/mail/unrmail.el (unrmail): Tweak previous change.
Glenn Morris [Tue, 10 Jan 2012 02:22:13 +0000 (21:22 -0500)]
* lisp/mail/unrmail.el (unrmail): Tweak previous change.
(for trailing whitespace in otherwise empty BABYL files).

12 years agoFix bug #10464 with mouse highlight of display strings.
Eli Zaretskii [Mon, 9 Jan 2012 20:45:49 +0000 (22:45 +0200)]
Fix bug #10464 with mouse highlight of display strings.

 src/xdisp.c (rows_from_pos_range): Accept additional argument
 DISP_STRING, and accept any glyph in a row whose object is that
 string as eligible for mouse highlight.  Fixes mouse highlight of
 display strings from overlays.

12 years agoAdd missing ChangeLog entry for last change.
Chong Yidong [Mon, 9 Jan 2012 07:58:46 +0000 (15:58 +0800)]
Add missing ChangeLog entry for last change.

12 years ago* lisp/custom.el (custom-safe-themes): Use SHA-256 for hashing.
Chong Yidong [Mon, 9 Jan 2012 07:48:51 +0000 (15:48 +0800)]
* lisp/custom.el (custom-safe-themes): Use SHA-256 for hashing.

* doc/emacs/custom.texi (Custom Themes): Switched custom-safe-themes
to use SHA-256.

12 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric M. Ludlam [Mon, 9 Jan 2012 06:12:11 +0000 (14:12 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

12 years agoAdd CEDET grammar files to emacs-23 branch.
Chong Yidong [Mon, 9 Jan 2012 05:42:57 +0000 (13:42 +0800)]
Add CEDET grammar files to emacs-23 branch.

12 years agoMerge changes from emacs-23 branch
Chong Yidong [Mon, 9 Jan 2012 05:29:45 +0000 (13:29 +0800)]
Merge changes from emacs-23 branch

12 years agoOptimise font locking in long enum definitions.
Alan Mackenzie [Sun, 8 Jan 2012 12:49:44 +0000 (12:49 +0000)]
Optimise font locking in long enum definitions.

12 years agoFix ChangeLog typo.
Paul Eggert [Sat, 7 Jan 2012 20:00:56 +0000 (12:00 -0800)]
Fix ChangeLog typo.

12 years agoUndo patch for bug#10403; still being reviewed.
Paul Eggert [Sat, 7 Jan 2012 19:58:55 +0000 (11:58 -0800)]
Undo patch for bug#10403; still being reviewed.

12 years agoMerge from trunk.
Paul Eggert [Sat, 7 Jan 2012 19:51:13 +0000 (11:51 -0800)]
Merge from trunk.

12 years agoFix bug #6540 with a crash while inserting non-ASCII text under cache-long-line-scans.
Eli Zaretskii [Sat, 7 Jan 2012 11:57:48 +0000 (13:57 +0200)]
Fix bug #6540 with a crash while inserting non-ASCII text under cache-long-line-scans.

 src/search.c (scan_buffer): Pass character positions to
 know_region_cache, not byte positions.  (Bug#6540)

12 years agoshr.el (shr-visit-file): Move point to the beginning of the buffer after rendering.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 11:46:47 +0000 (11:46 +0000)]
shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering.

12 years agoFix bug #10284 with renaming a directory on MS-Windows.
LynX [Sat, 7 Jan 2012 09:50:57 +0000 (11:50 +0200)]
Fix bug #10284 with renaming a directory on MS-Windows.

 src/w32.c (sys_rename): Report EXDEV when rename of a directory
 fails because the target is on another logical disk.  (Bug#10284)

12 years agoDocument Whitespace mode in manual, plus its use in Diff mode.
Chong Yidong [Sat, 7 Jan 2012 08:55:43 +0000 (16:55 +0800)]
Document Whitespace mode in manual, plus its use in Diff mode.

* doc/emacs/display.texi (Useless Whitespace): Add Whitespace mode.

* doc/emacs/files.texi (Diff Mode): Discuss use of Whitespace mode.

Fixes: debbugs:10300

12 years agoFix last change.
Chong Yidong [Sat, 7 Jan 2012 08:14:45 +0000 (16:14 +0800)]
Fix last change.

12 years ago* doc/emacs/files.texi (Diff Mode): Discuss diff-auto-refine-mode.
Chong Yidong [Sat, 7 Jan 2012 08:12:27 +0000 (16:12 +0800)]
* doc/emacs/files.texi (Diff Mode): Discuss diff-auto-refine-mode.

* doc/emacs/custom.texi (Hooks): Discuss how to disable minor modes.

Fixes: debbugs:10309

12 years agoFix focus handling for embedded frames.
David Benjamin [Sat, 7 Jan 2012 07:02:06 +0000 (15:02 +0800)]
Fix focus handling for embedded frames.

* xfns.c (Fx_focus_frame): Use it for embedded frames.

* xterm.c (x_embed_request_focus): New function.

* xterm.h: Add prototype.

Fixes: debbugs:9977

12 years ago* faces.el (set-face-attribute): Clarify the meaning of the nil frame.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 06:00:56 +0000 (07:00 +0100)]
* faces.el (set-face-attribute): Clarify the meaning of the nil frame.

Fixes: debbugs:10294

12 years ago(with-selected-frame): Mention that the selected frame is restored.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 05:57:57 +0000 (06:57 +0100)]
(with-selected-frame): Mention that the selected frame is restored.

Fixes: debbugs:9980

12 years ago* ibuffer.el (ibuffer-mode): List the bindings in the corrent map.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 05:50:58 +0000 (06:50 +0100)]
* ibuffer.el (ibuffer-mode): List the bindings in the corrent map.

Fixes: debbugs:9759

12 years ago* macros.texi (Defining Macros): Document `doc-string'.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 05:48:06 +0000 (06:48 +0100)]
* macros.texi (Defining Macros): Document `doc-string'.

Fixes: debbugs:9668

12 years agoRemove some unused password-related autoloads
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 05:34:30 +0000 (06:34 +0100)]
Remove some unused password-related autoloads

* mail/smtpmail.el (password-cache-add): Removed unused declaration.
(password-read): Don't autoload unused function.

12 years agoFix bug#9693 and bug#9697.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 04:52:56 +0000 (04:52 +0000)]
Fix bug#9693 and bug#9697.

12 years agoUpdate Lossage chapter of Emacs manual.
Chong Yidong [Sat, 7 Jan 2012 03:15:48 +0000 (11:15 +0800)]
Update Lossage chapter of Emacs manual.

* doc/emacs/trouble.texi (Lossage): Refer to Bugs node for problems.
(DEL Does Not Delete): Don't use "usual erasure key" teminology.
(Screen Garbled): Don't refer to terminal "manufacturers".
(Total Frustration): Node deleted.  Eliza is documented in
Amusements now.
(Known Problems): More info about using the bug tracker.  Mention
debbugs package.
(Bug Criteria): Copyedits.
(Understanding Bug Reporting): Mention emacs -Q.

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 7 Jan 2012 01:13:52 +0000 (01:13 +0000)]
Merge changes made in Gnus trunk.

2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus.texi (Group Parameters): Really note precedence.
2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * mm-decode.el (mm-interactively-view-part): Use `completing-read',
  since ido doesn't work on symbols (bug#9632).
  * gnus.el (gnus-group-fast-parameter): Use the same precedence rules
  when getting a single value as when getting all the values.  This means
  that atoms like `gcc-self' work cumulatively, like variable settings,
  instead of getting the value from the last matching clause.
  (gnus-group-find-parameter): Protect against the group buffer not
  existing (bug#9585).
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-start.el (gnus-activate-group): Document more parameters
  (bug#9694).
  * gnus-group.el (gnus-group-read-ephemeral-group): Doc clarification
  (bug#9692).
  * gnus-agent.el (gnus-agent-store-article): Tell the Agent when the
  article was fetched, so that it can be expired later (bug#9958).
  (gnus-agent-summary-fetch-series): Add doc string.
  (gnus-agent-summary-fetch-group): Don't remove tick and dormant marks
  (bug#9517).
  * nntp.el (nntp-retrieve-groups): Refuse to do retrieval when an async
  retrieval is happening.
  * gnus.el (gnus-parameters): Doc fix.
2012-01-06  Dave Abrahams  <dave@boostpro.com>  (tiny change)
  * gnus-sum.el (gnus-summary-refer-thread): If the subtree is hidden,
  show the thread after expansion.
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-art.el (article-narrow-to-head): If the head is completely
  empty, narrow to the empty region (bug#9764).
  * gnus-sum.el (gnus-summary-mark-article-as-unread): Mark articles as
  read, and then mark them as unread only when the unread mark is used.
  This makes `C-- T k' actually work, even though it's confusing.
  * gnus-win.el (gnus-all-windows-visible-p): Ensure that the buffer is
  alive before we try to find its window.
2012-01-06  Brian Sniffen  <bsniffen@akamai.com>  (tiny change)
  * mm-decode.el (mm-display-external): Use a longer timeout for the
  deletion to allow slow programs to display the file.
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-art.el (gnus-article-browse-delete-temp-files): Fix up the
  prompt to be less confusing.

12 years agolisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.
Juanma Barranquero [Sat, 7 Jan 2012 00:26:10 +0000 (01:26 +0100)]
lisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.
Turn into a non-interactive function and mark as obsolete.

12 years agoMore customization-related documentation updates.
Chong Yidong [Fri, 6 Jan 2012 10:53:41 +0000 (18:53 +0800)]
More customization-related documentation updates.

* doc/emacs/custom.texi (Specifying File Variables): The mode: keyword
doesn't have to be first anymore.  Add example of specifying minor
modes.
(Directory Variables): Simplify example.  Mention application to
non-file buffers.
(Disabling): Use "initialization file" terminology.
(Init Examples): Fix hook example.

* doc/lispref/variables.texi (Directory Local Variables): Document
hack-dir-local-variables-non-file-buffer.

* lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc.
(hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
functions, along with 1 and -1.

12 years agoFix bug #10422 with Registry-related index entries.
Eli Zaretskii [Fri, 6 Jan 2012 10:17:23 +0000 (12:17 +0200)]
Fix bug #10422 with Registry-related index entries.

 doc/emacs/cmdargs.texi (MS-Windows Registry): Shorten the index entry.
 Move the stuff about resources to xresources.texi.
 doc/emacs/xresources.texi (Resources): Move information about setting X
 resources in the Registry from cmdargs.texi.  Make the index entry
 be similar to the one in cmdargs.texi.

12 years agoFix doc strings of 2 time.el variables.
Eli Zaretskii [Fri, 6 Jan 2012 09:43:59 +0000 (11:43 +0200)]
Fix doc strings of 2 time.el variables.

 lisp/time.el (display-time-load-average)
 (display-time-default-load-average): Doc fixes.  See the thread starting at
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
 for the details.

12 years agoMention in NEWS the change in 2012-01-06T08:10:22Z!rgm@gnu.org with `e' binding in...
Eli Zaretskii [Fri, 6 Jan 2012 09:33:08 +0000 (11:33 +0200)]
Mention in NEWS the change in 2012-01-06T08:10:22Z!rgm@gnu.org with `e' binding in Info.

Fixes: debbugs:10385

12 years agoCommit of auto-generated files.
Eli Zaretskii [Fri, 6 Jan 2012 09:32:18 +0000 (11:32 +0200)]
Commit of auto-generated files.

12 years agoTrivial unrmail fix for empty input files.
Glenn Morris [Fri, 6 Jan 2012 08:34:47 +0000 (00:34 -0800)]
Trivial unrmail fix for empty input files.

* lisp/mail/unrmail.el (unrmail): Give an explicit error if the input
file has no messages.

Fixes: debbugs:10377

12 years agoChange the binding of "e" in info-mode.
Glenn Morris [Fri, 6 Jan 2012 08:10:22 +0000 (00:10 -0800)]
Change the binding of "e" in info-mode.

* doc/lispref/maps.texi (Standard Keymaps): Refer to Info-edit by name
rather than by keybinding.

* lisp/info.el (Info-mode-map): Bind e to end-of-buffer, rather
than Info-edit.

Fixes: debbugs:10385

12 years ago* lisp/erc/erc.el (erc-tls): Add autoload cookie.
Glenn Morris [Fri, 6 Jan 2012 07:48:47 +0000 (23:48 -0800)]
* lisp/erc/erc.el (erc-tls): Add autoload cookie.

Fixes: debbugs:10333

12 years agotime.el minor doc fixes.
Glenn Morris [Fri, 6 Jan 2012 07:45:55 +0000 (23:45 -0800)]
time.el minor doc fixes.

* lisp/time.el (display-time-load-average, display-time-next-load-average):
Doc fixes.

12 years agoTrivial bytecomp.el fix for file-local buffer-read-only.
Glenn Morris [Fri, 6 Jan 2012 07:37:01 +0000 (23:37 -0800)]
Trivial bytecomp.el fix for file-local buffer-read-only.

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a
file local setting of buffer-read-only to the input buffer.

Fixes: debbugs:10419

12 years agognus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer' argument to `messa...
Lars Magne Ingebrigtsen [Fri, 6 Jan 2012 05:48:48 +0000 (05:48 +0000)]
gnus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer' argument to `message-reply'.  This broke `special-display-*' frame pop-uping (bug#10238).

12 years ago* lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0.
Glenn Morris [Fri, 6 Jan 2012 01:03:40 +0000 (20:03 -0500)]
* lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0.

12 years ago* lisp/play/doctor.el (doctor-death): Escape "," characters.
Ulrich Mueller [Fri, 6 Jan 2012 00:12:46 +0000 (19:12 -0500)]
* lisp/play/doctor.el (doctor-death): Escape "," characters.

Fixes: debbugs:10370

12 years agoeshell fix for change in return value of `diff' command (bug#10420)
Glenn Morris [Thu, 5 Jan 2012 23:36:41 +0000 (18:36 -0500)]
eshell fix for change in return value of `diff' command (bug#10420)

* lisp/eshell/em-unix.el (diff-no-select): Autoload it.
(eshell/diff): Use diff-no-select.

12 years agoFix some compiler warnings.
Bastien Guerry [Thu, 5 Jan 2012 18:18:05 +0000 (19:18 +0100)]
Fix some compiler warnings.

12 years agoFix some compiler warnings.
Bastien Guerry [Thu, 5 Jan 2012 17:02:29 +0000 (18:02 +0100)]
Fix some compiler warnings.

12 years agoProper fix for shell-completion-execonly.
Chong Yidong [Thu, 5 Jan 2012 14:51:05 +0000 (22:51 +0800)]
Proper fix for shell-completion-execonly.

* shell.el (shell-dynamic-complete-functions): Revert last change.
(shell-command-completion-function): New function.
(shell-completion-vars): Use it to implement
shell-completion-execonly.

Fixes: debbugs:10417

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 5 Jan 2012 11:49:08 +0000 (06:49 -0500)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 5 Jan 2012 11:32:07 +0000 (06:32 -0500)]
Auto-commit of generated files.

12 years agostarttls.el (starttls-available-p): Return nil on Windows/MS-DOS systems, since these...
Lars Magne Ingebrigtsen [Thu, 5 Jan 2012 11:14:10 +0000 (11:14 +0000)]
starttls.el (starttls-available-p): Return nil on Windows/MS-DOS systems, since these allegedly don't work there.

12 years agoTweak handling of custom-enabled-themes and custom-safe-themes.
Chong Yidong [Thu, 5 Jan 2012 11:12:11 +0000 (19:12 +0800)]
Tweak handling of custom-enabled-themes and custom-safe-themes.

* lisp/cus-theme.el (custom-theme-merge-theme): Ignore
custom-enabled-themes and custom-safe-themes.

* lisp/custom.el (enable-theme): Don't set custom-safe-themes.

12 years agoUpdate the Customization chapter of Emacs manual.
Chong Yidong [Thu, 5 Jan 2012 11:09:27 +0000 (19:09 +0800)]
Update the Customization chapter of Emacs manual.

* doc/emacs/custom.texi (Customization Groups): Update example.
(Browsing Custom): Document the new search field.
(Changing a Variable): Update example for Emacs 24 changes.
Document Custom-set and Custom-save commands.
(Face Customization): Document Emacs 24 changes.  De-document
modify-face.
(Specific Customization): Mention customize-variable.
(Custom Themes): Add customize-themes, custom-theme-load-path,
custom-theme-directory, and describe-theme.
(Creating Custom Themes): New node.
(Examining): Mention M-:.

* doc/emacs/package.texi (Packages): Fix typo.

12 years agoAdd 2012 to FSF copyright years for Emacs files
Glenn Morris [Thu, 5 Jan 2012 09:46:05 +0000 (01:46 -0800)]
Add 2012 to FSF copyright years for Emacs files

12 years agoConvert some consecutive FSF copyright years to ranges; add 2012.
Glenn Morris [Thu, 5 Jan 2012 09:44:36 +0000 (01:44 -0800)]
Convert some consecutive FSF copyright years to ranges; add 2012.

12 years agoUpdate refcard Emacs version numbers.
Glenn Morris [Thu, 5 Jan 2012 08:05:57 +0000 (00:05 -0800)]
Update refcard Emacs version numbers.

* refcards/calccard.tex, refcards/cs-dired-ref.tex:
* refcards/cs-refcard.tex, refcards/cs-survival.tex:
* refcards/de-refcard.tex, refcards/dired-ref.tex:
* refcards/fr-dired-ref.tex, refcards/fr-refcard.tex:
* refcards/fr-survival.tex, refcards/pl-refcard.tex:
* refcards/pt-br-refcard.tex, refcards/refcard.tex:
* refcards/ru-refcard.tex, refcards/sk-dired-ref.tex:
* refcards/sk-refcard.tex, refcards/sk-survival.tex:
* refcards/survival.tex: Bump version number to 24.

12 years agoCopyright, license, and header fixes for Org.
Glenn Morris [Thu, 5 Jan 2012 08:00:08 +0000 (00:00 -0800)]
Copyright, license, and header fixes for Org.

12 years agoTypo fix.
Glenn Morris [Thu, 5 Jan 2012 07:51:27 +0000 (23:51 -0800)]
Typo fix.

12 years agoChangeLog fixes.
Glenn Morris [Thu, 5 Jan 2012 07:49:56 +0000 (23:49 -0800)]
ChangeLog fixes.

12 years agoUpdate short copyright year to 2012.
Glenn Morris [Thu, 5 Jan 2012 07:45:28 +0000 (23:45 -0800)]
Update short copyright year to 2012.

* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright): Update short copyright year to 2012.
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
* src/emacs.c (emacs_copyright): Update short copyright year to 2012.

12 years ago2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
Michael Mauger [Thu, 5 Jan 2012 03:45:30 +0000 (22:45 -0500)]
2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>

        * progmodes/sql.el (sql-login-hook): Add hook to respond to the
        first prompt in `sql-interacive-mode'.
        (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
        keywords.
        (sql-mode-mysql-font-lock-keywords):  Add ELSEIF keyword.
        (sql-product-interactive): Bug fix: Set `sql-buffer' in
        context of original buffer.  Invoke `sql-login-hook'.