Eli Zaretskii [Wed, 1 Feb 2012 16:51:20 +0000 (18:51 +0200)]
Speed up insertion of subprocess output on MS-Windows.
src/ralloc.c (resize_bloc, r_alloc_sbrk): Don't call memmove if its
first 2 arguments are identical. This makes inserting large
output from a subprocess an order of magnitude faster on
MS-Windows, where all sbrk'ed memory is always contiguous.
Gnus developers [Wed, 1 Feb 2012 09:00:42 +0000 (09:00 +0000)]
Merge change(s) made in Gnus no-gnus branch
2012-01-31 Jim Meyering <jim@meyering.net>
gnus-agent.el (gnus-agent-expire-unagentized-dirs):
Correct a comment (insert "not") and hide nominally-doubled "to".
Paul Eggert [Wed, 1 Feb 2012 06:04:34 +0000 (22:04 -0800)]
Port to older Solaris 10 versions (Bug#10677).
Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc.
I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but
possibly this is because Sun fixed the 'stat' bug in my version.
* Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module.
* lib/pathmax.h, m4/pathmax.m4: New files, from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
These changes are based on gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10,
because Emacs is in feature freeze and we do not want to merge any
more-recent changes from gnulib.
Chong Yidong [Tue, 31 Jan 2012 08:38:58 +0000 (16:38 +0800)]
Fix menu-set-font interaction with Custom themes.
In particular, prevent it from setting non-font-related attributes
like the foreground and background color. This requires a bugfix to
face-spec-reset-face to make "resetting" the default face work.
* lisp/faces.el (face-spec-reset-face): Don't apply unspecified
attribute values to the default face.
* lisp/frame.el (set-frame-font): New arg ALL-FRAMES.
* lisp/menu-bar.el (menu-set-font): Use set-frame-font.
Gnus developers [Mon, 30 Jan 2012 23:30:22 +0000 (23:30 +0000)]
Merge changes made in Gnus trunk
gnus.texi (Agent Basics): Fix outdated description of `gnus-agent-auto-agentize-methods'.
rfc2047.el (rfc2047-encode-region): Allow not folding the encoded words.
(rfc2047-encode-string): Ditto.
(rfc2047-encode-parameter): Don't fold parameters. Some MUAs do not understand folded filename="..." parameters, for instance.
gnus-agent.el (gnus-agent-auto-agentize-methods): Point to the Agent section in the manual.
Chong Yidong [Sun, 29 Jan 2012 04:45:51 +0000 (12:45 +0800)]
Make Emacs Lisp mode use emacs-lisp-mode-abbrev-table.
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
and use in Emacs Lisp mode.
(lisp-mode-abbrev-table): Add doc.
(lisp-mode-variables): Don't set local-abbrev-table.
(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
Glenn Morris [Sun, 29 Jan 2012 03:08:15 +0000 (19:08 -0800)]
Minor NEWS cleanup, mainly for "Installation Changes" section.
* etc/NEWS: Reorder items.
Standardize new --with-libfoo type configure options.
Don't say precisely which library versions are needed - it tends to
change and people who care can look at configure.
Move new Hebrew tutorial entry to "Internationalization changes" section.
Small tidy up for imagemagick and gnutls entries.
* src/gnutls.c (syms_of_gnutls): More doc (from etc/NEWS).
mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of setting it locally, since the latter doesn't seem to have any effect (most of the time).
Chong Yidong [Sat, 28 Jan 2012 13:58:46 +0000 (21:58 +0800)]
Quote file name commands in eshell.
* lisp/eshell/esh-arg.el (eshell-quote-argument): New function.
* lisp/eshell/esh-ext.el (eshell-invoke-batch-file):
* lisp/eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
first arg to eshell-parse-command.
Drew Adams [Sat, 28 Jan 2012 10:27:28 +0000 (12:27 +0200)]
Fix bug #10129: add positional information to "C-u C-x =".
lisp/descr-text.el (describe-char): Show information about POS, in
addition to information about the character at POS. Improve and
update the doc string. Change "code point" to "code point in
charset", to avoid confusion with the character's Unicode code
point shown above that.
Eli Zaretskii [Sat, 28 Jan 2012 09:52:24 +0000 (11:52 +0200)]
Fix character display by "C-u C-x =" in presence of display properties.
lisp/descr-text.el (describe-char): Show the raw character, not only
its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
for the reasons.
Chong Yidong [Sat, 28 Jan 2012 08:14:24 +0000 (16:14 +0800)]
Fix package.el dependency handling so that `require' calls work.
* lisp/emacs-lisp/package.el (package-maybe-load-descriptor): New
function, split from package-maybe-load-descriptor.
(package-maybe-load-descriptor): Use it.
(package-download-transaction): Fully load required packages
inside the loop, so that `require' calls work.
(package-install): No need to call package-initialize now.
Chong Yidong [Sat, 28 Jan 2012 03:49:22 +0000 (11:49 +0800)]
* doc/lispref/modes.texi (Example Major Modes): Update Lisp example code
to current sources. Delete the old non-derived-major-mode
example, which has diverged badly from current sources.
* lisp/text-mode.el (text-mode): Minor tweak to make the mirrored
manual node nicer.
Gnus developers [Sat, 28 Jan 2012 02:25:57 +0000 (02:25 +0000)]
Merge changes made in Gnus trunk
shr.el (shr-browse-url): Fix the name of the `browse-url-mail' function call.
gnus-demon.el (gnus-demon-run-callback, gnus-demon-init): Convert to seconds, and make the repeat clause with HH:MM specs work as documented.
Glenn Morris [Fri, 27 Jan 2012 21:19:13 +0000 (13:19 -0800)]
* etc/NEWS: --no-site-lisp (presumably) does not work for Nextstep builds.
This is due to their use of EMACSLOADPATH; see
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6401#48
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10208#25