Kenichi Handa
2e51d4b5fb
mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and show a warning message without signalling an error (Bug#11282).
2012-05-03 14:47:24 +09:00
Stefan Monnier
2bd785a208
* lisp/emacs-lisp/bytecomp.el
...
(byte-compile-file-form-custom-declare-variable): Compile all elements,
since cconv.el might have introduced :fun-body, internal-make-closure,
and friends for bytecomp to handle.
* lisp/custom.el (defcustom): Avoid ((λ ..) ..).
Fixes: debbugs:11391
2012-05-02 22:39:23 -04:00
Glenn Morris
0b40418e9f
Tweaks for doc/emacs/modes.texi
...
* doc/emacs/modes.texi (Major Modes, Minor Modes):
Reword to improve page-breaks.
(Major Modes): Use example rather than smallexample.
2012-05-02 22:14:32 -04:00
Glenn Morris
c4c30a4e6a
* doc/emacs/mule.texi (Output Coding): Reword to improve page-breaks.
2012-05-02 22:10:18 -04:00
Glenn Morris
430e2ae69e
* doc/emacs/frames.texi (Text-Only Mouse): Fix xref.
2012-05-02 22:05:45 -04:00
Glenn Morris
fe76231124
* doc/emacs/frames.texi (Fonts): Tweak line and page breaks.
...
Change cross-reference.
Use example rather than smallexample (these examples are not wide,
smallexample saves little vertical space, but makes things harder to
read).
2012-05-02 22:04:07 -04:00
Glenn Morris
0244c17ae6
Tweak page breaks in doc/emacs/buffers.texi
...
* doc/emacs/buffers.texi (Buffers, Kill Buffer, Several Buffers)
(Indirect Buffers): Tweak line- and page-breaks.
2012-05-02 21:41:54 -04:00
Glenn Morris
187c4f85ad
* doc/emacs/fixit.texi (Fixit, Undo): Reword to improve page-breaks.
2012-05-02 21:22:38 -04:00
Glenn Morris
ebf87fdb51
* etc/refcards/README: Update
2012-05-02 21:13:19 -04:00
Glenn Morris
aa89a0efd4
* doc/lispintro/emacs-lisp-intro.texi: Update GNU Press contact details.
2012-05-02 21:11:42 -04:00
Paul Eggert
7ed806a75c
Fix race conditions involving setenv, gmtime, localtime, asctime.
...
Without this fix, interrupts could mess up code that uses these
nonreentrant functions, since setting TZ invalidates existing
tm_zone or tzname values, and since most of these functions return
pointers to static storage.
* editfns.c (format_time_string, Fdecode_time, Fencode_time)
(Fcurrent_time_string, Fcurrent_time_zone, Fset_time_zone_rule):
Grow the critical sections to include not just invoking
localtime/gmtime, but also accessing these functions' results
including their tm_zone values if any, and any related TZ setting.
(format_time_string): Last arg is now struct tm *, not struct tm **,
so that the struct tm is saved in the critical section. All
callers changed. Simplify allocation of initial buffer, partly
motivated by the fact that memory allocation needs to be outside
the critical section.
2012-05-02 16:25:46 -07:00
Stefan Monnier
99d2758343
* subr.el (read-passwd): Better clean after ourselves.
...
Fixes: debbugs:11392
2012-05-02 17:34:57 -04:00
Glenn Morris
187e9b902d
NEWS addition re configure.in and BSD -L options
2012-05-02 13:41:21 -04:00
Dmitry Antipov
0c16dfed70
* intervals.c (adjust_intervals_for_insertion): Initialize `newi'
...
with RESET_INTERVAL.
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
Remove duplicated buffer name initialization.
2012-05-02 13:21:54 -04:00
Glenn Morris
3c30e76668
configure.in tweak for LD_SWITCH_SYSTEM on FreeBSD, NetBSD (bug#10313)
...
* configure.in (LD_SWITCH_SYSTEM):
Don't try to defeat the choices made by FreeBSD and NetBSD.
2012-05-02 12:55:00 -04:00
Glenn Morris
a64fe9146e
Yet more merged ChangeLog fixes
2012-05-02 09:28:03 -07:00
Glenn Morris
3d6af4d1f6
Fix merged ChangeLog entry
2012-05-02 09:14:20 -07:00
Glenn Morris
2dd1ff26f2
Auto-commit of generated files.
2012-05-02 12:10:02 -04:00
Chong Yidong
be4e7c155b
Backport 2012-05-02T11:33:49Z!lekktu@gmail.com from trunk
2012-05-02 21:06:50 +08:00
Chong Yidong
687d464f5c
Backport Bug#11374 fix from trunk
2012-05-02 21:06:08 +08:00
Chong Yidong
2bc356d71c
Add customization data to several built-in variables.
...
* lisp/cus-start.el (gc-cons-percentage, exec-suffixes)
(dos-display-scancodes, dos-hyper-key, dos-super-key)
(dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
(make-cursor-line-fully-visible, void-text-area-pointer)
(font-list-limit): Add customization data.
* doc/lispref/display.texi (Font Lookup):
* doc/lispref/frames.texi (Pointer Shape):
* doc/lispref/processes.texi (Subprocess Creation): Use defopt for options.
2012-05-02 21:00:29 +08:00
Juanma Barranquero
5d3385a0eb
Fix ChangeLog typos.
2012-05-02 13:43:14 +02:00
Juanma Barranquero
55a714795d
Silence byte-compiler warnings.
...
lisp/notifications.el (dbus-debug):
lisp/term/linux.el (gpm-mouse-enable):
lisp/term/screen.el (xterm-register-default-colors): Declare.
2012-05-02 13:38:01 +02:00
Juanma Barranquero
069a7756f7
lib-src/emacsclient.c (min): Undef before redefining it.
2012-05-02 13:33:49 +02:00
Glenn Morris
c635b6d545
Auto-commit of generated files.
2012-05-02 07:17:25 -04:00
Chong Yidong
7b97c76414
Fix naming of abnormal hook vars in allout.el.
...
* lisp/allout.el (allout-exposure-change-functions)
(allout-structure-added-functions)
(allout-structure-deleted-functions)
(allout-structure-shifted-functions): Rename abnormal hooks from *-hook,
and convert to defcustoms.
(allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
to defcustoms.
(allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
* lisp/allout-widgets.el: Hook callers changed.
2012-05-02 18:57:03 +08:00
Jim Meyering
1e6f32f816
* lib-src/emacsclient.c (send_to_emacs): Avoid invalid strcpy
...
upon partial send.
Fixes: debbugs:11374
2012-05-02 18:41:27 +08:00
Jim Meyering
c7b8541ee7
* src/xfns.c (x_window): Use xstrdup (Bug#11375).
2012-05-02 18:20:35 +08:00
Jim Meyering
3f83ace849
* src/xterm.c (x_term_init): Use memcpy instead of strncpy.
...
Fixes: debbugs:11373
2012-05-02 18:17:03 +08:00
Jim Meyering
bf98199cf1
Add NUL-termination to some uses of strncpy.
...
* lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
NUL-terminate the error buffer.
* src/w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).
2012-05-02 18:12:13 +08:00
Glenn Morris
9aa071dfb9
Don't hard-code the list of info files in the top-level Makefile
...
The sed '/ing directory/d' piece is to remove the annoying
"entering/leaving directory" messages that GNU make insists on
printing when called recursively. --no-print-directory isn't portable.
* Makefile.in (INFO_FILES): Remove variable.
(INFO_NONMISC): New variable.
(install-arch-indep, uninstall): Don't use $INFO_FILES.
* doc/misc/Makefile.in (echo-info): New phony target, used by top-level.
2012-05-02 00:45:16 -07:00
Glenn Morris
226b674362
Add change missed from previous merge from emacs-24
2012-05-02 00:33:52 -07:00
Glenn Morris
90207a1525
Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org
2012-05-02 00:20:29 -07:00
Glenn Morris
6116bd7e7a
* admin/bzrmerge.el (bzrmerge-skip-regexp): Add "Auto-commit".
2012-05-02 00:12:52 -07:00
Glenn Morris
cd3771a08b
* Makefile.in (uninstall): Remove useless-use-of-for.
...
For some reason it caused problems on an old Solaris.
2012-05-02 00:01:36 -07:00
Glenn Morris
a36e64d04b
Makefile.in fix for systems without /bin/install or somesuch
...
* Makefile.in (install-arch-indep, uninstall):
Ensure that INSTALL-type commands are run from top-level.
2012-05-01 23:53:21 -07:00
Glenn Morris
3fef57a2f6
* Makefile.in (INFO_FILES): Add emacs-gnutls;
...
accidentally omitted from 2012-04-12 backport from trunk.
(Do not merge to trunk.)
2012-05-01 23:46:34 -07:00
Glenn Morris
7adecb9936
* Makefile.in (install-arch-indep): Combine install-data, install-info loops.
2012-05-01 22:10:43 -04:00
Glenn Morris
9e7a4bcfd8
Fix some info/dir entries
...
* doc/misc/emacs-gnutls.texi, doc/misc/ert.texi, doc/misc/org.texi:
Fix dircategory, direntry to match info/dir.
* doc/misc/viper.texi: Make direntry shorter (also it is no longer "newest").
* info/dir: Make some entries consistent with the source texi files.
2012-05-01 21:22:26 -04:00
Glenn Morris
9fa0e4168d
* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
...
Ref http://debbugs.gnu.org/6190
2012-05-01 20:11:24 -04:00
Ted Zlatanov
723ea6b5d6
auth.texi (Help for users): Update for .gpg file being second
2012-05-01 22:28:14 +00:00
Glenn Morris
976f7668ab
* lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2012-05-01 17:06:59 -04:00
Glenn Morris
ab1121bd6d
Don't hard-code manual pages in top-level Makefile.in
...
* Makefile.in (MAN_PAGES): Remove.
(install-arch-indep, uninstall): Don't use $MAN_PAGES.
2012-05-01 17:05:28 -04:00
Glenn Morris
479a281570
Some updates for etc/TODO
2012-05-01 15:31:18 -04:00
Glenn Morris
aac7ba08b8
Further doc fix.
2012-05-01 15:27:10 -04:00
Glenn Morris
beb83b5ac5
* lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2012-05-01 14:48:46 -04:00
Glenn Morris
d80ac57b32
* lisp/cus-edit.el (custom-variable-documentation): Simplify with format.
2012-05-01 14:47:23 -04:00
Stefan Monnier
c8f8221fd1
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."
...
message once it's actually open.
2012-05-01 14:37:21 -04:00
Aaron S. Hawley
b593d6a999
Reimplement execute-extended-command in Elisp.
...
* src/keyboard.c (Fexecute_extended_command, Vsuggest_key_bindings):
Move to simple.el.
* lisp/simple.el (suggest-key-bindings, execute-extended-command):
Move from keyboard.c.
2012-05-01 12:10:02 -04:00
Chong Yidong
87233a14e0
Fix mouse wheel scrolling in Follow mode.
...
* lisp/follow.el (follow-mwheel-scroll): New function.
(follow-redraw-after-event): Fix last change.
Fixes: debbugs:4112
2012-05-01 22:00:16 +08:00