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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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 [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 [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.
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.
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.
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 [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.