Paul Eggert
1e3cdd8228
* doc/misc/texinfo.tex: Upgrade to 2011-03-25.11 version (comment change).
2011-04-05 22:07:27 -07:00
Paul Eggert
b69769da40
doprnt, error, and verror are not printf-compatible.
2011-04-05 21:58:58 -07:00
Paul Eggert
b70d23ff74
Merge from mainline.
2011-04-05 21:52:22 -07:00
Paul Eggert
06c550d2b8
Undo Fstring_to_unibyte change.
2011-04-05 21:34:35 -07:00
Glenn Morris
11043dbd42
* autogen/update_autogen: Add a separate -L option for ldefs-boot.el.
2011-04-05 21:15:53 -07:00
Glenn Morris
12fd53e243
Auto-commit of loaddefs files.
2011-04-05 22:34:56 -04:00
Glenn Morris
4cfacdd064
* autogen/update_autogen: Configure --without-x.
2011-04-05 19:23:28 -07:00
Glenn Morris
c0274801ee
Make update_autogen handle loaddefs-like files as well.
...
* autogen/update_autogen: (usage): Add -l, -C.
(clean, ldefs_flag, ldefs_in, ldefs_out): New variables.
With -l, check status of lisp/ as well.
With -C, clean before building.
(autoreconf): Only pass -f in the `clean' case.
(commit): New function.
* lisp/Makefile.in (AUTOGEN_VCS): New variable.
(autoloads): Use $AUTOGEN_VCS.
* .bzrignore: Tighten up ignore patterns (for autogen/).
2011-04-05 19:13:16 -07:00
Glenn Morris
3f0f17000d
Calendar fix for scroll-bar scrolling (b#8305).
...
* lisp/calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
* lisp/calendar/calendar.el (calendar-mode-map):
Check for toolkit scroll bars.
2011-04-05 19:05:45 -07:00
Glenn Morris
f872186f77
* lisp/gnus/registry.el: Fix copyright, standardize license notice.
2011-04-05 19:01:39 -07:00
Juanma Barranquero
7afdcb4571
Backport 2011-04-04T22:08:01Z!lekktu@gmail.com and 2011-04-04T22:33:12Z!lekktu@gmail.com from trunk.
...
* help-fns.el (describe-variable): Complete all variables having
documentation, including keywords.
http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2011-04-06 03:26:46 +02:00
Juanma Barranquero
1f4735b90f
lisp/mh-e/mh-funcs.el (mh-undo-folder): Make compatible with `revert-buffer' (bug#8431).
2011-04-06 03:14:03 +02:00
Ted Zlatanov
ccd58722df
Add lisp/gnus/registry.el.
2011-04-05 23:37:02 +00:00
Teodor Zlatanov
11a3174d87
Merge changes made in Gnus trunk.
...
gnus-registry.el (gnus-registry-fixup-registry): New function to fixup the parameters that can be customized by the user between save/read cycles.
(gnus-registry-read): Use it.
(gnus-registry-make-db): Use it.
(gnus-registry-spool-action, gnus-registry-handle-action): Fix messaging.
(gnus-registry--split-fancy-with-parent-internal): Fix loop. Map references to actual group names with sender and subject tracking.
(gnus-registry-post-process-groups): Use `cond' for better messaging.
(gnus-registry-usage-test): Add subject lookup test.
registry.el (registry-db, initialize-instance): Set up constructor instead of :initform arguments for the sake of older Emacsen.
(registry-lookup-breaks-before-lexbind): New method to demonstrate pre-lexbind merge bug.
(registry-usage-test): Use it.
(initialize-instance, registry-db): Move the non-function initforms back to the class definition.
registry.el: New library to manage gnus-registry-style data.
gnus-registry.el: Use it (major rewrite).
nnregistry.el: Use it.
spam.el: Use it.
2011-04-05 22:35:05 +00:00
Chong Yidong
41ea9e4837
Remove extraneous messages in 2011-03-30 completion change.
...
These blocked the minibuffer contents when completing in the minibuffer, in a
departure from previous Emacs behavior.
* lisp/minibuffer.el (completion-in-region--postch)
(completion-in-region-mode): Remove unnecessary messages.
2011-04-05 17:19:42 -04:00
Paul Eggert
f390e2d53a
* xmenu.c (Fx_popup_dialog): Don't assume string is free of formats.
2011-04-05 13:26:55 -07:00
Paul Eggert
42eea0d01a
* menu.c (Fx_popup_menu): Don't assume error_name lacks printf formats.
2011-04-05 13:25:23 -07:00
Paul Eggert
da09ccce7a
* fns.c (Fstring_to_unibyte): Don't rely on undefined behavior
...
by passing a long int to a printf format expecting an int.
2011-04-05 13:22:53 -07:00
Paul Eggert
1e973bc79d
* lisp.h (message, message_nolog, doprint, error, verror, fatal):
...
Mark as printf-like functions.
2011-04-05 13:12:44 -07:00
Paul Eggert
f9541e84ba
* xdisp.c (vmessage): Mark as a printf-like function.
2011-04-05 13:11:37 -07:00
Paul Eggert
13841b558c
* term.c (vfatal, maybe_fatal): Mark as printf-like functions.
2011-04-05 13:08:58 -07:00
Paul Eggert
c136c10f59
* sound.c (sound_warning): Don't crash if arg contains a printf format.
2011-04-05 13:08:03 -07:00
Paul Eggert
5e2d4a30b2
* image.c (tiff_error_handler, tiff_warning_handler): Mark as
...
printf-like functions.
(tiff_load): Add casts to remove these marks before passing them
to system-supplied API.
2011-04-05 13:06:52 -07:00
Paul Eggert
583f48b90b
* eval.c (Fsignal): Remove excess argument to 'fatal'.
2011-04-05 13:01:08 -07:00
Paul Eggert
72b04a8a97
* emacsclient.c (message): Mark it as a printf-like function.
2011-04-05 12:59:58 -07:00
Paul Eggert
aa18133456
* configure.in (ATTRIBUTE_FORMAT, ATTRIBUTE_FORMAT_PRINTF): New macros.
2011-04-05 12:59:08 -07:00
Paul Eggert
9e0e57c7d6
Merge changes from gnulib.
2011-04-05 11:19:19 -07:00
Juanma Barranquero
33256f149f
lisp/font-lock.el: Remove obsolete code.
...
* font-lock.el (font-lock-refresh-defaults):
Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com
2011-04-05 17:20:21 +02:00
Juanma Barranquero
6194c800ce
lisp/info.el: Fix typos; mark unused parameters.
...
* info.el (Info-directory-list, Info-read-node-name-2)
(Info-split-parameter-string): Doc fixes.
(Info-virtual-nodes): Reflow docstring.
(Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
(Info-apropos-toc-nodes, info-finder, Info-get-token)
(Info-find-emacs-command-nodes, Info-speedbar-key-map):
Fix typos in docstrings.
(Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
(Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
(Info-speedbar-buttons, Info-desktop-buffer-misc-data)
(Info-restore-desktop-buffer): Mark unused parameters.
(Info-directory-find-file, Info-directory-find-node)
(Info-history-find-file, Info-history-find-node, Info-toc-find-node)
(Info-virtual-index-find-node, Info-apropos-find-file)
(Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
Mark unused parameters; fix typos in arguments.
(Info-virtual-index): Remove unused local variable `nodename'.
2011-04-05 17:08:28 +02:00
Paul Eggert
ca23cc8840
Merge from mainline.
2011-04-04 23:45:27 -07:00
Paul Eggert
d5efd1d1b5
* coding.c (DECODE_COMPOSITION_RULE): If the rule is invalid, goto invalid_code
...
directly, rather than having caller test rule sign. This avoids
some unnecessary tests.
* composite.h (COMPOSITION_ENCODE_RULE_VALID): New macro.
(COMPOSITION_ENCODE_RULE): Arguments now must be valid. This
affects only one use, in DECODE_COMPOSITION_RULE, which is changed.
2011-04-04 23:41:53 -07:00
Paul Eggert
b25d760e18
* coding.c (EMIT_ONE_BYTE, EMIT_TWO_BYTES): Use unsigned, not int.
...
This avoids several warnings with gcc -Wstrict-overflow.
2011-04-04 23:24:54 -07:00
Paul Eggert
625a3eb1e2
* xfont.c (xfont_open): Avoid unnecessary tests.
2011-04-04 22:14:06 -07:00
Paul Eggert
bc7b669731
* xfont.c (xfont_text_extents): Remove var that was set but not used.
2011-04-04 22:12:02 -07:00
Paul Eggert
27ccc379bf
* composite.c (composition_gstring_put_cache): Use unsigned integer.
2011-04-04 22:11:14 -07:00
Deniz Dogan
b87a820074
* lisp/net/rcirc.el: Update my e-mail address.
2011-04-05 06:33:38 +02:00
Deniz Dogan
0f6ee7d2d7
* lisp/net/rcirc.el (rcirc-mode-map): Remove M-o binding.
2011-04-05 06:31:24 +02:00
Chong Yidong
3b2ff876a5
Fix theme and X-resource interactions for the cursor face.
...
* lisp/startup.el (command-line): Save the cursor's theme-face
directly, instead of using face-override-spec.
* lisp/custom.el (load-theme): Minor optimization in assigning faces.
2011-04-04 21:21:52 -04:00
Juanma Barranquero
6f4e1aedda
lisp/help-fns.el: Fix mistake in previous change.
2011-04-05 00:33:12 +02:00
Juanma Barranquero
8d17e7ca1f
lisp/help-fns.el (describe-variable): Fix completion.
...
http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2011-04-05 00:08:01 +02:00
Paul Eggert
dcd5c89a9e
* composite.h, composite.c (composition_gstring_put_cache):
...
Use EMACS_INT, not int, for length.
2011-04-04 12:53:59 -07:00
Paul Eggert
b13a45c6f9
* composite.h (COMPOSITION_DECODE_REFS): New macro,
...
breaking out part of COMPOSITION_DECODE_RULE.
(COMPOSITION_DECODE_RULE): Use it.
* composite.c (get_composition_id): Remove unused local vars,
by using the new macro.
2011-04-04 12:46:32 -07:00
Paul Eggert
1e792e4d80
* textprop.c (set_text_properties_1): Change while to do-while,
...
since the condition is always true at first.
2011-04-04 12:30:48 -07:00
Paul Eggert
aa86731f74
* intervals.c (interval_deletion_adjustment): Return unsigned value.
...
All uses changed.
2011-04-04 09:47:31 -07:00
Lars Magne Ingebrigtsen
d451951a53
gnus-sum.el (gnus-update-marks): Reinstate the code to not alter marks on non-selected articles.
...
gnus-start.el (gnus-get-unread-articles): Don't try to contact denied servers.
2011-04-04 14:03:08 +00:00
Juanma Barranquero
2fbc1934ae
Convert some .el files to lexical scoping.
...
* bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
(bs--get-marked-string, bs--get-modified-string)
(bs--get-readonly-string, bs--get-size-string, bs--get-name)
(bs--get-mode-name, bs--get-file-name): Mark unused arguments.
(bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
* ehelp.el (electric-help-execute-extended)
(electric-help-ctrl-x-prefix):
* hexl.el (hexl-revert-buffer-function):
* linum.el (linum-after-change, linum-after-scroll):
* emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
* help-fns.el (help-describe-category-set): Remove unused ERR variable.
2011-04-04 11:35:16 +02:00
Juanma Barranquero
6a56b5bd08
lisp/dired.el: Update autoloads.
2011-04-04 11:28:26 +02:00
Paul Eggert
dc6c6455c2
* intervals.c (graft_intervals_into_buffer): Mark var as used.
2011-04-04 02:08:31 -07:00
Paul Eggert
fe07cdfa53
* process.c (read_process_output): Simplify nbytes computation if buffered.
2011-04-04 02:06:52 -07:00
Paul Eggert
82eaa3332c
* process.c (read_process_output): Do adaptive read buffering even if carryover.
2011-04-04 02:04:33 -07:00