Paul Eggert [Sat, 7 Jan 2012 19:51:13 +0000 (11:51 -0800)]
Merge from trunk.
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)
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.
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)
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
Chong Yidong [Sat, 7 Jan 2012 08:14:45 +0000 (16:14 +0800)]
Fix last change.
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
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
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
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
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
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 05:48:06 +0000 (06:48 +0100)]
* macros.texi (Defining Macros): Document `doc-string'.
Fixes: debbugs:9668
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.
Lars Magne Ingebrigtsen [Sat, 7 Jan 2012 04:52:56 +0000 (04:52 +0000)]
Fix bug#9693 and bug#9697.
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.
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.
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.
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.
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.
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.
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
Eli Zaretskii [Fri, 6 Jan 2012 09:32:18 +0000 (11:32 +0200)]
Commit of auto-generated 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
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
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
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.
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
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).
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.
Ulrich Mueller [Fri, 6 Jan 2012 00:12:46 +0000 (19:12 -0500)]
* lisp/play/doctor.el (doctor-death): Escape "," characters.
Fixes: debbugs:10370
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.
Bastien Guerry [Thu, 5 Jan 2012 18:18:05 +0000 (19:18 +0100)]
Fix some compiler warnings.
Bastien Guerry [Thu, 5 Jan 2012 17:02:29 +0000 (18:02 +0100)]
Fix some compiler warnings.
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
Glenn Morris [Thu, 5 Jan 2012 11:49:08 +0000 (06:49 -0500)]
Auto-commit of loaddefs files.
Glenn Morris [Thu, 5 Jan 2012 11:32:07 +0000 (06:32 -0500)]
Auto-commit of generated files.
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.
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.
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.
Glenn Morris [Thu, 5 Jan 2012 09:46:05 +0000 (01:46 -0800)]
Add 2012 to FSF copyright years for Emacs files
Glenn Morris [Thu, 5 Jan 2012 09:44:36 +0000 (01:44 -0800)]
Convert some consecutive FSF copyright years to ranges; add 2012.
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.
Glenn Morris [Thu, 5 Jan 2012 08:00:08 +0000 (00:00 -0800)]
Copyright, license, and header fixes for Org.
Glenn Morris [Thu, 5 Jan 2012 07:51:27 +0000 (23:51 -0800)]
Typo fix.
Glenn Morris [Thu, 5 Jan 2012 07:49:56 +0000 (23:49 -0800)]
ChangeLog fixes.
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.
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'.
Gnus developers [Wed, 4 Jan 2012 22:14:09 +0000 (22:14 +0000)]
Merge changes made in Gnus trunk.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Group Parameters): Note precedence.
2012-01-04 Chris Gray <chrismgray@gmail.com> (tiny change)
* mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a
live buffer.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnir.el (nnir-retrieve-headers): Protect against the article not
existing on the server (bug#10335).
2012-01-04 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
* gnus-agent.el (gnus-agent-load-local): Recompute
gnus-agent-article-local on changing method.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.el (gnus-parameters): Note precedence.
2012-01-04 Leo <sdl.web@gmail.com>
* nndraft.el (nndraft-update-unread-articles): Don't move point around
in the group buffer.
Eli Zaretskii [Wed, 4 Jan 2012 18:51:47 +0000 (20:51 +0200)]
Rmail: support citations with non-ASCII letters in names
lisp/mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
letters in cite-prefix.
Bastien Guerry [Wed, 4 Jan 2012 15:20:49 +0000 (16:20 +0100)]
Fix trailing whitespaces in Org files.
Bastien Guerry [Wed, 4 Jan 2012 15:13:14 +0000 (16:13 +0100)]
Fix even more copyright year for Org files.
Bastien Guerry [Wed, 4 Jan 2012 14:49:41 +0000 (15:49 +0100)]
Fix more copyright year for Org files.
Bastien Guerry [Wed, 4 Jan 2012 14:14:29 +0000 (15:14 +0100)]
Fix copyright year for Org files.
Gnus developers [Wed, 4 Jan 2012 10:49:38 +0000 (10:49 +0000)]
Merge changes made in Gnus trunk.
2012-01-04 Julien Danjou <julien@danjou.info>
* nnimap.el (nnimap-update-info): Fix an error when all articles UIDs
change.
2012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture,
too.
* nntp.el (nntp-retrieve-group-data-early): Use it.
2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nntp.el (nntp-retrieval-in-progress): New variable.
(nntp-make-process-buffer): Make it buffer-local.
* gnus-demon.el (gnus-demon-time-to-step): Resurrect function lost in
2010.
(gnus-demon-init): Use it to compute the time if time is on the form
"04:23".
* gnus-topic.el (gnus-topic-history): Define `gnus-topic-history'.
* nnimap.el (nnimap-finish-retrieve-group-infos): Check the connection
status in the correct buffer.
2012-01-03 Leo <sdl.web@gmail.com>
* gnus-topic.el (gnus-topic-goto-next-group): Don't move point around
when opening topics (bug#10407).
Chong Yidong [Wed, 4 Jan 2012 06:39:31 +0000 (14:39 +0800)]
Fix copyright headers for etc/org/ files.
Rename etc/org/COPYRIGHT-AND-LICENSE to etc/org/README for consistency
with other copyright files, and add a reference to it in the .xml
files.
Lars Magne Ingebrigtsen [Tue, 3 Jan 2012 19:41:14 +0000 (20:41 +0100)]
* mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
Bastien Guerry [Tue, 3 Jan 2012 17:27:21 +0000 (18:27 +0100)]
Merge Org 7.8.03
Chong Yidong [Tue, 3 Jan 2012 08:55:00 +0000 (16:55 +0800)]
More updates to misc.texi.
* doc/emacs/misc.texi (Single Shell): Don't document Lisp usage of
shell-command. Tidy up discussion of synchronicity. Add index
entries for async-shell-command.
(Interactive Shell): Note that M-x shell uses shell-file-name.
Note change in behavior in Emacs 24.
(Shell Mode): Shell mode now uses completion-at-point.
(Shell Prompts): Emphasize that comint-use-prompt-regexp isn't the
default method for recognizing prompts nowadays.
(Shell Ring): Add xref to Minibuffer History.
(Directory Tracking): Explain Dirtrack mode in more detail.
(Term Mode): Fix index entries.
(Paging in Term): Merge into Term Mode.
(Serial Terminal, Emacs Server, emacsclient Options): Copyedits.
(Printing): Fix xref. State default of lpr-switches.
(PostScript): Remove obsolete sentence. Omit description of
non-interactive behaviors.
(Hyperlinking): Improve description.
(Browse-URL): Using compose-mail for mailto URLs is the default.
Document browse-url-mailto-function.
(Goto Address mode): Add index entries. Add xref to Browse-URL.
(FFAP): FFAP is not a minor mode.
(Amusements): M-x lm was renamed to M-x landmark. Document
nato-region.
Chong Yidong [Tue, 3 Jan 2012 06:31:08 +0000 (14:31 +0800)]
Fix shell completion regression.
* lisp/shell.el (shell-dynamic-complete-functions): Put
pcomplete-completions-at-point, so as to try
comint-filename-completion first (Bug#10417).
Juanma Barranquero [Tue, 3 Jan 2012 02:14:40 +0000 (03:14 +0100)]
Fix typos.
Richard M. Stallman [Mon, 2 Jan 2012 23:18:48 +0000 (18:18 -0500)]
Handle battery capacity on Lemote Yeeloong.
Chong Yidong [Mon, 2 Jan 2012 09:27:32 +0000 (17:27 +0800)]
Move shell-dir-cookie-re feature into Dirtrack mode.
* lisp/dirtrack.el (dirtrack-list): Eliminate unused third element.
(dirtrack): Merge code for handling relative filenames in prompt
from shell-dir-cookie-watcher.
(dirtrack-debug-message): New arg to avoid excess format calls.
* lisp/shell.el (shell-dir-cookie-re): Variable deleted.
(shell-dir-cookie-watcher): Function deleted.
(shell-mode): Don't use shell-dir-cookie-re, since it is redundant
with dirtrack-mode.
Eli Zaretskii [Sun, 1 Jan 2012 16:26:51 +0000 (18:26 +0200)]
Allow Emacs on w32 to build against and work with GnuTLS 3.x.
src/gnutls.c (init_gnutls_functions): Load gnutls_check_version.
Load gnutls_transport_set_lowat only if GnuTLS version is below
2.11.1.
(emacs_gnutls_handshake): Call gnutls_transport_set_lowat only for
GnuTLS versions below 2.11.1.
lisp/term/w32-win.el (dynamic-library-alist) <gnutls>: Load
libgnutls-28.dll, from GnuTLS version 3.x, in preference to
libgnutls-26.dll.
Glenn Morris [Sun, 1 Jan 2012 11:23:13 +0000 (06:23 -0500)]
Auto-commit of loaddefs files.
Chong Yidong [Sun, 1 Jan 2012 08:21:38 +0000 (16:21 +0800)]
Updates to misc.texi in Emacs manual.
* misc.texi (Gnus, Buffers of Gnus): Copyedits.
(Gnus Startup): Note that the system might not be set up for news.
Describe group levels more clearly.
(Gnus Group Buffer, Gnus Summary Buffer): New nodes, split from
Summary of Gnus.
(Document View): Copyedits. Move zoom commads to DocView
Navigation node.
(DocView Navigation, DocView Searching, DocView Slicing)
(DocView Conversion): Nodes renamed from Navigation, etc.
* sending.texi (Mail Sending): Add message-kill-buffer-on-exit.
Andreas Schwab [Sat, 31 Dec 2011 14:43:38 +0000 (15:43 +0100)]
* emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
Eli Zaretskii [Sat, 31 Dec 2011 11:33:09 +0000 (13:33 +0200)]
Fix bug #10380 with description of C-n and C-p.
doc/emacs/basic.texi (Moving Point): Fix the description of C-n and C-p.
Glenn Morris [Sat, 31 Dec 2011 11:20:32 +0000 (06:20 -0500)]
Auto-commit of loaddefs files.
Eli Zaretskii [Sat, 31 Dec 2011 10:06:21 +0000 (12:06 +0200)]
Decode message headers of non-MIME messages in Rmail.
lisp/mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
headers of non-MIME messages, when rmail-enable-mime is non-nil.
Paul Eggert [Sat, 31 Dec 2011 08:36:43 +0000 (00:36 -0800)]
Add Bug#8828 to my 2011-06-15 entry.
Antoine Levitt [Sat, 31 Dec 2011 08:25:48 +0000 (10:25 +0200)]
Fix bug #9246 with scrolling in ERC under word-wrap.
lisp/erc/erc-goodies.el (erc-scroll-to-bottom): Use post-command-hook
rather than window-scroll-functions. Fixes a bug with scrolling under
word-wrap on a tty.
Antoine Levitt [Sat, 31 Dec 2011 08:16:41 +0000 (10:16 +0200)]
Doc fix for window-scroll-functions.
src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Add warning
to the doc string advising against its use for altering the way
windows are scrolled.
Paul Eggert [Sat, 31 Dec 2011 01:27:15 +0000 (17:27 -0800)]
Spelling fixes.
Chong Yidong [Fri, 30 Dec 2011 10:19:42 +0000 (18:19 +0800)]
Update Sending Mail chapter of Emacs manual.
* sending.texi (Sending Mail): Document initial mail buffer name,
and changed multiple mail buffer behavior.
(Mail Format): Put the example at the top of the section.
(Mail Headers): Move discussion of "From" to the top.
(Mail Sending): Document sendmail-query-once.
(Citing Mail): Make it less Rmail-specific.
Paul Eggert [Fri, 30 Dec 2011 02:52:49 +0000 (18:52 -0800)]
Spelling fixes.
Paul Eggert [Thu, 29 Dec 2011 22:08:29 +0000 (14:08 -0800)]
* epg.el (epg--make-temp-file): Avoid permission race conditions
when creating temporary directories and files on older Emacs.
Paul Eggert [Thu, 29 Dec 2011 21:55:33 +0000 (13:55 -0800)]
Add Bug#.
Paul Eggert [Thu, 29 Dec 2011 21:08:18 +0000 (13:08 -0800)]
* files.el (move-file-to-trash): Preserve default file modes on error.
Paul Eggert [Thu, 29 Dec 2011 20:57:11 +0000 (12:57 -0800)]
Add Bug#.
Paul Eggert [Thu, 29 Dec 2011 20:44:31 +0000 (12:44 -0800)]
emacs: fix an auto-save permissions race condition
* fileio.c (auto_saving_dir_umask): New static var.
(Fmake_directory_internal): Use it.
(do_auto_save_make_dir): Set it, instead of invoking chmod after
creating the directory. The old code temporarily assigns
too-generous permissions to the directory.
(do_auto_save_eh): Clear it.
(Fdo_auto_save): Catch all errrors, not just file errors, so
that the var is always cleared.
Juanma Barranquero [Thu, 29 Dec 2011 18:08:46 +0000 (19:08 +0100)]
doc/lispref/frames.texi (Font and Color Parameters): Add @pxref.
Daniel Colascione [Thu, 29 Dec 2011 16:20:26 +0000 (17:20 +0100)]
doc/lispref/frames.texi: Document w32 font backends (bug#10399).
Chong Yidong [Thu, 29 Dec 2011 15:58:42 +0000 (23:58 +0800)]
Cleanups for the new Org section in the Emacs manual.
* doc/emacs/text.texi (Org Mode): Copyedits. Refer to Outline Format for
example. Add index entries.
(Org Organizer, Org Authoring): Nodes renamed. Copyedits.
Ted Zlatanov [Thu, 29 Dec 2011 13:12:18 +0000 (08:12 -0500)]
Fix earlier ChangeLog message from 2011-12-21T11:30:00Z!tzz@lifelogs.com.
Michael Albinus [Thu, 29 Dec 2011 11:34:44 +0000 (12:34 +0100)]
* net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
also for alternative shells.
(tramp-open-connection-setup-interactive-shell): Check, whether
the shell is a busybox.
(tramp-send-command): Don't suppress multiple prompts for
busyboxes, it hurts.
Kenichi Handa [Wed, 28 Dec 2011 07:57:14 +0000 (16:57 +0900)]
merge trunk
Kenichi Handa [Wed, 28 Dec 2011 07:55:49 +0000 (16:55 +0900)]
coding.c: (Fdefine_coding_system_internal): Make an utf-8 base coding-system ASCII compatible only when it does not produce BOM on encoding (Bug#10383).
Paul Eggert [Wed, 28 Dec 2011 06:59:21 +0000 (22:59 -0800)]
doc: Use clearer notations for permissions.
* doc/lispref/files.texi (File Attributes, Changing Files):
Use a more-natural notation for octal numbers.
* doc/misc/gnus.texi (Mail Source Customization, Mail Back End Variables):
Use octal notation for file permissions, which are normally
thought of in octal.
(Mail Back End Variables): Use more-plausible modes in example.
Chong Yidong [Wed, 28 Dec 2011 05:23:47 +0000 (13:23 +0800)]
Fix GDB mode line for gdb-create-source-file-list nil.
* lisp/progmodes/gdb-mi.el (gdb-get-source-file-list)
(gdb-get-source-file): Move mode line update to gdb-get-source-file.
Fixes: debbugs:10087
Katsumi Yamaoka [Wed, 28 Dec 2011 02:40:35 +0000 (02:40 +0000)]
mm-view.el (mm-display-inline-fontify): Add comment.
Bill Wohler [Tue, 27 Dec 2011 22:10:34 +0000 (14:10 -0800)]
Update release notes to reflect a fixed, reported bug.
Bill Wohler [Tue, 27 Dec 2011 04:56:26 +0000 (20:56 -0800)]
Update release notes to reflect a fixed, reported bug.
Jan Djärv [Mon, 26 Dec 2011 18:00:38 +0000 (19:00 +0100)]
* xmenu.c (x_menu_wait_for_event): Use xg_select for Gtk3 so menus
can scroll.
(create_and_show_popup_menu): Always use menu_position_func for
Gtk3.
Fixes: debbugs:10361
Chong Yidong [Mon, 26 Dec 2011 10:36:41 +0000 (18:36 +0800)]
Update Abbrevs and Dired chapters of Emacs manual.
* dired.texi (Dired Enter, Misc Dired Features): Document
dired-use-ls-dired changes. Mention quit-window.
(Dired Navigation): Add index entries.
(Dired Visiting): Fix View Mode xref.
(Marks vs Flags): Prefer C-/ binding for undo.
(Subdirectories in Dired): Add xrefs.
(Misc Dired Features): Document some Emacs 24 changes. Add index
entries.
* abbrevs.texi (Abbrev Concepts): No need to mention abbrev-mode
variable, since it is explained in Minor Modes node.
(Defining Abbrevs): Copyedits.
(Expanding Abbrevs): State default of abbrev-all-caps. Prefer the
C-/ binding for undo.
(Dabbrev Customization): Add xrefs for case-fold-search and
case-replace.
* dired-xtra.texi (Subdir Switches): Add xref.
* maintaining.texi (VC Directory Commands): Mention quit-window.
Chong Yidong [Sun, 25 Dec 2011 14:16:00 +0000 (22:16 +0800)]
More updates to Maintaining chapter of Emacs manual.
* files.texi (Misc File Ops): Mention vc-delete-file.
* maintaining.texi (Tags): Mention Semantic.
(Create Tags Table, Etags Regexps): Copyedits.
(Find Tag): Mention minibuffer completion.
(List Tags): Mention completion-at-point. Completion is actually
available in M-x list-tags.
* programs.texi (Symbol Completion): Mention completion-at-point
explicitly.
* vc1-xtra.texi (VC Delete/Rename): Rename from Renaming and VC.
Document vc-delete-file.
Chong Yidong [Sun, 25 Dec 2011 10:46:49 +0000 (18:46 +0800)]
Fix GDB/MI inline completion.
* progmodes/gdb-mi.el (gdb-input): Accept command and handler
function as separate arguments.
(gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
(gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
(gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
(gdb-var-delete-children, gdb-edit-value, gdb-var-update)
(gdb-stopped, def-gdb-auto-update-trigger)
(gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
(gdb-get-changed-registers, gdb-get-main-selected-frame): Callers
changed.
(gud-gdbmi-completions): New function.
(gdb): Use it for generating the completion table.
* progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
gud-gdb-marker-filter without taking it as an argument.
(gud-gdb-run-command-fetch-lines): Caller changed.
(gud-gdb-completion-function): New variable.
(gud-gdb-completion-at-point): Use it.
(gud-gdb-completions-1): Split from gud-gdb-completions.
Andreas Schwab [Sun, 25 Dec 2011 09:55:37 +0000 (10:55 +0100)]
* etags.c (C_entries): Properly skip over string and character
constants inside brackets. (Bug#10357)
Andreas Schwab [Sun, 25 Dec 2011 09:06:42 +0000 (10:06 +0100)]
* callint.c (Fcall_interactively): Don't truncate prompt string.
Alan Mackenzie [Sat, 24 Dec 2011 19:32:31 +0000 (19:32 +0000)]
Introduce a mechanism to widen the region used in context font locking.
Use this to protect declarations from losing their contexts.
Eli Zaretskii [Sat, 24 Dec 2011 19:24:10 +0000 (21:24 +0200)]
Add the bug number #10360 to the entry for 2011-12-23T14:51:51Z!eliz@gnu.org.
The real fix for bug 10360 is in 2011-12-23T14:51:51Z!eliz@gnu.org.