Allow the user to alter the bit grouping in hexl.el
[emacs.git] / lisp / ChangeLog
blob0e50a9e7ada4ae92d924ecbf85cbb0333dbba1ae
1 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
3         * hexl.el (hexl-bits): New variable.
4         (hexl-options): Mention the variable in the doc string.
5         (hexl-rulerise): New function.
6         (hexl-line-displen): New function
7         (hexl-mode): Mention the new variable.
8         (hexl-mode, hexl-current-address, hexl-current-address): Use the
9         displen.
10         (hexl-ascii-start-column): New function.
11         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
17         '("-i" ENCODING), in 2 separate command-line arguments, to specify
18         the encoding, as expected by hunspell.
20 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22         * battery.el (battery--linux-sysfs-regexp): New const.
23         (battery-status-function): Use it.  Remove yeeloong special case.
24         (battery-yeeloong-sysfs): Remove.
25         (battery-echo-area-format): Remove yeeloong special case.
27 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
30         Reported by Noah Friedman.
32         * subr.el (read-passwd): Use read-string.
34 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
36         * vcursor.el (vcursor-move): Increase the priority of the overlay
37         (bug#9663).
39 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
41         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
42         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
44 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
46         * textmodes/artist.el (artist-mode): Convert artist-mode to use
47         define-minor-mode (bug#10760).
49 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
51         * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
52         that directories matching `grep-find-ignored-files' won't be
53         pruned (bug#10351).
55 2012-04-11  Chong Yidong  <cyd@gnu.org>
57         * startup.el (command-line): Remove support for long-obsolete
58         variable font-lock-face-attributes.
60 2012-04-11  Glenn Morris  <rgm@gnu.org>
62         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
64 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * window.el (window--state-get-1): Obey window-point-insertion-type.
68 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
70         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
71         to previous function when point is on the first character of a
72         function. Take care of that in `narrow-to-defun' (bug#6157).
74 2012-04-11  Glenn Morris  <rgm@gnu.org>
76         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
77         not just file-errors.
79         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
80         (vc-bzr-sha1): Use internal sha1.
82 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
84         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
86 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
88         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
89         that start in the middle of the line (bug#10496).
91 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
93         * battery.el (battery-linux-proc-acpi): Only one battery is
94         discharged at a time, but that seems to confuse battery.el when
95         computing `rate-type' for the battery not being discharged
96         (bug#10332).
98 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
100         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
102         * international/quail.el: Use dolist and simplify.
103         (quail-define-package, quail-update-keyboard-layout)
104         (quail-define-rules): Use dolist.
105         (quail-insert-kbd-layout, quail-get-translation): CSE.
107         * tmm.el: Use dolist, remove left over hook.
108         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
109         Use dolist.
110         (calendar-load-hook): Don't mess with it.
112         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
113         Use derived-mode-p.  Run the diff asynchronously.
115 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
117         * obsolete/mouse-sel.el: Add an Obsolete-since header.
119 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
121         * misc.el: Display absolute path of loaded DLLs (bug#10424).
122         (list-dynamic-libraries--loaded): New function.
123         (list-dynamic-libraries--refresh): Use it.
125 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
127         * progmodes/python.el (python-fill-paragraph):
128         Make python-fill-region in a multiline string work when font-lock is
129         disabled (bug#7018).
131 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
133         * language/european.el (cp775): Add oem/legacy (en)coding on
134         DOS/MS Windows for the Baltic languages. There are still plenty of
135         texts written in this encoding/codepage (bug#6519).
137 2012-04-10  Glenn Morris  <rgm@gnu.org>
139         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
140         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
142 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
144         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
145         next-line "n" and previous-line "p" in order to make recentf more
146         consistent with ibuffer, dired or org-mode (bug#9387).
148 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
150         * image.el (put-image): Return the overlay created instead of the
151         optional input string (bug#7834).  Note that this may break code
152         that is (for some reason or other) depending on `put-image'
153         returning the string.
155         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
157         * simple.el (zap-to-char): Allow zapping using input methods
158         (bug#1580).
160         * textmodes/fill.el (fill-region): Leave point and mark where they
161         were before filling (bug#5399).
163 2012-04-09  Glenn Morris  <rgm@gnu.org>
165         * version.el (emacs-bzr-get-version):
166         Handle lightweight checkouts of local branches.
168 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
170         * international/characters.el: Recover lost case pairs.  (Bug#11209)
172 2012-04-09  Chong Yidong  <cyd@gnu.org>
174         * custom.el (custom-variable-p): Return nil for non-symbol
175         arguments instead of signaling an error.
176         (user-variable-p): Obsolete alias for custom-variable-p.
178         * apropos.el (apropos-variable):
179         * files-x.el (read-file-local-variable):
180         * simple.el (set-variable):
181         * woman.el (woman-mini-help):
182         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
184 2012-04-09  Glenn Morris  <rgm@gnu.org>
186         * startup.el (normal-top-level): Don't look for leim-list.el
187         in places where it will not be found.  (Bug#910)
189         * international/mule-cmds.el (set-default-coding-systems):
190         * files.el (normal-mode):
191         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
192         This function was removed with ucs-tables.el in 2008.
194 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
196         * textmodes/ispell.el (ispell-check-version): For hunspell, set
197         ispell-encoding8-command to "-i", without a trailing space.
198         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
199         separate command-line arguments, to specify the encoding, since
200         that's how hunspell expects it.
202 2012-04-08  Glenn Morris  <rgm@gnu.org>
204         * loadup.el: Load bindings before cus-start.
205         This reduces somewhat the number of "rogue" settings in emacs -Q.
207 2012-04-07  Glenn Morris  <rgm@gnu.org>
209         * version.el (emacs-bzr-get-version): New function.
210         (emacs-bzr-version): New variable.
211         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
212         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
214 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
216         * international/uni-bidi.el, international/uni-category.el:
217         * international/uni-combining.el, international/uni-decimal.el:
218         * international/uni-decomposition.el, international/uni-digit.el:
219         * international/uni-lowercase.el, international/uni-mirrored.el:
220         * international/uni-name.el, international/uni-numeric.el:
221         * international/uni-titlecase.el, international/uni-uppercase.el:
222         Update for Unicode 6.1.
224 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
226         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
228 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
230         * window.el (shrink-window): Mention the `window-min-height'
231         variable in the doc string.
233 2012-04-05  Bastien Guerry  <bzg@altern.org>
235         * color.el (color-lighten-name): Fix typo.
237 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
239         * server.el (server--on-display-p): New function.
240         (server--on-display-p): Use it.
242 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
244         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
245         (bug#11145).
247 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
249         * comint.el (comint--common-quoted-suffix): Check string boundary
250         before comparing (bug#11158).
251         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
253 2012-04-04  Chong Yidong  <cyd@gnu.org>
255         * minibuffer.el (completion-extra-properties): Doc fix.
257         * subr.el (delayed-warnings-hook): Doc fix.
259 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
261         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
262         selection (Bug#11159).
263         (epa-insert-keys): Inform that the default public key will be
264         exported if no key is selected.
266 2012-04-04  Richard Stallman  <rms@gnu.org>
268         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
270 2012-04-03  Chong Yidong  <cyd@gnu.org>
272         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
273         mail-insert-file, not its obsolete alias mail-attach-file.
275 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
277         * notifications.el (notifications-notify): Fix docstring.
279 2012-04-02  Glenn Morris  <rgm@gnu.org>
281         * emacs-lisp/authors.el (authors-aliases): Another addition.
283 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
285         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
286         `tramp-compat-call-process' instead of `tramp-local-call-process'.
287         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
289 2012-04-01  Chong Yidong  <cyd@gnu.org>
291         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
292         Handle root directory properly.
293         (copy-directory): Caller changed.
295         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
296         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
298 2012-03-31  Glenn Morris  <rgm@gnu.org>
300         * term/xterm.el (xterm-extra-capabilities): Doc fix.
302         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
304         * calendar/calendar.el (calendar-window-list)
305         (calendar-hide-window): Restore.  (Bug#11140)
306         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
308         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
310 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
312         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
313         Check if file is a symlink (Bug#10489).
315         * files.el (copy-directory): Likewise.
317 2012-03-30  Chong Yidong  <cyd@gnu.org>
319         * image.el (imagemagick-types-inhibit)
320         (imagemagick-register-types): Doc fix.
322 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
324         * ispell.el (ispell-get-extended-character-mode): Disable
325         extended-char-mode for hunspell. hunspell does not support it and
326         treats ~word as ordinary words in pipe mode.
328 2012-03-30  Glenn Morris  <rgm@gnu.org>
330         * tutorial.el (help-with-tutorial): Ensure local variables don't
331         happen to make the buffer read-only.  (Bug#11127)
333 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
335         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
336         (perl-calculate-indent): Return `noindent' in strings.
338 2012-03-28  Sam Steingold  <sds@gnu.org>
340         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
341         instead of the broken adhockery which does not prevent calendar
342         buffers from being displayed at random after exit.
343         (calendar-window-list, calendar-hide-window): Remove the broken
344         adhockery.
346 2012-03-28  Glenn Morris  <rgm@gnu.org>
348         * replace.el (query-replace-map): Doc fix.
350 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
352         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
353         contents.  (Bug#11109)
355 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
357         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
358         (bug#11077).
359         (avl-tree--check, avl-tree--check-node): New funs.
361 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
363         * window.el (switch-to-visible-buffer): New option.
364         (switch-to-prev-buffer, switch-to-next-buffer):
365         Observe switch-to-visible-buffer.  Make sure that checking for a window
366         showing a buffer already is done on the same frame.
368 2012-03-27  Glenn Morris  <rgm@gnu.org>
370         * startup.el (mail-host-address): Doc fix.
372 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
374         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
375         than 197 variables.
377 2012-03-26  Ami Fischman  <ami@fischman.org>
379         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
381 2012-03-26  Glenn Morris  <rgm@gnu.org>
383         * files.el (save-buffers-kill-emacs): Doc fix.
385         * startup.el (normal-top-level, command-line, command-line-1):
386         Give them doc strings.
388 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
390         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
391         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
393 2012-03-25  Chong Yidong  <cyd@gnu.org>
395         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
396         theme if it was previously enabled before (Bug#11031).
398         * cus-theme.el (custom-theme-write-faces): Retrieve current face
399         spec with custom-face-get-current-spec if its :shown-value is not
400         determined yet (Bug#9337).
401         (customize-create-theme, custom-theme-revert): Doc fixes.
403         * button.el (button-at): Minor addition to docstring.
405 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
407         * vc/vc.el (vc-merge): Fix a prompt.
409 2012-03-24  Chong Yidong  <cyd@gnu.org>
411         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
412         point (Bug#9623).
414         * button.el (button-at): Minor addition to docstring.
416 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
418         * newcomment.el (comment-choose-indent): No space after BOL.
420 2012-03-22  Sam Steingold  <sds@gnu.org>
422         * window.el (switch-to-prev-buffer): Revert last patch because the
423         bug turned out to be an advertised feature (Elisp manual 28.14).
425 2012-03-22  Glenn Morris  <rgm@gnu.org>
427         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
428         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
430 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
432         * net/network-stream.el (network-stream-open-starttls): Make error
433         message under Windows be less misleading.
435 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
437         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
438         understands (bug#9942).
440 2012-03-22  Chong Yidong  <cyd@gnu.org>
442         * simple.el (end-of-visible-line): Handle return value of
443         next-single-property-change properly (Bug#9371).
445 2012-03-22  Kenichi Handa  <handa@m17n.org>
447         * international/quail.el (quail-insert-kbd-layout): Fix previous
448         change.  To avoid unwanted bidi reordering, use
449         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
451 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
453         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
454         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
455         (ruby-beginning-of-indent): Be more careful with the difference
456         between word-boundary and symbol boundary.
457         (ruby-mode-syntax-table): Make : a symbol constituent.
459 2012-03-21  Andreas Politz  <politza@fh-trier.de>
461         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
463 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
465         * progmodes/etags.el (tags-completion-at-point-function):
466         Improve last fix.
468         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
470 2012-03-21  Sam Steingold  <sds@gnu.org>
472         * progmodes/etags.el (tags-completion-at-point-function):
473         Avoid the error when point is inside the pattern.
475 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
477         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
478         line (Bug#10855).
480 2012-03-21  Drew Adams  <drew.adams@oracle.com>
482         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
484 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
486         * ido.el (ido-set-current-directory, ido-read-internal)
487         (ido-choose-completion-string, ido-completion-help): Handle nil
488         value of ido-completion-buffer (Bug#11008).
490 2012-03-21  Sam Steingold  <sds@gnu.org>
492         * window.el (switch-to-prev-buffer): Do not switch to a visible
493         window previous buffer, just like with the frame previous buffers.
495 2012-03-21  Chong Yidong  <cyd@gnu.org>
497         * faces.el (make-face, make-empty-face, copy-face):
498         * face-remap.el (face-remap-add-relative, face-remap-set-base):
499         Doc fixes.
501 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * wid-edit.el (widget-complete-field): Remove (bug#11051).
504         (widget-complete): Remove broken use of it.
506 2012-03-20  Chong Yidong  <cyd@gnu.org>
508         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
509         Use string-width and truncate-string-width to handle arbitrary
510         characters.
512 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
514         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
515         to draw rectangles, not squares.  (Regression introduced by revno
516         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
518 2012-03-18  Chong Yidong  <cyd@gnu.org>
520         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
521         it is not yet defined (for temacs).
523 2012-03-18  Leo Liu  <sdl.web@gmail.com>
525         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
527 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
529         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
530         (ispell-choices-win-default-height, ispell-silently-savep)
531         (ispell-dictionary-alist, ispell-encoding8-command)
532         (ispell-check-version, ispell-aspell-find-dictionary)
533         (ispell-valid-dictionary-list, ispell-words-keyword)
534         (ispell-get-word, ispell-internal-change-dictionary)
535         (ispell-region, ispell-skip-region-list)
536         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
537         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
538         (ispell-message-text-end, ispell-message)
539         (ispell-buffer-local-parsing): Doc fix.
541 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
543         * htmlfontify.el: Add support for code block fontification for ODT
544         export (Bug #9914).
545         (hfy-optimisations): Define new option
546         `body-text-only'
547         (hfy-fontify-buffer): Honor above setting.
548         (hfy-begin-span, hfy-end-span): New routines factored out form
549         `hfy-fontify-buffer'.
550         (hfy-begin-span-handler, hfy-end-span-handler): New variables
551         that permit insertion of custom tags.
552         (hfy-fontify-buffer): Use above handlers.
553         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
554         (hfy-face-to-css): Re-defined to be a variable.
555         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
556         over multiple runs. This is made possible by having the caller let
557         bind a special variable `hfy-user-sheet-assoc'.
558         (htmlfontify-string): New defun.
559         (hfy-compile-face-map): Make sure that the last char in the
560         buffer is correctly fontified.
561         (hfy-face-resolve-face): Whitespace only change.
563 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
565         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
566         message more clear.
568 2012-03-16  Leo Liu  <sdl.web@gmail.com>
570         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
572 2012-03-16  Alan Mackenzie  <acm@muc.de>
574         Further optimise the handling of large macros.
576         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
577         limit to a call of `c-literal-limits'.
578         (c-determine-+ve-limit): New function.
579         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
580         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
581         In CASE 5B, restrict a search limit to 500.
582         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
584         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
585         Restrict macro bounds to +-500 from after-change's BEG END.
587 2012-03-16  Leo Liu  <sdl.web@gmail.com>
589         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
591 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
593         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
594         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
596 2012-03-16  Glenn Morris  <rgm@gnu.org>
598         * view.el (view-buffer, view-buffer-other-window)
599         (view-buffer-other-frame): Doc fixes re special mode-class.
601         * subr.el (eval-after-load): If named feature is provided not from
602         a file, run after-load forms.  (Bug#10946)
604         * calendar/calendar.el (calendar-insert-at-column):
605         Handle non-unit-width characters a bit better.  (Bug#10978)
607 2012-03-15  Chong Yidong  <cyd@gnu.org>
609         * emacs-lisp/ring.el (ring-extend): New function.
610         (ring-insert+extend): Extend the ring correctly (Bug#11019).
612         * comint.el (comint-read-input-ring)
613         (comint-add-to-input-history): Grow comint-input-ring lazily.
615 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
617         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
618         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
620         * imenu.el: Fix multiple inheritance breakage (bug#9199).
621         (imenu-add-to-menubar): Don't add a redundant index.
622         (imenu-update-menubar): Handle a dynamically composed keymap.
624 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
626         * mail/sendmail.el (mail-encode-header):
627         Bind rfc2047-encode-encoded-words to nil.
629 2012-03-13  Glenn Morris  <rgm@gnu.org>
631         * calendar/calendar.el (calendar-string-spread):
632         Handle non-unit-width characters a bit better.  (Bug#10978)
634 2012-03-13  Leo Liu  <sdl.web@gmail.com>
636         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
637         directory and file as argument (Bug#10822).
639 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
641         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
642         For dynamically generated code, follow $PC.
643         (gdb-disassembly-handler-custom): Handle no function name case.
645 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
647         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
648         * emulation/ws-mode.el (ws-query-replace):
649         * sort.el (sort-regexp-fields):
650         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
652 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
654         * dabbrev.el: Fix cycle completion order (bug#10963).
655         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
656         (dabbrev-completion): Don't use an obarray; provide
657         a cycle-sort-function.
659 2012-03-12  Leo Liu  <sdl.web@gmail.com>
661         * simple.el (kill-new): Use equal-including-properties for comparison.
662         (kill-do-not-save-duplicates): Doc fix.
664 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
666         * dabbrev.el: Fix cycle completion (bug#10963).
667         Use lexical binding and wrap to 80 columns.
668         (dabbrev-completion): Delay computing the list of completions.
670 2012-03-12  Kenichi Handa  <handa@m17n.org>
672         * international/quail.el (quail-insert-kbd-layout): Surround each
673         row by LRO and PDF instead of inserting many LRMs.  Pad the left
674         and right of each non-spacing marks.  Insert invisible space
675         between lower and upper characters to prevent composition.
677 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
679         * minibuffer.el (minibuffer-complete): Don't get confused when the
680         function is run twice via different commands (bug#10958).
681         (complete-with-action): Fix docstring.
683 2012-03-12  Chong Yidong  <cyd@gnu.org>
685         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
686         (nxml-completion-at-point-function): New function.
687         (nxml-mode): Use it.
688         (nxml-bind-meta-tab-to-complete-flag): Default to t.
690         * emacs-lisp/package.el (package-unpack, package-unpack-single):
691         Load generated autoloads file before byte compiling (Bug#10970).
692         (package--make-autoloads-and-compile): New helper fun.
694 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
696         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
698 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
700         * autorevert.el (auto-revert-handler): Ensure, that
701         file-readable-p is applied only for local files or in
702         auto-revert-tail-mode.
704 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
706         * server.el (server-eval-at): Handle non-tcp connections.
707         Decode result string.
709         * server.el (server-msg-size): New constant.
710         (server-reply-print): New function.
711         (server-eval-and-print): Use it.
712         (server-eval-at): Use server-quote-arg and server-unquote-arg.
713         Handle -print-nonl.
715 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
717         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
718         (Bug#10987).
720 2012-03-11  Chong Yidong  <cyd@gnu.org>
722         * simple.el (goto-line): Doc fix (Bug#9938).
724         * subr.el (save-window-excursion): Doc fix (Bug#9979).
726         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
727         when finished (Bug#10963).
729 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
731         * window.el (split-window-below): Fix bug in case where
732         split-window-keep-point is nil (Bug#10971).
734 2012-03-11  Juri Linkov  <juri@jurta.org>
736         * replace.el (replace-highlight): Set isearch-word to nil
737         unconditionally.  (Bug#10887)
739 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
741         * net/mairix.el (mairix-replace-invalid-chars): Rename from
742         mairix-replace-illegal-chars; all callers changed.  Don't remove
743         ^, ~, and = characters: they are meaningful in mairix search specs.
744         (mairix-widget-create-query): Add usage information about mairix
745         search forms: negating words, searching for substrings, etc.
747 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
749         * international/fontset.el (font-encoding-alist): Add an entry for
750         ksx1001 (Bug#5667).
752 2012-03-10  Richard Stallman  <rms@gnu.org>
754         * mail/sendmail.el (mail-encode-header):
755         Set rfc2047-encode-encoded-words.
757         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
759         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
760         view buffer means not swapped.
761         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
762         (rmail-write-region-annotate): Error if real text has disappeared.
764         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
766 2012-03-10  Chong Yidong  <cyd@gnu.org>
768         * emulation/cua-rect.el (cua--init-rectangles):
769         * emulation/cua-base.el (cua--init-keymaps):
770         Add delete-forward-char to remappings (Bug#9666).
772 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
774         * speedbar.el (speedbar-unhighlight-one-tag-line):
775         Avoid unhighlighting due to frame switching (Bug#10275).
777 2012-03-10  Chong Yidong  <cyd@gnu.org>
779         * minibuffer.el (completion-in-region, completion-help-at-point):
780         Give the completion field overlay a high priority (Bug#6830).
782         * dired.el (dired-goto-file): Recognize absolute file name
783         listings (Bug#7126).
784         (dired-goto-file-1): New helper function.
785         (dired-toggle-read-only): Inhibit warnings.
787 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
789         * net/dbus.el: (dbus-property-handler): Return empty array if
790         there are no properties.
792 2012-03-09  Leo Liu  <sdl.web@gmail.com>
794         * savehist.el (savehist-printable): Stricter check for string
795         value (Bug#10937).
797 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
799         * mail/smtpmail.el (smtpmail-send-it):
800         Bind coding-system-for-write to *-unix, so that FCC files are kept in
801         valid mbox format.
803 2012-03-09  Glenn Morris  <rgm@gnu.org>
805         * files.el (dir-locals-find-file):
806         Don't check result is regular, readable.
807         (dir-locals-read-from-file): Demote errors.
809 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
811         * international/quail.el (quail-insert-kbd-layout):
812         Insert invisible LRM characters before each character in a keyboard
813         layout cell, to prevent their reordering by bidi display engine.
814         For details, see the discussion in
815         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
817 2012-03-08  Alan Mackenzie  <acm@muc.de>
819         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
820         the starting position; make it extend the marked region when
821         invoked repeatedly - all under appropriate circumstances.
822         Fixes bugs #5525, #10906.
824 2012-03-08  Glenn Morris  <rgm@gnu.org>
826         * files.el (locate-dominating-file, dir-locals-find-file):
827         Undo 2012-03-06 change.
829 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
831         * international/quail.el (quail-help):
832         Force bidi-paragraph-direction be left-to-right.  See discussion in
833         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
834         for the reason.
836 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
838         Avoid superfluous registering of signals.  (Bug#10807)
840         * notifications.el (notifications-on-action-object)
841         (notifications-on-close-object): New defvars.
842         (notifications-on-action-signal, notifications-on-closed-signal):
843         Unregister the signal if not needed any longer.
844         (notifications-notify): Register `notifications-action-signal' or
845         `notifications-closed-signal', if :on-action or :on-close has been
846         passed as argument.
848 2012-03-07  Chong Yidong  <cyd@gnu.org>
850         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
851         non-X platforms.
853 2012-03-06  Glenn Morris  <rgm@gnu.org>
855         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
856         (x-disown-selection-internal, x-get-selection-internal):
857         Doc fix (add arglist signatures).  (Bug#10783)
859 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
861         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
862         Handle breakpoints with no "type".
864 2012-03-06  Glenn Morris  <rgm@gnu.org>
866         * files.el (locate-dominating-file): Add optional predicate argument.
867         (dir-locals-find-file): Make use of above change.
869 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
871         * info.el (Info-insert-dir): Also try "dir.gz".
873 2012-03-06  Glenn Morris  <rgm@gnu.org>
875         * files.el (dir-locals-find-file):
876         Ignore non-readable or non-regular files.  (Bug#10928)
878         * files.el (locate-dominating-file): Doc fix.
880 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
882         * calendar/calendar.el (calendar-set-mode-line):
883         `getenv' returns a string.  (Bug#10951)
885 2012-03-05  Leo Liu  <sdl.web@gmail.com>
887         * simple.el (backward-delete-char-untabify): Constrain point to
888         field (Bug#10939).
890         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
892 2012-03-05  Chong Yidong  <cyd@gnu.org>
894         * simple.el (count-words): If called from Lisp, return the word
895         count, for symmetry with `count-lines'.  Arglist changed.
896         (count-words--message): Args changed.  Consolidate counting code
897         from count-words and count-words-region.
898         (count-words-region): Caller changed.
899         (count-lines-region): Make it an obsolete alias.
901 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
903         * saveplace.el (save-place-to-alist)
904         (save-place-ignore-files-regexp): Allow value nil to disable this
905         feature.
907 2012-03-04  Chong Yidong  <cyd@gnu.org>
909         * faces.el (face-spec-reset-face): For the default face, reset the
910         attributes to default values (Bug#10748).
912 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
914         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
915         previous patch: Check `message-send-mail-function', and not the
916         default function (bug#10897).
918 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
920         * notifications.el (notifications-on-action-signal)
921         (notifications-on-closed-signal): Check for unique service name of
922         incoming event.  Fix error in removing entry.
923         (top): Register for signals with wildcard service name.
924         (notifications-notify): Use daemon unique service name for map entries.
926 2012-03-04  Chong Yidong  <cyd@gnu.org>
928         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
930 2012-03-04  Glenn Morris  <rgm@gnu.org>
932         * abbrev.el (copy-abbrev-table, abbrev-table-p)
933         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
934         (expand-abbrev, define-abbrev-table): Doc fixes.
936 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
938         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
939         `message-default-send-mail-function' and not `send-mail-function'
940         when doing the prompting for `sendmail-query-once' before sending
941         in Message buffers (bug#10897).
943         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
944         This is inconsistent with all the other stream functions, which leave
945         the setting up to the higher levels (if so wanted) (bug#10931).
947 2012-03-02  Alan Mackenzie  <acm@muc.de>
949         Depessimize the handling of very large macros.
951         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
952         (c-macro-cache-syntactic): New variables to implement a one
953         element macro cache.
954         (c-invalidate-macro-cache): New function.
955         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
956         Adapt to use the new cache.
957         (c-state-safe-place): Use better the cache of safe positions.
958         (c-state-semi-nonlit-pos-cache)
959         (c-state-semi-nonlit-pos-cache-limit):
960         New variables for...
961         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
962         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
963         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
964         Use c-state-semi-safe-place.
966         * progmodes/cc-langs.el (c-get-state-before-change-functions):
967         Add c-invalidate-macro-cache to the C, C++, Obj entries.
969 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
971         * jka-compr.el (jka-compr-call-process):
972         Apply `file-accessible-directory-p' only when the default directory is
973         not remote.
975 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
977         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
978         access of FILE2, if FILE1 does not exist.
980         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
981         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
983         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
984         Add "PAGER=" to `process-environment'.
986 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
988         * progmodes/sql.el: Bug fix
989         (sql-get-login-ext): Save login values in globals.
990         (sql-get-login): Use new version of `sql-get-login-ext'.
991         (sql-interactive-mode): Set global `sql-connection' to nil.
992         (sql-connect): Set global values for connection.
993         (sql-product-interactive): Save global values as buffer local.
995 2012-02-29  Leo Liu  <sdl.web@gmail.com>
997         * abbrev.el (define-abbrevs): Reset sys to nil.
999 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1001         * files.el (file-equal-p): Rename from `files-equal-p'.
1002         Return nil when one or both files don't exist.
1003         (file-subdir-of-p): Now only top directory must exists,
1004         return nil if it doesn't.
1005         (copy-directory): No need to test with `file-subdir-of-p' after
1006         creating dir.
1007         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1008         to `file-equal-p'.
1010 2012-02-28  Glenn Morris  <rgm@gnu.org>
1012         * shell.el (shell-mode):
1013         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1014         * play/landmark.el (landmark-font-lock-face-O):
1015         * play/handwrite.el (handwrite):
1016         * play/gomoku.el (gomoku-O):
1017         * net/browse-url.el (browse-url-browser-display):
1018         * international/mule.el (define-charset):
1019         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1020         * filesets.el (filesets-find-file-delay):
1021         * eshell/em-xtra.el (eshell-xtra):
1022         * eshell/em-unix.el (eshell-grep):
1023         * emulation/viper.el (viper-mode):
1024         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1025         * emacs-lisp/easymenu.el (easy-menu-define):
1026         * calendar/timeclock.el (timeclock-use-display-time):
1027         * bs.el (bs-mode):
1028         * bookmark.el (bookmark-save-flag):
1029         Doc fix (standardize possessive apostrophe usage).
1031 2012-02-27  Chong Yidong  <cyd@gnu.org>
1033         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1034         Fix key-binding lookup for ESC key (Bug#9146).
1036         * font-lock.el (font-lock-specified-p): Rename from
1037         font-lock-spec-present.  Callers changed.
1039 2012-02-27  Daniel Hackney  <dan@haxney.org>
1041         * emacs-lisp/package.el (package-compute-transaction):
1042         Handle holding a package version to t in package-load-list.
1044 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1046         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1047         (tramp-get-inode, tramp-get-device): Use cached values.
1049 2012-02-26  Alan Mackenzie  <acm@muc.de>
1051         Check there is a font-lock specification before doing initial
1052         fontification.
1054         * font-core.el (font-lock-mode): Move the conditional from
1055         :after-hook to font-lock-initial-fontify.
1056         (font-lock-default-function): Move the check for a specification
1057         to font-lock-spec-present.
1059         * font-lock.el (font-lock-initial-fontify): Call ...
1060         (font-lock-spec-present): New function.
1062 2012-02-26  Jim Blandy  <jimb@red-bean.com>
1064         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1065         (gdb-send): Apply it to the operand of the '-interpreter-exec
1066         console' command, so that we can pass arguments with (say) quotes
1067         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
1069 2012-02-26  Chong Yidong  <cyd@gnu.org>
1071         * help-fns.el (describe-function-1): Clarify description of
1072         remapping (Bug#10844).
1074         * files.el (files-equal-p): Doc fix.
1075         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1076         and quit the loop once a mismatch is found.
1078 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1080         * bs.el (bs--show-with-configuration): Don't throw an error
1081         if the window cannot be split; otherwise, subsequent calls to
1082         bs-show fail, restoring a stale window config.  (Bug#10882)
1084 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1086         * term/ns-win.el (global-map): Bind ns-drag-file to
1087         ns-find-file (Bug#5855, Bug#10050).
1089 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1091         * calendar/parse-time.el (parse-time-string): Allow extractor to
1092         return nil.
1094 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1096         * net/tramp.el (tramp-file-name-for-operation):
1097         Add `files-equal-p' and `file-subdir-of-p'.
1099         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1100         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1101         Add COPY-CONTENTS argument.
1103 2012-02-25  Chong Yidong  <cyd@gnu.org>
1105         Add custom groups for VC backends, for consistency with vc-bzr.
1107         * vc/vc-arch.el (vc-arch):
1108         * vc/vc-cvs.el (vc-cvs):
1109         * vc/vc-git.el (vc-git):
1110         * vc/vc-hg.el (vc-hg):
1111         * vc/vc-mtn.el (vc-mtn):
1112         * vc/vc-rcs.el (vc-rcs):
1113         * vc/vc-sccs.el (vc-sccs):
1114         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1115         All relevant defcustoms reassigned.
1117 2012-02-25  Chong Yidong  <cyd@gnu.org>
1119         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1121         * term/x-win.el (x-initialize-window-system): Reduce default for
1122         x-selection-timeout to 5 seconds (Bug#8869).
1124 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1126         * files.el (file-subdir-of-p): Fix typo.
1128 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1130         * files.el (files-equal-p, file-subdir-of-p): New functions.
1131         (copy-directory): Error when trying to copy a directory on itself.
1132         Add missing copy-contents arg to tramp handler.
1133         * dired-aux.el (dired-copy-file-recursive): Same.
1134         (dired-create-files): Modify destination when source is equal to
1135         dest when copying files.
1136         Return also when dest is a subdir of source.  (Bug#10489)
1138 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1140         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1141         (Bug#10874)
1143 2012-02-23  Alan Mackenzie  <acm@muc.de>
1145         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1146         parameter "after-hook:" to allow the expansion to run code after
1147         the execution of the mode hooks.
1149         * font-lock.el (font-lock-initial-fontify): New function extracted
1150         from font-lock-mode-internal.
1152         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1153         :after-hook.
1155 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1157         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1158         (completion--cache-all-sorted-completions): New function.
1159         (completion-all-sorted-completions): Use it.
1160         (completion--do-completion, minibuffer-force-complete):
1161         Use it to re-instate the flush hook.
1163         * icomplete.el (icomplete-completions): Replace last fix with a better
1164         one (bug#10850).
1166 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1168         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1169         when it might call us back infinitely (bug#10797).
1171 2012-02-23  Glenn Morris  <rgm@gnu.org>
1173         * minibuffer.el (completion-category-overrides): Doc fix.
1175 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1177         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1178         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1180 2012-02-23  Glenn Morris  <rgm@gnu.org>
1182         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1183         (authors-obsolete-files-regexps, authors-ignored-files)
1184         (authors-ambiguous-files, authors-renamed-files-alist):
1185         Add more entries.
1187 2012-02-23  Juri Linkov  <juri@jurta.org>
1189         * isearch.el (isearch-occur): Sync interactive spec with occur's
1190         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1192         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1194 2012-02-22  Juri Linkov  <juri@jurta.org>
1196         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1197         (ucs-insert): Doc fix.  Check for hex digits in the string.
1198         Don't display `nil' in the error message.  (Bug#10857)
1200 2012-02-22  Alan Mackenzie  <acm@muc.de>
1202         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1204 2012-02-22  Glenn Morris  <rgm@gnu.org>
1206         * ffap.el (ffap-c-path):
1207         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1209 2012-02-22  Chong Yidong  <cyd@gnu.org>
1211         * custom.el (load-theme): Doc fix.
1213 2012-02-22  Glenn Morris  <rgm@gnu.org>
1215         * dired-x.el (dired-guess-shell-alist-default):
1216         Remove escape sequences from nroff output.  (Bug#172)
1218 2012-02-21  Glenn Morris  <rgm@gnu.org>
1220         * vc/emerge.el (emerge-defvar-local):
1221         Set `permanent-local' property rather than unused `preserved'.
1223         * textmodes/picture.el (picture-delete-char): New alias.
1224         (picture-mode-map): Use it.  (Bug#10860)
1225         (picture-mode): Doc fix.
1227 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1229         * newcomment.el (uncomment-region-default): Remove unused binding.
1231 2012-02-21  Glenn Morris  <rgm@gnu.org>
1233         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1234         (picture-self-insert, picture-tab-chars): Doc fix.
1235         (picture-mode-map): Fix C-a, C-e.
1237 2012-02-20  Glenn Morris  <rgm@gnu.org>
1239         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1241 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1243         * icomplete.el (icomplete-completions): Check FROM arg before
1244         passing to substring (Bug#10850).
1246 2012-02-19  Chong Yidong  <cyd@gnu.org>
1248         * comint.el: Require ansi-color.
1249         (comint-output-filter-functions): Add ansi-color-process-output.
1251         * ansi-color.el: Don't set comint-output-filter-functions; it is
1252         now in the initial value defined in comint.el.
1253         (ansi-color-apply-face-function): New variable.
1254         (ansi-color-apply-on-region): Use it.
1255         (ansi-color-apply-overlay-face): New function.
1257         * shell.el (shell): No need to require ansi-color.
1258         (shell-mode): Use ansi-color-apply-face-function to highlight
1259         color escapes using font-lock-face property (Bug#10835).
1261 2012-02-19  Chong Yidong  <cyd@gnu.org>
1263         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1264         mode-line formats (Bug#10839).
1266 2012-02-18  Glenn Morris  <rgm@gnu.org>
1268         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1270         * mail/undigest.el (unforward-rmail-message): Doc fix.
1272         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1274 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1276         * international/characters.el (script-list): Sync with the latest
1277         Unicode Character Database.
1279 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1281         * international/titdic-cnv.el: Remove duplicate coding tag.
1282         * language/cham.el: Likewise.
1283         * language/tai-viet.el: Likewise.
1285 2012-02-18  Glenn Morris  <rgm@gnu.org>
1287         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1288         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1289         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1290         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1291         * calendar/holidays.el (holiday-bahai-holidays)
1292         (calendar-holidays, list-holidays):
1293         Use utf-8 Bahá'í in doc-strings, menus, etc.
1295 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
1297         * saveplace.el (save-place-ignore-files-regexp): New variable
1298         allowing for excluding files from saving their location of point.
1299         The default value matches the temporary commit message editing
1300         files from Git, SVN, Bazaar, and Mercurial.
1301         (save-place-to-alist): Use it.
1303 2012-02-17  Lawrence Mitchell <wence@gmx.li>
1304             Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * newcomment.el (uncomment-region-default): Don't leave extra space
1307         when an arg is provided (bug#8150).
1309 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1311         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1313 2012-02-17  Glenn Morris  <rgm@gnu.org>
1315         * net/socks.el: Require network-stream.  (Bug#10599)
1317 2012-02-17  Kenichi Handa  <handa@m17n.org>
1319         * international/charprop.el:
1320         * international/uni-name.el:
1321         * international/uni-old-name.el:
1322         * international/uni-comment.el: Regenerate.
1324 2012-02-16  Glenn Morris  <rgm@gnu.org>
1326         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1327         Interactively in calendar buffer, give an error if not on a date.
1329 2012-02-15  Glenn Morris  <rgm@gnu.org>
1331         * shell.el (shell-delimiter-argument-list):
1332         Revert 2011-02-17 change.  (Bug#8027)
1334 2012-02-15  Chong Yidong  <cyd@gnu.org>
1336         * minibuffer.el (completion-at-point-functions): Doc fix.
1338         * custom.el (defcustom): Doc fix; note use of defvar.
1340 2012-02-15  Glenn Morris  <rgm@gnu.org>
1342         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1343         Doc fixes.
1345 2012-02-14  Glenn Morris  <rgm@gnu.org>
1347         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1349 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1351         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1352         way the ports list is computed.
1353         (smtpmail-query-smtp-server): Prompt the user for a port number if
1354         we can't connect to any of the standard ports (bug#10810).
1356 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1358         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1360 2012-02-13  Glenn Morris  <rgm@gnu.org>
1362         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
1364 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1366         * net/gnutls.el (gnutls-trustfiles): New variable.
1367         (gnutls-negotiate): Use it.
1369 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1371         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1372         does its stuff if Gnus is running.
1374 2012-02-13  Alan Mackenzie  <acm@muc.de>
1376         Fix a loop in c-set-fl-decl-start.
1378         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1379         c-backward-syntactic-ws actually moves backwards.
1381 2012-02-13  Leo Liu  <sdl.web@gmail.com>
1383         * net/rcirc.el (rcirc-markup-attributes): Move point to the
1384         beginning so that all \C-o chars are removed.
1386 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1388         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1390 2012-02-12  Alan Mackenzie  <acm@muc.de>
1392         Fix infinite loop with long macros.
1393         * cc-engine.el (c-state-safe-place): Handle macros properly.
1395 2012-02-12  Chong Yidong  <cyd@gnu.org>
1397         * window.el (display-buffer): Doc fix (Bug#10785).
1399 2012-02-12  Glenn Morris  <rgm@gnu.org>
1401         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1402         (x-disown-selection-internal, x-get-selection-internal):
1403         Sync docs with the xselect.c versions.
1405         * allout-widgets.el: Add missing license notice.
1407 2012-02-11  Glenn Morris  <rgm@gnu.org>
1409         * select.el (x-get-selection-internal, x-own-selection-internal)
1410         (x-disown-selection-internal):
1411         * x-dnd.el (x-get-selection-internal): Update declarations.
1413         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1415         * window.el (window-sides-slots):
1416         * tool-bar.el (tool-bar-position):
1417         * term/xterm.el (xterm-extra-capabilities):
1418         * ses.el (ses-self-reference-early-detection):
1419         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1420         (verilog-auto-wire-type)
1421         (verilog-auto-delete-trailing-whitespace)
1422         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1423         (verilog-auto-tieoff-declaration):
1424         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1425         (sql-oracle-statement-starters, sql-oracle-scan-on):
1426         * progmodes/prolog.el (prolog-align-comments-flag)
1427         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1428         (prolog-left-indent-regexp, prolog-paren-indent-p)
1429         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1430         (prolog-types, prolog-mode-specificators)
1431         (prolog-determinism-specificators, prolog-directives)
1432         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1433         (prolog-electric-dot-flag)
1434         (prolog-electric-dot-full-predicate-template)
1435         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1436         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1437         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1438         (prolog-program-switches, prolog-prompt-regexp)
1439         (prolog-debug-on-string, prolog-debug-off-string)
1440         (prolog-trace-on-string, prolog-trace-off-string)
1441         (prolog-zip-on-string, prolog-zip-off-string)
1442         (prolog-use-standard-consult-compile-method-flag)
1443         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1444         (prolog-imenu-max-lines, prolog-info-predicate-index)
1445         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1446         (prolog-char-quote-workaround):
1447         * progmodes/cc-vars.el (c-defun-tactic):
1448         * net/tramp.el (tramp-encoding-command-interactive)
1449         (tramp-local-end-of-line):
1450         * net/soap-client.el (soap-client):
1451         * net/netrc.el (netrc-file):
1452         * net/gnutls.el (gnutls):
1453         * minibuffer.el (completion-category-overrides)
1454         (completion-cycle-threshold)
1455         (completion-pcm-complete-word-inserts-delimiters):
1456         * man.el (Man-name-local-regexp):
1457         * mail/feedmail.el (feedmail-display-full-frame):
1458         * international/characters.el (glyphless-char-display-control):
1459         * eshell/em-ls.el (eshell-ls-date-format):
1460         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1461         (lisp-lambda-list-keyword-parameter-indentation)
1462         (lisp-lambda-list-keyword-parameter-alignment):
1463         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1464         * dired-x.el (dired-omit-verbose):
1465         * cus-theme.el (custom-theme-allow-multiple-selections):
1466         * calc/calc.el (calc-highlight-selections-with-faces)
1467         (calc-lu-field-reference, calc-lu-power-reference)
1468         (calc-note-threshold):
1469         * battery.el (battery-mode-line-limit):
1470         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1471         (archive-7z-update):
1472         * allout.el (allout-prefixed-keybindings)
1473         (allout-unprefixed-keybindings)
1474         (allout-inhibit-auto-fill-on-headline)
1475         (allout-flattened-numbering-abbreviation):
1476         * allout-widgets.el (allout-widgets-auto-activation)
1477         (allout-widgets-icons-dark-subdir)
1478         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1479         (allout-widgets-theme-dark-background)
1480         (allout-widgets-theme-light-background)
1481         (allout-widgets-item-image-properties-emacs)
1482         (allout-widgets-item-image-properties-xemacs)
1483         (allout-widgets-run-unit-tests-on-load)
1484         (allout-widgets-time-decoration-activity)
1485         (allout-widgets-hook-error-post-time)
1486         (allout-widgets-track-decoration):
1487         Add missing :version tags to new defcustoms and defgroups.
1489         * progmodes/sql.el (sql-ansi-statement-starters)
1490         (sql-oracle-statement-starters): Add custom type.
1492         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1493         (prolog-system-version): Give it a type.
1495 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1497         * term/pc-win.el (x-select-text, x-selection-owner-p)
1498         (x-own-selection-internal, x-disown-selection-internal)
1499         (x-get-selection-internal): Sync doc strings and argument lists
1500         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1502 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1504         * progmodes/python.el (python-end-of-statement): Fix infinite
1505         loop.  (Bug#10788)
1507 2012-02-10  Glenn Morris  <rgm@gnu.org>
1509         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1510         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1512 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1514         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1515         about SMTP before checking the From header.
1517         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1518         into own function for reuse by emacsbug.el.
1520 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1522         * subr.el (condition-case-unless-debug): Rename from
1523         condition-case-no-debug.  All callers changed.
1524         (with-demoted-errors): Fix caller.
1526         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1527         * nxml/rng-valid.el (rng-do-some-validation):
1528         * emacs-lisp/package.el (package-refresh-contents)
1529         (package-menu-execute):
1530         * desktop.el (desktop-create-buffer):
1531         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1533 2012-02-10  Glenn Morris  <rgm@gnu.org>
1535         * textmodes/bibtex.el:
1536         Add missing :version tags for new/changed defcustoms.
1538         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1540 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1542         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1543         (smtpmail-via-smtp): Use it, or fall back on the From address.
1544         (smtpmail-send-it): Ditto.
1546 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1548         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1549         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1550         (byte-compile-tmp-var): New const.
1551         (byte-compile-defvar): Use it to minimize .elc size.
1552         Just use `defvar' rather than simulate it (bug#10761).
1554 2012-02-09  Glenn Morris  <rgm@gnu.org>
1556         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1558         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1559         Add :version tags.
1561         * progmodes/compile.el (compilation-error-screen-columns)
1562         (compilation-first-column, compilation-filter-start): Doc fixes.
1564         * vc/log-view.el (log-view-toggle-entry-display):
1565         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1567         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1568         (report-emacs-bug-can-use-xdg-email):
1569         (report-emacs-bug-insert-to-mailer): Doc fixes.
1570         (report-emacs-bug): Message fix.
1572         * net/browse-url.el (browse-url-can-use-xdg-open)
1573         (browse-url-xdg-open): Doc fixes.
1575         * electric.el (electric-indent-mode, electric-pair-mode)
1576         (electric-layout-rules, electric-layout-mode): Doc fixes.
1577         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1579 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1581         * server.el (server-unselect-display): Don't inadvertently kill
1582         the current buffer.  (Bug#10729)
1584 2012-02-08  Glenn Morris  <rgm@gnu.org>
1586         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1587         (sql-list-table): Doc fixes.
1589         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1590         Comment out (does nothing).
1592         * completion.el (dynamic-completion-mode):
1593         * dirtrack.el (dirtrack-debug-mode):
1594         * electric.el (electric-layout-mode):
1595         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1596         * face-remap.el (text-scale-mode, buffer-face-mode):
1597         * iimage.el (iimage-mode):
1598         * image-mode.el (image-transform-mode):
1599         * minibuffer.el (completion-in-region-mode):
1600         * scroll-lock.el (scroll-lock-mode):
1601         * simple.el (next-error-follow-minor-mode):
1602         * tar-mode.el (tar-subfile-mode):
1603         * tooltip.el (tooltip-mode):
1604         * vcursor.el (vcursor-use-vcursor-map):
1605         * wid-browse.el (widget-minor-mode):
1606         * emulation/tpu-edt.el (tpu-edt-mode):
1607         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1608         * international/iso-ascii.el (iso-ascii-mode):
1609         * language/thai-util.el (thai-word-mode):
1610         * mail/supercite.el (sc-minor-mode):
1611         * net/goto-addr.el (goto-address-mode):
1612         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1613         * progmodes/cwarn.el (cwarn-mode):
1614         * progmodes/flymake.el (flymake-mode):
1615         * progmodes/glasses.el (glasses-mode):
1616         * progmodes/hideshow.el (hs-minor-mode):
1617         * progmodes/pascal.el (pascal-outline-mode):
1618         * textmodes/enriched.el (enriched-mode):
1619         * vc/smerge-mode.el (smerge-mode):
1620         Doc fixes (minor mode argument).
1622 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1624         * ls-lisp.el (ls-lisp-sanitize): New function.
1625         (ls-lisp-insert-directory): Use it to fix or remove any elements
1626         in file-alist with missing attributes.  (Bug#4673)
1628 2012-02-07  Alan Mackenzie  <acm@muc.de>
1630         Fix spurious recognition of c-in-knr-argdecl.
1632         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1633         putative K&R region.
1635 2012-02-07  Alan Mackenzie  <acm@muc.de>
1637         * progmodes/cc-engine.el (c-forward-objc-directive):
1638         Prevent looping in "#pragma mark @implementation".
1640 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1642         * notifications.el (notifications-on-closed-signal): Make `reason'
1643         optional.  (Bug#10744)
1645 2012-02-07  Glenn Morris  <rgm@gnu.org>
1647         * emacs-lisp/easy-mmode.el (define-minor-mode):
1648         Doc fixes for the macro and the mode it defines.
1650         * image.el (imagemagick-types-inhibit): Doc fix.
1652         * cus-start.el (imagemagick-render-type): Add it.
1654 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1656         * progmodes/cc-mode.el
1657         (c-standard-font-lock-fontify-region-function): Set the default at
1658         load time, too, so that `font-lock-fontify-buffer' can be called
1659         without setting up the entire mode first.  This fixes a bug in
1660         `mm-inline-text' with C MIME parts.
1662 2012-02-06  Chong Yidong  <cyd@gnu.org>
1664         * simple.el (list-processes--refresh): Delete exited processes
1665         (Bug#8094).
1667         * comint.el (comint-next-prompt): next-single-char-property-change
1668         and prev-single-char-property-change never return nil (Bug#8657).
1670         * custom.el (defcustom): Doc fix (Bug#9711).
1672 2012-02-05  Chong Yidong  <cyd@gnu.org>
1674         * cus-edit.el (custom-variable-reset-backup): Quote the value
1675         before storing it in the customized-value property (Bug#6712).
1676         (custom-display): Add a customization type tag.
1677         (custom-buffer-create-internal): Improve tooltip message.
1679         * wid-edit.el (widget-field-value-get): New optional arg to
1680         suppress trailing whitespace truncation.
1681         (character): Use it (Bug#2689).
1683 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1685         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1686         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1688 2012-02-05  Chong Yidong  <cyd@gnu.org>
1690         * cus-edit.el (custom-variable-value-create): For mismatched
1691         types, show the current value (Bug#7600).
1693         * custom.el (defcustom): Doc fix.
1695 2012-02-05  Glenn Morris  <rgm@gnu.org>
1697         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1699 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1701         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1702         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1703         (pp-last-sexp): Use `looking-at-p'.
1705 2012-02-04  Glenn Morris  <rgm@gnu.org>
1707         * files.el (revert-buffer):
1708         Doc fix (mention revert-buffer-in-progress-p).
1710         * emacs-lisp/ert-x.el (ert-simulate-command):
1711         Check deferred-action-list (which is obsolete) is bound.
1713         * subr.el (with-wrapper-hook): Doc fixes.
1715         * simple.el (filter-buffer-substring-functions)
1716         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1718 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1720         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1721         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1723 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1725         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1727 2012-02-04  Glenn Morris  <rgm@gnu.org>
1729         * image.el (image-extension-data): Add obsolete alias.
1731         * isearch.el (isearch-update): Doc fix.
1733         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1735         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1737 2012-02-03  Glenn Morris  <rgm@gnu.org>
1739         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1740         (image-animate-timeout): Doc fix.
1742         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1744 2012-02-02  Glenn Morris  <rgm@gnu.org>
1746         * server.el (server-auth-dir): Doc fix.
1747         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1749         * subr.el (run-mode-hooks): Doc fix.
1751 2012-02-02  Juri Linkov  <juri@jurta.org>
1753         * image-mode.el (image-toggle-display-image): Remove tautological
1754         `major-mode' from the `derived-mode-p' test.
1756 2012-02-02  Kenichi Handa  <handa@m17n.org>
1758         * composite.el (compose-region): Cancel previous change.
1760 2012-02-02  Kenichi Handa  <handa@m17n.org>
1762         * composite.el (compose-region, compose-string): Signal error for
1763         a null string component (Bug#6988).
1765 2012-02-01  Chong Yidong  <cyd@gnu.org>
1767         * view.el (view-buffer-other-window, view-buffer-other-frame):
1768         Handle special modes like view-buffer (Bug#10650).
1769         (view-buffer): Simplify.
1771         * frame.el (set-frame-font): Tweak meaning of third argument.
1773         * dynamic-setting.el (font-setting-change-default-font):
1774         Use set-frame-font (Bug#9982).
1776 2012-02-01  Glenn Morris  <rgm@gnu.org>
1778         * progmodes/compile.el (compilation-internal-error-properties):
1779         Respect compilation-first-column in the "*compilation*" buffer.
1781         * emacs-lisp/easy-mmode.el (define-minor-mode):
1782         Relax :variable's test for a named function.
1784 2012-01-31  Alan Mackenzie  <acm@muc.de>
1786         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1787         off by one error.
1789 2012-01-31  Chong Yidong  <cyd@gnu.org>
1791         * frame.el (set-frame-font): New arg ALL-FRAMES.
1793         * menu-bar.el (menu-set-font): Use set-frame-font.
1795         * faces.el (face-spec-reset-face): Don't apply unspecified
1796         attribute values to the default face.
1798 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1800         * progmodes/cwarn.el (cwarn): Remove dead link.
1801         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1802         Remove * from defcustom docstrings.
1803         (turn-on-cwarn-mode): Make obsolete.
1804         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1805         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1807 2012-01-31  Glenn Morris  <rgm@gnu.org>
1809         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1810         Fix :variable handling of mode a symbol not equal to modefun.
1811         Allow named functions to be used as the cdr of :variable.
1813 2012-01-30  Glenn Morris  <rgm@gnu.org>
1815         * emacs-lisp/authors.el (authors-fixed-entries):
1816         Remove reference to deleted file rnewspost.el.
1818 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1820         * window.el (window-with-parameter): Remove unused variable `windows'.
1821         (window--side-check): Remove unused variable `code'.
1822         (window--resize-siblings): Remove unused variable `first'.
1823         (adjust-window-trailing-edge): Remove unused variable `failed'.
1824         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1825         Use `let', not `let*'.
1826         (balance-windows-2): Remove unused variable `found'.
1827         (window--state-put-2): Remove unused variable `splits'.
1828         (window-state-put): Remove unused variable `selected'.
1829         (same-window-p): Use `string-match-p'.
1830         (display-buffer-assq-regexp): Remove unused variable `value'.
1831         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1832         Mark argument ALIST as ignored.
1833         (pop-to-buffer): Remove unused variable `old-window'.
1835 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1837         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1838         and .lzma compressed files.
1840 2012-01-29  Chong Yidong  <cyd@gnu.org>
1842         * frame.el (window-system-default-frame-alist): Doc fix.
1844         * dynamic-setting.el (font-setting-change-default-font): Don't
1845         change the default face if SET-FONT argument is non-nil (Bug#9982).
1847 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1849         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1851 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1853         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1854         breakpoints in files outside current directory (Bug#6098).
1856 2012-01-29  Chong Yidong  <cyd@gnu.org>
1858         * progmodes/python.el: Require ansi-color at top-level.
1860         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1861         Define and use in Emacs Lisp mode (Bug#9360).
1862         (lisp-mode-abbrev-table): Add doc.
1863         (lisp-mode-variables): Don't set local-abbrev-table.
1864         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1866 2012-01-28  Roland Winkler  <winkler@gnu.org>
1868         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1870 2012-01-28  Roland Winkler  <winkler@gnu.org>
1872         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1873         (bibtex-set-dialect): Use it.  Either set global values of
1874         dialect-dependent variables or bind these variables buffer-locally
1875         (Bug#10254).
1876         (bibtex-mode): Call bibtex-set-dialect via
1877         hack-local-variables-hook.
1878         (bibtex-dialect): Update docstring.
1879         Add safe-local-variable predicate.
1880         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1881         bibtex-set-dialect.
1882         (bibtex-mode-map): Define menu for each dialect.
1883         (bibtex-entry): Fix docstring.
1885 2012-01-28  Chong Yidong  <cyd@gnu.org>
1887         * eshell/esh-arg.el (eshell-quote-argument): New function.
1889         * eshell/esh-ext.el (eshell-invoke-batch-file):
1890         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1891         first arg to eshell-parse-command (Bug#10523).
1893 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1895         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1896         `default-directory' is non-nil.
1898 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1900         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1901         line that displays system-configuration-options.  (Bug#9924)
1903 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1905         * descr-text.el (describe-char): Show information about POS, in
1906         addition to information about the character at POS.  Improve and
1907         update the doc string.  Change "code point" to "code point in
1908         charset", to avoid confusion with the character's Unicode code
1909         point shown above that.  (Bug#10129)
1911 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1913         * descr-text.el (describe-char): Show the raw character, not only
1914         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1915         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1916         for the reasons.
1918 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1920         * emacs-lisp/package.el (package-install):
1921         Run package-refresh-contents if there is no archive yet (Bug#9798).
1923 2012-01-28  Chong Yidong  <cyd@gnu.org>
1925         * emacs-lisp/package.el (package-maybe-load-descriptor):
1926         New function, split from package-maybe-load-descriptor.
1927         (package-maybe-load-descriptor): Use it.
1928         (package-download-transaction): Fully load required packages
1929         inside the loop, so that `require' calls work (Bug#10593).
1930         (package-install): No need to call package-initialize now.
1932 2012-01-28  Chong Yidong  <cyd@gnu.org>
1934         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1936         * tooltip.el (tooltip-mode): Doc fix.
1937         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1939         * frame.el (set-cursor-color): Doc fix (Bug#352).
1941         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1942         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1944         * cus-edit.el (custom-buffer-create-internal): Fix search button
1945         action (Bug#10542).
1946         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1948 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1950         * dired.el (dired-mark-files-regexp):
1951         Include any subdirectory components.  (Bug#10445)
1953 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1955         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1956         Handle [host]:port syntax.  (Bug#10533)
1958 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1960         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1962 2012-01-26  Glenn Morris  <rgm@gnu.org>
1964         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1965         * term.el (term-raw-escape-map): Use Control-X-prefix.
1966         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1968 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1970         * window.el (window-state-get, window--state-get-1): Don't deal
1971         with fixed-sizeness of windows.  Simplify code.
1973 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1975         * window.el (window--state-get-1, window--state-put-2):
1976         Don't save and restore the mark.
1978 2012-01-25  Chong Yidong  <cyd@gnu.org>
1980         * custom.el (custom-variable-p): Doc fix.
1982 2012-01-25  Glenn Morris  <rgm@gnu.org>
1984         * dired.el (dired-goto-file): Handle some of the more common
1985         characters that `ls -b' escapes.  (Bug#10596)
1987         * progmodes/compile.el (compilation-next-error-function):
1988         Respect compilation-first-column in the "*compilation*" buffer.
1989         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1991         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1993 2012-01-24  Glenn Morris  <rgm@gnu.org>
1995         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1997 2012-01-24  Julien Danjou  <julien@danjou.info>
1999         * color.el (color-rgb-to-hsl): Fix value computing.
2000         (color-hue-to-rgb): New function.
2001         (color-hsl-to-rgb): New function.
2002         (color-clamp, color-saturate-hsl, color-saturate-name)
2003         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2004         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2006 2012-01-24  Glenn Morris  <rgm@gnu.org>
2008         * vc/vc-rcs.el (vc-rcs-create-tag):
2009         * vc/vc-sccs.el (vc-sccs-create-tag):
2010         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2012 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2014         * eshell/esh-util.el (eshell-read-hosts-file):
2015         Skip comment lines.  (Bug#10549)
2017         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2019 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2021         * subr.el (display-delayed-warnings): Doc fix.
2022         (collapse-delayed-warnings): New function to collapse identical
2023         adjacent warnings.
2024         (delayed-warnings-hook): Add it.
2026 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2028         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2030         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2031         properties, when "login-as" is set.
2033         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2034         (tramp-default-user-alist): Don't add "pscp".
2035         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2036         property "login-as", if set.  (Bug#10530)
2038 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2040         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2041         "plink1" and "psftp".  (Bug#10530)
2043 2012-01-21  Kenichi Handa  <handa@m17n.org>
2045         * international/mule-cmds.el (prefer-coding-system): Show a
2046         warning message if the default value of file-name-coding-system
2047         was not changed.
2049 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2051         * windmove.el (windmove-reference-loc):
2052         Fix windmove-reference-loc miscalculation.
2054 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2056         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2057         default unit.
2059 2012-01-21  Glenn Morris  <rgm@gnu.org>
2061         * international/mule.el (auto-coding-alist): Add .tbz.
2063         * files.el (local-enable-local-variables): Doc fix.
2064         (inhibit-local-variables-regexps): Rename from
2065         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
2066         Doc fix.  Add some extensions from auto-coding-alist.
2067         (inhibit-local-variables-suffixes):
2068         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
2069         (inhibit-local-variables-p):
2070         New function, extracted from set-auto-mode-1.
2071         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
2072         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
2073         (hack-local-variables): Doc fix.  Make the mode-only case
2074         respect enable-local-variables and friends.
2075         Respect inhibit-local-variables-regexps for file-locals, but
2076         not for directory-locals.
2077         (set-visited-file-name):
2078         Take account of inhibit-local-variables-regexps.
2079         Whether it applies may change as the file name is changed.
2080         * jka-cmpr-hook.el (jka-compr-install):
2081         * jka-compr.el (jka-compr-uninstall):
2082         Update for inhibit-first-line-modes-suffixes name change.
2084 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2086         * help-macro.el (make-help-screen): Temporarily restore original
2087         binding for minor-mode-map-alist (Bug#10454).
2089 2012-01-19  Julien Danjou  <julien@danjou.info>
2091         * color.el (color-name-to-rgb): Use the white color to find the max
2092         color component value and return correctly computed values.
2093         (color-name-to-rgb): Add missing float conversion for max value.
2095 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2097         * window.el (window--state-get-1, window-state-get): Do not use
2098         special state value for window-persistent-parameters.
2099         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2100         (window--state-put-2): Reset all window parameters to nil before
2101         assigning values of persistent parameters.
2103 2012-01-18  Alan Mackenzie  <acm@muc.de>
2105         Eliminate sluggishness and hangs in fontification of "semicolon
2106         deserts".
2108         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2109         Change value 10000 -> 3000.
2110         (c-state-safe-place): Reformulate so it doesn't stack up an
2111         infinite number of wrong entries in c-state-nonlit-pos-cache.
2112         (c-determine-limit-get-base, c-determine-limit): New functions to
2113         determine backward search limits disregarding literals.
2114         (c-find-decl-spots): Amend commenting.
2115         (c-cheap-inside-bracelist-p): New function which detects "={".
2117         * progmodes/cc-fonts.el
2118         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2119         backward search.
2120         (c-font-lock-declarations): Fix an occurrence of point being
2121         undefined.  Check additionally for point being in a bracelist or
2122         near a macro invocation without a semicolon so as to avoid a
2123         fruitless time consuming search for a declarator.  Give a more
2124         precise search limit for declarators using the new
2125         c-determine-limit.
2127 2012-01-18  Glenn Morris  <rgm@gnu.org>
2129         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2130         (set-auto-mode): Doc fixes.
2132 2012-01-17  Glenn Morris  <rgm@gnu.org>
2134         * isearch.el (search-nonincremental-instead): Fix doc typo.
2136         * dired.el (dired-insert-directory): Handle newlines in directory name.
2137         (dired-build-subdir-alist): Unescape newlines in directory name.
2139 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2141         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2142         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2143         (tramp-action-terminal): Use it.  (Bug#10530)
2145 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2147         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2149 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2151         * window.el (window-state-ignored-parameters): Remove variable.
2152         (window--state-get-1): Rename argument MARKERS to IGNORE.
2153         Handle persistent window parameters.  Make copy of clone-of
2154         parameter only if requested.  (Bug#10348)
2155         (window--state-put-2): Install a window parameter only if it has
2156         a non-nil value or an existing parameter shall be overwritten.
2158 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2160         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2162 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2164         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2165         don't pass the (nil) value of `upnode' to string-match.
2167 2012-01-14  Chong Yidong  <cyd@gnu.org>
2169         * startup.el (command-line): Fix X resource class for cursorColor.
2170         Fix values recognized by the cursorBlink resource.
2172 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2174         * epg.el (epg--make-temp-file): Avoid permission race condition
2175         when running on old Emacs versions (bug#10403).
2177 2012-01-14  Glenn Morris  <rgm@gnu.org>
2179         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2181 2012-01-13  Alan Mackenzie  <acm@muc.de>
2183         Fix filling for when filladapt mode is enabled.
2185         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2186         c-mask-paragraph, pass in `fill-paragraph' rather than
2187         `fill-region-as-paragraph'.  (This is a reversion of a previous
2188         change.)
2189         * progmodes/cc-mode.el (c-basic-common-init):
2190         Make fill-paragraph-handle-comment buffer local and set it to nil.
2192 2012-01-13  Glenn Morris  <rgm@gnu.org>
2194         * dired.el (dired-switches-escape-p): New function.
2195         (dired-insert-directory): Use dired-switches-escape-p.
2196         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2198         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2200 2012-01-12  Glenn Morris  <rgm@gnu.org>
2202         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2203         changes in adaptive-fill-regexp.  (Bug#10276)
2205 2012-01-11  Alan Mackenzie  <acm@muc.de>
2207         Fix Emacs bug #10463 - put `widen's around the critical spots.
2209         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2210         widen around each invocation of c-state-pp-to-literal.  Remove an
2211         unused let variable.
2213 2012-01-11  Glenn Morris  <rgm@gnu.org>
2215         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2216         Doc fix.
2218 2012-01-10  Chong Yidong  <cyd@gnu.org>
2220         * net/network-stream.el (network-stream-open-starttls):
2221         Avoid emitting a confusing error message when the server gives a bad
2222         response to the capability command.
2224 2012-01-10  Glenn Morris  <rgm@gnu.org>
2226         * mail/unrmail.el (unrmail): Tweak previous change.
2228 2012-01-09  Chong Yidong  <cyd@gnu.org>
2230         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2232 2012-01-08  Alan Mackenzie  <acm@muc.de>
2234         Optimise font locking in long enum definitions.
2236         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2237         arm to a cond form to handle enums.
2238         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2239         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2241 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2243         * files.el (move-file-to-trash): Preserve default file modes on error.
2244         (Bug#10401)
2246 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2248         * faces.el (set-face-attribute): Clarify the meaning of the nil
2249         frame (bug#10294).
2251         * subr.el (with-selected-frame): Mention that the selected frame
2252         is restored (bug#9980).
2254         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2255         (bug#9759).
2257         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2258         (password-read): Don't autoload unused function.
2260 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2262         * progmodes/which-func.el (which-func-mode): Turn into a
2263         non-interactive function and mark as obsolete (bug#10428).
2265 2012-01-06  Chong Yidong  <cyd@gnu.org>
2267         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2268         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2269         functions, along with 1 and -1.
2271 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2273         * time.el (display-time-load-average)
2274         (display-time-default-load-average): Doc fixes.  See the thread
2275         starting at
2276         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2277         for the details.
2279 2012-01-06  Glenn Morris  <rgm@gnu.org>
2281         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2282         has no messages.  (Bug#10377)
2284         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2285         than Info-edit.  (Bug#10385)
2287         * time.el (display-time-load-average, display-time-next-load-average):
2288         Doc fixes.
2290         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2291         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2293         * calendar/calendar.el (calendar-mode):
2294         Locally set scroll-margin to 0.  (Bug#10379)
2296 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
2298         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
2300 2012-01-05  Glenn Morris  <rgm@gnu.org>
2302         * eshell/em-unix.el (diff-no-select): Autoload it.
2303         (eshell/diff): Use diff-no-select.  (Bug#10420)
2305 2012-01-05  Chong Yidong  <cyd@gnu.org>
2307         * shell.el (shell-dynamic-complete-functions): Revert last change.
2308         (shell-command-completion-function): New function.
2309         (shell-completion-vars): Use it to implement
2310         shell-completion-execonly (Bug#10417).
2312         * custom.el (enable-theme): Don't set custom-safe-themes.
2314         * cus-theme.el (custom-theme-merge-theme):
2315         Ignore custom-enabled-themes and custom-safe-themes.
2317 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
2319         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2320         first prompt in `sql-interacive-mode'.
2321         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2322         keywords.
2323         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2324         (sql-product-interactive): Bug fix: Set `sql-buffer' in
2325         context of original buffer.  Invoke `sql-login-hook'.
2327 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
2329         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2330         letters in cite-prefix.
2332 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2334         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2336 2012-01-03  Chong Yidong  <cyd@gnu.org>
2338         * shell.el (shell-dynamic-complete-functions):
2339         Put pcomplete-completions-at-point, so as to try
2340         comint-filename-completion first (Bug#10417).
2342 2012-01-02  Richard Stallman  <rms@gnu.org>
2344         * battery.el (battery-status-function):
2345         Detect when to use battery-yeeloong-sysfs.
2346         (battery-echo-area-format): Add string for Yeeloong.
2347         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2348         (battery-yeeloong-sysfs): New function.
2350 2012-01-02  Chong Yidong  <cyd@gnu.org>
2352         * dirtrack.el (dirtrack-list): Eliminate unused third element.
2353         (dirtrack): Merge code for handling relative filenames in prompt
2354         from shell-dir-cookie-watcher.
2355         (dirtrack-debug-message): New arg to avoid excess format calls.
2357         * shell.el (shell-dir-cookie-re): Variable deleted.
2358         (shell-dir-cookie-watcher): Function deleted.
2359         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2360         with dirtrack-mode.
2362 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
2364         * term/w32-win.el (dynamic-library-alist) <gnutls>:
2365         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2366         libgnutls-26.dll.
2368 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
2370         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2372 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
2374         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2375         headers of non-MIME messages, when rmail-enable-mime is non-nil.
2377 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
2379         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2380         also for alternative shells.
2381         (tramp-open-connection-setup-interactive-shell): Check, whether
2382         the shell is a busybox.
2383         (tramp-send-command): Don't suppress multiple prompts for
2384         busyboxes, it hurts.
2386 2011-12-28  Chong Yidong  <cyd@gnu.org>
2388         * progmodes/gdb-mi.el (gdb-get-source-file-list)
2389         (gdb-get-source-file): Move mode line update to
2390         gdb-get-source-file (Bug#10087).
2392 2011-12-25  Chong Yidong  <cyd@gnu.org>
2394         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2395         gud-gdb-marker-filter without taking it as an argument.
2396         (gud-gdb-run-command-fetch-lines): Caller changed.
2397         (gud-gdb-completion-function): New variable.
2398         (gud-gdb-completion-at-point): Use it.
2399         (gud-gdb-completions-1): Split from gud-gdb-completions.
2401         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2402         function as separate arguments.
2403         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2404         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2405         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2406         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2407         (gdb-stopped, def-gdb-auto-update-trigger)
2408         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2409         (gdb-get-changed-registers, gdb-get-main-selected-frame):
2410         Callers changed.
2411         (gud-gdbmi-completions): New function.
2412         (gdb): Use it for generating the completion table.
2414 2011-12-24  Alan Mackenzie  <acm@muc.de>
2416         Introduce a mechanism to widen the region used in context font
2417         locking.  Use this to protect declarations from losing their contexts.
2419         * progmodes/cc-langs.el (c-before-font-lock-functions):
2420         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2421         (c-before-context-fontification-functions): New defvar, a list of
2422         functions to be run just before context (etc.) font locking.
2424         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2425         New, functionality extracted from
2426         c-neutralize-syntax-in-and-mark-CPP.
2427         (c-in-after-change-fontification): New variable.
2428         (c-after-change): Set c-in-after-change-fontification.
2429         (c-set-fl-decl-start): Rejig its interface, so it can be called
2430         from both after-change and context fontifying.
2431         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2432         New functions.
2433         (c-standard-font-lock-fontify-region-function): New variable.
2434         (c-font-lock-fontify-region): New function.
2436 2011-12-24  Juri Linkov  <juri@jurta.org>
2438         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2439         (Bug#10348)
2441 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2443         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2444         existence of source file.  (Bug#10325)
2446 2011-12-23  Alan Mackenzie  <acm@muc.de>
2448         Fix unstable fontification inside templates.
2450         * progmodes/cc-langs.el (c-before-font-lock-functions):
2451         Newly created from the singular version.  The (c c++ objc) entry now
2452         additionally has c-set-fl-decl-start.  The other languages (apart
2453         from AWK) have that as a single entry.
2455         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2456         The functionality for "local" declarations has been extracted to
2457         c-set-fl-decl-start.
2459         * progmodes/cc-mode.el (c-common-init, c-after-change):
2460         Changes due to pluralisation of c-before-font-lock-functions.
2461         (c-set-fl-decl-start): New function, extracted from
2462         c-font-lock-enclosing-decls and enhanced.
2464 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2466         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2468 2011-12-22  Juri Linkov  <juri@jurta.org>
2470         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2472 2011-12-22  Chong Yidong  <cyd@gnu.org>
2474         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2476 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2478         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2480 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2482         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2484 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2486         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2487         highlighting and support.  Fix up comments for capitalization.
2488         (cfengine-mode-debug): New var.
2489         (cfengine3-mode): Change the modeline indicator to "CFE3".
2490         (cfengine3-font-lock-keywords): Improve defun highlighting.
2491         (cfengine2-actions): Rename from `cfengine-actions'.
2492         (cfengine2-font-lock-keywords): Rename from
2493         `cfengine-font-lock-keywords'.
2494         (cfengine2-imenu-expression): Rename from
2495         `cfengine-imenu-expression'.
2496         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2497         (cfengine2-beginning-of-defun): Rename from
2498         `cfengine-beginning-of-defun'.
2499         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2500         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2501         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2502         modeline indicator to "CFE2".
2503         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2504         (cfengine-mode-abbrevs): Mark obsolete.
2506 2011-12-21  Chong Yidong  <cyd@gnu.org>
2508         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2509         filename argument.
2511 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2513         * window.el (window-normalize-buffer-to-display): Remove.
2514         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2516 2011-12-19  Chong Yidong  <cyd@gnu.org>
2518         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2519         Don't signal an error in a predicate function; return non-nil.
2520         (vc-dir-mark-file): Move the error here.
2521         (vc-dir-mark-unmark): If acting on the region, keep going if one
2522         of the entries cannot be marked/unmarked.
2523         (vc-dir-mark-all-files): If current entry is a directory, mark
2524         only child files, as documented.
2526 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2528         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2529         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2530         addition.
2532 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2534         * term/ns-win.el (ns-get-selection-internal)
2535         (ns-store-selection-internal): Declare.
2536         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2537         Declare as obsolete.
2538         (ns-get-pasteboard, ns-paste-secondary):
2539         Use ns-get-selection-internal.
2540         (ns-set-pasteboard,  ns-copy-including-secondary):
2541         Use ns-store-selection-internal.
2543 2011-12-17  Chong Yidong  <cyd@gnu.org>
2545         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2546         (vc-deduce-fileset): Doc fix.
2548 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2550         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2552 2011-12-13  Sam Steingold  <sds@gnu.org>
2554         * man.el (Man-getpage-in-background): When running under a
2555         window-system, ignore $MANWIDTH and $COLUMNS.
2557 2011-12-15  Kenichi Handa  <handa@m17n.org>
2559         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2560         (setup-ethiopic-environment-internal): Comment out key-binding for
2561         ethio-toggle-punctuation.
2563 2011-12-13  Alan Mackenzie  <acm@muc.de>
2565         Add the switch statement to AWK Mode.
2567         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2568         "default" to the keywords regexp.
2570         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2571         expression as the rest.
2572         (c-nonlabel-token-key): Allow string literals for AWK.
2573         Refactor for the other modes.
2575         Large brace-block initialisation makes CC Mode slow: Fix.
2576         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2577         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2579         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2580         pp-state and literal type in addition to the limits.
2581         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2582         (c-state-literal-at): Use the above new defun.
2583         (c-slow-in-literal, c-fast-in-literal): Remove.
2584         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2586         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2587         being in a literal.  Add a limit for backward searching.
2589         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2590         c-slow-in-literal.
2592 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2594         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2596 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2598         * window.el (delete-other-windows): Use correct frame in call to
2599         window-with-parameter.
2601 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2603         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2604         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2605         (makefile-gmake-statements, makefile-makepp-statements):
2606         Use it and add new makepp keywords.
2607         (makefile-makepp-font-lock-keywords): Add new patterns.
2608         (makefile-match-function-end): Match new [...] and [[...]].
2610 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2612         * ses.el (ses-call-printer-return, ses-cell-property-get)
2613         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2614         (ses-create-cell-variable, ses-reset-header-string)
2615         (ses-cell-set-formula, ses-repair-cell-reference-all)
2616         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2617         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2618         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2619         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2620         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2621         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2622         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2623         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2624         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2625         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2626         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2627         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2629 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2631         * ses.el: The overall change is to add cell renaming, that is
2632         setting fancy names for cell symbols other than name matching
2633         "\\`[A-Z]+[0-9]+\\'" regexp .
2634         (ses-create-cell-variable): New defun.
2635         (ses-relocate-formula): Relocate formulas only for cells the
2636         symbols of which are not renamed, i.e. symbols whose names do not
2637         match regexp "\\`[A-Z]+[0-9]+\\'".
2638         (ses-relocate-all): Relocate values only for cells the symbols of
2639         which are not renamed.
2640         (ses-load): Create cells variables as the (ses-cell ...) are read,
2641         in order to check row col consistency with cell symbol name only
2642         for cells that are not renamed.
2643         (ses-replace-name-in-formula): New defun.
2644         (ses-rename-cell): New defun.
2646 2011-12-11  Chong Yidong  <cyd@gnu.org>
2648         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2649         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2651 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2653         * window.el (other-window): Fix docstring.
2655 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2657         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2658         `from' or `to' address before taking its substring.
2659         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2660         encoded name is chopped in the middle of the encoded string, and
2661         thus displayed encoded.
2663 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2665         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2667 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2669         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2670         to use texinfo-update-node and commands that call it if the
2671         Texinfo file uses @node lines without next/prev/up pointers.
2672         Correct outdated description about texinfo-master-menu.
2673         (texinfo-all-menus-update, texinfo-master-menu)
2674         (texinfo-update-node, texinfo-every-node-update)
2675         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2676         all the @node lines.
2677         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2678         argument is numeric.  Explain better in the doc string what the
2679         function really does.
2680         (texinfo-insert-master-menu-list): Improve the error message
2681         displayed if there's no menu in the Top node.
2682         (Bug#2975)  See also this thread:
2683         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2685 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2687         * speedbar.el (speedbar-supported-extension-expressions):
2688         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2690 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2692         * printing.el (pr-mode-alist):
2693         * simple.el (filter-buffer-substring-functions)
2694         (completion-list-insert-choice-function):
2695         * window.el (window-with-parameter, window-atom-root)
2696         (window-sides-slots, window-size-fixed, window-min-delta)
2697         (window-max-delta, window--resize-mini-window)
2698         (window--resize-child-windows-normal, window-tree)
2699         (delete-other-windows, quit-window, split-window)
2700         (display-buffer-record-window, special-display-buffer-names)
2701         (special-display-regexps, special-display-popup-frame)
2702         (same-window-p, split-window-sensibly)
2703         (display-buffer-overriding-action, display-buffer-alist)
2704         (display-buffer-base-action, display-buffer, switch-to-buffer)
2705         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2706         (fit-window-to-buffer, recenter-positions)
2707         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2708         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2709         and remove unneeded backslashes in docstrings.
2711 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2713         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2715         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2716         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2717         end in ".mk".
2718         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2719         when reading the makefile (bug#10116).
2721 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2723         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2724         (bug#10116).
2726 2011-12-06  Glenn Morris  <rgm@gnu.org>
2728         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2730 2011-12-06  Chong Yidong  <cyd@gnu.org>
2732         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2734 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2736         * textmodes/table.el (table-shorten-cell): Fix typo.
2738 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2740         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2742 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2744         * descr-text.el (describe-char): Fix display of strong
2745         right-to-left characters and directional embeddings and overrides.
2747         * simple.el (what-cursor-position): Fix display of codepoints of
2748         strong right-to-left characters.
2750 2011-12-05  Chong Yidong  <cyd@gnu.org>
2752         * faces.el (read-color): Doc fix.
2754 2011-12-05  Glenn Morris  <rgm@gnu.org>
2756         * align.el (align--set-marker): Add doc-string.
2757         Don't try to move something that is not a marker.  (Bug#10216)
2759 2011-12-04  Glenn Morris  <rgm@gnu.org>
2761         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2762         overly zealous deletion of trailing whitespace.
2764 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2766         * server.el (server-delete-client): On Windows, do not try to delete
2767         the only terminal.
2768         (server-process-filter): On Windows, treat requests for a tty frame as
2769         if they were for a GUI frame if the running server is in GUI mode.
2771 2011-12-03  Glenn Morris  <rgm@gnu.org>
2773         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2775 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2777         * electric.el: Streamline electric-indent's hook.
2778         (electric-indent-chars): Revert to simple list.
2779         (electric-indent-functions): New var.
2780         (electric-indent-post-self-insert-function): Use it.
2782         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2783         there's no inferior buffer (bug#10196).
2784         (prolog-consult-compile): Don't use toggle-read-only.
2786 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2788         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2789         interrupt.  (Bug#10187)
2791 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2793         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2794         (bug#9160).
2796         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2797         (bug#10191).
2799 2011-12-02  Juri Linkov  <juri@jurta.org>
2801         * info.el (Info-search): Display "end of manual" when Isearch
2802         reaches the end of single-file Info manual.  (Bug#9918)
2804 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2806         * isearch.el (isearch-message-prefix): Run the input method part
2807         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2809 2011-12-02  Juri Linkov  <juri@jurta.org>
2811         * isearch.el (isearch-occur): Use `word-search-regexp' for
2812         `isearch-word'.
2813         (isearch-search-and-update): Add condition for `isearch-word' and
2814         call `word-search-regexp'.  (Bug#10145)
2816 2011-12-01  Glenn Morris  <rgm@gnu.org>
2818         * eshell/em-hist.el (eshell-hist-initialize):
2819         Handle eshell-history-size nil and HISTSIZE set or unset.
2820         (eshell-history-file-name, eshell-history-size): Fix custom type.
2822 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2824         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2826 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2828         * progmodes/verilog-mode.el (verilog-pretty-expr):
2829         Rework verilog-pretty-expr to handle new assignment operators in system
2830         verilog, such as += *= and the like.
2831         (verilog-assignment-operator-re): Regular expression to find the
2832         assigment operator in a verilog assignment.
2833         (verilog-assignment-operation-re): Regular expression to find an
2834         assignment statement for pretty-expr.
2835         (verilog-in-attribute-p): Query returns true if point is in an
2836         attribute context; used to skip these for expression line up from
2837         pretty-expr.
2838         (verilog-in-parameter-p): Query returns true if point is in an
2839         parameter definition context; used to skip these for expression
2840         line up from pretty-expr.
2841         (verilog-in-parenthesis-p): Query returns true if point is in a
2842         parenthetical expression, specifically ( ) but not [ ] or { };
2843         used by pretty-expr.
2844         (verilog-just-one-space): If there is no space, don't add one.
2845         (verilog-get-lineup-indent-2): Specifically skip just attribute
2846         contexts for expression lineup, rather than skipping all
2847         parenthetical expressions.
2848         (verilog-calculate-indent): Fix comment, and fix indent.
2849         (verilog-do-indent): Indent declarations in lists (suggested by
2850         Joachim Lechner).
2851         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2852         skeleton items.
2853         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2854         by Alain Mellan).
2856 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2858         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2859         parameters with embedded comments.  Reported by Ray Stevens.
2860         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2861         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2862         Reported by Tim Holt.
2863         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2864         instantiated by upper module causing wrong expansion until AUTOed a
2865         second time.  Reported by K C Buckenmaier.
2866         (verilog-diff-auto): Fix showing .* as a difference when
2867         `verilog-auto-star-save' off.  Reported by Dan Dever.
2868         (verilog-auto-reset, verilog-read-always-signals)
2869         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2870         temporary signals in reset list if
2871         verilog-auto-reset-blocking-in-non is nil, and match assignment
2872         style to each signal's assignment type, bug381.
2873         Reported by Thomas Esposito.
2874         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2875         (verilog-uvm-statement-re): Support UVM indentation and
2876         highlighting, with old OVM keywords only.
2877         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2878         Support AUTOTIEOFF creating non-wire data types.
2879         Suggested by Jonathan Greenlaw.
2880         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2881         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2882         (verilog-inject-sense, verilog-read-inst-pins)
2883         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2884         Fix mismatching parenthesis inside commented out code when deleting
2885         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2886         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2887         non-numeric vector width.  Reported by Alex Reed.
2888         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2889         detecting signals with parameter widths.  Reported by Alex Reed.
2890         (verilog-auto-delete-trailing-whitespace):
2891         With `verilog-auto-delete-trailing-whitespace' remove trailing
2892         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2893         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2894         Fix verilog-scan-cache corruption when running user AUTO expansion
2895         hooks that call indentation routines.
2896         (verilog-simplify-range-expression): Fix typo ignoring lower case
2897         identifiers.
2898         (verilog-delete-auto): Fix delete-autos to also remove user created
2899         automatics, as long as they start with AUTO.
2900         (verilog-batch-diff-auto, verilog-diff-auto)
2901         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2902         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2903         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2904         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2905         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2906         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2907         is disabled and its cache will get corrupt, causing AUTOS not to
2908         expand.  Instead use only -quick functions.
2909         (verilog-scan-region): Fix scanning over escaped quotes.
2910         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2911         (verilog-re-search-backward-quick)
2912         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2913         related functions now ignore strings, to fix misparsing of strings
2914         with magic comments embedded in them.
2915         (verilog-read-auto-template):
2916         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2917         Reported by Brad Dobbie.
2918         (verilog-read-auto-template):
2919         Fix 'verilog-auto-inst-template-numbers' with comments.
2920         Reported by Brad Dobbie.
2921         (verilog-auto-inst, verilog-auto-inst-param)
2922         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2923         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2924         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2925         debugging templates without merge conflicts, bug357.
2926         Reported by Brad Dobbie.
2927         (verilog-read-auto-template):
2928         Fix verilog-auto-inst-template-numbers with multiple templates.
2929         Reported by Brad Dobbie.
2930         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2931         abbrevs so user won't be asked to save.
2932         (verilog-read-auto-lisp-present): Fix to start at beginning of
2933         buffer in case called outside of verilog-auto.
2934         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2935         to "X-2".  Reported by Matthew Myers.
2936         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2937         all inputs from module templates.  Reported by Leith Johnson.
2938         (verilog-module-inside-filename-p): Fix locating programs as with
2939         modules.
2940         (verilog-auto-inst-port): Fix vl-width expressions when using
2941         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2942         (verilog-decls-get-regs, verilog-decls-get-signals,
2943         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2944         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2945         verilog-read-decls): Combine reg and wire structures into one var
2946         structure to represent SystemVerilog concepts.
2947         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2948         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2949         (verilog-auto-wire-type, verilog-insert-definition):
2950         Add verilog-auto-wire-type and AUTOLOGIC to support using
2951         SystemVerilog "logic" keyword instead of "wire"/"reg".
2952         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2953         to declares outputs that also have assignments (presumably in an
2954         ifdef or generate if so there's not a driver conflict).
2955         Reported by Matthew Myers.
2956         (verilog-auto-declare-nettype, verilog-insert-definition):
2957         Add verilog-auto-declare-nettype to fix declarations using
2958         `default_nettype none.  Reported by Julian Gorfajn.
2959         (verilog-read-always-signals-recurse, verilog-read-decls)
2960         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2961         malformed end statement, bug325.  Reported by Joshua Wise and
2962         Andrew Drake.
2963         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2964         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2965         when expanding .* in interfaces, bug320.
2966         Reported by Pierre-David Pfister.
2967         (verilog-read-module-name): Fix import statements between module
2968         name and open parenthesis, bug317.
2969         Reported by Pierre-David Pfister.
2970         (verilog-simplify-range-expression): Fix simplification of
2971         multiplications inside AUTOWIRE connections, bug303.
2972         (verilog-auto-inst-port): Support parameter expansion in
2973         multidimensional arrays.
2974         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2975         after "assert property".  Reported by Julian Gorfajn.
2976         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2977         with multiplication, bug303.
2978         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2979         Reported by Jan Frode Lonnum.
2981 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2983         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2984         (hfy-shell-file-name, hfy-shell):
2985         * international/fontset.el (x-decompose-font-name): Fix typos.
2987 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2989         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2990         (gdb-version): Remove defvar.
2991         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2992         (gdb-gud-context-command, gdb-non-stop-handler)
2993         (gdb-current-context-command, gdb-stopped): Use it.
2994         (gdb-init-1): Enable pretty printing here.
2995         (gdb-non-stop-handler): Don't enable pretty-printing here.
2996         Check to see if the target supports non-stop mode; if not, turn off
2997         non-stop mode.  Use the following.
2998         (gdb-check-target-async): New defun.
2999         (gud-watch, gdb-stopped): Fix whitespace.
3000         (gdb-get-source-file): Don't try to display the source file if
3001         `gdb-main-file' is nil.
3003 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3005         * align.el: Try to generate fewer markers (bug#10047).
3006         (align--set-marker): New macro.
3007         (align-region): Use it.
3009 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3011         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3013 2011-11-29  Chong Yidong  <cyd@gnu.org>
3015         * indent.el (indent-for-tab-command, indent-according-to-mode):
3016         Doc fix.
3017         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3019 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3021         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3022         aware of remote file names.  (Bug#10124)
3024 2011-11-29  Chong Yidong  <cyd@gnu.org>
3026         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3028 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3030         * files.el (find-file): Don't use force-same-window (bug#10144).
3031         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3032         use pop-to-buffer if the selected window can't be used.
3033         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3035 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3037         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3038         special-mode-map.
3040 2011-11-28  Chong Yidong  <cyd@gnu.org>
3042         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3044 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3046         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3047           gdb-get-source-file-list on gdb-create-source-file-list.
3049 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3051         * whitespace.el (whitespace-newline): Use a different foreground
3052         color for 16-color light-background displays.
3054 2011-11-24  Chong Yidong  <cyd@gnu.org>
3056         * window.el (display-buffer--special-action): Doc fix.
3058 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
3060         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3061         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3062         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3063         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3064         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3065         (avl-tree-stack-first):
3066         * emacs-lisp/cconv.el (cconv--analyse-use):
3067         * net/gnutls.el (gnutls-negotiate): Fix typos.
3069 2011-11-24  Glenn Morris  <rgm@gnu.org>
3071         * lpr.el (lpr-windows-system, lpr-lp-system):
3072         * mail/binhex.el (binhex-begin-line):
3073         * progmodes/grep.el (grep-history, grep-find-history):
3074         * textmodes/flyspell.el:
3075         * vc/pcvs-defs.el (cvs-global-menu):
3076         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3077         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3078         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3080         * net/tls.el: Fix case of "GnuTLS".
3082         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3084         * version.el (emacs-build-system): Give it a doc-string.
3086 2011-11-24  Juri Linkov  <juri@jurta.org>
3088         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3090 2011-11-24  Glenn Morris  <rgm@gnu.org>
3092         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3093         if called on a non-mime message just toggle the headers.  (Bug#8006)
3095 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3097         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3098         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3099         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3100         (allout-rebullet-heading, allout-open-sibtopic)
3101         (allout-toggle-current-subtree-encryption)
3102         (allout-toggle-subtree-encryption, allout-encrypt-string)
3103         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3104         (allout-distinctive-bullets-string, allout-auto-activation):
3105         * window.el (window-normalize-buffer-to-display):
3106         * progmodes/verilog-mode.el (verilog-batch-indent):
3107         * textmodes/bibtex.el (bibtex-field-braces-opt)
3108         (bibtex-field-strings-opt):
3109         * vc/cvs-status.el (cvs-tree-merge):
3110         Fix typos.
3112 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3114         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3115         `non-essential' to t, in order to avoid remote connections.
3117 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3119         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3120         On MS-DOS and MS-Windows, compare with loaddefs.el
3121         case-insensitively.
3123 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3125         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3127 2011-11-23  Glenn Morris  <rgm@gnu.org>
3129         * paths.el (rmail-file-name): Reformat the doc-string so that it
3130         is picked up.
3132         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3133         (rmail-auto-file): Ignore case in the "special" field names,
3134         as mail-fetch-field does for all others.
3136         * mail/rmail.el (rmail-forward):
3137         * mail/rmailkwd.el (rmail-set-label):
3138         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3139         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3141         * mail/rmail.el (rmail-current-message): Doc fix.
3143         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3145 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3149 2011-11-22  Glenn Morris  <rgm@gnu.org>
3151         * mail/rmailmm.el (test-rmail-mime-handler)
3152         (test-rmail-mime-bulk-handler)
3153         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3155 2011-11-21  Juri Linkov  <juri@jurta.org>
3157         * calc/calc.el (calc-read-key-sequence):
3158         Let-bind `input-method-function' to nil.  (Bug#10018)
3160 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3162         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3163         Tell the caller that the next line needs recomputation, even
3164         though it doesn't start a sexp (bug#10094).
3166 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3168         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3170 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3172         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3173         Use force-same-window.
3175 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3177         * descr-text.el (describe-char-unicode-data):
3178         * json.el (json-string-escape):
3179         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3180         (Footnote-unicode, Footnote-style-p):
3181         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3183 2011-11-20  Chong Yidong  <cyd@gnu.org>
3185         * window.el (replace-buffer-in-windows): Restore interactive spec.
3187 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3189         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3191         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3192         (byte-compile-global-not-obsolete-vars): New var.
3193         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3194         Use it.
3195         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3197 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3199         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3200         * progmodes/pascal.el (electric-pascal-equal):
3201         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3202         * xml.el (xml-substitute-special): Fix typos.
3204 2011-11-20  Glenn Morris  <rgm@gnu.org>
3206         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3207         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3208         Doc fixes.
3209         (rmail-decode-mime-charset): Mark as obsolete.
3211         * mail/rmailsum.el (rmail-message-regexp-p-1):
3212         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3213         Before using mime functions, check they are set.  (Bug#10077)
3215 2011-11-19  Juri Linkov  <juri@jurta.org>
3217         * info.el (Info-finder-find-node): Use `package--builtins' instead
3218         of `package-alist'.  Use node names formed by the pattern "Keyword "
3219         and the keyword name.
3221 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3223         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3225 2011-11-19  Juri Linkov  <juri@jurta.org>
3227         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3228         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3229         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3230         `old-history', `old-history-forward'.  Add let-binding
3231         `window-selected'.  Remove calls to `kill-buffer',
3232         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3233         before calling `Info-find-node', so `Info-find-node-2' will reread
3234         the Info file.  Restore window positions only when `window-selected'
3235         is non-nil.
3237 2011-11-19  Juri Linkov  <juri@jurta.org>
3239         * isearch.el (isearch-lazy-highlight-new-loop):
3240         Remove condition `(not isearch-error)'.  (Bug#9918)
3242         * misearch.el (multi-isearch-search-fun): Add condition
3243         `(not bound)' to ignore lazy-highlighting search.
3244         Add the search-failed message "end of multi" when the end of
3245         multi-sequence is reached.  Uncapitalize the search-failed
3246         message "Repeat for next buffer".
3248         * info.el (Info-search): Add the search-failed message
3249         "end of the manual" when the end of the manual is reached
3250         in Isearch mode.
3252 2011-11-19  Juri Linkov  <juri@jurta.org>
3254         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3255         Use non-destructive `remove' instead of `delete' because
3256         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3257         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3259 2011-11-19  Juri Linkov  <juri@jurta.org>
3261         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3262         to nil instead of binding `search-ring' and `regexp-search-ring'.
3263         (Bug#9185)
3265 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3267         * simple.el (line-move): Force movement by logical lines for any
3268         hscrolled window, not only when auto-hscroll-mode is on.
3269         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3271 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3273         * language/european.el (macintosh): Define as alias for mac-roman.
3275 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3277         * mail/rmailmm.el (rmail-mime-display-header)
3278         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3279         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3280         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3281         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3282         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3283         of a raw aref.
3284         (rmail-mime-entity-segment): To get past the tagline, move forward
3285         2 more lines, to account for the 2 empty lines that precede and
3286         follow the line with the buttons.
3287         (rmail-mime-update-tagline): Move one more line, to get past the
3288         empty line that follows the buttons in the tagline.  (Bug#9520)
3290 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3292         * window.el (window-max-delta-1, window-min-delta-1)
3293         (window-min-size-1, window-state-get-1, window-state-put-1)
3294         (window-state-put-2): Use "window--" prefix.
3296 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3298         * emacs-lisp/smie.el: Improve warnings and conflict detection.
3299         (smie-warning-count): New var.
3300         (smie-set-prec2tab): Use it.
3301         (smie-bnf->prec2): Improve warnings.  Add docstring.
3302         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3303         (smie-bnf--set-class): New function.
3304         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
3305         corner case.
3307         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3308         (compilation-error-properties, compilation-move-to-column):
3309         Handle compilation-first-column while in the target buffer.
3311         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3312         Don't hardcode point-min==1.
3314         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3315         (eshell-rewrite-for-command): Remove workaround.
3316         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3317         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3318         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3320         * files-x.el (modify-file-local-variable): Obey commenting conventions.
3322 2011-11-17  Glenn Morris  <rgm@gnu.org>
3324         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3325         Ignore buffer-local generated-autoload-file if it is the same
3326         as the global value.  (Bug#10049)
3328 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
3330         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3331         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3332         (reftex-toc-previous-heading, reftex-toc-max-level)
3333         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3334         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3335         (reftex-toc-do-promote, reftex-toc-promote-prepare)
3336         (reftex-toc-promote-action, reftex-toc-extract-section-number)
3337         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3338         (reftex-toc-rename-label, reftex-toc-visit-location)
3339         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3340         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3341         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3342         leaving "*toc*" only for references to the buffer.
3344 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
3346         * window.el (window-resize, delete-window, split-window):
3347         Replace window-splits by window-combination-resize.
3348         * cus-start.el (window-splits): Replace by window-combination-resize.
3350 2011-11-17  Glenn Morris  <rgm@gnu.org>
3352         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3353         Make bash entry derive from sh entry, not shell entry.
3355 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
3357         * net/tramp-cache.el (tramp-flush-file-property): Flush also
3358         properties of linked files.  (Bug#9879)
3360         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3361         local file name.
3363 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3365         * menu-bar.el (menu-bar-file-menu):
3366         * printing.el (pr-ps-utility):
3367         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3368         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3369         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3370         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3371         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3372         (icalendar--convert-cyclic-to-ical)
3373         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3374         (icalendar--convert-ical-to-diary)
3375         (icalendar--convert-recurring-to-diary)
3376         (icalendar--convert-non-recurring-all-day-to-diary)
3377         (icalendar-import-format-sample):
3378         * progmodes/idlw-shell.el (idlwave-shell-mode):
3379         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3380         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3381         (vhdl-ps-print-init): Fix typos.
3383 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
3385         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3386         FSF and collapse date sequence, obscure author/maintainer email address
3387         better, remove extra version line, track relocation of author's webpage.
3389         * progmodes/python.el (python-pdbtrack-input-prompt)
3390         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3391         regular python pdb prompts.  Adjustments shamelessly taken exactly as
3392         suggested in EmacsWiki page (tiny change):
3393         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3395 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3397         * expand.el (expand-pos, expand-index, expand-point):
3398         Remove redundant info from docstring.
3399         (expand-add-abbrevs): Doc fix.
3400         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3401         (expand-sample-perl-mode-expand-list): Fix typos.
3403         * net/dbus.el (dbus-event-member-name):
3404         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3405         * term/pc-win.el (msdos-create-frame-with-faces):
3406         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3408 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
3410         * window.el (split-window, window-state-get-1)
3411         (window-state-put-1, window-state-put-2): Rename occurrences of
3412         window-nest to window-combination-limit.
3413         * cus-start.el (window-nest): Rename to window-combination-limit.
3415 2011-11-16  Chong Yidong  <cyd@gnu.org>
3417         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3418         regexp (Bug#10033).
3420 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3422         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3423         `completing-read' will remove *Completions* and will preserve
3424         current-buffer for us.
3425         (tmm-add-prompt): Users of *Completions* will always (re)set its
3426         major mode.
3427         (tmm-old-comp-map): Remove.
3429 2011-11-16  Glenn Morris  <rgm@gnu.org>
3431         * mail/rmailedit.el: Require rmailmm when compiling.
3432         (rmail-old-mime-state): New declaration.
3433         (rmail-edit-current-message): If editing a mime message,
3434         edit the "raw" message from the mbox buffer.
3435         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3437 2011-11-15  Glenn Morris  <rgm@gnu.org>
3439         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3440         which wasn't being used.  Add optional arg to force given state.
3441         (rmail-mime): Add optional arg to force given state.
3443 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3445         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3446         * frame.el (display-mm-dimensions-alist):
3447         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3448         (outline-move-subtree-down):
3449         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3450         (newsticker--treeview-do-get-node):
3451         * net/quickurl.el (quickurl-list-buffer-name):
3452         * progmodes/dcl-mode.el (dcl-mode):
3453         * progmodes/gdb-mi.el (gdb-mapcar*):
3454         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3456 2011-11-15  Glenn Morris  <rgm@gnu.org>
3458         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3459         in a boolean sense, so just make it a boolean, and fix the doc.
3460         (rmail-show-mime-function, rmail-mime-feature)
3461         (rmail-require-mime-maybe): Doc fixes.
3462         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3464         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3466 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3468         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3469         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3470         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3471         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3473 2011-11-15  Glenn Morris  <rgm@gnu.org>
3475         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3476         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3477         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3478         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3479         (rmail-mime, rmail-show-mime): Doc fixes.
3481         * term/ns-win.el (mode-line-frame-identification):
3482         Leave it alone.  (Bug#10051)
3484         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3486         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3487         Handle empty buffers.  (Bug#9978)
3489 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3491         * international/mule.el (define-charset):
3492         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3493         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3494         * progmodes/verilog-mode.el (verilog-backward-token):
3495         * textmodes/ispell.el (lookup-words):
3496         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3498 2011-11-14  Glenn Morris  <rgm@gnu.org>
3500         * progmodes/executable.el
3501         (executable-make-buffer-file-executable-if-script-p):
3502         Handle file-modes returning nil.
3504         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3505         message - not necessary, and causes problems.  (Bug#9831)
3507         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3509         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3511         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3512         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3513         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3515 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3517         * window.el (window-resize, delete-window): Use window-splits
3518         variable instead of function.
3519         (window-state-get-1, window-state-put-2, window-state-put):
3520         Don't deal with windows' splits status.
3522 2011-11-12  Glenn Morris  <rgm@gnu.org>
3524         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3525         (apropos-documentation): Doc fixes.
3527 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3529         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3530         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3532 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3534         * electric.el (electric-indent-post-self-insert-function): Make it
3535         possible for a char to only indent in some circumstances.
3536         (electric-indent-mode): Simplify.
3538 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3540         * window.el (windows-with-parameter): Remove unused function.
3541         (windows-at-side): Rename to window-at-side-list.
3542         (window-check, window-atom-check, window-atom-check-1)
3543         (window-side-check, window-size-ignore, window-size-fixed-1)
3544         (window-in-direction-2): Prefix with "window--".
3545         (window-tree-1): Rename to window--subtree, fix doc-string.
3547 2011-11-11  Glenn Morris  <rgm@gnu.org>
3549         * subr.el (eval-after-load): If FILE is already loaded,
3550         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3552 2011-11-10  Glenn Morris  <rgm@gnu.org>
3554         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3555         Call svn via vc-svn-command rather than vc-do-command.
3556         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3557         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3559         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3560         Add toggle-read-only.  (Bug#7292)
3561         * files.el (toggle-read-only): Mention that it should only
3562         be used interactively.  (Bug#10006)
3564 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3566         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3567         Adjust regexp for OCaml warnings.
3569         * electric.el (electric-pair-post-self-insert-function): Let user
3570         turn it off buffer-locally (bug#9932).
3572         * progmodes/python.el (python-beginning-of-statement):
3573         Rewrite (bug#2703).
3575         * progmodes/compile.el: Better handle TABs (bug#9749).
3576         (compilation-internal-error-properties)
3577         (compilation-next-error-function): Obey the target buffer's
3578         compilation-error-screen-columns.
3580 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3582         * progmodes/meta-mode.el: Remove obsolete comments.
3583         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3584         Fix typos in docstrings.
3586 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3588         * window.el (window-size-fixed-p): Rewrite doc-string.
3589         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3590         (window--resizable): New function.  Make all callers of
3591         window-resizable call window--resizable instead.
3592         (window-resizable): Rewrite in terms of window--resizable.
3594 2011-11-08  Glenn Morris  <rgm@gnu.org>
3596         * progmodes/delphi.el (delphi-mode-syntax-table):
3597         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3599 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3601         * window.el: Stay away from defsubst.
3602         (window-list-no-nils): Remove.
3603         (window-state-get-1, window-state-get): Use backquote instead.
3605 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3607         * emacs-lisp/find-func.el (find-function-read):
3608         Fix incorrect use of default argument in `completing-read'.
3610 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3612         * window.el (display-buffer-function, special-display-function):
3613         Mention display-buffer-record-window but do not mention
3614         help-setup parameter in doc-strings.
3615         (window-min-delta): Fix doc-string typo.
3617 2011-11-08  Chong Yidong  <cyd@gnu.org>
3619         * window.el (window-total-height, window-total-width): Doc fix.
3620         (window-body-size): Move from C.
3621         (window-body-height, window-body-width): Move to C.
3623 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3625         * window.el: Make special-display like display-buffer-alist (bug#9532).
3626         (display-buffer--special-action): New function, morphed
3627         from display-buffer--special.
3628         (display-buffer): Use it to handle special-display-buffers at higher
3629         priority (just after display-buffer-alist).
3630         (display-buffer-fallback-action, display-buffer--other-frame-action)
3631         (pop-to-buffer-same-window): Remove display-buffer--special.
3633 2011-11-07  Glenn Morris  <rgm@gnu.org>
3635         * calendar/cal-menu.el (cal-menu-set-date-title):
3636         Do nothing if not in a calendar.  (Bug#9976)
3638 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3640         * files.el (find-file): Always use selected-window.
3642 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3644         * window.el (window-combinations): Make WINDOW argument
3645         mandatory.  Rewrite doc-string.
3646         (walk-window-subtree, window-atom-check, window-min-delta)
3647         (window-max-delta, window--resize-this-window)
3648         (window--resize-root-window-vertically, window-tree)
3649         (balance-windows, window-state-put): Rewrite doc-strings as to
3650         not mention the term "subwindow".
3651         (window--resize-subwindows-skip-p): Rename to
3652         window--resize-child-windows-skip-p.
3653         (window--resize-subwindows-normal): Rename to
3654         window--resize-child-windows-normal.
3655         (window--resize-subwindows): Rename to
3656         window--resize-child-windows.
3657         (window-or-subwindow-p): Rename to window--in-subtree-p.
3659 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3661         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3662         Ensure that mbox format messages end in two newlines (Bug#9974).
3664 2011-11-06  Chong Yidong  <cyd@gnu.org>
3666         * window.el (window-combination-p): Function deleted; its
3667         side-effect is not used in any existing code.
3668         (window-combinations, window-combined-p): Call window-*-child
3669         directly.
3671 2011-11-05  Chong Yidong  <cyd@gnu.org>
3673         * window.el (window-valid-p): Rename from window-any-p.
3674         (window-size-ignore, window-state-get): Callers changed.
3675         (window-normalize-window): Rename from window-normalize-any-window.
3676         New arg LIVE-ONLY, replacing window-normalize-live-window.
3677         (window-normalize-live-window): Delete.
3678         (window-combination-p, window-combined-p, window-combinations)
3679         (walk-window-subtree, window-atom-root, window-min-size)
3680         (window-sizable, window-sizable-p, window-size-fixed-p)
3681         (window-min-delta, window-max-delta, window-resizable)
3682         (window-resizable-p, window-full-height-p, window-full-width-p)
3683         (window-current-scroll-bars, window-point-1, set-window-point-1)
3684         (window-at-side-p, window-in-direction, window-resize)
3685         (adjust-window-trailing-edge, maximize-window, minimize-window)
3686         (window-deletable-p, delete-window, delete-other-windows)
3687         (record-window-buffer, unrecord-window-buffer)
3688         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3689         (quit-window, split-window, window-state-put)
3690         (set-window-text-height, fit-window-to-buffer)
3691         (shrink-window-if-larger-than-buffer): Callers changed.
3693 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3695         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3696         rfc2047-decode-string.
3697         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3698         warnings.
3700         * window.el (window-body-height, window-body-width): Mention in
3701         the doc string that the return values are in frame's canonical
3702         units.  (Bug#9949)
3704 2011-11-03  Alan Mackenzie  <acm@muc.de>
3706         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3707         change in cc-engine.el.
3709 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3713 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3715         * window.el (quit-window): Call unrecord-window-buffer after
3716         showing another buffer in the window.  (Bug#9937)
3717         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3719 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3721         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3722         Accept status with more than 9 shelves.  (Bug#9935)
3723         Reported by Colin D Bennett <colin@gibibit.com>.
3725 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3727         * help.el (with-help-window): Don't reference
3728         temp-buffer-show-specifiers in doc-string.
3730 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3732         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3733         menu-item.
3735 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3737         * whitespace.el: New version 13.2.2.
3738         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3739         <EmacsWiki>.
3741 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3743         * net/newst-treeview.el: Remove "Time-stamp".
3744         (newsticker--group-manage-orphan-feeds): Do not call
3745         newsticker--treeview-tree-update.
3746         (newsticker-treeview-update, newsticker-treeview):
3747         Call newsticker--treeview-tree-update if necessary.
3749 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3751         * window.el (window-iso-combination-p, window-iso-combined-p)
3752         (window-iso-combinations): Remove "iso-" infix.
3753         Suggested by Chong Yidong.
3754         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3755         (window-max-delta-1, window-resize, window--resize-siblings)
3756         (window--resize-this-window, adjust-window-trailing-edge)
3757         (split-window, balance-windows-1)
3758         (shrink-window-if-larger-than-buffer):
3759         * calendar/calendar.el (calendar-generate-window):
3760         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3762 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3764         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3765         in place (bug#9907).
3766         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3767         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3768         (eshell-structure-basic-command, eshell-rewrite-while-command)
3769         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3770         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3771         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3772         (eshell-do-pipelines-synchronously, eshell-eval-command):
3773         Use backquotes and prefer setq to set.
3774         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3775         (eshell-macrop): Use functionp.
3776         (eshell-do-eval): Handle multiple expressions in `while' body.
3778 2011-10-30  Chong Yidong  <cyd@gnu.org>
3780         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3781         instead of set-mark (Bug#9810).
3783 2011-10-30  Chong Yidong  <cyd@gnu.org>
3785         * window.el (split-window-below, split-window-right): Rename from
3786         split-window-above-each-other and split-window-side-by-side
3787         respectively.  All callers changed.
3788         (split-window-sensibly, split-window-sensibly): Use them.
3789         (split-window-keep-point): Doc fix.
3791         * isearch.el: Add isearch-scroll property to split-window-below
3792         and split-window-right.
3794         * follow.el (follow-mode):
3795         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3796         * progmodes/ada-xref.el (ada-gdb-application):
3797         * emulation/vip.el (vip-buffer-in-two-windows):
3798         * image-dired.el (image-dired-dired-with-window-configuration):
3799         * dired-x.el (dired-do-find-marked-files):
3800         * dired.el (dired-pop-to-buffer):
3801         * bs.el (bs--show-with-configuration):
3802         * vc/emerge.el (emerge-setup-windows):
3803         * textmodes/two-column.el (2C-two-columns):
3804         * textmodes/reftex-toc.el (reftex-toc):
3805         * progmodes/gdb-mi.el (gdb-setup-windows):
3806         * progmodes/fortran.el (fortran-window-create):
3807         * net/newst-treeview.el (newsticker--treeview-window-init):
3808         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3809         * emulation/tpu-edt.el (tpu-gold-map):
3810         * emulation/crisp.el (crisp-mode-map):
3811         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3813 2011-10-29  Chong Yidong  <cyd@gnu.org>
3815         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3817         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3819         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3820         forged Ispell output (Bug#7904).
3822         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3824 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3826         * doc-view.el: Avoid ugly errors about not finding nil.
3827         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3828         (doc-view-dvipdf-program, doc-view-unoconv-program)
3829         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3830         Avoid nil or absolute file name as default value.
3831         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3833 2011-10-28  Alan Mackenzie  <acm@muc.de>
3835         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3837 2011-10-28  Alan Mackenzie  <acm@muc.de>
3839         Amend the handling of c-beginning/end-of-defun in nested declaration
3840         scopes.
3842         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3843         cc-langs.el.  Change it to a defcustom.
3845         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3846         cc-vars.el.
3848         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3849         Prevent "class foo : bar" being spuriously recognized as a label.
3851         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3852         Add parameter `inclusive' (to include enclosing braces in the region).
3853         (c-widen-to-enclosing-decl-scope): New function.
3854         (c-while-widening-to-decl-block): New macro.
3855         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3856         outward for defun boundaries, and correspondingly change symbol
3857         `respect-enclosure' to `go-outward'.
3858         (c-declaration-limits): Change algorithm to report only the "innermost"
3859         defun's boundaries.
3861 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3863         * net/rcirc.el (rcirc-mode): Use hard newlines.
3865 2011-10-28  Alan Mackenzie  <acm@muc.de>
3867         Amend to indent and fontify macros "which include their own semicolon"
3868         correctly, using the "virtual semicolon" mechanism.
3870         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3872         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3873         Recode to scan one line at a time rather than having \n and \r
3874         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3875         (c-forward-label): Amend for virtual semicolons.
3876         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3878         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3879         of the new C macros.
3881         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3882         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3883         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3884         (c-opt-cpp-macro-define): Make into a full language variable.
3885         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3886         AWK Mode (including \n, \r) removed, no longer needed.
3888         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3889         Invoke c-make-macro-with-semi-re.
3891         * progmodes/cc-vars.el (c-macro-with-semi-re):
3892         (c-macro-names-with-semicolon): New variables.
3893         (c-make-macro-with-semi-re): New function.
3895 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3897         * vc/log-edit.el: Fill empty field rather than adding new one.
3898         (log-edit-add-field): New function.
3899         (log-edit-insert-changelog): Use it.
3901 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3903         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3905 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3908         (gdb--check-interpreter): New function.
3909         (gdb): Use it.
3911 2011-10-27  Glenn Morris  <rgm@gnu.org>
3913         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3914         (least-positive-float, least-negative-float)
3915         (least-positive-normalized-float, least-negative-normalized-float)
3916         (float-epsilon, float-negative-epsilon):
3917         Remove unnecessary declarations.
3919         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3920         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3921         (least-positive-float, least-negative-float)
3922         (least-positive-normalized-float, least-negative-normalized-float)
3923         (float-epsilon, float-negative-epsilon): Add doc-strings,
3924         based on those in cl.texi.
3926         * files.el (set-visited-file-name): If the major-mode changed,
3927         reload the local variables.  (Bug#9796)
3929 2011-10-27  Chong Yidong  <cyd@gnu.org>
3931         * subr.el (change-major-mode-after-body-hook): New hook.
3932         (run-mode-hooks): Run it.
3934         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3935         Use change-major-mode-before-body-hook.
3937         * simple.el (fundamental-mode):
3938         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3939         change introducing fundamental-mode-hook.
3941 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3943         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3945 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3947         * ido.el (ido-file-name-all-completions-1): Do not require
3948         tramp.el explicitly.  (Bug#7583)
3950 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * progmodes/octave-mod.el:
3953         * progmodes/octave-inf.el: Update maintainer.
3955 2011-10-26  Chong Yidong  <cyd@gnu.org>
3957         * subr.el (with-wrapper-hook): Rewrite doc.
3959 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3961         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3962         filenames "/method:foo:".  (Bug#9793)
3964 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3966         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3967         (bug#9865).
3969 2011-10-24  Glenn Morris  <rgm@gnu.org>
3971         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3973 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3975         * notifications.el: Add the requirement of a running D-Bus session
3976         bus to the Commentary.
3978 2011-10-24  Juri Linkov  <juri@jurta.org>
3980         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3981         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3982         (Bug#9364)
3984 2011-10-24  Juri Linkov  <juri@jurta.org>
3986         * info.el (Info-following-node-name-re): Add newline to the list
3987         of allowed characters for leading space.  (Bug#9824)
3989 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         * progmodes/octave-inf.el (inferior-octave-mode-map):
3992         Fix C-c C-h binding.
3993         * progmodes/octave-mod.el (octave-help): Remove.
3995 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3997         Sync with Tramp 2.2.3.
3999         * net/tramp-cache.el (top): Pacify byte-compiler using
4000         `init-file-user' and `site-run-file'.
4002         * net/trampver.el: Update release number.
4004 2011-10-23  Chong Yidong  <cyd@gnu.org>
4006         * files.el (toggle-read-only): Remove obsolete comment about
4007         version control.
4009         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4010         for toggle-read-only.  Note that this hasn't called vc-next-action
4011         since 2008-05-02, though it wasn't documented at the time.
4013         * vc/ediff-init.el (ediff-toggle-read-only-function):
4014         Use toggle-read-only.
4016 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4018         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4019         of c-parse-state.
4021         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4022         correct faulty logical expression.
4023         (c-parse-state-state, c-record-parse-state-state):
4024         (c-replay-parse-state-state): New defvar/defuns.
4025         (c-debug-parse-state): Use new functions.
4027 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4029         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4030         last fix.  Use window-in-direction correctly.
4032 2011-10-21  Chong Yidong  <cyd@gnu.org>
4034         * progmodes/idlwave.el (idlwave-mode):
4035         * progmodes/vera-mode.el (vera-mode): No need to set
4036         require-final-newline; that's done in prog-mode.
4037         Suggested by Stefan Monnier.
4039 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4041         * mouse.el (mouse-drag-window-above)
4042         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4043         (mouse-drag-mode-line-1, mouse-drag-header-line)
4044         (mouse-drag-vertical-line-rightward-window): Remove.
4045         (mouse-drag-line): New function.
4046         (mouse-drag-mode-line, mouse-drag-header-line)
4047         (mouse-drag-vertical-line): Call mouse-drag-line.
4048         * window.el (window-at-side-p, windows-at-side): New functions.
4050 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4052         * tar-mode.el (tar-grind-file-mode):
4053         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4055 2011-10-21  Chong Yidong  <cyd@gnu.org>
4057         * progmodes/idlwave.el (idlwave-mode):
4058         * progmodes/vera-mode.el (vera-mode):
4059         Use mode-require-final-newline.
4061 2011-10-20  Glenn Morris  <rgm@gnu.org>
4063         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
4065 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
4067         * emulation/cua-base.el (cua-set-mark): Fix case of string.
4069 2011-10-20  Chong Yidong  <cyd@gnu.org>
4071         * emulation/cua-base.el (cua-mode):
4072         * mail/footnote.el (footnote-mode):
4073         * mail/mailabbrev.el (mail-abbrevs-mode):
4074         * net/xesam.el (xesam-minor-mode):
4075         * progmodes/bug-reference.el (bug-reference-mode):
4076         * progmodes/cap-words.el (capitalized-words-mode):
4077         * progmodes/compile.el (compilation-minor-mode)
4078         (compilation-shell-minor-mode):
4079         * progmodes/gud.el (gud-tooltip-mode):
4080         * progmodes/hideif.el (hide-ifdef-mode):
4081         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4082         * progmodes/subword.el (subword-mode):
4083         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4084         * progmodes/which-func.el (which-function-mode):
4085         * term/tvi970.el (tvi970-set-keypad-mode):
4086         * term/vt100.el (vt100-wide-mode):
4087         * textmodes/flyspell.el (flyspell-mode):
4088         * textmodes/ispell.el (ispell-minor-mode):
4089         * textmodes/nroff-mode.el (nroff-electric-mode):
4090         * textmodes/paragraphs.el (use-hard-newlines):
4091         * textmodes/refill.el (refill-mode):
4092         * textmodes/reftex.el (reftex-mode):
4093         * textmodes/rst.el (rst-minor-mode):
4094         * textmodes/sgml-mode.el (html-autoview-mode)
4095         (sgml-electric-tag-pair-mode):
4096         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4097         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4098         * emulation/crisp.el (crisp-mode):
4099         * emacs-lisp/eldoc.el (eldoc-mode):
4100         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4101         minor mode behavior.
4103 2011-10-19  Juri Linkov  <juri@jurta.org>
4105         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4106         the list of hard-coded chars with escape-glyph face.
4108 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4110         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4112 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4114         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4115         running process.
4117 2011-10-19  Glenn Morris  <rgm@gnu.org>
4119         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4120         Ignore ignored files.  (Bug#9726)
4122 2011-10-19  Chong Yidong  <cyd@gnu.org>
4124         Doc fix for minor modes, stating that an omitted argument enables
4125         the mode unconditionally when called from Lisp.
4127         * abbrev.el (abbrev-mode):
4128         * allout.el (allout-mode):
4129         * autoinsert.el (auto-insert-mode):
4130         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4131         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4132         (global-auto-revert-mode):
4133         * battery.el (display-battery-mode):
4134         * composite.el (global-auto-composition-mode)
4135         (auto-composition-mode):
4136         * delsel.el (delete-selection-mode):
4137         * desktop.el (desktop-save-mode):
4138         * dired-x.el (dired-omit-mode):
4139         * dirtrack.el (dirtrack-mode):
4140         * doc-view.el (doc-view-minor-mode):
4141         * double.el (double-mode):
4142         * electric.el (electric-indent-mode, electric-pair-mode):
4143         * emacs-lock.el (emacs-lock-mode):
4144         * epa-hook.el (auto-encryption-mode):
4145         * follow.el (follow-mode):
4146         * font-core.el (font-lock-mode):
4147         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4148         * help.el (temp-buffer-resize-mode):
4149         * hilit-chg.el (highlight-changes-mode)
4150         (highlight-changes-visible-mode):
4151         * hi-lock.el (hi-lock-mode):
4152         * hl-line.el (hl-line-mode, global-hl-line-mode):
4153         * icomplete.el (icomplete-mode):
4154         * ido.el (ido-everywhere):
4155         * image-file.el (auto-image-file-mode):
4156         * image-mode.el (image-minor-mode):
4157         * iswitchb.el (iswitchb-mode):
4158         * jka-cmpr-hook.el (auto-compression-mode):
4159         * linum.el (linum-mode):
4160         * longlines.el (longlines-mode):
4161         * master.el (master-mode):
4162         * mb-depth.el (minibuffer-depth-indicate-mode):
4163         * menu-bar.el (menu-bar-mode):
4164         * minibuf-eldef.el (minibuffer-electric-default-mode):
4165         * mouse-sel.el (mouse-sel-mode):
4166         * msb.el (msb-mode):
4167         * mwheel.el (mouse-wheel-mode):
4168         * outline.el (outline-minor-mode):
4169         * paren.el (show-paren-mode):
4170         * recentf.el (recentf-mode):
4171         * reveal.el (reveal-mode, global-reveal-mode):
4172         * rfn-eshadow.el (file-name-shadow-mode):
4173         * ruler-mode.el (ruler-mode):
4174         * savehist.el (savehist-mode):
4175         * scroll-all.el (scroll-all-mode):
4176         * scroll-bar.el (scroll-bar-mode):
4177         * server.el (server-mode):
4178         * shell.el (shell-dirtrack-mode):
4179         * simple.el (auto-fill-mode, transient-mark-mode)
4180         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4181         (line-number-mode, column-number-mode, size-indication-mode)
4182         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4183         * strokes.el (strokes-mode):
4184         * time.el (display-time-mode):
4185         * t-mouse.el (gpm-mouse-mode):
4186         * tool-bar.el (tool-bar-mode):
4187         * tooltip.el (tooltip-mode):
4188         * type-break.el (type-break-mode-line-message-mode)
4189         (type-break-query-mode):
4190         * view.el (view-mode):
4191         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4192         (global-whitespace-mode, global-whitespace-newline-mode):
4193         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4195         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4196         Fix autogenerated docstring.
4198 2011-10-19  Juri Linkov  <juri@jurta.org>
4200         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4201         by checking environment variables "DESKTOP_SESSION" and
4202         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4204 2011-10-19  Juri Linkov  <juri@jurta.org>
4206         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4207         (browse-url-chromium-program, browse-url-chromium-arguments):
4208         New defcustoms.
4209         (browse-url-default-browser): Check for `browse-url-chromium' and
4210         call `browse-url-chromium-program'.
4211         (browse-url-chromium): New command.  (Bug#9779)
4213 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4215         * facemenu.el (list-colors-duplicates): On Windows, detect more
4216         duplicates by assuming that only colors matching "^System" are
4217         special "system colors".  (Bug#9722)
4219 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4221         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4222         to distinguish the author from the committer.
4224 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4226         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4228 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4230         * international/mule.el (sgml-html-meta-auto-coding-function):
4231         Add support for detecting encoding in HTML5 specified only as
4232         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4233         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4235 2011-10-18  Glenn Morris  <rgm@gnu.org>
4237         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4239 2011-10-18  Chong Yidong  <cyd@gnu.org>
4241         * faces.el (cursor): Doc fix.
4243 2011-10-17  Chong Yidong  <cyd@gnu.org>
4245         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4247 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4249         * dirtrack.el (dirtrack): Support shell buffers with path
4250         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4252 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4254         * json.el: Bump version to 1.3 and note change in History.
4255         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4257 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4259         * comint.el (comint-insert-input, comint-send-input)
4260         (comint-get-old-input-default, comint-backward-matching-input)
4261         (comint-next-prompt): Use nil instead of `input' for field property of
4262         past user input (bug#114).
4264         * minibuffer.el (completion--replace): Inherit surrounding properties
4265         (bug#114).
4266         (minibuffer-complete-and-exit): Use it.
4268         * comint.el (comint--table-subvert): Quote the all-completions output
4269         (bug#9160).
4271 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4273         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4275         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4276         window on right of selected.  (Bug#9350) Reword other window
4277         entries and separate them from frame entries.
4279 2011-10-15  Glenn Morris  <rgm@gnu.org>
4281         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4282         Doc fixes.
4284 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4286         * net/network-stream.el (network-stream-open-starttls):
4287         Improve detection of failure due to lack of TLS support.
4289         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4290         putting the input text in front and in bold.
4292 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4294         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4296         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4297         empty buffer.
4299         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4300         unread-command-events rather than pushing yet-another event.
4302 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
4304         * mail/sendmail.el (sendmail-query-once): Improve the wording of
4305         the explanation of the possible choices.  Make the options passed
4306         to completing-read shorter.
4308 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4310         * textmodes/flyspell.el (flyspell-large-region): Make sure
4311         extended character mode is used if defined (Bug#1339).
4313 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
4315         * simple.el (what-cursor-position): Fix the display of the
4316         character info for LRE, LRO, RLE, and RLO characters by appending
4317         an invisible PDF.
4319 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4321         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4322         even in case of error; add debug spec; simplify data flow.
4323         (with-timeout-handler): Remove.
4325 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
4327         Fix Bug#6019, Bug#9315.
4329         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4330         complete `buffer-file-name', the local file name part could look
4331         remotely (for example on VMS).
4333         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4334         `tramp-run-real-handler'.
4335         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4336         already quoted by '"'.
4338         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4339         Let `file-name-handler-alist' be nil, the local file name part
4340         could look remotely (for example on VMS).
4342 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4344         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4345         from here...
4346         (flyspell-post-command-hook): ...to here.
4348 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4350         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4351         if not needed.
4352         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
4353         using completion.  Protect against "slow" callers.
4354         Remove the "message hack".
4356 2011-10-11  Juri Linkov  <juri@jurta.org>
4358         * isearch.el (isearch-lazy-highlight-word): New variable.
4359         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4360         Use it.  (Bug#9727)
4362 2011-10-11  Glenn Morris  <rgm@gnu.org>
4364         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4365         like f90-previous-statement does.
4367 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4369         * eshell/eshell.el (eshell-command): History should be saved
4370         only in interactive use, to avoid error.
4372 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4374         * minibuffer.el (completion-file-name-table): Fix last change,
4375         i.e. ignore normal errors but not the other ones.
4377 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
4379         * window.el (special-display-buffer-names)
4380         (special-display-regexps): Remove some remnants of earlier
4381         changes from doc-strings.
4382         (quit-windows-on): New function.
4384         * vc/vc.el (vc-revert, vc-rollback):
4385         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4386         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
4387         (Bug#6183) (Bug#7074) (Bug#7447)
4389 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
4391         * window.el (frame-auto-hide-function): Add version tag.
4392         (Bug#9699)
4394 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
4396         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4397         condition.
4399 2011-10-09  Leo Liu  <sdl.web@gmail.com>
4401         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4402         (Bug#9701)
4404 2011-10-08  Glenn Morris  <rgm@gnu.org>
4406         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4407         before the first code statement zero indent.  (Bug#9690)
4409 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
4411         * simple.el (count-words-region): Always count in the region.
4412         Report the number of lines and characters too.
4413         (count-words): New command, which counts in the buffer if the
4414         region is inactive, as count-words-region used to.
4415         (count-words--message): New function.  Handle plurals.
4416         (count-lines-region): Make it an alias for count-words-region.
4418         * bindings.el (esc-map): Replace count-lines-region with
4419         count-words-region.
4421 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
4423         * window.el (window--delete): Delete dedicated frame
4424         unconditionally when argument KILL is non-nil.  (Bug#9699)
4425         (switch-to-buffer): Fix doc-string typo.
4427 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4429         * eshell/eshell.el (eshell-command): Avoid using hooks.
4431 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4433         * bindings.el ([M-left],[M-right]): Bind to left-word and
4434         right-word respectively.
4436 2011-10-07  Glenn Morris  <rgm@gnu.org>
4438         * cus-start.el (debug-on-quit): Fix custom type.
4440 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4442         * subr.el (define-key-after): Clarify that the function is not
4443         useful for non-menu keymaps.
4445         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4447 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4449         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4450         in current minibuffer (Fix bug with recursive minibuffers).
4452 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4454         * progmodes/gdb-mi.el (gdb): Doc fix.
4456 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4458         * window.el (frame-auto-hide-function): New option replacing
4459         frame-auto-delete.  Suggested by Stefan Monnier.
4460         (window--delete): Call frame-auto-hide-function instead of
4461         investigating frame-auto-delete.
4462         (window-point-1, set-window-point-1): New functions.
4463         (window-in-direction, record-window-buffer, window-state-get-1)
4464         (display-buffer-record-window): Use window-point-1 instead of
4465         window-point.
4466         (set-window-buffer-start-and-point): Use set-window-point-1.
4468 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4470         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4472 2011-10-05  Glenn Morris  <rgm@gnu.org>
4474         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4475         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4477 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4479         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4480         works with buffer object.
4482 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4484         * mpc.el (mpc-tool-bar-map): Add labels.
4486 2011-10-04  Glenn Morris  <rgm@gnu.org>
4488         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4490 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4492         * window.el (window--delete): New function.
4493         (frame-auto-delete): Resuscitate option.
4494         (bury-buffer, replace-buffer-in-windows)
4495         (quit-window): Rewrite using window--delete.
4496         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4497         Pass display-buffer-mark-dedicated to window--display-buffer-2
4498         (Bug#9639).
4500 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4502         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4503         returns a list (bug#9554).  Add remote file name completion.
4504         * comint.el (comint--table-subvert): Curry and get quote&unquote
4505         functions as arguments.
4506         (comint--complete-file-name-data): Adjust call accordingly.
4507         * pcomplete.el (pcomplete--table-subvert): Remove.
4508         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4510         * minibuffer.el (completion-table-case-fold): Use currying.
4511         (completion--styles-type, completion--cycling-threshold-type):
4512         New constants.
4513         (completion-styles, completion-category-overrides)
4514         (completion-cycle-threshold): Use them.
4515         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4516         completion-table-case-fold.
4518 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4520         * minibuffer.el (completion-category-overrides): Fix type of styles
4521         and add more user friendly tags (bug#9660).
4523 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4526         (mule-input-method-string): New widget.
4527         (default-input-method, language-info-custom-alist): Use it.
4529 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4531         * pcomplete.el: Require comint.
4532         (pcomplete--common-suffix): Remove.
4533         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4534         (pcomplete--table-subvert): Sync with comint--table-subvert.
4535         (pcomplete--entries): Use comint-completion-file-name-table.
4536         * comint.el (comint-unquote-filename): Simplify.
4537         (comint-completion-file-name-table): New function (bug#9616).
4538         (comint--complete-file-name-data): Use it.
4540         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4541         (pcmpl-gnu-tar-buffer): Remove.
4542         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4543         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4544         Don't look inside the tar's file if it's too large.
4546 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4548         * cus-edit.el (custom-mode-map):
4549         * epa.el (epa-key-list-mode-map):
4550         * man.el (Man-mode-map):
4551         * startup.el (splash-screen-keymap):
4552         * simple.el (special-mode-map): Use scroll-up-command and
4553         scroll-down-command.
4555         * progmodes/idlw-help.el (idlwave-help-mode-map):
4556         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4557         * net/newst-plainview.el (newsticker-mode-map):
4558         * emulation/ws-mode.el (wordstar-mode-map):
4559         * emulation/vi.el (vi-com-map):
4560         * calc/calc-graph.el (calc-graph-show-dumb):
4561         * term/sun.el (terminal-init-sun):
4562         * term/ns-win.el (global-map):
4563         * progmodes/grep.el (grep-mode-map):
4564         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4565         * mail/rmail.el (rmail-mode-map):
4566         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4568         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4569         custom-safe-themes as special.
4571 2011-10-01  Julien Danjou  <julien@danjou.info>
4573         * notifications.el (notifications-notify): Fix docstring.
4575 2011-10-01  Per Starbäck  <per@starback.se>
4577         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4579 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4581         * startup.el (command-line-1): Fix last fix by inserting
4582         initial-scratch-message into *scratch* before displaying it.
4583         (Bug#9605) and (Bug#9636)
4585 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4587         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4588         window is hscrolled, move by logical lines.  (Bug#9607)
4589         (line-move-visual): Update the doc string to the above effect.
4591 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4593         * window.el (display-buffer-record-window): When WINDOW is the
4594         selected window use `point' instead of `window-point'.  (Bug#9626)
4596         * startup.el (command-line-1): Use insert-before-markers when
4597         inserting initial-scratch-message.  (Bug#9605)
4599         * help.el (help-window): Remove variable.
4601 2011-09-29  Glenn Morris  <rgm@gnu.org>
4603         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4605 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4607         * descr-text.el (describe-char-categories): Accept category
4608         descriptions more than one line long.
4610 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4612         * simple.el (delete-trailing-whitespace): Fix last change.
4614         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4615         Don't confuse "y => 3" as the beginning of a `y' operation.
4617         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4618         object has more than 4 slots (bug#9613).
4620 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4622         * subr.el (with-output-to-temp-buffer):
4623         * net/quickurl.el (quickurl, quickurl-browse-url):
4624         Fix typos in docstrings.
4626 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4628         * minibuffer.el (completion-styles)
4629         (completion-category-overrides): Cross reference each other in doc
4630         strings.
4632 2011-09-27  Glenn Morris  <rgm@gnu.org>
4634         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4635         to split-string.  (Bug#9606)
4637 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4639         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4640         (bug#9615).
4642 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4644         * emacs-lisp/package.el (list-packages): Fix echo area message.
4646 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4648         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4650 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4652         * net/dbus.el (dbus-unregister-object): Don't release services for
4653         registered signals.  (Bug#9581)
4655 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4657         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4658         function that picks between cfengine 2 and 3 support
4659         automatically.  Update docs accordingly.
4661 2011-09-22  Kenichi Handa  <handa@m17n.org>
4663         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4664         ZERO.
4665         (indian-itrans-v5-table-for-tamil): New variable.
4666         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4668 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4670         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4671         that's true if the current command involved collapsing of text.
4672         It's reset to false at the beginning of the next command.
4673         (allout-post-command-business): Move the cursor to the beginning
4674         of entry if the cursor is hidden and collapsing activity just
4675         happened.
4677 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4679         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4680         tracking (Bug#9541).
4682 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4684         * net/newst-reader.el (newsticker-html-renderer)
4685         (newsticker-show-news): Automatically load html rendering package
4686         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4687         because w3m-fill-column is let-bound" and the error "Symbol's value
4688         as variable is void: w3m-fill-column".
4690 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4692         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4693         Release services only if they are defined.  (Bug#9581)
4695 2011-09-23  Richard Stallman  <rms@gnu.org>
4697         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4698         distinguish start of paragraph from start of its text.
4700         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4702         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4703         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4704         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4706 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4708         * international/mule-diag.el (mule-diag): Insert a newline after
4709         each fontset description.
4711 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4713         * simple.el (delete-trailing-whitespace):
4714         Document last change; simplify.
4716 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4718         * simple.el (delete-trailing-whitespace): Also delete
4719         extra newlines at the end of the buffer.
4721         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4722         (picture-newline): Use forward-line so as to ignore fields.
4724 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4726         * subr.el (with-wrapper-hook): Fix edebug spec.
4728 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4730         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4731         (bug#4538).
4733 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4735         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4736         Fix nasty bug using wrong cached values.
4738 2011-09-23  Alan Mackenzie  <acm@muc.de>
4740         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4742 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4744         * window.el (pop-to-buffer): Ensure right window is selected if we
4745         chose another frame.
4747 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4749         * simple.el (what-cursor-position): Use get-char-property-change
4750         and next-single-char-property-change, to be able to show display
4751         properties that come from overlays as well as text properties.
4753 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4755         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4757         * cmuscheme.el (run-scheme, switch-to-scheme):
4758         * cus-edit.el (customize-group, custom-buffer-create)
4759         (customize-browse):
4760         * info.el (info):
4761         * shell.el (shell):
4762         * mail/sendmail.el (mail):
4763         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4765 2011-09-22  Richard Stallman  <rms@gnu.org>
4767         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4768         move back only to line beg, don't move back over blank lines.
4770 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4772         * files.el (copy-directory): Set directory attributes only in case
4773         they could be retrieved from the source directory.  (Bug#9565)
4775 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4777         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4778         (hs-find-block-beginning, hs-hide-level-recursive):
4779         Ignore strings as well as comments.  (Bug#9502)
4781 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4783         * progmodes/sql.el (sql-comint-postgres):
4784         Convert port number to a string.  (Bug#9566)
4786 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4788         * window.el (quit-window): Undedicate window when switching to
4789         previous buffer.  Reported by Thierry Volpiatto
4790         <thierry.volpiatto@gmail.com>.
4791         (special-display-popup-frame): When popping up a new frame reset
4792         its previous buffers to nil.  Simplify code.
4794 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4796         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4797         and process filter, as done also in `shell-command'.
4799 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4801         * window.el (set-window-buffer-start-and-point):
4802         Call set-window-start with NOFORCE argument t.
4803         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4804         (quit-window): Reword doc-string.  Handle new format of
4805         quit-restore parameter.  Don't delete window if it has a
4806         previous buffer we can show instead of the present one.
4807         (display-buffer-record-window): Rewrite using a new format for
4808         the quit-restore window parameter
4809         (special-display-popup-frame, display-buffer-same-window)
4810         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4811         (display-buffer-pop-up-window, display-buffer-use-some-window):
4812         Adapt symbol passed to display-buffer-record-window.
4813         * help.el (help-window-setup): Handle new format of quit-restore
4814         parameter.
4816 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4818         * faces.el (face-list): Fix docstring (bug#9564).
4820         * window.el (display-buffer--action-function-custom-type):
4821         Don't include internal functions in the Custom interface.
4823 2011-09-20  Juri Linkov  <juri@jurta.org>
4825         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4826         (Info-forward-node, Info-backward-node, Info-next-preorder)
4827         (Info-last-preorder): Use it.  (Bug#9528)
4829 2011-09-20  Juri Linkov  <juri@jurta.org>
4831         * info.el (Info-last-preorder): Visit last menu item only when
4832         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4834 2011-09-20  Julien Danjou  <julien@danjou.info>
4836         * password-cache.el (password-cache-remove): Remove entries even if the
4837         value is nil, so that password with a nil value (negative caching) is
4838         possible to invalidate.
4840 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4842         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4843         all whitespace around breakpoint.  (Bug#9553)
4844         (f90-find-breakpoint): Only break at whitespace inside a comment.
4846 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4848         * minibuffer.el (completion-file-name-table): Keep track of errors.
4849         (completion-table-with-predicate): Handle the case where pred1 is nil.
4850         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4852 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4854         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4855         (debugger-return-value): Signal an error if the debugging context does
4856         not await any return value.
4858         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4859         * image-mode.el (image-toggle-display-text)
4860         (image-toggle-display-image): Stay away from evil `intangible'.
4862 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4864         * replace.el (occur-revert-arguments): Make it permanent-local.
4865         (occur-mode): Don't call font-lock-defontify.
4867 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4869         * net/ldap.el (ldap-search-internal): Don't push empty search
4870         result (Bug#9508).
4872 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4874         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4876 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4878         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4879         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4881 2011-09-18  Juri Linkov  <juri@jurta.org>
4883         * buff-menu.el (Buffer-menu-mode-map):
4884         * dired.el (dired-mode-map):
4885         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4886         (lisp-interaction-mode-map):
4887         * emacs-lisp/package.el (package-menu-mode-map):
4888         * epa.el (epa-key-list-mode-map):
4889         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4890         (menu-bar-options-menu):
4891         * outline.el (outline-mode-menu-bar-map):
4892         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4893         * vc/vc-dir.el (vc-dir-menu-map):
4894         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4895         Capitalize non-function content words in menu item strings.
4897         * dired.el (dired-mode-map): Add menu item for
4898         `image-dired-dired-toggle-marked-thumbs'.
4900 2011-09-18  Juri Linkov  <juri@jurta.org>
4902         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4903         to `isearch-case-fold-search' and restore its original value
4904         after the `isearch-mode' call.
4906 2011-09-18  Juri Linkov  <juri@jurta.org>
4908         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4909         because `zgrep' returns 1 for successful matches (bug#9226).
4911 2011-09-18  Juri Linkov  <juri@jurta.org>
4913         * info.el (Info-extract-menu-node-name): Check the second match
4914         for empty string (second test-case of bug#9528).
4915         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4916         intermediate nodes to the history (first test-case of bug#9528).
4918 2011-09-18  Juri Linkov  <juri@jurta.org>
4920         * info.el (Info-mode-syntax-table): New variable.
4921         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4923 2011-09-18  Juri Linkov  <juri@jurta.org>
4925         * info.el (Info-file-supports-index-cookies):
4926         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4927         outputs one more line for long file names (bug#4142).
4929 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4931         * newcomment.el (comment-normalize-vars): If prompting for
4932         comment-start, set comment-start-skip too (Bug#8424).
4934 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
4936         * icomplete.el: Fix previous fix of Bug#5849.
4937         (icomplete-mode): Don't set completion-show-inline-help.
4938         (icomplete-minibuffer-setup): Set completion-show-inline-help
4939         locally during icompletion.
4941 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4943         * woman.el (woman2-process-escapes): Don't delete unrecognized
4944         escapes (Bug#7843).
4946         * files.el (inhibit-first-line-modes-regexps): Add image files.
4947         (hack-local-variables-prop-line): Return nil for malformed
4948         prop-lines (Bug#9044).
4950 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4952         * net/tramp.el (top): Don't require 'shell.
4953         (tramp-methods): Fix docstring.
4954         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4955         Return complete remote file name.  Handle "smb" case.
4956         Use `tramp-tmpdir', if defined for the respective method.
4957         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4959         * net/tramp-compat.el (top): Require 'shell.
4961         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4962         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4963         `tramp-current-host'.
4964         (tramp-get-remote-tmpdir): Remove.
4966         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4967         `tramp-tmpdir' entries.
4968         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4969         (tramp-smb-handle-file-attributes): Ignore errors.
4970         (tramp-smb-wait-for-output): Check also for process end.
4972 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4974         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4975         when sending QUIT (bug#9312).
4977 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4979         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4980         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4981         occur-mode-display-occurrence.
4982         (occur-edit-mode): Add usage message.
4983         (occur-cease-edit): New command.
4984         (occur-after-change-function): Use text properties to find the
4985         position of the prefix text.
4986         (occur-engine): Set stickiness of prefix text properties.
4988 2011-09-17  Glenn Morris  <rgm@gnu.org>
4990         * progmodes/etags.el (complete-tag):
4991         Fix call to completion-in-region.  (Bug#9526)
4993 2011-09-17  Juri Linkov  <juri@jurta.org>
4995         * textmodes/ispell.el (ispell-word): Add to the error message
4996         the word, ispell program name and current dictionary (bug#9121).
4997         (ispell-tex-arg-end): Capitalize "error" in the error message.
4999 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5001         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5002         check.  (Bug#4251)
5004 2011-09-17  Juri Linkov  <juri@jurta.org>
5006         * window.el (window-safe-min-height, window-safe-min-width):
5007         Fix typos (followup to bug#9522).
5009 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5011         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5013 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5015         * simple.el (line-move): If goal-column is set, move by logical
5016         lines, not by display lines.  (Bug#971)
5017         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5018         to reflect the above change.
5020 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5022         * image.el (imagemagick-register-types): Use regexp-opt.
5024 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5026         * window.el (display-buffer-base-action): Rename from
5027         display-buffer-default-action.  Make default value empty.
5028         (display-buffer-overriding-action): Convert to defvar.
5029         (display-buffer-fallback-action): New var.
5031 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5033         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5034         declaration.
5035         (package--add-to-archive-contents): If there is a duplicate entry
5036         with an older version, remove it.
5037         (package-menu-mark-delete, package-menu-mark-install)
5038         (package-menu-mark-unmark): Make unused args optional.
5039         (package-menu-mark-obsolete-for-deletion):
5040         Use package-menu-get-status instead of a regexp search.
5041         (package-menu-get-status): Use tabulated-list-entry.
5042         (package-menu-mark-upgrades): New command.
5043         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5044         (package-menu-execute): Do installation before deletion.
5045         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5046         instead of checking major-mode.
5047         (package-menu--find-upgrades): New function.
5049 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5051         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5052         passwords in the log buffer.
5053         (smtpmail-process-filter): Update the process marker so that the
5054         "broken by peer" status message is inserted in the right place.
5056 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5058         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5059         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5060         bibtex-completion-at-point-function.
5061         (bibtex-completion-at-point-function): Use them.
5063         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5065         * mpc.el (mpc-constraints-tag-lookup): New function.
5066         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5067         also to browser "album|playlist".
5069 2011-09-14  Juri Linkov  <juri@jurta.org>
5071         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
5072         (isearch-edit-string): Use length of `isearch-string' when
5073         `isearch-fail-pos' returns nil.
5074         (isearch-message): Remove duplicate code and call
5075         `isearch-fail-pos' with arg `t'.
5077 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5079         * replace.el (occur-mode-goto-occurrence): Don't force using other
5080         window (Bug#9499).
5082         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5084 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5086         * window.el (display-buffer-window): Remove.
5087         (display-buffer-record-window): Use help-setup window parameter
5088         instead of variable display-buffer-window.
5089         (display-buffer-function, special-display-buffer-names)
5090         (special-display-function): Mention help-setup parameter instead
5091         of display-buffer-window in doc-string.
5092         * help.el (help-window-setup): New argument help-window.
5093         Use help-window-setup parameter instead of display-buffer-window.
5094         Reword some messages.
5095         (with-help-window): Pass window used for displaying the buffer
5096         to help-window-setup.  Don't set display-buffer-window.
5098 2011-09-13  Glenn Morris  <rgm@gnu.org>
5100         * emacs-lisp/debug.el (debugger-make-xrefs):
5101         Preserve point.  (Bug#9462)
5103 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5105         * window.el (window-deletable-p): Use next-frame.
5107 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5109         * window.el (window-auto-delete): Remove.
5110         (window-deletable-p): Remove argument FORCE.  Don't deal with
5111         dedication and previous buffers.
5112         (switch-to-prev-buffer): Don't delete window.
5113         (delete-windows-on): Delete a window's frame if and only if the
5114         window is dedicated.
5115         (replace-buffer-in-windows): Delete buffer's window or frame if
5116         and only if window is dedicated.
5117         (quit-window): Handle quit-restore as before last change.
5118         (bury-buffer): Delete window only if window-deletable-p returns t.
5120 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5122         * window.el (window-deletable-p): Never delete the last frame on a
5123         given terminal.
5125 2011-09-13  Glenn Morris  <rgm@gnu.org>
5127         * help.el (describe-key-briefly): Copy previous standard-output change.
5129 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5131         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5133 2011-09-13  Glenn Morris  <rgm@gnu.org>
5135         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5136         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5138 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5140         * dired-aux.el (dired-mark-read-string): Don't return default
5141         value on empty input (Bug#9361).
5142         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5143         Omit initial minibuffer contents.
5144         (dired-do-chmod): Signal an error on empty input.
5145         (dired-mark-read-string): Don't return default on empty input.
5147         * files.el (file-modes-symbolic-to-number): Doc fix.
5149 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * international/mule-cmds.el (ucs-completions): Remove.
5152         (read-char-by-name): Use complete-with-action instead; add metadata.
5154 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5156         * window.el (display-buffer--action-function-custom-type)
5157         (display-buffer--action-custom-type): New vars.
5158         (display-buffer-alist, display-buffer-default-action)
5159         (display-buffer-overriding-action): Add defcustom types.
5161         * frame.el (delete-other-frames): Doc fix (Bug#276).
5163 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5165         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5167 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5169         Change modes that used same-window-* vars to use switch-to-buffer.
5171         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5172         Use switch-to-buffer.
5174         * cus-edit.el (customize-group, custom-buffer-create)
5175         (customize-browse, custom-buffer-create-other-window):
5176         Use switch-to-buffer or switch-to-buffer-other-window.
5178         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5179         (Info-prev, Info-up, Info-speedbar-goto-node)
5180         (info-display-manual): Use switch-to-buffer.
5181         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5183         * mail/sendmail.el (mail): Use switch-to-buffer.
5184         (mail-recover): Use switch-to-buffer-other-window.
5186         * cmuscheme.el (run-scheme, switch-to-scheme):
5187         * ielm.el (ielm):
5188         * shell.el (shell):
5189         * net/rlogin.el (rlogin):
5190         * net/telnet.el (telnet, rsh):
5191         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5193 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5195         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5197 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5199         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5200         so don't mention it (bug#9301).
5201         (dired-sort-toggle-or-edit): Clarify string further.
5203         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5204         match `x', `w32' and `ns', like the manual says (bug#9029).
5206         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5207         (process-kill-buffer-query-function): Mention the buffer name in
5208         the query.
5210         * image-mode.el (image-next-line): The line parameter is mandatory
5211         (bug#9258).
5213         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5214         which can be useful (bug#9301).
5216         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5218         * subr.el (match-string): Mention that the current buffer should
5219         be the same as the search was done in (bug#9282).
5221         * facemenu.el: Disable the remove-* commands if the mark isn't
5222         active (bug#9162).
5224 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5226         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5227         of display-buffer.
5228         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5230         * replace.el (occur-mode-goto-occurrence)
5231         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5232         and display-buffer.
5234         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5235         display-buffer.
5237         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5238         special-display and same-window variables.
5239         (mail-other-window): Use switch-to-buffer-other-window.
5240         (mail-other-frame): USe switch-to-buffer-other-frame.
5242         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5243         Use display-buffer-other-frame.
5244         (gdb-display-gdb-buffer): Use pop-to-buffer.
5246         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5248         * progmodes/python.el: Don't set same-window-buffer-names.
5250         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5252         * window.el (display-buffer-alist): Add *Python*.
5254 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5256         * window.el (display-buffer-alist): Add entry for buffers
5257         previously handled same-window-*.
5258         (display-buffer-alist, display-buffer-default-action)
5259         (display-buffer-overriding-action): Mark as risky.
5260         (display-buffer-alist): Document action function changes.
5261         (display-buffer--same-window-action)
5262         (display-buffer--other-frame-action): New variables.
5263         (switch-to-buffer, display-buffer-other-frame): Use them.
5264         (display-buffer): Rename reuse-frame entry to reusable-frames.
5265         (display-buffer-reuse-selected-window): Function deleted.
5266         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5267         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5268         (display-buffer-special): New function.
5269         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5270         display-buffer-reuse-or-pop-window.  Split off special-display
5271         part into display-buffer-special.
5272         (display-buffer-use-some-window): Don't perform any special
5273         pop-up-frames handling.
5274         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5275         (display-buffer--maybe-same-window): Rename from
5276         display-buffer-maybe-same-window.
5278         * info.el: Don't set same-window-regexps.
5279         (info-setup): New function.
5280         (info-other-window, info): Call it.
5282         * cus-edit.el: Don't set same-window-regexps.
5283         (customize-group): New argument.
5284         (customize-group-other-window): Use it.
5285         (customize-face, customize-face-other-window): Likewise.
5286         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5288         * net/rlogin.el:
5289         * net/telnet.el:
5290         * progmodes/gud.el: Don't set same-window-regexps.
5292         * cmuscheme.el:
5293         * ielm.el:
5294         * shell.el:
5295         * mail/sendmail.el:
5296         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5298 2011-09-10  Juri Linkov  <juri@jurta.org>
5300         * isearch.el (isearch-edit-string): Remove obsolete mention of
5301         `C-w' (`isearch-yank-word-or-char') from docstring.
5302         (isearch-query-replace): Fix typo in docstring (bug#9466).
5304 2011-09-10  Juri Linkov  <juri@jurta.org>
5306         * paren.el (show-paren-function): Don't show escaped parens.
5307         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
5309 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
5311         * mail/sendmail.el (mml-to-mime, mml-attach-file)
5312         (mm-default-file-encoding): Remove autoload forms, they are
5313         replaced with autoload cookies in mml.el and mm-encode.el.
5314         (mail-add-attachment): New command.
5315         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5316         (mail-mode): Mention mail-insert-file and mail-add-attachment in
5317         the doc string.
5318         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5320 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
5322         * simple.el (count-words-region): Use buffer if there's no region
5323         (bug#9429).
5325 2011-09-09  Juri Linkov  <juri@jurta.org>
5327         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5328         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5329         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
5331 2011-09-09  Alan Mackenzie  <acm@muc.de>
5333         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5334         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
5336 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
5338         Fix for Savannah bug#9392.
5339         * simple.el (mail-encode-mml): New defvar.
5341         * mail/rmail.el (mail-encode-mml): Add a defvar.
5342         (rmail-enable-mime-composing): Default to t.
5343         (rmail-forward): Use MIME method of forwarding only if both
5344         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5345         Set mail-encode-mml non-nil if the MIME method was used.
5347         * mail/sendmail.el (mml-to-mime): Add autoload form.
5348         (mail-encode-mml): Add a defvar.
5349         (mail-mode): Make mail-encode-mml buffer-local and initialize it
5350         to nil.
5351         (mail-send): If mail-encode-mml is non-nil, run the outgoing
5352         message through mml-to-mime, and reset mail-encode-mml to nil.
5354 2011-09-09  Glenn Morris  <rgm@gnu.org>
5356         * woman.el (woman-if-body): When processing an .el block,
5357         do not delete the next .el block as well.  (Bug#9447)
5358         (woman-special-characters): Add oq, cq, and hy characters.
5360 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5362         * window.el (window-deletable-p): Make sure window is live before
5363         invoking window-prev-buffers.
5365 2011-09-08  Leo Liu  <sdl.web@gmail.com>
5367         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
5369 2011-09-08  Juri Linkov  <juri@jurta.org>
5371         * progmodes/compile.el (compilation-environment): Make it
5372         a defcustom (bug#8340).
5374 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5376         * window.el (frame-auto-delete): Rename to window-auto-delete.
5377         Make it control auto-deletion of windows and/or frames.
5378         (window-deletable-p): New argument FORCE.  Rewrite conditions
5379         for deleting window/frame.  (Bug#9419)
5380         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5381         Rewrite handling of case when window/frame can be deleted.
5382         (delete-windows-on): Call window-deletable-p with new FORCE
5383         argument t.  (Bug#9456)
5385 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
5387         * help-mode.el (help-mode): Restore autoload.
5389 2011-09-07  Juri Linkov  <juri@jurta.org>
5391         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5392         `compilation-environment'.  Set buffer-local
5393         `compilation-environment' to `thisenv' later after (funcall mode).
5394         (Bug#8340)
5396         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
5397         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5398         instead of replacing its value.  (Bug#8340)
5400 2011-09-07  Juri Linkov  <juri@jurta.org>
5402         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5403         based on text properties put by `grep-filter' instead of matching
5404         escape sequences.
5405         (grep-mode): Set buffer-local `compilation-error-screen-columns'
5406         to the value of `grep-error-screen-columns' (bug#9438).
5408 2011-09-07  Juri Linkov  <juri@jurta.org>
5410         * simple.el (next-error-highlight, next-error-highlight-no-select):
5411         Doc fix (bug#9432).
5413 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5415         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5416         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
5418 2011-09-07  Leo Liu  <sdl.web@gmail.com>
5420         * net/rcirc.el (rcirc-mode): Conditionally initialize
5421         rcirc-input-ring.
5423 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * emacs-lisp/find-func.el (find-function-C-source): Only set
5426         find-function-C-source-directory after checking that we found a source
5427         file there (bug#9440).
5429 2011-09-06  Alan Mackenzie  <acm@muc.de>
5431         * isearch.el (isearch-other-meta-char): Wherever a key list is
5432         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5434 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5436         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5438 2011-09-05  Juri Linkov  <juri@jurta.org>
5440         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5442 2011-09-05  Juri Linkov  <juri@jurta.org>
5444         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5445         keeping point where processing of grep matches begins, and
5446         continue to delete remaining escape sequences from the same point.
5447         (grep-filter): Make leading zero optional in "0?1;31m" because
5448         git-grep emits "\033[1;31m" escape sequences unlike expected
5449         "\033[01;31m" as GNU Grep does (bug#9408).
5450         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5452 2011-09-05  Juri Linkov  <juri@jurta.org>
5454         * subr.el (y-or-n-p): Capitalize "yes".
5456 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5458         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5459         `tramp-cache-unload-hook' where appropriate.
5460         (tramp-methods): Rename `tramp-remote-sh' to
5461         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5462         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5464         * net/tramp-sh.el (top): Don't require 'shell.
5465         (tramp-methods): Add `tramp-remote-shell' and
5466         `tramp-remote-shell-args' entries.
5467         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5468         (tramp-sh-handle-shell-command): Remove.
5469         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5470         Use `tramp-remote-shell'.
5472 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5474         * mail/sendmail.el (sendmail-query-once-function): Delete.
5475         (sendmail-query-once): Save directly to send-mail-function.
5476         Update message-send-mail-function too.
5478         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5480 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5482         * progmodes/python.el (python-mode-map): Use correct function to
5483         start python interpreter from menu-bar (as reported by Geert
5484         Kloosterman).
5485         (inferior-python-mode-map): Fix typo.
5486         (python-shell-map): Remove.
5488 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5490         * net/rcirc.el (rcirc-print): Simplify code for
5491         rcirc-scroll-show-maximum-output.  There is no need to walk
5492         through all windows to find the right one.
5494 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5496         * help.el (help-return-method): Doc fix.
5498 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5500         * window.el (window-deletable-p): Don't return a non-nil value
5501         when there's a buffer that was shown in the window before.
5502         (Bug#9419)
5503         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5504         Set window's previous buffers to nil.
5506 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5508         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5509         newline before and after the tag line, so it doesn't interfere
5510         with determining the paragraph direction of bidirectional text.
5512 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5514         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5516 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5518         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5519         (pop-to-buffer): Change interactive spec.  Pass second argument
5520         directly to display-buffer.
5521         (display-buffer): Fix interactive spec.  Use functionp to
5522         distinguish between a function and a list of functions.
5524         * abbrev.el (edit-abbrevs):
5525         * arc-mode.el (archive-extract):
5526         * autoinsert.el (auto-insert):
5527         * bookmark.el (bookmark-bmenu-list):
5528         * files.el (find-file):
5529         * view.el (view-buffer):
5530         * progmodes/compile.el (compilation-goto-locus):
5531         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5533 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5535         * window.el (display-buffer-alist): Doc fix.
5536         (display-buffer): Add docstring.  Don't treat
5537         display-buffer-default specially.
5538         (display-buffer-reuse-selected-window)
5539         (display-buffer-same-window, display-buffer-maybe-same-window)
5540         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5541         (display-buffer-pop-up-window)
5542         (display-buffer-reuse-or-pop-window)
5543         (display-buffer-use-some-window): New functions.
5544         (display-buffer-default-action): Use them.
5545         (display-buffer-default): Delete.
5546         (pop-to-buffer-1): Fix choice of actions.
5548 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5550         * minibuffer.el (completion--insert-strings): Don't get confused by
5551         completion entries that end with an LF char.
5553 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5555         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5557 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5559         * window.el (display-buffer): Restore interactive spec.
5560         (display-buffer-same-window, display-buffer-other-window):
5561         New functions.
5562         (pop-to-buffer-1): New function.  Use the above.
5563         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5564         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5566         * view.el (view-buffer-other-window, view-buffer-other-frame):
5567         Just use pop-to-buffer.
5569 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5571         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5573 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5575         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5577 2011-08-31  Richard Stallman  <rms@gnu.org>
5579         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5580         of the separation of rmail-view-buffer from rmail-buffer.
5581         If you say no to "replace original", the decrypt is in the
5582         view buffer.  If you say yes, the decrypt goes into the
5583         rmail buffer also.
5585 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5587         * window.el (display-buffer-window): Rewrite doc-string.
5588         (display-buffer-record-window): New function.
5589         (display-buffer-macro-specifiers)
5590         (display-buffer-even-window-sizes, display-buffer-set-height)
5591         (display-buffer-set-width, display-buffer-in-window)
5592         (display-buffer-reuse-window, display-buffer-split-specifiers)
5593         (display-buffer-side-specifiers, display-buffer-split-window-1)
5594         (display-buffer-split-window, display-buffer-split-atom-window)
5595         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5596         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5597         (display-buffer-other-window-means-other-frame)
5598         (display-buffer-normalize-special)
5599         (display-buffer-normalize-default)
5600         (display-buffer-normalize-argument)
5601         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5602         (display-buffer-normalize-specifiers, display-buffer-frame)
5603         (display-buffer-same-window, display-buffer-same-frame)
5604         (display-buffer-other-window)
5605         (display-buffer-same-frame-other-window)
5606         (display-buffer-other-frame, pop-to-buffer-same-window)
5607         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5608         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5609         (switch-to-buffer-same-frame)
5610         (switch-to-buffer-other-window-same-frame)
5611         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5612         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5613         (display-buffer-alist-set): Remove.
5614         (display-buffer-function, special-display-buffer-names)
5615         (special-display-regexps, special-display-function):
5616         In doc-string refer to display-buffer-window and quit-restore
5617         parameter.
5618         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5619         (special-display-frame-alist, special-display-popup-frame)
5620         (same-window-buffer-names, same-window-regexps, same-window-p)
5621         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5622         (split-window-preferred-function, split-height-threshold)
5623         (split-width-threshold, window-splittable-p)
5624         (split-window-sensibly, window--try-to-split-window)
5625         (window--frame-usable-p, even-window-heights)
5626         (window--even-window-heights, window--display-buffer-1)
5627         (window--display-buffer-2, display-buffer-other-frame):
5628         Restore old Emacs 23 code, order and doc-strings where applicable.
5629         (display-buffer-default, display-buffer-assq-regexp): New functions.
5630         (display-buffer-alist): Rewrite doc-string.
5631         (display-buffer-default-action)
5632         (display-buffer-overriding-action): New variables.
5633         (display-buffer, switch-to-buffer): Rewrite.
5634         (pop-to-buffer): Restore Emacs 23 behavior but use
5635         window-normalize-buffer-to-display.
5636         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5637         Restore Emacs 23 behavior but use
5638         window-normalize-buffer-to-switch-to.
5639         (pop-to-buffer-same-window): Rewrite.
5640         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5641         Rewrite using Emacs 23 options.
5643 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5645         * net/tramp.el (tramp-root-regexp): Remove.
5646         (tramp-completion-file-name-regexp-unified)
5647         (tramp-completion-file-name-regexp-separate)
5648         (tramp-completion-file-name-regexp-url): Don't use leading volume
5649         letter on win32 systems.  (Bug#5303, Bug#9311)
5650         (tramp-drop-volume-letter): Simplify definition.
5651         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5653 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5655         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5656         (bug#9356).
5658 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5660         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5662 2011-08-29  Juri Linkov  <juri@jurta.org>
5664         * isearch.el (isearch-done): Don't display message "Mark saved"
5665         when arg `edit' is non-nil to prevent its flicker in the echo area.
5667 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5669         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5670         obsolete packages for deletion.
5672 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5674         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5675         (help-mode): Derive help-mode from special-mode.  Don't invoke
5676         view-mode from help-mode.
5677         (help-xref-override-view-map): Remove.
5678         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5679         view-mode is not used anymore.
5681 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5683         * server.el (server-port): Doc fix.
5685         * cus-theme.el (custom-theme-choose-mode): Inherit from
5686         special-mode (Bug#9124).
5687         (custom-theme-choose-mode-map): Add special-mode to parent.
5689 2011-08-28  Alan Mackenzie  <acm@muc.de>
5691         * progmodes/cc-fonts.el
5692         (c-make-font-lock-BO-decl-search-function): New function.
5693         (c-basic-matchers-after - "Fontify the clauses after various
5694         keywords"): Extract the three keyword lists for the 3 erroneous
5695         constructs from the list of four, and use the new function above
5696         in place of an old one.
5698 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5700         * net/rcirc.el (rcirc-insert-prev-input)
5701         (rcirc-insert-next-input): Remove unused argument.
5703 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5705         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5707 2011-08-27  Alan Mackenzie  <acm@muc.de>
5709         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5710         handle function pointer parameters properly.
5712 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5714         * window.el (display-buffer-reuse-window): Fix case where
5715         selected window was reused with non-nil OTHER-WINDOW argument.
5716         (Bug#9381)
5718 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5720         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5721         oftc's NickServ messages.
5723 2011-08-27  Glenn Morris  <rgm@gnu.org>
5725         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5727 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5729         * emacs-lisp/package.el (package-install): Call package-initialize
5730         if called interactively.
5732 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5734         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5736 2011-08-25  Juri Linkov  <juri@jurta.org>
5738         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5739         `search-whitespace-regexp' (bug#9364).
5741 2011-08-25  Juri Linkov  <juri@jurta.org>
5743         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5744         `regexp-search-ring' to their global values to protect from
5745         updating by `read-from-minibuffer' (bug#9185).
5747 2011-08-25  Juri Linkov  <juri@jurta.org>
5749         * textmodes/ispell.el (ispell-command-loop): Add newline
5750         at the end of the "Use option `i'..." line.
5752 2011-08-25  Juri Linkov  <juri@jurta.org>
5754         * battery.el (display-battery-mode): If `battery-status-function'
5755         or `battery-mode-line-format' is nil, display the message and set
5756         `display-battery-mode' to nil (bug#9363).
5758 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5760         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5761         bidi-string-mark-left-to-right; they are unnecessary now.
5763 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5765         * net/quickurl.el: Documentation typo fixes.
5767 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5769         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5771 2011-08-25  Glenn Morris  <rgm@gnu.org>
5773         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5775         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5776         (smtpmail-via-smtp): Handle nil response from smtp.
5778 2011-08-24  Juri Linkov  <juri@jurta.org>
5780         * proced.el (proced-marked): Inherit from `error' instead of
5781         `font-lock-warning-face'.
5783         * ibuffer.el (ibuffer-marked-face): Change default face from
5784         `font-lock-warning-face' to `warning'.
5785         (ibuffer-deletion-face): Change default face from
5786         `font-lock-type-face' to `error'.
5788         * battery.el (battery-update): Use the face `error' instead of
5789         `font-lock-warning-face' (bug#6117).
5791 2011-08-24  Juri Linkov  <juri@jurta.org>
5793         * faces.el (success): Change face color from "Green3" to
5794         "ForestGreen" on light background (bug#9353).
5796 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5798         * window.el (quit-window): Rename from quit-restore-window.
5799         Use same arglist as old quit-window.
5800         (frame-auto-delete): Doc fix.
5802         * view.el (view-mode-exit): Use quit-window.
5804 2011-08-24  Juri Linkov  <juri@jurta.org>
5806         * isearch.el (isearch-ring-adjust1): Start visiting previous
5807         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5808         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5809         for empty search string (when the last search string is reused
5810         automatically) to adjust the isearch ring to the last element and
5811         prepare the correct index for further M-p commands (bug#9185).
5813 2011-08-24  Kenichi Handa  <handa@m17n.org>
5815         * international/ucs-normalize.el: If decomposition property of
5816         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5817         nil.
5818         (nfd, nfkd): Likewise.
5820 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5822         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5823         from process filters aren't reliably transmitted to the surrounding
5824         accept-process-output.
5825         (mpc-proc-check): New function.
5826         (mpc-proc-sync): Use it (bug#8293)
5828 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5830         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5831         Add compatibility functions (bug#9313).
5833 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5835         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5837         * international/uni-bidi.el: Regenerate.
5839 2011-08-23  Kenichi Handa  <handa@m17n.org>
5841         * international/charprop.el:
5842         * international/uni-bidi.el:
5843         * international/uni-category.el:
5844         * international/uni-combining.el:
5845         * international/uni-comment.el:
5846         * international/uni-decimal.el:
5847         * international/uni-decomposition.el:
5848         * international/uni-digit.el:
5849         * international/uni-lowercase.el:
5850         * international/uni-mirrored.el:
5851         * international/uni-name.el:
5852         * international/uni-numeric.el:
5853         * international/uni-old-name.el:
5854         * international/uni-titlecase.el:
5855         * international/uni-uppercase.el: Regenerate.
5857 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5859         * help.el (help-window-setup): Fix message displayed when other
5860         window is reused.  (Bug#9341)
5862 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5864         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5865         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5867         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5868         Mark obsolete.
5869         * shell.el (shell-parse-pcomplete-arguments): New function.
5870         (shell-completion-vars): Use it instead (bug#9160).
5872 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5874         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5875         strings and comments (bug#9333).
5877         * emacs-lisp/debug.el (debug-arglist): New function.
5878         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5879         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5881 2011-08-22  Juri Linkov  <juri@jurta.org>
5883         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5884         Revert regexp that highlights output switches to its old
5885         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5887         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5888         to check for empty output (bug#9226).
5890 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5892         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5893         symbol-constituent as the default, as that stops font-lock from
5894         working properly (Bug#8843).
5896 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5898         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5899         `coding-system-for-*' around the process open call to avoid
5900         auth-source side effects.
5901         (smtpmail-try-auth-methods): Expand the secret password.
5902         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5903         probe hangs.
5905 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5907         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5909         * emacs-lisp/find-func.el (find-function-noselect): New arg
5910         lisp-only.
5912         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5913         signal an error for built-in functions (Bug#6664).
5915 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5917         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5918         (smtpmail-try-auth-methods): Use it.
5920 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5922         * font-lock.el (font-lock-fontify-region)
5923         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5924         (font-lock-default-unfontify-buffer)
5925         (font-lock-default-fontify-region)
5926         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5928         * progmodes/compile.el (compilation-error-properties):
5929         Fix confusion between file struct and message struct (Bug#9319).
5930         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5931         `ant' regexp.
5933         * net/browse-url.el (browse-url-firefox): Don't call
5934         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5936 2011-08-20  Glenn Morris  <rgm@gnu.org>
5938         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5940         * tutorial.el (tutorial--default-keys): Update some default bindings.
5942         * files.el (hack-local-variables): Fully ignore case for "mode:".
5944 2011-08-20  Alan Mackenzie  <acm@muc.de>
5946         Resolve invalid use of a regexp in regexp-opt.
5948         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5949         detection for a java annotation.
5951         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5952         detection for a java annotation.
5954         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5955         handling for java.
5956         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5958 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5960         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5961         (Bug#9274).
5963 2011-08-20  Alan Mackenzie  <acm@muc.de>
5965         Fontify CPP expressions correctly when starting in the middle of
5966         such a construct.  Mainly for when jit-lock etc. starts a chunk
5967         here.
5969         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5970         variable.
5971         (c-make-font-lock-search-form): New function, extracted from
5972         c-make-font-lock-search-function.
5973         (c-make-font-lock-search-function): Use the above function.
5974         (c-make-font-lock-context-search-function): New function.
5975         (c-cpp-matchers): Enhance the preprocessor expression case with
5976         the above function
5977         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5978         which takes an expression.
5980         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5982 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5984         * window.el (display-buffer-reuse-window)
5985         (display-buffer-pop-up-window): Don't reuse or split a side
5986         window.
5988 2011-08-19  Glenn Morris  <rgm@gnu.org>
5990         * files.el (hack-local-variables-prop-line, hack-local-variables):
5991         Downcase "Mode:".  (Bug#9331)
5993 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5995         * international/characters.el: Add L and R categories.
5997         * subr.el (bidi-string-mark-left-to-right): Rename from
5998         string-mark-left-to-right.  Use category search.
6000         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6002 2011-08-18  Juri Linkov  <juri@jurta.org>
6004         * faces.el (error, warning, success): New faces with definitions
6005         copied from old default values of `font-lock-warning-face',
6006         `compilation-warning', `compilation-info' (bug#6117).
6008         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6010         * progmodes/compile.el (compilation-error): Inherit from `error'.
6011         (compilation-warning): Inherit from `warning'.
6012         (compilation-info): Inherit from `success'.
6014         * dired.el (dired-marked): Inherit from `warning'.
6015         (dired-flagged): Inherit from `error'.
6017 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6019         * mail/smtpmail.el (auth-source): Require to avoid problems with
6020         binding variables (bug#9298).  Also clean up some unused
6021         autoloads.
6023         * net/network-stream.el (network-stream-open-starttls):
6024         Support using starttls.el without using gnutls-cli.
6026 2011-08-17  Juri Linkov  <juri@jurta.org>
6028         * progmodes/grep.el (rgrep): Handle the case when
6029         `grep-find-command' is a cons cell (bug#9278).
6031 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6033         * window.el (display-buffer-pop-up-frame): Run frame creation
6034         function with BUFFER current (as special-display-popup-frame
6035         does).  Reported by Drew Adams.
6037 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6039         * epa-mail.el: Simplify GnuPG group expansion using
6040         epg-expand-group.
6041         (epa-mail-group-alist, epa-mail-group-modtime)
6042         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6043         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6044         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6045         Remove.
6047 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6049         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6051 2011-08-16  Alan Mackenzie  <acm@muc.de>
6053         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6054         Correct, to avoid the inside of macros.
6056 2011-08-16  Richard Stallman  <rms@gnu.org>
6058         * epa-mail.el: Handle GnuPG group definitions.
6059         (epa-mail-group-alist, epa-mail-group-modtime)
6060         (epa-mail-gnupg-conf-file): New variables.
6061         (epa-mail-parse-groups, epa-mail-sync-groups)
6062         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6063         (epa-mail-expand-recipients): New functions.
6064         (epa-mail-encrypt): Call epa-mail-expand-recipients.
6066         * mail/rmail.el (rmail-epa-decrypt): New command.
6068         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6069         Don't bind buffer-read-only, just inhibit-read-only.
6070         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6071         (epa-decrypt-armor-in-region): Make error message clearer.
6073 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6075         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6076         and "a2b" to "ab" for `prefix'.
6078 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6080         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6081         filter groups.
6082         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6083         Fourquet (Bug#8804).
6085 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6087         * startup.el (argi): Declare as global variable (bug#9275).
6089 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6091         * subr.el (string-mark-left-to-right): Search the entire string
6092         for RTL script, not just the terminating character.  Doc fix.
6094 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6096         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6097         New function.
6098         (js--regexp-literal, js-syntax-propertize-function): Remove.
6099         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6100         (js-mode-map): Don't rebind electric keys.
6101         (js-insert-and-indent): Remove.
6102         (js-mode): Setup electric-layout and electric-indent instead.
6104         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6106 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6108         * epa.el (epa-progress-callback-function): Fix the logic of
6109         displaying progress.
6110         * epa-file.el (epa-file-insert-file-contents): Make progress
6111         display more user-friendly.
6112         (epa-file-write-region): Ditto.
6114 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6116         * subr.el (string-mark-left-to-right): New function.
6118         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6119         Use string-mark-left-to-right.
6120         (list-buffers-noselect): Caller changed.
6122         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6123         Use string-mark-left-to-right.
6124         (tabulated-list-print): Recenter after moving point.
6126 2011-08-10  Juri Linkov  <juri@jurta.org>
6128         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6129         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6130         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6132 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6134         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6135         (Bug#7554).
6137 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6139         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6140         character.  (Bug#6594)
6142 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6144         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6145         (image-dired--with-db-file): New macro.
6146         (image-dired-write-tags, image-dired-remove-tag)
6147         (image-dired-create-gallery-lists, image-dired-write-comments)
6148         (image-dired-get-comment, image-dired-mark-tagged-files)
6149         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6150         (image-dired-gallery-generate): Use insert-file-contents.
6152         * time.el (display-time-world-list, display-time-world-display):
6153         * time-stamp.el (time-stamp-string):
6154         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6155         set-time-zone-rule (Bug#7337).
6157 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6159         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6160         (epg-error-to-string, epg-errors-to-string): New function.
6161         (epg-wait-for-completion): Reverse errors list.
6162         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6163         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6164         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6165         (epg-sign-keys, epg-generate-key-from-file)
6166         (epg-generate-key-from-string): Format errors by using
6167         epg-errors-to-string (bug#9255).
6168         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6170 2011-08-07  Juri Linkov  <juri@jurta.org>
6172         * faces.el (list-faces-display): Remove extra angle bracket
6173         from `help-mode-map'.
6175         * info.el (Info-history-toc-nodes): Doc fix.
6177         * longlines.el (longlines-mode): Doc fix.
6179 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6182         of statements and in a few more cases (bug#9183).
6184         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6185         New functions.
6186         (cl-transform-lambda): Use them (bug#9239).
6188 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6190         * window.el (display-buffer-same-window)
6191         (display-buffer-same-frame, display-buffer-other-window)
6192         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6193         (pop-to-buffer-other-window)
6194         (pop-to-buffer-same-frame-other-window)
6195         (pop-to-buffer-other-frame): Make them defuns.
6196         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6198 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6200         * subr.el (make-composed-keymap): Move from C.  Change calling
6201         convention, and improve docstring to bring attention to a subtle point.
6202         * minibuffer.el (completing-read-default): Adjust accordingly.
6204 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6206         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6207         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6209         * net/trampver.el: Update release number.
6211 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6213         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6214         "in" (bug#9190).
6216 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6218         * mail/sendmail.el (sendmail-query-once): Restore the current
6219         buffer after querying (bug#9074).
6221         * dired.el (dired-flagged): Use different faces for marked and
6222         flagged files (bug#6117).
6224         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6225         (bug#4433).
6227         * ido.el (ido-mode): Switch off the message if called
6228         non-interactively.
6230         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6231         before 587, since it appears that that's more likely to work for
6232         more people.
6234         * cus-edit.el (custom-file): When running under emacs -q, always
6235         refuse to save the customizations, even if the .emacs file doesn't
6236         exist.
6238         * info.el: Remove the `Info-beginning-of-buffer' function
6239         (bug#8325).
6241         * net/network-stream.el (network-stream-open-starttls):
6242         Use `starttls-available-p' to see whether starttls.el can be used.
6244 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6246         * window.el (display-buffer-in-window): Don't set dedicated status
6247         of window here (Bug#9215).
6248         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6249         (display-buffer-pop-up-side-window)
6250         (display-buffer-in-side-window): Set dedicated status of window here.
6252 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6254         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6255         before binding generated-autoload-file.
6257 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6259         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6261 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6263         Sync with Tramp 2.2.2.
6265         * net/trampver.el: Update release number.
6267 2011-07-30  Juri Linkov  <juri@jurta.org>
6269         * dired-aux.el (dired-touch-initial): Remove function.
6270         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6271         current time, and `default' to the last modification time of the
6272         current marked file (bug#6887).
6274 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6276         * simple.el (goto-line): Use string-to-number to provide a
6277         numeric argument to read-number (bug#9163).
6279 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6281         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6282         connection process, it could be nil.
6284 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6286         Simplify url handling in rcirc-mode.
6288         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6289         (rcirc-browse-url-at-mouse): Remove.
6290         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6292 2011-07-26  Alan Mackenzie  <acm@muc.de>
6294         Fontify bitfield declarations properly.
6296         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6297         (c-symbol-chars): Now exported as a lang variable.
6298         (c-not-primitive-type-keywords): New lang variable.
6300         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6301         QT keyword "more" to prevent "more slots: ...." being spuriously
6302         parsed as a bitfield declaration.
6304         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6305         Refactor and enhance to handle bitfield declarations.
6306         (c-punctuation-in): New function.
6307         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6308         declarations properly.
6310 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
6312         * calendar/icalendar.el (icalendar--all-events): Take care of
6313         multiple vcalendars in a single file.
6314         (icalendar--convert-float-to-ical): Checkdoc fixes.
6316 2011-07-25  Deniz Dogan  <deniz@dogan.se>
6318         * image.el (insert-image): Clarifying docstring.
6320 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
6322         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6323         `tramp-send-command-and-check' if there is no error.
6324         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6326 2011-07-22  Alan Mackenzie  <acm@muc.de>
6328         Prevent cc-langs.elc being loaded at run time.
6330         * progmodes/cc-mode.el: Remove two autoload forms which loaded
6331         cc-langs.
6333         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6334         "(require 'cc-langs)".  Quote a form so it will evaluate at
6335         (cc-mode's) compilation time.
6337 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
6339         * net/tramp.el (tramp-file-name-handler): Avoid recursive
6340         loading.  (Bug#9114)
6342 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
6344         * window.el (display-buffer-pop-up-window)
6345         (display-buffer-pop-up-side-window)
6346         (display-buffer-in-side-window): Call display-buffer-set-height
6347         and display-buffer-set-width after setting the new window's
6348         buffer so `fit-window-to-buffer' and friends work on the right buffer.
6350 2011-07-20  Sam Steingold  <sds@gnu.org>
6352         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6353         (etags-tags-included-tables): Call `convert-standard-filename' on
6354         the file names contained in TAGS so that windows Emacs can handle
6355         TAGS files created by cygwin ctags.
6357 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6359         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6360         which apparently didn't work.
6362 2011-07-19  Roland Winkler  <winkler@gnu.org>
6364         * proced.el (proced-send-signal): For *Marked Processes* buffer
6365         put point at beginning of buffer.
6367 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
6369         * proced.el (proced-format): Make header lines align with the text
6370         (bug#1779).
6372 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6374         * view.el (view-buffer): Allow running in `special' modes if we're
6375         visiting a file (bug#8615).
6377 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
6379         * window.el (display-buffer-alist-of-strings-p)
6380         (display-buffer-alist-set-1, display-buffer-alist-set-2):
6381         New functions.
6382         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6383         more accurately.
6385 2011-07-18  Alan Mackenzie  <acm@muc.de>
6387         Fontify declarators properly when, e.g., a jit-lock chunk begins
6388         inside a declaration.
6390         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6392         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6393         New function.
6394         (c-complex-decl-matchers): Insert reference to
6395         c-font-lock-enclosing-decls.
6397         * progmodes/cc-engine.el (c-backward-single-comment):
6398         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6399         to nil around calls to (forward-comment -1).
6401 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6403         * image.el (put-image): Doc typo fix.
6405         * progmodes/etags.el (tags-search): Doc typo fix.
6407         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6408         password if we get errors 550 to 554.
6410 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6412         * net/gnutls.el (gnutls-log-level): Remove.
6414         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6415         indentation character (bug#6380).
6417         * files.el (buffer-offer-save): Made permanently local (bug#6241).
6419         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6420         to clarify what the problem is (bug#4291).
6422         * simple.el (current-kill): Clarify what
6423         `interprogram-paste-function' does (bug#7500).
6424         (auto-fill-mode): Document `auto-fill-function' in relation to
6425         `auto-fill-mode' (bug#2470).
6427 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6429         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6430         method if slot is read-only (bug#9035).
6432 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6434         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6435         * window.el (pop-to-buffer): Select window used even if it was
6436         selected before, see discussion of (Bug#8615), (Bug#6954).
6437         Pass argument NORECORD on to select-frame-set-input-focus.
6439 2011-07-15  Glenn Morris  <rgm@gnu.org>
6441         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6442         Respect help-form.
6444 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6446         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6447         (gnutls-negotiate): Use it.
6449 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6451         * net/gnutls.el (gnutls-negotiate):
6452         Upcase `gnutls-algorithm-priority'.
6454 2011-07-15  Glenn Morris  <rgm@gnu.org>
6456         * jka-compr.el (jka-compr-verbose): Move from here...
6457         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6458         Add missing :version tag.
6459         * info.el: No need to require jka-compr when compiling.
6461 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6463         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6464         (gnutls-negotiate): Use it.
6466         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6468         * info.el (Info-beginning-of-buffer): New command.
6469         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6470         announcing `b' as the key (bug#8325).
6471         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6473         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6475         * international/mule-cmds.el
6476         (describe-specified-language-support): Make the error message
6477         clearer (bug#8905).
6479         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6481         * isearch.el (isearch-barrier): Add a doc string, since it's
6482         mentioned in a function doc string (bug#8678).
6484 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6486         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6487         buffer argument (Bug#9083) and self-identifying label argument.
6489 2011-07-15  Glenn Morris  <rgm@gnu.org>
6491         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6493 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6495         * man.el (Man-fontify-manpage): Fix message when formatting the
6496         man page (bug#7929).
6498 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6500         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6501         argument LRM; if non-nil, append an invisible LRM character to the
6502         buffer name.
6503         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6504         last argument non-nil, when formatting buffer names.
6505         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6506         paragraph direction.
6508 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6510         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6511         the man page name (bug#7929).
6513         * image.el (put-image): Mention the `put-image' overlay property
6514         (bug#7834).
6516         * scroll-bar.el (set-scroll-bar-mode): Mention that
6517         `scroll-bar-mode' lists the values (bug#7772).
6519         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6520         command (bug#7729).
6522         * rect.el (apply-on-rectangle): Return the point after the last
6523         operation.
6524         (string-rectangle): Go to the point after the last operation
6525         (bug#7522).
6527         * printing.el (pr-toggle-region): Clarify the documentation
6528         slightly (bug#7493).
6530         * time.el (display-time-update):
6531         Allow `display-time-mail-function' to return nil (bug#7158).
6532         Fix suggested by Detlev Zundel.
6534         * vc/diff.el (diff): Clarify the order the file names are read
6535         (bug#7111).
6537         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6538         the doc string (bug#7015).
6540         * font-lock.el (font-lock-maximum-decoration): Mention what
6541         numeric levels mean (bug#6935).
6543         * startup.el (initial-buffer-choice): Don't mention the `none'
6544         selection, which is against policy.
6546 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6548         * window.el (display-buffer-normalize-special):
6549         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6551 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6553         * subr.el (version<, version<=, version=): Mention "-CVS" and
6554         "-12345" alpha version numbers.
6556 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6558         * bindings.el: Add advertised binding for set-mark-command
6559         (Bug#5772).
6561 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6563         * bindings.el (mode-line-other-buffer):
6564         * bookmark.el (bookmark-bmenu-2-window):
6565         * bs.el (bs-cycle-next, bs-cycle-previous):
6566         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6567         switch-to-buffer.
6569         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6570         Delete.
6572 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6574         * follow.el (follow-debug-message, follow-redisplay):
6575         * jka-cmpr-hook.el (with-auto-compression-mode):
6576         Fix typos in docstrings.
6578 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6580         * subr.el (with-silent-modifications): Clarify somewhat what the
6581         macro inhibits (bug#6525).
6583         * simple.el (eval-expression): Note what it does if called
6584         interactively (bug#6495).
6586 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6588         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6589         Use pop-to-buffer buffer-or-name if it is nil.
6591         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6592         Remove switch-to-buffer.
6594 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6596         * files.el (make-directory): Clarify that an error will be raised
6597         if there's an error (bug#6397).
6599         * startup.el (initial-buffer-choice): Add `none' as a choice
6600         (bug#6234).
6602         * subr.el (add-hook): Clarify section about buffer-local hooks
6603         (bug#6218).
6605         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6607 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6609         * tabify.el (untabify): Preserve the current column so that point
6610         doesn't move (bug#6032).
6612 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6614         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6615         Rewrite to avoid awkward possessive "s" (bug#5986).
6617 2011-07-13  Glenn Morris  <rgm@gnu.org>
6619         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6620         (dired-insert-directory): Give a message the first time
6621         if ls is found not to support --dired.
6623 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6625         * simple.el (toggle-truncate-lines): Clarify what is toggled
6626         (bug#5580).  Text by Drew Adams.
6628 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6630         * simple.el (blink-matching-open): Make the error message from the
6631         last change less verbose.
6633 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6635         * font-lock.el (font-lock-comment-face): Use the high contrast
6636         "yellow" color for font-lock-comment-face on low color terminals
6637         using a dark background color (bug#4221).
6639 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6641         * dired.el (dired-insert-set-properties): Make the doc string
6642         reflect what it does now (bug#5325).
6644         * simple.el (blink-matching-open): Say that we were unable to find
6645         the match within the limit, if we're limited (bug#5122).
6647         * international/mule-cmds.el (prefer-coding-system): Add an
6648         example (bug#4869).
6650         * progmodes/etags.el (tags-search): Document `file-list-form'
6651         (bug#4731).
6653 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6655         * net/browse-url.el (browse-url-default-browser)
6656         (browse-url-browser-function): Make the default browser choice a
6657         bit more logical (bug#4300).  Also clean up the doc string.
6659 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6661         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6662         binary endings (bug#4440).
6664 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6666         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6667         which can be pretty annoying (bug#8971).
6669         * jka-compr.el (jka-compr-verbose): New variable, and use
6670         throughout (bug#8971).
6672         * info.el (Info-find-file): Fall back on the installation
6673         directory if we can't find the info node anywhere else.
6675 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6677         * vc/vc.el (vc-revert-file):
6678         Don't set file time-stamp in the past.  (Bug#5181)
6680 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6682         * files.el (after-find-file): Give a better error message when
6683         trying to find a symlink that points to a file that doesn't exist
6684         (bug#4398).
6686         * progmodes/cc-vars.el: Remove (probably) misleading comment
6687         (bug#4396).
6689 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6691         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6693 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6695         * mouse-sel.el: Hack restoring functionality, while keeping
6696         compatibility with 2010-07-03 changes to mouse selection.
6697         (mouse-sel-primary-overlay): New var.
6698         (mouse-sel-selection-alist): Use it.
6699         (mouse-sel-mode): Doc fix; remove points that are default features
6700         of mouse.el.
6702 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6704         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6705         Fix previous fix (bug#2490).
6707 2011-07-12  Roland Winkler  <winkler@gnu.org>
6709         * textmodes/bibtex.el (bibtex-initialize):
6710         Use pop-to-buffer-same-window.
6711         (bibtex-search-entries): Fix interactive call.
6713 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6715         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6716         Fontise bytecomp Error lines more correctly (bug#2490).
6717         Fix suggested by Johan Bockgård.
6719         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6721         * dired-x.el (dired-guess-default): Use `delete-dups'.
6723 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6725         * dired.el (dired-mark-prompt):
6726         * dired-aux.el (dired-read-shell-command): Doc fix.
6728 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6730         * mail/sendmail.el (sendmail-query-once):
6731         Use `customize-save-variable' unconditionally, now that it works under
6732         emacs -Q.
6734         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6736         * cus-edit.el (custom-file): Take an optional no-error variable.
6737         (customize-save-variable): Set the variable, and give a warning if
6738         running under "emacs -q".
6740 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6742         * loadhist.el (unload-feature-special-hooks):
6743         Add `auto-coding-functions', `fill-nobreak-predicate' and
6744         `find-directory-functions' (bug#5327).
6746 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6748         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6750         * cus-edit.el (custom-guess-name-alist): -alist variables should
6751         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6753         * printing.el: Add documentation to all the `pr-toggle-' commands.
6755 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6757         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6758         backends where it makes sense (bug#2623).
6760 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6762         * dired-x.el (dired-guess-default): Remove duplicate shell command
6763         entries (bug#2028).
6764         (dired-guess-default): Fix grammar in doc string (bug#2028).
6765         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6767         * subr.el (remove-duplicates): New conveniency function.
6769 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6771         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6772         (bug#1526).
6774 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6776         * window.el (display-buffer-normalize-default): Don't invert
6777         meaning of even-window-heights.  Reported by Eli Zaretskii
6778         <eliz@gnu.org>.
6780 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6782         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6784 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6786         * window.el (display-buffer): Fix arguments to
6787         display-buffer-reuse-window in last change.
6789         * faces.el (link): Use a less saturated blue on light backgrounds.
6791         * startup.el (fancy-startup-text, fancy-about-text)
6792         (fancy-startup-tail): Use font-lock faces, for background safety.
6794 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6796         * emulation/viper-cmd.el (viper-change-state-to-vi):
6797         Limit triggering of abbrev expansion (Bug#9038).
6799 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6801         * window.el (display-buffer-default-specifiers): Remove.
6802         (display-buffer-macro-specifiers): Remove default specifiers.
6803         (display-buffer-alist): Default to nil.
6804         (display-buffer-reuse-window): New optional argument other-window.
6805         (display-buffer-pop-up-window): Allow splitting internal
6806         windows.  Check whether a live window was created.
6807         (display-buffer-other-window-means-other-frame)
6808         (display-buffer-normalize-arguments): Rename to
6809         display-buffer-normalize-argument and rewrite.  Set the
6810         other-window specifier.
6811         (display-buffer-normalize-special): New function.
6812         (display-buffer-normalize-options): Rename to
6813         display-buffer-normalize-default and rewrite.
6814         (display-buffer-normalize-options-inhibit): Remove.
6815         (display-buffer-normalize-specifiers): Rewrite.
6816         (display-buffer): Process other-window specifier and call
6817         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6818         more faithfully.
6819         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6820         (display-buffer-alist-set): Don't handle 'unset default values.
6821         (display-buffer-in-window, display-buffer-alist-set):
6822         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6823         <tassilo@member.fsf.org>.
6825 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6827         * register.el (insert-register): Restore accidental change on
6828         2011-06-26.  (Bug#9028)
6830 2011-07-09  Glenn Morris  <rgm@gnu.org>
6832         * subr.el (remq): Handle the empty list.  (Bug#9024)
6834 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6836         * mail/sendmail.el (send-mail-function): No longer delay custom
6837         initialization.
6838         * custom.el (custom-initialize-delay): Doc fix.
6840 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6844 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6846         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6847         human-friendly prompt.
6849 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6851         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6852         provided by a particular plugin.
6854 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6856         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6857         save customizations (with "emacs -Q"), just set the variable
6858         instead of erroring out.
6860         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6862 2011-07-08  Juri Linkov  <juri@jurta.org>
6864         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6865         (archive-zip-update-case): Use 7z if found by `executable-find'.
6866         The order of searching the available programs is the same as in
6867         `archive-zip-extract' (bug#8968).
6869 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6871         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6872         (menu-bar-options-menu): Tweak descriptions.
6874 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6876         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6877         menu items into verb phrases (bug#1421).  Also refill to fit under
6878         80 columns.
6880 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6882         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6883         (Info-read-node-name): Doc fix (Bug#1084).
6885         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6886         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6887         (end-of-sexp, beginning-of-sexp)
6888         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6889         (forward-symbol, forward-same-syntax, word-at-point)
6890         (sentence-at-point): Doc fix (Bug#1144).
6892 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6894         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6895         should cover it (bug#1281).
6897         * cus-edit.el (custom-show): Mark as obsolete.
6899         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6900         negotiation fails, then possibly try again with a non-encrypted
6901         connection (bug#9017).
6903         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6904         be used.
6906 2011-07-07  Richard Stallman  <rms@gnu.org>
6908         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6909         property, and handle its changed format.
6910         Look for the correct line number.
6911         Use file's line contents (but not past first =) to find
6912         correct line in message.
6914 2011-07-07  Kenichi Handa  <handa@m17n.org>
6916         * international/characters.el (build-unicode-category-table):
6917         Delete it.
6918         (unicode-category-table): Set it by unicode-property-table-internal.
6920         * international/mule-cmds.el (char-code-property-alist): Move to
6921         to src/chartab.c.
6922         (get-char-code-property): Call unicode-property-table-internal to
6923         load a file.  Call get-unicode-property-internal where necessary.
6924         (put-char-code-property): Call unicode-property-table-internal to
6925         load a file.  Call put-unicode-property-internal where necessary.
6926         put-unicode-property-internal where necessary.
6927         (char-code-property-description):
6928         Call unicode-property-table-internal to load a file.
6930         * international/charprop.el:
6931         * international/uni-bidi.el:
6932         * international/uni-category.el:
6933         * international/uni-combining.el:
6934         * international/uni-comment.el:
6935         * international/uni-decimal.el:
6936         * international/uni-decomposition.el:
6937         * international/uni-digit.el:
6938         * international/uni-lowercase.el:
6939         * international/uni-mirrored.el:
6940         * international/uni-name.el:
6941         * international/uni-numeric.el:
6942         * international/uni-old-name.el:
6943         * international/uni-titlecase.el:
6944         * international/uni-uppercase.el: Regenerate.
6946         * loadup.el: Load international/charprop.el before
6947         international/characters.
6949 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6951         * window.el (next-buffer, previous-buffer): Signal an error if
6952         called from a minibuffer window.
6954         * bindings.el: Revert 2011-07-04 change.
6956 2011-07-06  Richard Stallman  <rms@gnu.org>
6958         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6959         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6960         Treat markers like ints.
6961         (rmail-mime-entity): Doc fix.
6963 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6965         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6966         defcustom again for backwards compatibility.
6968         * simple.el (shell-command-on-region): Fill.
6970         * dired-aux.el (dired-kill-line): Add a doc string.
6972         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6973         to "\\sw\\|\\s_" (bug#358).
6975         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6976         (dired-unmark-backward): Ditto.
6977         (dired-flag-backup-files): Ditto.
6979         * dired-x.el (dired-mark-sexp): Ditto.
6981 2011-07-06  Richard Stallman  <rms@gnu.org>
6983         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6984         (rmail-mime-entity): New arg TRUNCATED.
6985         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6986         New functions.
6987         (rmail-mime-save): Warn if entity is truncated.
6988         (rmail-mime-toggle-hidden): Likewise, for showing.
6989         (rmail-mime-process-multipart): Record when an entity is truncated.
6991         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6992         if ENTITY is a string.
6994 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6996         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6997         of faces when `M-C-x'-ing their definitions (bug#8378).
6998         Also clean up the code slightly.
7000         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7001         because that makes the colors go away.
7003         * mail/sendmail.el (send-mail-function): Change the default to
7004         `sendmail-query-once'.
7005         (sendmail-query-once): Add an autoload cookie.
7007         * net/network-stream.el (network-stream-open-starttls): Try using
7008         a plain connection even if the server offered STARTTLS, and we
7009         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7010         capability.  This should make smtpmail.el work in slightly more
7011         configurations.
7013 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7015         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7016         New defun.
7017         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7019 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7021         * progmodes/sql.el: Version 3.0
7022         (sql-product-alist): Add product :completion-object,
7023         :completion-column, and :statement attributes.
7024         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7025         (sql-mode-syntax-table): Mark all punctuation.
7026         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7027         ansi keywords.
7028         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7029         (sql-mode-oracle-font-lock-keywords): Improve.
7030         (sql-oracle-show-reserved-words): New function for development.
7031         (sql-product-font-lock): Simplify for source code buffers.
7032         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7033         New functions.
7034         (sql-highlight-product): Set product specific syntax table.
7035         (sql-mode-map): Add statement movement functions.
7036         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7037         New variable.
7038         (sql-statement-regexp, sql-beginning-of-statement)
7039         (sql-end-of-statement, sql-signum): New functions.
7040         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7041         (sql-show-sqli-buffer): Bug fix.
7042         (sql-interactive-mode): Store connection data as buffer local.
7043         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7044         with sql-interactive-mode.
7045         (sql-save-connection): Save buffer local settings.
7046         (sql-connection-menu-filter): Change menu entry name.
7047         (sql-product-interactive): Bug fix.
7048         (sql-preoutput-hold): New variable.
7049         (sql-interactive-remove-continuation-prompt): Bug fixes.
7050         (sql-debug-redirect): New variable.
7051         (sql-str-literal): New function.
7052         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7053         Redesign.
7054         (sql-oracle-save-settings, sql-oracle-restore-settings)
7055         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7056         (sql-completion-object, sql-completion-column)
7057         (sql-completion-sqlbuf): New variables.
7058         (sql-build-completions-1, sql-build-completions)
7059         (sql-try-completion): New functions.
7060         (sql-read-table-name): Use them.
7061         (sql-contains-names): New buffer local variable.
7062         (sql-list-all, sql-list-table): Use it.
7063         (sql-oracle-completion-types): New variable.
7064         (sql-oracle-completion-object, sql-sqlite-completion-object)
7065         (sql-postgres-completion-object): New functions.
7067 2011-07-06  Glenn Morris  <rgm@gnu.org>
7069         * window.el (pop-to-buffer): Doc fix.
7071 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
7073         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7075 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7077         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7079         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7081 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7083         * button.el (button): Inherit from link face.  Suggested by Dan
7084         Nicolaescu.
7086 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * progmodes/gdb-mi.el: Fit in 80 columns.
7089         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7090         switch-to-buffer.
7092         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7093         if imenu is simply not configured (bug#8941).
7095 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7097         * allout.el (allout-post-undo-hook): New allout outline-change
7098         event hook to signal undo activity.
7099         (allout-post-command-business): Run allout-post-undo-hook if an
7100         undo just occurred.
7101         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7102         * allout-widgets.el (allout-widgets-after-undo-function):
7103         Ensure the integrity of the current item's decoration after it has been
7104         in the vicinity of an undo.
7105         (allout-widgets-mode): Include allout-widgets-after-undo-function
7106         on the new allout-post-undo-hook.
7108 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7110         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7111         Let define-derived-mode define it.
7112         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7113         cycles of abbrev-table inheritance (bug#8998).
7115 2011-07-05  Roland Winkler  <winkler@gnu.org>
7117         * textmodes/bibtex.el: Add support for biblatex.
7118         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7119         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7120         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7121         (bibtex-entry-alist, bibtex-field-alist): New variables.
7122         (bibtex-entry-field-alist): Obsolete alias for
7123         bibtex-BibTeX-entry-alist.
7124         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7125         (bibtex-set-dialect): New command.
7126         (bibtex-entry-type, bibtex-entry-head)
7127         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7128         Bind via bibtex-set-dialect.
7129         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7130         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7131         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7132         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7133         Define via bibtex-set-dialect.
7134         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7135         Obey bibtex-no-opt-remove-re.
7136         (bibtex-vec-push, bibtex-vec-incr): New functions.
7137         (bibtex-format-entry, bibtex-field-list)
7138         (bibtex-print-help-message, bibtex-validate)
7139         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7141 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7143         * progmodes/compile.el (compilation-goto-locus):
7144         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7145         * bs.el (bs-cycle-next, bs-cycle-previous):
7146         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7147         * bindings.el (mode-line-other-buffer):
7148         * autoinsert.el (auto-insert):
7149         * arc-mode.el (archive-extract):
7150         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7152 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7154         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7155         Fix check of `emacs-lock-unlockable-modes'.
7156         Coerce true values of `emacs-lock--try-unlocking' to t.
7158 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7160         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7161         * emacs-lock.el: New file.
7163 2011-07-05  Julien Danjou  <julien@danjou.info>
7165         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7166         than `boundp' to check if face is set.
7168 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7170         * register.el (registerv-make):
7171         * window.el (window-min-height): Fix typos in docstrings.
7173 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7175         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7176         Update doc string.
7178 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7180         * server.el (server-execute): Catch quit and call
7181         `server-return-error' to pass the error back to emacsclient and
7182         close the connection (bug#8942).
7184 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7186         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7187         insecure exception for current topic.  Also note that auto-saves
7188         are handled differently.
7190         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7191         State variables for tracking auto-save inhibition situation.
7193         (allout-write-contents-hook-handler): Rename from
7194         'allout-write-file-hook-handler', and describe how it depends on
7195         write-contents-functions sensitivity to non-nil value to prevent
7196         file write.
7198         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7199         this in individual buffers, only in the starting buffer, so this
7200         is not the right way for us to inhibit auto-save in a buffer
7201         according to its condition.
7203         (allout-mode): Use new allout-write-contents-hook-handler, and
7204         only with write-contents-functions.  Remove auto-save provisions -
7205         they're implemented elsewhere.
7207         (allout-before-change-handler): If undo is in progress, note that
7208         for attention of allout-post-command-business.
7210         (allout-post-command-business): If the command we're following was
7211         an undo, check for change in the status of encrypted items and
7212         adjust auto-save inhibitions accordingly.
7214         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7215         according to whether there are or aren't any plain-text topics
7216         pending encryption.
7218         (allout-inhibit-auto-save-info-for-decryption):
7219         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7220         if there are plain-text topics pending encryption.
7222         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7223         buffer-saved-size and some allout state to not inhibit auto-saves
7224         if there are no longer any plain-text topics pending encryption.
7226         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7227         No longer provide for exemption of the current topic.
7229 2011-07-04  Juri Linkov  <juri@jurta.org>
7231         Add 7z operations to delete and save changed members (bug#8968).
7232         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7233         New defcustoms.
7234         (archive-7z-write-file-member): New function.
7235         (archive-7z-summarize): Fix the number of dashes in the
7236         listing output.
7238 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7241         (bug#8958).
7243 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7245         * bindings.el: Ignore next-buffer and previous-buffer in
7246         minibuffer-local-map.
7248         * font-lock.el (font-lock-builtin-face): Change light background
7249         color to dark slate blue (Bug#6693).
7251 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7253         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7255 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7257         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7258         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7259         Add switch-to-buffer.
7261 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7263         * isearch.el (isearch-search-fun-function): Clarify further the
7264         meaning of the function returned.
7266 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7268         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7270         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7271         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7272         Use it.
7273         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7274         `tramp-default-remote-path' does not exist.
7275         (tramp-send-command-and-read): New optional argument NOERROR.
7276         (tramp-open-connection-setup-interactive-shell)
7277         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7278         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7279         (tramp-process-sentinel): Flush also process' connection property.
7280         (tramp-sh-handle-start-file-process): Do not set process
7281         sentinel.  It is done now ...
7282         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7284 2011-07-04  MON KEY  <monkey@sandpframing.com>
7286         * play/animate.el (animate-string): Doc fixes and allow changing
7287         the buffer name (bug#5417).
7289 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7291         * play/animate.el (animation-buffer-name): Rename from *animate*.
7293 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7295         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7296         This is simpler and helps future-proof the code.
7297         (timer-until): Use time-subtract and float-time.
7298         (timer--time-less-p): Use time-less-p.
7300 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7302         * type-break.el (timep): Use the value of `float-time' to avoid a
7303         byte-compiler warning.
7305         * server.el (server-eval-and-print): Return any result, even nil.
7307 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7309         * type-break.el: Accept time formats that the builtins accept.
7310         (timep, type-break-time-difference): Accept any format that
7311         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7312         This is simpler and helps future-proof the code.
7313         (type-break-time-difference): Round rather than ignoring
7314         subseconds components.
7316 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7318         * info.el (Info-apropos-matches): Make non-interactive, since it
7319         doesn't seem to do anything useful as a command (bug#8829).
7321 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
7323         * frame.el (frame-background-mode, frame-set-background-mode):
7324         Move from faces.el.
7325         (frame-default-terminal-background): New function.
7327         * custom.el (custom-push-theme): Don't record faces in `changed'
7328         theme; this doesn't work correctly for per-frame face settings.
7329         (disable-theme): Use face-set-after-frame-default to reset faces.
7330         (custom--frame-color-default): New function.
7332 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7334         * dired.el (dired-flagging-regexp): Remove unused variable
7335         (bug#8769).
7337 2011-03-29  Kevin Ryde  <user42@zip.com.au>
7339         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7340         `perl-Test2' extend to match possible "fail #N" rep count
7341         (bug#8377).
7343 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7345         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7346         `smtpmail-via-smtp' now returns the error instead of nil.
7348         * isearch.el (isearch-search-fun-function): Clarify the doc string
7349         (bug#8101).
7351 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
7353         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7354         unnecessary spaces (bug#8987).
7356 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7358         * net/network-stream.el (open-network-stream): Use the
7359         :end-of-capability command thoughout.
7361 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7363         * net/network-stream.el (open-network-stream): Add the
7364         :end-of-capability command parameter, used by pop3.el.
7366 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7368         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7370         * fringe.el (fringe-query-style): Remove redundant text " (type ?
7371         for list)" (bug#6475).
7373         * files.el (file-expand-wildcards): Ignore non-readable
7374         sub-directories while trying to find matches instead of signaling
7375         an error (bug#6297).
7377         * man.el (Man-reference-regexp): Allow matching possible
7378         word-wrapped references (bug#6289).
7380         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7381         for consistency with the other vc buffers (bug#6197).
7382         (vc-checkin): Ditto.
7384         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7386         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7388 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7390         * custom.el (defcustom): Clarify that :set is only used in the
7391         Customize user interface (bug#6089).
7393         * progmodes/flymake.el (flymake-mode): If the buffer isn't
7394         associated with a file, refuse to run instead of erroring out
7395         (bug#6084).
7397         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7398         the doc string, since it appears that using `fill-column' always
7399         controls the width (bug#7845).
7401         * simple.el (shell-command-on-region): Say where the error output
7402         went if `shell-command-default-error-buffer' is set (bug#6857).
7404 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
7406         * allout.el (allout-yank-processing): Adjust cursor position for
7407         backwards-deleted space.
7409         (allout-rebullet-heading): Register changes with
7410         allout-exposure-changed-hook, so the modified topic is properly
7411         decorated.
7413 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7415         * minibuffer.el (completion-in-region): Document PREDICATE
7416         (bug#7136).
7418         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7419         of keyword/argument pairs (bug#6904).
7421         * replace.el (multi-occur):
7422         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7424 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7426         * dired.el (dired-mark-if): Make the message about whether it's
7427         marking or unmarking clearer (bug#8523).
7429 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7431         * disp-table.el (display-table-print-array): New function.
7432         (describe-display-table): Use it to print the vectors more pretty
7433         (Bug#8859).
7435 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7437         * window.el (window-state-get-1): Don't assign clone numbers.
7438         Add clone-of item to list of window parameters.
7439         (window-state-put-2): Don't process clone numbers.
7440         (display-buffer-alist): Fix doc-string.
7442 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7444         * subr.el (remq): Don't allocate if it's not needed.
7445         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7446         (keymap--merge-bindings): New functions.
7447         (keymap-canonicalize): Use them to refine the canonicalization.
7448         * minibuffer.el (minibuffer-local-completion-map)
7449         (minibuffer-local-must-match-map): Move initialization from C.
7450         (minibuffer-local-filename-completion-map): Move initialization from C;
7451         don't inherit from anything here.
7452         (minibuffer-local-filename-must-match-map): Make obsolete.
7453         (completing-read-default): Use make-composed-keymap to combine
7454         minibuffer-local-filename-completion-map with either
7455         minibuffer-local-must-match-map or
7456         minibuffer-local-filename-completion-map.
7458 2011-07-01  Glenn Morris  <rgm@gnu.org>
7460         * type-break.el (type-break-time-sum): Use dolist.
7462         * textmodes/flyspell.el (flyspell-word-search-backward):
7463         Replace CL function.
7465 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7467         * mouse.el (mouse--strip-first-event): New function.
7468         (function-key-map): Use it to map fringe clicks to normal clicks
7469         by default.
7471         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7472         (vc-bzr-revision-completion-table): Add support for annotate and date.
7474         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7475         inherit from parent.
7477 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7479         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7480         (dired-show-file-type): Doc fixup (bug#8818).
7482         * dired.el (dired-mode): Fix up the doc string as suggested by
7483         Drew Adams (bug#8817).
7485         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7486         cookie, since the manual says that it should be possible to add
7487         this function to `find-file-hook' (bug#8709).
7489 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7491         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7492         here.  Noted Ted Zlatanov as the maintainer.
7493         (cfengine-common-settings, cfengine-common-syntax): New functions
7494         to set up common things between `cfengine-mode' and
7495         `cfengine3-mode'.
7496         (cfengine3-mode): New mode.
7497         (cfengine3-defuns cfengine3-defuns-regex
7498         (cfengine3-class-selector-regex cfengine3-category-regex)
7499         (cfengine3-vartypes cfengine3-font-lock-keywords)
7500         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7501         (cfengine3-indent-line): Add from cfengine3.el.
7503 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7505         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7507         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7509 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7511         * window.el (same-window-buffer-names, same-window-regexps)
7512         (same-window-p, special-display-frame-alist)
7513         (special-display-popup-frame, special-display-function)
7514         (special-display-buffer-names, special-display-regexps)
7515         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7516         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7517         (split-window-preferred-function, split-height-threshold)
7518         (split-width-threshold, even-window-heights)
7519         (display-buffer-mark-dedicated, window-splittable-p)
7520         (split-window-sensibly, window-safely-shrinkable-p):
7521         Un-obsolete.
7522         (display-buffer): Don't spread args with function specifier
7523         because special-display-popup-frame won't like it.
7525 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7527         Time-stamp simplifications and fixes.
7528         These improve accuracy slightly, and future-proof the code
7529         against some potential changes to current-time format.
7531         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7532         by using time-since and float-time.
7534         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7535         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7536         + NNN microseconds".
7538         * type-break.el (type-break-time-sum): Rewrite using time-add.
7540         * play/hanoi.el (hanoi-current-time-float): Remove.
7541         All uses replaced by float-time.
7543         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7544         This yields a more-accurate answer.
7545         (rng-time-to-float): Remove; no longer needed.
7547         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7549         * calendar/timeclock.el (timeclock-seconds-to-time):
7550         Defalias to seconds-to-time, since they're the same thing.
7552         * emacs-lisp/elp.el (elp-elapsed-time):
7553         * emacs-lisp/benchmark.el (benchmark-elapse):
7554         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7556 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7558         * window.el (bury-buffer): Don't iconify the only frame.
7559         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7560         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7562 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7564         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7565         Add mouse-yank-primary.
7567 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7569         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7571 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7573         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7574         (find-library-name): Use it to find relative load names when provided
7575         absolute file name (bug#8803).
7577 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7579         * textmodes/flyspell.el (flyspell-word): Consider words that
7580         differ only in case as potential doublons (bug#5687).
7582         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7583         Remove two rather uninteresting debugging-like messages to make
7584         debbugs.el more silent.
7586         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7587         a password-like phrase.
7589 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7591         * progmodes/cc-guess.el: New file.
7593         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7595         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7596         derived from `c-basic-common-init'.
7598         * progmodes/cc-mode.el (top-level): Require cc-guess.
7599         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7601 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7603         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7605 2011-06-30  Alan Mackenzie  <acm@muc.de>
7607         * progmodes/cc-engine.el (c-guess-continued-construct):
7608         Correct the handling of template-args-cont, particularly for when font
7609         lock is disabled.  Name this case as "CASE G".
7611 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7613         * allout.el (allout-yank-processing): Fix injection of extra space
7614         between bullet and non-whitespace character in first topic when
7615         pasting, ensuring that the actual spacing in the pasted topic
7616         following the bullet char is preserved.  This extra space was
7617         causing pasted encrypted topics to get a decrypted status even
7618         when the content was actually still encrypted.  Now the decryption
7619         status from before the paste is preserved.
7621         (allout-flag-region): Set all allout overlays so they evaporate
7622         when reduced to zero length (evanescent), to prevent overlay
7623         leakage.
7625 2011-06-30  Glenn Morris  <rgm@gnu.org>
7627         * w32-fns.el (w32-charset-info-alist): Declare.
7629         * find-dired.el (find-grep-options): Simplify.
7631         * term/ns-win.el (ns-set-resource): Declare.
7633         * ses.el (row, col): Declare dynamic variables honestly.
7635         * textmodes/reftex-parse.el (index-tags): Declare.
7637 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7639         * cus-edit.el (customize-push-and-save): New function.
7641         * files.el (hack-local-variables-confirm): Use it.
7643         * custom.el (load-theme): New arg NO-CONFIRM.
7644         Use customize-push-and-save (Bug#8720).
7645         (custom-enabled-themes): Doc fix.
7647         * cus-theme.el (customize-create-theme)
7648         (custom-theme-merge-theme): Callers to load-theme changed.
7650 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7652         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7653         short URLs have at least one dot in them (bug #7614).
7655         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7656         nil, because using a pty is apparently too slow (bug #895).
7658 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7660         * mail/sendmail.el (sendmail-query-once): New function.
7661         (sendmail-query-once-function): New variable.
7663 2011-06-29  Glenn Morris  <rgm@gnu.org>
7665         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7667         * ses.el (top-level): Require cl when compiling.
7668         (ses-set-localvars): Fix error statement.
7669         Call it at compile time to silence a storm of warnings.
7671 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7673         * window.el (normalize-live-buffer): Rename to
7674         window-normalize-buffer.
7675         (normalize-live-frame): Rename to window-normalize-frame.
7676         (normalize-any-window): Rename to window-normalize-any-window.
7677         (normalize-live-window): Rename to window-normalize-live-window.
7678         (make-window-atom): Rename to window-make-atom.
7679         (window-resize-reset): Rename to window--resize-reset.
7680         (window-resize-reset-1): Rename to window--resize-reset-1.
7681         (resize-mini-window): Rename to window--resize-mini-window.
7682         (resize-subwindows-skip-p): Rename to
7683         window--resize-subwindows-skip-p.
7684         (resize-subwindows-normal): Rename to
7685         window--resize-subwindows-normal.
7686         (resize-subwindows): Rename to window--resize-subwindows.
7687         (resize-other-windows): Rename to window--resize-siblings.
7688         (resize-this-window): Rename to window--resize-this-window.
7689         (resize-root-window): Rename to window--resize-root-window.
7690         (resize-root-window-vertically): Rename to
7691         window--resize-root-window-vertically.
7692         (normalize-buffer-to-display): Rename to
7693         window-normalize-buffer-to-display.
7694         (normalize-buffer-to-switch-to): Rename to
7695         window-normalize-buffer-to-switch-to.
7696         Correspondingly update all callers of the functions listed
7697         above.
7698         (display-buffer-alist, display-buffer-normalize-arguments)
7699         (display-buffer-normalize-options, display-buffer)
7700         (display-buffer-alist-set): Use "function" instead of
7701         "fun-with-args".
7703 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7705         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7706         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7707         debbugs.gnu.org.  Mention acknowledgment email.
7709 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7711         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7712         buffer multibyteness, since it shouldn't matter.
7714 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7716         * window.el (display-buffer-in-side-window): Handle dedicated
7717         windows as in display-buffer-reuse-window.
7718         (display-buffer-normalize-alist): Use value of override
7719         specifier.
7720         (display-buffer-normalize-specifiers): Use value of
7721         other-window-means-other-frame specifier.
7722         (display-buffer-alist): Rewrite some texts in widgets.
7723         (display-buffer): Spread arguments when calling function
7724         specified by fun-with-args.
7726 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7728         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7729         Unnest `let'.
7731         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7732         selectors (Bug#5732).
7733         (css-proprietary-nmstart-re): Use `regexp-opt'.
7735 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7737         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7738         (eshell-ls-date-format): New defcustom.
7739         (eshell-ls-file): Use it.
7741 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7743         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7745 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7747         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7748         (ange-ftp-make-tmp-name): New arg.
7749         (ange-ftp-file-local-copy): Use it.
7751 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7753         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7754         no-conversion (Bug#8870).
7756 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7758         * window.el (window-right, window-left, window-child)
7759         (window-child-count, window-last-child)
7760         (window-iso-combination-p, walk-window-tree-1)
7761         (window-atom-check-1, window-tree-1, delete-window)
7762         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7763         new naming conventions - window-vchild, window-hchild,
7764         window-next and window-prev are now called window-top-child,
7765         window-left-child, window-next-sibling and window-prev-sibling
7766         respectively.
7767         (resize-window-reset): Rename to window-resize-reset.
7768         (resize-window-reset-1): Rename to window-resize-reset-1.
7769         (resize-window): Rename to window-resize.
7770         (window-min-height, window-min-width)
7771         (resize-mini-window, resize-this-window, resize-root-window)
7772         (resize-root-window-vertically, adjust-window-trailing-edge)
7773         (enlarge-window, shrink-window, maximize-window)
7774         (minimize-window, delete-window, quit-restore-window)
7775         (split-window, balance-windows, balance-windows-area-adjust)
7776         (balance-windows-area, window-state-put-2)
7777         (display-buffer-even-window-sizes, display-buffer-set-height)
7778         (display-buffer-set-width, set-window-text-height)
7779         (fit-window-to-buffer): Rename all "resize-window" prefixed
7780         calls to use the "window-resize" prefix convention.
7781         (display-buffer-alist): Fix symbol for label specifier.
7782         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7783         corresponding specifier.
7784         Reported by Juanma Barranquero <lekktu@gmail.com>.
7786 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7788         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7789         convention.
7790         (ses-call-printer): Does not pass an empty string to formatter when the
7791         cell is empty to keep from barking printer Calc math-format-value.
7793 2011-06-27  Richard Stallman  <rms@gnu.org>
7795         * battery.el (battery-mode-line-limit): New variable.
7796         (battery-update): Handle it.
7798         * mail/rmailmm.el (rmail-mime-process-multipart):
7799         Handle truncated messages.
7801 2011-06-27  Glenn Morris  <rgm@gnu.org>
7803         * progmodes/flymake.el (flymake-err-line-patterns):
7804         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7806 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7808         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7809         (ses--clean-!, ses--clean-_): New functions.
7810         (ses-range): Add configurability of readout order, and conversion
7811         to Calc vector.
7813         * ses.el (ses-repair-cell-reference-all): New function.
7814         (ses-cell-symbol): Set macro as safe, so that it can be used in
7815         formulas.
7817         * ses.el: Update cycle detection algorithm.
7818         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7819         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7820         (ses-set-localvars): New function.
7821         (ses-make-cell): Add property-list as a cell element.
7822         (ses-cell-property-get-fun, ses-cell-property-get)
7823         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7824         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7825         New functions.
7826         (ses-cell-property-set, ses-cell-property-pop)
7827         (ses-cell-property-get-handle): New macro.
7828         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7829         New aliases, used for code readability.
7830         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7831         cycle detection.
7832         (ses-self-reference-early-detection): New defcustom.
7833         (ses-formula-references): Robustify against self-referring cells.
7834         (ses-mode): Use ses-set-localvars.
7835         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7836         before lauching the update processing.
7837         (ses-initialize-Dijkstra-attempt): New function.
7838         (ses-recalculate-cell): Update for cycle detection based on
7839         Dijkstra algorithm.
7841         * ses.el: Fix commenting and indenting convention.
7843 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7845         * bs.el (bs-cycle-next): Complete last change.
7847 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7849         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7851 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7853         * net/network-stream.el (network-stream-open-starttls):
7854         Don't re-get capabilities unless we've reestablished connection.
7855         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7857         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7858         to binary to possibly avoid line encoding issues on Windows (among
7859         other things).
7861 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7863         * net/network-stream.el (open-network-stream): Return an :error
7864         saying what the problem was, if possible.
7866         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7867         server.
7869         * net/network-stream.el (network-stream-open-starttls): If we
7870         wanted to use STARTTLS, and the server offered it, but we weren't
7871         able to because we had no STARTTLS support, then close the connection.
7872         (open-network-stream): Return an :error element, if present.
7874 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7876         * hl-line.el (hl-line-sticky-flag): Doc fix.
7877         (global-hl-line-sticky-flag): New option (Bug#8323).
7878         (global-hl-line-highlight): Obey it.
7880         * vc/vc.el (vc-revert-show-diff): Default to t.
7882 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7884         * allout-widgets.el (allout-widgets-post-command-business):
7885         Stop decorating intermediate isearch matches.  They're not being
7886         undecorated when an isearch is continued past, and isearch
7887         automatically collapses them.  This leads to "widget leaks", where
7888         decorated items accumulate in collapsed areas.  Lines with lots of
7889         hidden widgets can slow down cursor travel, substantially.
7890         Too much complicated machinery would be needed to ensure undecoration,
7891         so we're doing without this nicety.
7893         (allout-widgets-tally-string): Don't try to do a hash-table-count
7894         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7895         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7896         *Messages* when allout-widgets-maintain-tally is t.
7898 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7900         * window.el (display-buffer-normalize-argument): Rename to
7901         display-buffer-normalize-arguments.  Handle special meaning of
7902         LABEL argument.  Respect special-display-function when popping up
7903         a new frame.  Fix code searching for a window showing the buffer
7904         on another frame.
7905         (display-buffer-normalize-specifiers):
7906         Call display-buffer-normalize-arguments.
7907         (display-buffer-in-window): Don't undedicate the window if its
7908         buffer remains the same.
7909         Reported by Drew Adams <drew.adams@oracle.com>.
7910         (display-buffer-alist): Add choice for same-window macro
7911         specfier.
7912         (display-buffer): Mention special meaning of LABEL argument in
7913         doc-string.  Fix quoting.  Don't pop up a new frame even as
7914         fallback.
7916 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7918         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7919         avoid deleting the current window in some cases (bug#8911).
7921 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7923         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7924         (Bug#8934)
7926 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7928         * net/network-stream.el (network-stream-open-starttls):
7929         Use built-in TLS support if `gnutls-available-p' is true.
7930         (network-stream-open-tls): Ditto.
7932 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7934         * register.el (registerv): New struct.
7935         (registerv-make): New function.
7936         (jump-to-register, describe-register-1, insert-register):
7937         Support the jump-func, print-func and insert-func slot of a registerv
7938         struct.  (Bug#8415)
7940 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7942         * vc/vc.el (vc-revert-show-diff): New defcustom.
7943         (vc-diff-internal): New arg specifying diff buffer.
7944         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7945         reuse an existing *vc-diff* buffer (Bug#8927).
7947         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7949 2011-06-26  Glenn Morris  <rgm@gnu.org>
7951         * progmodes/f90.el (f90-critical-indent): New option.
7952         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7953         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7954         (f90-mode): Doc fix.
7955         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7956         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7957         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7958         (f90-match-end): Handle block, critical.
7960 2011-06-25  Glenn Morris  <rgm@gnu.org>
7962         * calendar/diary-lib.el (diary-included-files): Doc fix.
7963         (diary-include-files): New function, extracted from
7964         diary-include-other-diary-files and diary-mark-included-diary-files.
7965         (diary-include-other-diary-files, diary-mark-included-diary-files):
7966         Just call diary-include-files.
7967         (diary-mark-entries): Reset diary-included-files on first call.
7969         * calendar/diary-lib.el (diary-mark-entries)
7970         (diary-mark-included-diary-files):
7971         Visit included diary-files in temp buffers.
7973         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7974         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7975         (f90-start-block-re, f90-imenu-generic-expression)
7976         (f90-looking-at-program-block-start, f90-no-block-limit):
7977         Add support for submodules.
7979         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7980         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7982 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7984         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7985         buffer-file-type before setting its value, to avoid disastrous
7986         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7988 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7990         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7992         * ses.el (ses-unload-function):
7993         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7995         * proced.el (proced-unload-function):
7996         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7998 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8000         * server.el (server-create-window-system-frame): Add parameters arg.
8001         (server-process-filter): Doc fix.  Handle frame-parameters.
8003 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8005         Fix bug#8730, bug#8781.
8007         * loadhist.el (unload--set-major-mode): New function.
8008         (unload-feature): Use it.
8010         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8011         (python-unload-function): New function.
8013 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8015         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8017 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8019         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8020         the candidates list.
8022 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8024         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8026 2011-06-23  Richard Stallman  <rms@gnu.org>
8028         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8029         (rmail-variables): Set next-error-move-function.
8030         (rmail-what-message): Take argument POS.
8031         (rmail-next-error-move): New function.
8033 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8035         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8036         messages for adjacent non-terminals.
8038 2011-06-23  Richard Stallman  <rms@gnu.org>
8040         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8041         (rmail-show-message-1): Preserve buffer modified flag.
8042         (rmail-start-mail): Don't specify use of rmail-mail-return;
8043         that's done by mail-bury now.
8044         (rmail-mail-return): Handle arg NEWBUF.
8046 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8048         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8049         SIZE is a number.
8051 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8053         * window.el (get-lru-window, get-mru-window)
8054         (get-largest-window): Never return a minibuffer window.
8055         (display-buffer-pop-up-window): Fix a bug that could lead to
8056         reusing the minibuffer window.
8057         (display-buffer): Pass original specifier argument to
8058         display-buffer-function instead of the normalized one.
8059         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8061 2011-06-22  Leo Liu  <sdl.web@gmail.com>
8063         * minibuffer.el (completing-read-function)
8064         (completing-read-default): Move from minibuf.c
8066 2011-06-22  Richard Stallman  <rms@gnu.org>
8068         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8069         to Rmail even if not started by a special Rmail command.
8071         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8072         Copy the buffer currently showing just one message.
8074 2011-06-22  Roland Winkler  <winkler@gnu.org>
8076         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8077         (bibtex-clean-entry): First delete the old key so that a
8078         customized algorithm for generating the new key does not get
8079         confused by the old key.
8080         (bibtex-url): Obey regexp of first step.
8081         (bibtex-search-entries): Do not use add-to-list with local
8082         list-var.
8084 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8086         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8087         stored a user name, then query for the password first, instead of
8088         waiting for SMTP to give an error message and the trying again.
8090 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8092         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8093         BUFFER in call-process.
8095 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8097         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8098         QUIT twice.
8099         (smtpmail-try-auth-methods): Require user name and password from
8100         auth-source.
8102 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8104         * window.el (display-buffer-default-specifiers)
8105         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8106         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8107         (split-window): Normalize SIDE argument (Bug#8916).
8109         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8110         (special-display-frame-alist, special-display-popup-frame):
8111         Remove duplicate declarations.  These are now in window.el.
8113 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8115         * mail/smtpmail.el (smtpmail-via-smtp):
8116         Set :use-starttls-if-possible so that we always use STARTTLS if the
8117         server supports it.  SMTP servers that support STARTTLS commonly
8118         require it.
8120         * net/network-stream.el (network-stream-open-starttls): Support
8121         upgrading to STARTTLS always, even if we don't have built-in support.
8122         (open-network-stream): Add the :always-query-capabilities keyword.
8124         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8125         upgrades with `open-network-stream', and rely solely on
8126         auth-source for all credentials.  Big changes throughout the file,
8127         but in particular:
8128         (smtpmail-auth-credentials): Remove.
8129         (smtpmail-starttls-credentials): Remove.
8130         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8131         MAIL FROM, too.
8133         * net/network-stream.el (network-stream-open-starttls):
8134         Provide support for client certificates both for external and built-in
8135         STARTTLS.
8136         (auth-source): Require.
8137         (open-network-stream): Document the :client-certificate keyword.
8138         (network-stream-certificate): Change cert-cert to cert and
8139         cert-key to key.
8141 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8143         * net/tramp-cache.el (top): Don't load the persistency file when
8144         "emacs -Q" has been called.
8146 2011-06-21  Tim Harper  <timcharper@gmail.com>
8148         * term/ns-win.el (ns-initialize-window-system):
8149         Set application-specific `ApplePressAndHoldEnabled' system
8150         resource to NO as it is not yet supported by the NS port.
8152 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8154         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8155         (list-dynamic-libraries): ...not here.
8157 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8159         * subr.el (sha1): Implement sha1 using secure-hash.
8161 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8163         * window.el (display-buffer-alist): In default value do not
8164         enforce searching a window on any but the selected frame.
8165         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8166         (display-buffer-select-window): Remove function.
8167         (display-buffer-in-window): When a window on another frame gets
8168         reused, do not select it any more but just raise its frame if
8169         necessary (Bug#8851) and (Bug#8856).
8170         (display-buffer-normalize-options): Handle pop-up-frames related
8171         options more faithfully.
8172         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8173         window if it is on another frame.
8174         (display-buffer-alist, display-buffer-default-specifiers):
8175         Don't make new frame unsplittable by default.
8176         (display-buffer-normalize-argument): Fix doc-string typo and use
8177         'same-frame-other-window instead of 'other-window when associating
8178         with display-buffer-macro-specifiers.
8180 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8182         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8183         New functions.
8184         (5x5-mode-map, 5x5-mode-menu): Bind them.
8185         (5x5-draw-grid): Tweak the solver's rendering.
8187 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8189         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8190         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8192 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8194         * menu-bar.el: Use function variable instead of switch-to-buffer.
8195         (menu-bar-select-buffer-function): New variable.
8196         (menu-bar-update-buffers): Use it (bug#8876).
8198 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8200         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8201         variable's status.
8203 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8205         * x-dnd.el (x-dnd-version-from-flags)
8206         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8207         and long as number (Bug#8899).
8208         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8210 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8213         (completion-try-completion, completion-all-completions): Compute the
8214         metadata argument if it's missing; make it optional (bug#8795).
8216         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8217         (widget-complete): Use new :completion-function property.
8218         (widget-completions-at-point): New function.
8219         (default): Use :completion-function instead of :complete.
8220         (widget-default-completions): Rename from widget-default-complete;
8221         Rewrite.
8222         (widget-string-complete, widget-file-complete, widget-color-complete):
8223         Remove functions.
8224         (file, symbol, function, variable, coding-system, color):
8225         * international/mule-cmds.el (default-input-method, charset)
8226         (language-info-custom-alist):
8227         * cus-edit.el (face): Use new property :completions.
8229         * progmodes/pascal.el (pascal-completions-at-point): New function.
8230         (pascal-mode): Use it.
8231         (pascal-mode-map): Use completion-at-point.
8232         (pascal-toggle-completions): Make obsolete.
8233         (pascal-complete-word, pascal-show-completions):
8234         * progmodes/octave-mod.el (octave-complete-symbol):
8235         Redefine as obsolete alias.
8236         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8237         Signal absence of completion info for old Octave,
8238         (inferior-octave-complete): Redefine as obsolete alias.
8239         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8240         (meta-completions-at-point): Rename from meta-complete-symbol and
8241         adapt it for use on completion-at-point-functions.
8242         (meta-common-mode): Use it.
8243         (meta-looking-at-backward, meta-match-buffer): Remove.
8244         (meta-complete-symbol): Redefine as obsolete alias.
8245         (meta-common-mode-map): Use completion-at-point.
8246         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8247         (makefile-mode-map): Use completion-at-point.
8248         (makefile-completions-at-point): Rename from makefile-complete and
8249         adapt it for use on completion-at-point-functions.
8250         (makefile-mode): Use it.
8251         (makefile-complete): Redefine as obsolete alias.
8253 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8255         * net/rcirc.el: Delete trailing whitespaces once and for all.
8257 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8259         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8261 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8263         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8265         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8267 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8269         * window.el (display-buffer-other-window-means-other-frame):
8270         Call display-buffer-normalize-alist.
8271         (display-buffer-normalize-specifiers-1): Rename to
8272         display-buffer-normalize-argument.  New argument other-frame.
8273         Rewrite.
8274         (display-buffer-normalize-specifiers-2): Rename to
8275         display-buffer-normalize-options.
8276         (display-buffer-normalize-alist-1): New function.
8277         (display-buffer-normalize-specifiers-3): Rename to
8278         display-buffer-normalize-alist.
8279         Call display-buffer-normalize-alist-1.
8280         (display-buffer-normalize-options-inhibit): New variable.
8281         (display-buffer-normalize-specifiers): Rewrite calling
8282         display-buffer-normalize-alist,
8283         display-buffer-normalize-argument, and
8284         display-buffer-normalize-options.  Don't call the latter if
8285         display-buffer-normalize-options-inhibit is non-nil.
8286         (frame-auto-delete): New option.
8287         (window-deletable-p): Use frame-auto-delete.
8288         (window-list-no-nils, window-state-ignored-parameters)
8289         (window-state-get-1, window-state-get, window-state-put-list)
8290         (window-state-put-1, window-state-put-2, window-state-put):
8291         New functions.
8292         (display-buffer-normalize-options): Move special-display-p group
8293         after pop-up-frame group (Bug#8851) and (Bug#8856).
8295 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
8297         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8298         groups (Bug#8776).
8299         (rx-submatch-n): New function.
8300         (rx): Document it.
8302         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8303         (Bug#8768).
8305         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8307         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8309         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8310         anytime existing face settings are present (Bug#8889).
8312         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8313         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8314         Remove unused argument.
8316 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
8318         * window.el (display-buffer-default-specifiers):
8319         Remove pop-up-frame.  Add pop-up-window-min-height,
8320         pop-up-window-min-width, and another reuse-window specifier
8321         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
8322         (display-buffer-normalize-specifiers-2):
8323         Handle split-height-threshold and split-width-threshold also when
8324         pop-up-windows is unset.  Add a reuse-window specifier for the
8325         case popping up a new window fails.
8326         (special-display-popup-frame): Remove double quoting.
8327         (display-buffer-normalize-specifiers-1): Fix thinko.
8329 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8331         * shell.el (shell-completion-vars): Set pcomplete-termination-string
8332         according to comint-completion-addsuffix.
8334         * pcomplete.el: Convert to lexical binding and fix bug#8819.
8335         (pcomplete-suffix-list): Mark as obsolete.
8336         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8337         pcomplete-seen in the closure.
8338         (pcomplete-comint-setup): Setup completion-at-point as well.
8339         (pcomplete--entries): New function.
8340         (pcomplete--env-regexp): New var.
8341         (pcomplete-entries): Rewrite to work with partial-completion and
8342         without relying on pcomplete-suffix-list.
8343         (pcomplete-pare-list): Remove, unused.
8345 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8347         * window.el (display-buffer-alist): Set pop-up-window-min-height
8348         and pop-up-window-min-width in default value.  Reported by
8349         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
8350         other-window-means-other-frame.
8351         (display-buffer-macro-specifiers): Comment out entry for
8352         other-window specifier.
8353         (display-buffer-other-window-means-other-frame): New function.
8354         (display-buffer-normalize-specifiers-1): New arguments
8355         buffer-name and label.  Treat other-window case specially.
8356         (display-buffer-normalize-specifiers-2): Treat other-window case
8357         specially.
8358         (display-buffer-normalize-specifiers-3): New function.
8359         (display-buffer-normalize-specifiers):
8360         Call display-buffer-normalize-specifiers-3.
8362 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8364         * window.el (same-window-p): Fix two typos introduced when
8365         adding with-no-warnings.
8366         (display-buffer-normalize-specifiers-1): Don't check
8367         pop-up-frames for 'unset initialization.
8368         (display-buffer-normalize-specifiers-2): Major rewrite using
8369         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8370         (pop-up-frames, display-buffer-reuse-frames)
8371         (display-buffer-mark-dedicated): Don't initialize to 'unset.
8372         Suggested by David Engster <deng@randomsample.de>.
8373         (even-window-heights): Initialize to 'unset.
8374         (display-buffer-alist-set): Handle new 'unset initializations.
8375         (display-buffer-macro-specifiers): Don't pop up a new frame in the
8376         other window case.
8378 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
8380         * window.el (display-buffer-normalize-specifiers-1):
8381         Respect current value of pop-up-frames for most reasonable values of
8382         second argument of display-buffer (Bug#8865).
8383         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8384         (switch-to-buffer-other-window-same-frame)
8385         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
8386         Adams (Bug#8875).
8387         (display-buffer): Don't check noninteractive when calling
8388         display-buffer-pop-up-frame.
8389         (display-buffer-pop-up-frame): Never pop up a frame in
8390         noninteractive mode (Bug#8857).
8391         (enlarge-window, shrink-window): Don't report an error when the
8392         window can't be resized as requested (Bug#8862).
8394 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8396         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8398         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8400         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8402 2011-06-15  Alan Mackenzie  <acm@muc.de>
8404         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8405         for declarators, disable knr checking to speed up for normal files.
8406         2: Refactor, replacing a sequence of nested if forms by a cond form.
8408 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8410         * net/network-stream.el (open-network-stream): Add the keyword
8411         :always-query-capabilities for the case where you want to force a
8412         `plain' network connection, but the protocol still requires the
8413         capabilitiy command (i.e., SMTP and EHLO).
8415         * subr.el (process-live-p): Rename from `process-alive-p' for
8416         consistency with other `-live-p' functions.
8418 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8420         * window.el (same-window-buffer-names, same-window-regexps)
8421         (special-display-frame-alist, special-display-popup-frame)
8422         (special-display-function, special-display-buffer-names)
8423         (special-display-regexps, pop-up-frame-alist)
8424         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8425         (pop-up-windows, split-window-preferred-function)
8426         (split-height-threshold, split-width-threshold, even-window-heights)
8427         (display-buffer-mark-dedicated): Don't encourage the use of
8428         display-buffer-alist from Elisp code.
8430 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8432         * progmodes/python.el (python-mode): Derive from prog-mode.
8433         * progmodes/ps-mode.el (ps-mode):
8434         * progmodes/mixal-mode.el (mixal-mode):
8435         * progmodes/cfengine.el (cfengine-mode):
8436         * progmodes/ld-script.el (ld-script-mode): Likewise.
8438 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8440         * window.el (display-buffer-alist): Trim default value to avoid
8441         popping up a new frame (Bug#8857) or reusing an arbitrary window
8442         on another frame.
8443         (display-buffer): Do not fall back on popping up a new frame in
8444         batch mode (Bug#8857).
8446 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8448         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8449         (custom-theme-summary): New function.
8450         (customize-themes): Use it.
8452 2011-06-13  Glenn Morris  <rgm@gnu.org>
8454         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8456 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8458         * help.el (help-window): Remove variable.
8459         (help-window-point-marker, temp-buffer-max-height)
8460         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8461         (help-print-return-message): Don't set help-window.
8462         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8463         (help-window-setup-finish): Remove.
8464         (help-window-display-message, help-window-setup)
8465         (with-help-window): Major rewrite based on new
8466         display-buffer-window variable.
8468         * help-mode.el (help-mode-finish): Remove help-window related
8469         code.
8471         * view.el (view-exits-all-viewing-windows): Remove reference to
8472         view-return-to-alist in doc-string.
8473         (view-return-to-alist): Make obsolete.
8474         (view-buffer): Call pop-to-buffer-same-window and remove
8475         undo-window code.
8476         (view-buffer-other-window): Call pop-to-buffer-other-window and
8477         simplify code.  Ignore second argument.
8478         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8479         simplify code.  Ignore second argument.
8480         (view-return-to-alist-update): Make obsolete.
8481         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8482         Rewrite using quit-restore window parameters.
8483         (view-mode-exit): Rename second argument to EXIT-ONLY.
8484         Rewrite using quit-restore-window.
8485         (View-exit, View-exit-and-edit, View-leave, View-quit)
8486         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8487         appropriate arguments.
8488         (view-end-message): Use quit-restore window parameter.
8490         * window.el (display-buffer-function): Rewrite doc-string.
8491         (display-buffer-window, display-buffer-alist): New variables.
8492         (display-buffer-split-specifiers)
8493         (display-buffer-side-specifiers)
8494         (display-buffer-macro-specifiers): New constants.
8495         (display-buffer-even-window-sizes, display-buffer-set-height)
8496         (display-buffer-set-width, display-buffer-select-window)
8497         (display-buffer-in-window, display-buffer-reuse-window)
8498         (display-buffer-split-window-1, display-buffer-split-window)
8499         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8500         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8501         (display-buffer-in-side-window, normalize-buffer-to-display)
8502         (display-buffer-normalize-specifiers-1)
8503         (display-buffer-normalize-specifiers-2)
8504         (display-buffer-normalize-specifiers, display-buffer-frame):
8505         New functions.
8506         (display-buffer): Major rewrite.
8507         (display-buffer-other-window, display-buffer-other-frame)
8508         (pop-to-buffer, switch-to-buffer-other-window)
8509         (switch-to-buffer-other-frame): Rewrite.
8510         (display-buffer-same-window, display-buffer-same-frame)
8511         (display-buffer-same-frame-other-window)
8512         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8513         (pop-to-buffer-other-window)
8514         (pop-to-buffer-same-frame-other-window)
8515         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8516         (switch-to-buffer-other-window-same-frame): New functions.
8517         (same-window-p, special-display-p): Rewrite disabling warnings.
8518         Make obsolete.
8519         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8520         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8521         Make obsolete
8522         (same-window-buffer-names, same-window-regexps)
8523         (special-display-frame-alist, special-display-popup-frame)
8524         (special-display-function, special-display-buffer-names)
8525         (special-display-regexps, pop-up-frame-alist)
8526         (pop-up-frame-function, split-window-preferred-function)
8527         (split-height-threshold, split-width-threshold)
8528         (even-window-heights): Make obsolete.
8530 2011-06-12  Glenn Morris  <rgm@gnu.org>
8532         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8533         Misc simplifications.
8535 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8537         * window.el (window-safely-shrinkable-p): Restore function which
8538         was inadvertently removed in change from 2011-06-11.  Declare as
8539         obsolete.
8541         * calendar/calendar.el (calendar-generate-window):
8542         Use window-iso-combined-p instead of combination of one-window-p and
8543         window-safely-shrinkable-p.
8545 2011-06-12  Glenn Morris  <rgm@gnu.org>
8547         * progmodes/fortran.el (fortran-mode-syntax-table):
8548         * progmodes/f90.el (f90-mode-syntax-table):
8549         Set % to punctuation.  (Bug#8820)
8550         (f90-find-tag-default): Remove, no longer needed.
8552 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8554         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8556 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8558         * image.el (image-animated-p): Return animation delay in seconds.
8559         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8560         (image-animate-timeout): Remove DELAY argument.  Don't assume
8561         every subimage has the same delay; get it from image-animated-p.
8562         (image-animate): Caller changed.
8564 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8566         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8567         to ignored backtrace functions.
8569 2011-06-11  Glenn Morris  <rgm@gnu.org>
8571         * calendar/appt.el (appt-disp-window-function): Doc fix.
8572         (appt-check): Handle overlapping appointments.  (Bug#8337)
8574 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8576         * window.el (window-tree-1, window-tree): New functions, moving
8577         the latter to window.el.
8578         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8579         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8580         (bw-refresh-edges): Remove.
8581         (balance-windows-1, balance-windows-2): New functions.
8582         (balance-windows): Rewrite in terms of window tree functions,
8583         balance-windows-1 and balance-windows-2.
8584         (bw-adjust-window): Remove.
8585         (balance-windows-area-adjust): New function with functionality of
8586         bw-adjust-window but using resize-window.
8587         (set-window-text-height): Rewrite doc-string.
8588         Use normalize-live-window and resize-window.
8589         (enlarge-window-horizontally, shrink-window-horizontally):
8590         Rename argument to DELTA.
8591         (window-buffer-height): New function.
8592         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8593         Rewrite using new window resize routines.
8594         (kill-buffer-and-window, mouse-autoselect-window-select):
8595         Use ignore-errors instead of condition-case.
8596         (quit-window): Call delete-frame instead of delete-windows-on
8597         for the only buffer on frame.
8599 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8601         * loadup.el (top-level): Load window before files for the sake
8602         of replace-buffer-in-windows.
8604         * files.el (read-buffer-to-switch)
8605         (switch-to-buffer-other-window)
8606         (switch-to-buffer-other-frame, display-buffer-other-frame):
8607         Move to window.el.
8609         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8610         (previous-buffer): Move to window.el.
8612         * bindings.el (unbury-buffer): Move to window.el.
8614         * window.el (delete-other-windows-vertically): Move after
8615         definition of delete-other-windows.
8616         (other-window, delete-windows-on, replace-buffer-in-windows):
8617         Move here from window.c.
8618         (record-window-buffer, unrecord-window-buffer)
8619         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8620         (switch-to-next-buffer): New functions.
8621         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8622         from simple.el.  Call switch-to-next-buffer.
8623         (previous-buffer): Move here from simple.el.
8624         Call switch-to-prev-buffer.
8625         (bury-buffer): Move here from buffer.c.  Switch to previous
8626         buffer when window cannot be deleted.
8627         (unbury-buffer): Move here from bindings.el.
8628         (ctl-x-map): Move binding for other-window from window.c to
8629         here.
8630         (read-buffer-to-switch, switch-to-buffer-other-window)
8631         (switch-to-buffer-other-frame): Move here from files.el.
8632         (normalize-buffer-to-switch-to): New functions.
8633         (switch-to-buffer): Move here from buffer.c.
8634         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8636 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8638         * window.el (window-min-height, window-min-width): Move here
8639         from window.c.  Add defcustoms and rewrite doc-strings.
8640         (resize-mini-window, resize-window): New functions.
8641         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8642         Move here from window.c.
8643         (maximize-window, minimize-window): New functions.
8644         (delete-window, delete-other-windows, split-window): Move here
8645         from window.c.
8646         (window-split-min-size): New function.
8647         (split-window-keep-point): Mention split-window-above-each-other
8648         instead of split-window-vertically.
8649         (split-window-above-each-other, split-window-vertically):
8650         Rename split-window-vertically to split-window-above-each-other
8651         and provide defalias for old definition.
8652         (split-window-side-by-side, split-window-horizontally):
8653         Rename split-window-horizontally to split-window-side-by-side
8654         and provide defalias for the old definition.
8655         (ctl-x-map): Move bindings for delete-window,
8656         delete-other-windows and enlarge-window here from window.c.
8657         Replace bindings for split-window-vertically and
8658         split-window-horizontally by bindings for
8659         split-window-above-each-other and split-window-side-by-side.
8661         * cus-start.el (all): Remove entries for window-min-height and
8662         window-min-width.  Add entries for window-splits and
8663         window-nest.
8665 2011-06-09  Glenn Morris  <rgm@gnu.org>
8667         * calendar/appt.el (appt-mode-line): New function.
8668         (appt-check, appt-disp-window): Use it.
8670         * files.el (hack-one-local-variable-eval-safep):
8671         Allow minor-modes with explicit +/-1 arguments.
8673 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8675         * term/xterm.el (xterm): Add defgroup.
8676         (xterm-extra-capabilities): Add defcustom to supply known xterm
8677         capabilities, skip querying them, or query them (default).
8678         (terminal-init-xterm): Use it.
8679         (terminal-init-xterm-modify-other-keys): New function to set up
8680         modifyOtherKeys support to simplify `terminal-init-xterm'.
8682 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8684         * window.el (resize-window-reset, resize-window-reset-1)
8685         (resize-subwindows-skip-p, resize-subwindows-normal)
8686         (resize-subwindows, resize-other-windows, resize-this-window)
8687         (resize-root-window, resize-root-window-vertically)
8688         (window-deletable-p, window-or-subwindow-p)
8689         (frame-root-window-p): New functions.
8691 2011-06-09  Glenn Morris  <rgm@gnu.org>
8693         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8694         (ange-ftp-get-files): Use it.
8696 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8698         * mail/sendmail.el (mail-recover-1, mail-recover):
8699         * files.el (recover-file, recover-session):
8700         Handle dired-listing-switches not being just a single short option.
8702 2011-06-09  Glenn Morris  <rgm@gnu.org>
8704         * calendar/appt.el (appt-display-message, appt-disp-window):
8705         Handle lists of appointments.
8707 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8709         * window.el (one-window-p): Move down in code.
8710         Rewrite doc-string.
8711         (window-current-scroll-bars): Rewrite doc-string.
8712         Normalize live window argument.
8713         (walk-windows, get-window-with-predicate, count-windows):
8714         Rewrite doc-string.  Use window-list-1.
8715         (window-in-direction-2, window-in-direction, get-mru-window):
8716         New functions.
8718 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8720         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8721         Doc fix (Bug#8713).
8723 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8725         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8727 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8729         * loadhist.el (unload-feature-special-hooks):
8730         Add `comint-output-filter-functions'.
8732 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8734         * calendar/appt.el (appt-check): Move some initializations into the let.
8736 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8738         * window.el (window-height): Defalias to window-total-height.
8739         (window-width): Defalias to window-body-width.
8741 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8743         * image-mode.el (image-toggle-animation): New command.
8744         (image-mode-map): Bind it to RET.
8745         (image-mode): Update message.
8746         (image-toggle-display-image): Avoid a spurious cache flush.
8747         (image-transform-rotation): Doc fix.
8748         (image-transform-properties): Return quickly in the normal case.
8749         (image-animate-loop): Rename from image-animate-max-time.
8751         * image.el (image-animate-max-time): Move to image-mode.el.
8752         (create-animated-image): Remove unnecessary function.
8753         (image-animate): Rename from image-animate-start.  New arg.
8754         (image-animate-stop): Remove; just use image-animate-timer.
8755         (image-animate-timer): Use car-safe.
8756         (image-animate-timeout): Rename argument.
8758 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8760         * window.el (get-lru-window, get-largest-window): Move here from
8761         window.c.  Rename first argument to ALL-FRAMES.
8762         Rephrase doc-strings.
8763         (get-buffer-window-list): Rewrite using window-list-1.
8764         Rephrase doc-string.
8765         (window-safe-min-height, window-safe-min-width): New constants.
8766         (window-size-ignore, window-min-size, window-min-size-1)
8767         (window-sizable, window-sizable-p, window-size-fixed-1)
8768         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8769         (window-max-delta-1, window-max-delta, window-resizable)
8770         (window-resizable-p, window-total-height, window-total-width)
8771         (window-body-width): New functions.
8772         (window-full-height-p, window-full-width-p): Rewrite using
8773         window-total-size.
8774         (window-body-height): Rewrite using window-body-size.
8776 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8778         * window.el (window-right, window-left, window-child)
8779         (window-child-count, window-last-child, window-any-p)
8780         (normalize-live-buffer, normalize-live-frame)
8781         (normalize-any-window, normalize-live-window)
8782         (window-iso-combination-p, window-iso-combined-p)
8783         (window-iso-combinations)
8784         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8785         (windows-with-parameter, window-with-parameter)
8786         (window-atom-root, make-window-atom, window-atom-check-1)
8787         (window-atom-check, window-side-check, window-check):
8788         New functions.
8789         (ignore-window-parameters, window-sides, window-sides-vertical)
8790         (window-sides-slots): New variables.
8791         (window-size-fixed): Move down in code.  Minor doc-string fix.
8793 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8795         * comint.el (comint-dynamic-complete-as-filename)
8796         (comint-dynamic-complete-filename): Correctly call
8797         completion-in-region.
8799 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8801         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8802         in last change.
8804 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8806         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8807         (rcirc): Use it to prompt for encryption.
8809 2011-06-05  Roland Winkler  <winkler@gnu.org>
8811         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8812         (bibtex-search-entries): New command bound to C-c C-a.
8813         (bibtex-display-entries): New function.
8815 2011-06-05  Roland Winkler  <winkler@gnu.org>
8817         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8818         (bibtex-insert-kill): After yanking insert newline if necessary.
8819         (bibtex-initialize): Call bibtex-string-files-init only once.
8820         (bibtex-mode): Do not call easy-menu-add.
8821         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8822         (bibtex-yank): Set arg properly if nil.
8824 2011-06-05  Roland Winkler  <winkler@gnu.org>
8826         * textmodes/bibtex.el (bibtex-search-entry-globally):
8827         New variable.
8828         (bibtex-search-entry): Use it.
8830 2011-06-05  Roland Winkler  <winkler@gnu.org>
8832         * textmodes/bibtex.el (bibtex-entry-format): New option
8833         sort-fields.
8834         (bibtex-format-entry, bibtex-reformat): Honor this option.
8835         (bibtex-parse-entry): Return fields in proper order.
8837 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8839         * doc-view.el (doc-view-remove-if): Move computation of result out
8840         of `dolist' to silence misleading lexical-binding warning.
8842 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8844         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8845         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8847 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8849         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8850         "SunOS 5.10".
8852 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8854         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8855         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8856         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8857         (tramp-parse-putty):
8858         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8859         (tramp-completion-function-alist-ssh)
8860         (tramp-completion-function-alist-telnet)
8861         (tramp-completion-function-alist-su)
8862         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8863         cookie.
8865         * net/tramp-ftp.el:
8866         * net/tramp-sh.el:
8867         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8868         load "tramp.el" `tramp-set-completion-function'.
8870 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8872         * shell.el: Require and use pcomplete.
8873         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8874         (shell-completion-vars): Set pcomplete-default-completion-function.
8876 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8878         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8879         `memq' (Bug#8799).
8881 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8883         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8885 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8887         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8888         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8889         * vc/log-view.el (log-view-beginning-of-defun):
8890         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8891         (smerge-refine-forward, smerge-refine-chopup-region):
8892         Silence warning for unused `dotimes' counter variables.
8894 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8896         * net/tramp.el (tramp-with-progress-reporter): Rename from
8897         with-progress-reporter.  Use `declare'.
8898         * net/tramp-smb.el:
8899         * net/tramp-sh.el:
8900         * net/tramp-gvfs.el: Update all uses.
8902 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8904         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8905         buffer isn't killed before making it current.
8907 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8909         Silence various byte-compiler warnings.
8910         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8911         `access-type' and new obsolescence format.
8912         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8913         new format.
8914         (byte-compile-check-variable): New `access-type' argument.
8915         Only warn if the access-type is obsolete.
8916         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8917         (byte-compile-variable-set): Adjust callers.
8918         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8919         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8920         setting it as obsolete.
8921         * simple.el (minibuffer-completing-symbol):
8922         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8923         access as obsolete.
8924         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8925         obsolete yet.
8926         * international/quail.el (quail-mouse-choose-completion): Remove unused
8927         code referring to obsolete var.
8928         (quail-choose-completion-string): Remove.
8929         * server.el (server-clients-with, server-kill-buffer-query-function)
8930         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8931         * proced.el (proced-send-signal):
8932         * emacs-lisp/lisp.el (lisp-complete-symbol):
8933         Replace completion-annotate-function with completion-extra-properties.
8935 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8937         * simple.el (goto-line): Use read-number.
8938         (overriding-map-is-bound): Remove.
8939         (saved-overriding-map): Change default.
8940         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8941         Take the map as argument.
8942         (universal-argument, negative-argument, digit-argument): Use it.
8943         (restore-overriding-map): Adjust.
8944         (do-auto-fill): Use fill-forward-paragraph.
8945         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8947         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8948         (minibuffer-inactive-mode): New major mode.
8949         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8950         the *Messages* buffer" hack.
8951         (mouse-popup-menubar): Don't burp if the event is a normal key.
8953         Miscellaneous tweaks.
8954         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8955         lexical scoping as in subr.el's dolist and dotimes.
8956         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8957         Silence compiler warning.
8958         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8959         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8960         * international/ccl.el (ccl-compile): Trivial simplification.
8961         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8962         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8963         `printflag' argument.
8964         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8965         Purecopy the whole obsolescence data.
8967 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8969         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8970         improve doc-string as suggested by Marco Pessotto
8971         <melmothx@gmail.com>.
8972         (rcirc-print): Fix last change.
8974 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8976         * minibuffer.el (complete-with-action): Return nil for the metadata and
8977         boundaries of non-functional tables.
8978         (completion-table-dynamic): Return nil for the metadata.
8979         (completion-table-with-terminator): Add default case, using
8980         complete-with-action.
8981         (completion--metadata): New function.
8982         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8983         to try and avoid pathological performance problems.
8984         (completion--embedded-envvar-table): Return `category' metadata.
8986 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8988         * subr.el (process-alive-p): New tiny convenience function.
8990 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8992         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8993         content but also its previous major mode.
8995 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8997         * emacs-lisp/debug.el (debug): Restore the previous content of the
8998         *Backtrace* buffer when we exit with C-M-c.
9000 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9002         * minibuffer.el: Add metadata method to completion tables.
9003         (completion-category-overrides): New defcustom.
9004         (completion-metadata, completion--field-metadata)
9005         (completion-metadata-get, completion--styles)
9006         (completion--cycle-threshold): New functions.
9007         (completion-try-completion, completion-all-completions):
9008         Add `metadata' argument to choose completion-styles.
9009         (completion--do-completion): Use metadata to choose cycling.
9010         (completion-all-sorted-completions): Use metadata for sorting.
9011         Remove :completion-cycle-penalty which is not needed any more.
9012         (completion--try-word-completion): Add `metadata' argument.
9013         (minibuffer-completion-help): Check metadata for annotation function
9014         and sorting.
9015         (completion-file-name-table): Return `category' metadata.
9016         (minibuffer-completing-file-name): Make obsolete.
9017         * simple.el (minibuffer-completing-symbol): Make obsolete.
9018         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9019         completion-try-completion.
9021 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9023         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9025 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9027         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9028         (rcirc-print): Decode all incoming messages (bug#8744).
9029         (rcirc-decode-coding-system): Allow value nil for automatic coding
9030         system detection.
9032 2011-06-01  Glenn Morris  <rgm@gnu.org>
9034         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9036 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9038         * image.el (image-animate-max-time): Allow nil and t values.
9039         Default to nil.
9040         (create-animated-image): Doc fix.
9041         (image-animate-start): Remove second arg; just use
9042         image-animate-max-time.
9043         (image-animate-timeout): Doc fix.  Args changed.
9045         * image-mode.el (image-toggle-display-image): Ensure that the
9046         image spec passed to the animate timer is the same object as in
9047         the buffer's display property (Bug#6981).
9048         (image-transform-properties): Doc fix.
9050         * image.el (image-animate-max-time): Default to nil.
9052 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9054         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9055         entire buffer list (Bug#8184).
9057 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9059         * image.el (imagemagick-types-inhibit)
9060         (imagemagick-register-types): Doc fix.
9062 2011-05-29  Deniz Dogan  <deniz@dogan.se>
9064         * net/rcirc.el (rcirc): Use the user's stored encryption method by
9065         default.
9067 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9069         * select.el: Don't perform clipboard-manager saving in hooks;
9070         leave the hooks empty.
9072 2011-05-28  Leo Liu  <sdl.web@gmail.com>
9074         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9075         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9076         (occur-edit-mode): New major mode (Bug#8463).
9077         (occur-after-change-function): New function.
9078         (occur-engine): Give Occur tags a read-only property.
9080 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9082         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9084 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9086         * bindings.el (help-echo): Make the initial non-indicator dash
9087         empty on graphical terminals (Bug#7295).
9089         * files.el (auto-mode-alist): Move config rule after the
9090         in-stripping one (Bug#8547).
9092         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9094         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9095         setting (Bug#8740).
9097 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9099         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9100         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9101         (Bug#8539).
9103 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9105         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9107 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9109         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9110         (hs-hide-block-at-point, hs-find-block-beginning)
9111         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9112         (Bug#8279).
9114 2011-05-28  Glenn Morris  <rgm@gnu.org>
9116         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9118 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9120         * help-fns.el (describe-function-1): If the function is a derived
9121         major mode, print the parent mode.
9123         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9124         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9126 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9128         * minibuffer.el (completion--capf-wrapper): Check applicability before
9129         returning non-nil for non-exclusive completion data.
9130         * progmodes/etags.el (tags-completion-at-point-function):
9131         * info-look.el (info-lookup-completions-at-point): Mark as
9132         non-exclusive.
9133         (info-complete): Adjust accordingly.
9135         * info-look.el: Convert to lexical-binding and completion-at-point.
9136         (info-lookup-completions-at-point): New function.
9137         (info-complete): Use it and completion-in-region.
9139 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9141         * isearch.el: Let M-e start with point at the first mismatched char.
9142         (isearch-fail-pos): New function.
9143         (isearch-edit-string): Use it.
9145 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9147         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9149 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9151         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9152         traversal functions for avl-trees.
9153         (avl-tree--stack): New struct.
9154         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9155         (avl-tree-enter): Add optional `updatefun' arg.
9156         (avl-tree--do-enter): Add optional `updatefun' arg.
9157         Change return value.
9158         (avl-tree-delete): Add optional `test' and `nilflag' args.
9159         (avl-tree--do-delete): Add `test' and `nilflag' args.
9160         Change return value.
9161         (avl-tree-member): Add optional `nilflag'
9162         (avl-tree-member-p): New function.
9163         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9164         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9165         (avl-tree-stack-empty-p): New functions.
9167         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9168         avl-tree--del-balance1 and make it work both ways.
9169         (avl-tree--del-balance2): Remove.
9170         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9171         make it work both ways.
9172         (avl-tree--enter-balance2): Remove.
9173         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9174         New macros.
9175         (avl-tree--mapc, avl-tree-map): Add direction argument.
9177 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9179         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9181 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9183         * select.el: Support clipboard managers with built-in function
9184         x-clipboard-manager-save, via delete-frame-functions and
9185         kill-emacs-hook.
9186         (xselect-convert-to-targets): Add MULTIPLE target to list.
9187         (xselect-convert-to-save-targets): New function.
9189 2011-05-27  Kenichi Handa  <handa@m17n.org>
9191         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9192         let-binding rfc2047-encode-encoded-words to nil.
9194 2011-05-27  Glenn Morris  <rgm@gnu.org>
9196         * mail/emacsbug.el: Don't require url-util.
9198         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9200         * files.el (set-auto-mode):
9201         Also respect mode: entries at the end of the file.  (Bug#8586)
9203 2011-05-26  Glenn Morris  <rgm@gnu.org>
9205         * files.el (hack-local-variables-prop-line, hack-local-variables):
9206         Downcase mode names, as seems to be traditional.
9207         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9209         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9210         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9212 2011-05-25  Julien Danjou  <julien@danjou.info>
9214         * textmodes/rst.el (rst-define-level-faces): Do not define face
9215         symbol if it is already defined.
9217 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9219         * play/5x5.el (5x5-new-game, 5x5-randomize):
9220         Reset 5x5-solver-output to nil when a new grid is cast.
9221         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9222         these debugging traces, as defmacro breaks the compiled code.
9224 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9226         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9228 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9230         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9231         (vc-bzr-sha1): Adapt.
9233         * sha1.el: Remove.  Function `sha1' is now builtin.
9235         * bindings.el: Provide sha1 feature.
9237 2011-05-24  Kenichi Handa  <handa@m17n.org>
9239         * mail/sendmail.el: Require `rfc2047'.
9240         (mail-insert-from-field): Do not perform RFC2047 encoding.
9241         (mail-encode-header): New function.
9242         (sendmail-send-it): Set buffer-file-coding-system of the work
9243         buffer to the return value of select-message-coding-system.
9244         Call mail-encode-header.
9246         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9248 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9250         * mail/supercite.el (sc-default-cite-frame):
9251         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9253 2011-05-24  Glenn Morris  <rgm@gnu.org>
9255         * progmodes/python.el (brm-menu): Declare.
9257         * emulation/viper.el (viper-set-hooks): Declare.
9259         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9260         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9261         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9262         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9263         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9264         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9266 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9268         Add an :exit-function for completion-at-point.
9270         * minibuffer.el (completion--done): New fun.
9271         (completion--do-completion): Use it.  New arg `expect-exact'.
9272         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9273         since completion--do-completion does it for us now.
9274         (minibuffer-force-complete): Use completion--done and
9275         completion--replace.  Handle sole-completion case with more care.
9276         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9277         (completion-extra-properties): New var.
9278         (completion-annotate-function): Make obsolete.
9279         (minibuffer-completion-help): Adjust accordingly.
9280         Use completion-list-insert-choice-function.
9281         (completion-at-point, completion-help-at-point):
9282         Bind completion-extra-properties.
9283         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9284         * simple.el (completion-list-insert-choice-function): New var.
9285         (completion-setup-function): Preserve it.
9286         (choose-completion): Pay attention to it, shuffle the code a bit.
9287         (choose-completion-string): New arg `insert-function'.
9289         * textmodes/bibtex.el: Convert to lexical binding.
9290         (bibtex-mode-map): Use completion-at-point.
9291         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9292         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9293         (bibtex-complete): Define as obsolete alias.
9294         (bibtex-complete-internal): Remove.
9295         (bibtex-format-entry): Remove unused sub-group in regexp.
9296         * shell.el (shell--command-completion-data)
9297         (shell-environment-variable-completion):
9298         * pcomplete.el (pcomplete-completions-at-point):
9299         * comint.el (comint--complete-file-name-data): Use :exit-function
9300         instead of completion-table-with-terminator so it also works for
9301         choose-completion.
9303 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9305         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9307         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9308         (bug#8710).
9310         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9312 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
9314         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9315         customization variable and implement: If non-nil, auto-fill will
9316         be inhibited while on topic's header line.
9318 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9320         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9321         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
9322         always have a solution in grid size = 5 cases.
9323         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9324         (5x5-solver-output, 5x5-log-buffer): New vars.
9325         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9326         Make these variables buffer local to achieve 5x5 multi-session-ness.
9327         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9328         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9329         (5x5-solve-suggest): New funs.
9330         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9331         randomize a grid so that we ensure that there is always a solution.
9332         (5x5-make-random-grid): Allow other movement than flipping.
9334 2011-05-23  Kevin Ryde  <user42@zip.com.au>
9336         * emacs-lisp/advice.el (ad-read-advised-function):
9337         Use `function-called-at-point' as the default, if it has
9338         advice and passes PREDICATE.
9340 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9343         byte-compile-lambda if it's actually a lambda.
9345         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9346         Fix function quoting.  Use backquote better.
9348 2011-05-22  Yuanle Song  <sylecn@gmail.com>
9350         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9351         matching (Bug#8516).
9353 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
9355         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9356         different face (Bug#8178).
9358 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
9360         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9361         defface (Bug#8144).
9363 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9365         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9366         funcall as well (bug#8712).  Warn when performing those conversions.
9367         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9369         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9371 2011-05-22  Glenn Morris  <rgm@gnu.org>
9373         * files.el (hack-local-variables-prop-line): Small simplifications.
9374         (hack-local-variables, hack-local-variables-prop-line):
9375         If MODE-ONLY, return the mode, rather than just `t'.
9377 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9379         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9381 2011-05-21  Glenn Morris  <rgm@gnu.org>
9383         * files.el (hack-local-variables-prop-line, hack-local-variables):
9384         If only interested in the mode, don't bother doing the other stuff.
9386         * image-mode.el (image-after-revert-hook):
9387         Redraw all frames on which the image is visible.  (Bug#8567)
9389         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
9391         * wid-edit.el (widget-checklist-match-inline):
9392         Fix 2011-04-19 change.  (Bug#8649)
9394 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9397         Also allow singlespace after single-letter capitals followed by a dot.
9399         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9400         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9402 2011-05-20  Nix  <nix@esperi.org.uk>
9404         * files.el (basic-save-buffer-2):
9405         Fix handling of break-hardlink-on-save with non-existent files.
9407 2011-05-19  Deniz Dogan  <deniz@dogan.se>
9409         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9410         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9412 2011-05-19  Glenn Morris  <rgm@gnu.org>
9414         * progmodes/f90.el (f90-type-def-re):
9415         Handle "type, bind(c)".  (Bug#8691)
9417         * emacs-lisp/autoload.el (batch-update-autoloads):
9418         Set autoload-excludes by parsing loadup.el rather than Makefiles.
9420 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
9422         * net/tramp.el (tramp-process-actions): Set "first-password-request"
9423         property for the correct connection in case of multihops.
9425 2011-05-18  Glenn Morris  <rgm@gnu.org>
9427         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9428         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9430         Rationalize calendar handling of day and month abbrev-arrays.
9431         * calendar/calendar.el (calendar-customized-p): New function.
9432         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9433         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9434         Add :set function.
9435         (calendar-abbrev-length, calendar-day-abbrev-array)
9436         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9437         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9438         Elements may no longer be nil.
9439         (calendar-day-name, calendar-month-name):
9440         Update for changed nature of abbrev arrays.
9441         * calendar/diary-lib.el (diary-name-pattern):
9442         Update for changed nature of abbrev arrays.
9443         (diary-mark-entries-1): Update calendar-make-alist calls.
9444         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9445         * calendar/cal-html.el (cal-html-day-abbrev-array):
9446         Simply inherit from calendar-day-abbrev-array.
9448 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9450         * progmodes/grep.el (grep-mode): Disable default
9451         compilation-directory-matcher setting (bug#8684).
9453 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9455         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9456         instead of "head" and "tail".  There were problems with SunOS 5.9,
9457         and it performs better.
9459 2011-05-17  Glenn Morris  <rgm@gnu.org>
9461         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9463         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9464         Replace obsolete function.
9466         * shell.el (pcomplete-parse-arguments-function): Declare.
9468         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9469         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9470         (appt-check): Doc fixes.
9471         (appt-disp-window-function, appt-delete-window-function):
9472         Remove needless special case in custom :type.
9473         (appt-display-count): Default to 0, not nil.
9474         (appt-check): Reset appt-display-count to 0, not nil.
9476 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9478         * progmodes/python.el (python-font-lock-keywords):
9479         Add the Python 3.X keyword "nonlocal" (bug#8639).
9481 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9483         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9485 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9487         * info-look.el (makefile-automake-mode): New setups, looking in
9488         automake manual, then makefile-mode.
9489         (makefile-mode): Remove automake manual, have it just in
9490         makefile-automake-mode since there's various things different or
9491         not relevant to plain make.
9492         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9493         believe a hypothetical automake-mode would go to makefile-mode,
9494         not the other way around.
9496 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9498         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9499         hunk-end tags (Bug#8672).
9501         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9502         vc-annotate-show-diff-revision-at-line (Bug#8671).
9504 2011-05-14  Glenn Morris  <rgm@gnu.org>
9506         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9507         in the middle of an existing one with multiple authors.  (Bug#8645)
9508         (change-log-font-lock-keywords): Also handle multiple author lines
9509         with leading tabs.  (Bug#8644)
9511         * calendar/appt.el (appt-check): Rename some local variables.
9512         Some simplification/reordering.
9514         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9515         (feedmail-sendmail-f-doesnt-sell-me-out)
9516         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9517         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9518         (feedmail-queue-runner-message-sender): Set :version.
9519         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9520         (bbdb-dwim-net-address, vm-mail): Declare.
9521         (feedmail-binmail-gnulinuxish-template):
9522         Rename from feedmail-binmail-linuxish-template.
9523         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9524         Use insert-buffer-substring.
9526 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9528         * mail/feedmail.el (feedmail-patch-level): Increase.
9529         (feedmail-debug): New custom group.
9530         (feedmail-confirm-outgoing-timeout)
9531         (feedmail-sendmail-f-doesnt-sell-me-out)
9532         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9533         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9534         (feedmail-sender-line, feedmail-from-line)
9535         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9536         (feedmail-spray-this-address)
9537         (feedmail-spray-address-fiddle-plex-list)
9538         (feedmail-queue-use-send-time-for-date)
9539         (feedmail-queue-use-send-time-for-message-id)
9540         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9541         (feedmail-buffer-eating-function):
9542         Doc fixes.
9543         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9544         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9545         (feedmail-message-action-scroll-down): New functions.
9546         (feedmail-queue-directory, feedmail-queue-draft-directory):
9547         Use expand-file-name.
9548         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9549         Remove C-v help entry.
9550         (feedmail-queue-buffer-file-name): New variable.
9551         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9552         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9553         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9554         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9555         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9556         (feedmail-message-action-toggle-spray)
9557         (feedmail-run-the-queue-no-prompts)
9558         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9559         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9560         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9561         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9562         (feedmail-envelope-deducer, feedmail-fiddle-from)
9563         (feedmail-fiddle-sender, feedmail-default-date-generator)
9564         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9565         (feedmail-fiddle-spray-address)
9566         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9567         (feedmail-fiddle-list-of-fiddle-plexes)
9568         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9569         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9570         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9571         Change default.  Doc fix.
9572         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9573         (feedmail-binmail-linuxish-template): New constant.
9574         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9575         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9576         (feedmail-send-it): Add debug call.
9577         Use feedmail-queue-buffer-file-name, and
9578         feedmail-send-it-immediately-wrapper.
9579         (feedmail-message-action-send): Add debug call.
9580         Use feedmail-send-it-immediately-wrapper.
9581         (feedmail-queue-express-to-queue): Add debug call.
9582         Run feedmail-queue-express-hook.
9583         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9584         (feedmail-message-action-help-blat):
9585         Rename from feedmail-queue-send-edit-prompt-help-first.
9586         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9587         Check line-endings.  Handle errors better.
9588         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9589         Doc fix.  Add debug call.
9590         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9591         Use feedmail-queue-send-edit-prompt-inner.
9592         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9593         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9594         from feedmail-queue-send-edit-prompt.
9595         (feedmail-queue-send-edit-prompt-help)
9596         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9597         (feedmail-tidy-up-slug): Add debug call.
9598         Respect feedmail-queue-slug-suspect-regexp.
9599         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9600         (feedmail-dump-message-to-queue): Add debug call.
9601         Expand queue-directory.
9602         (feedmail-dump-message-to-queue): Change message slightly.
9603         Use feedmail-say-chatter.
9604         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9605         (feedmail-send-it-immediately-wrapper): New function.
9606         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9607         Insert empty string rather than newline.  Handle full-frame case.
9608         Use catch/throw.  Use feedmail-say-chatter.
9609         (feedmail-fiddle-from): Try mail-host-address.
9610         (feedmail-default-message-id-generator): Doc fix.
9611         Bind system-time-locale.  Handle missing end.
9612         (feedmail-fiddle-x-mailer): Add debug call.
9613         Handle feedmail-x-mailer-line being nil.
9614         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9615         Add debug call.  Use buffer-substring-no-properties.
9616         (feedmail-say-debug, feedmail-say-chatter): New functions.
9617         (feedmail-find-eoh): Give an explicit error.
9619 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9621         * net/newst-treeview.el (newsticker-treeview-face): Change default
9622         family from helvetica to sans.
9623         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9624         etc/images/newsticker.
9626         * net/newst-reader.el (newsticker-feed-face): Change default
9627         family from helvetica to sans.
9629         * net/newst-plainview.el (newsticker-new-item-face)
9630         (newsticker-old-item-face, newsticker-immortal-item-face)
9631         (newsticker-obsolete-item-face, newsticker-date-face)
9632         (newsticker-statistics-face): Change default family from
9633         helvetica to sans.
9634         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9635         etc/images/newsticker.
9637         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9638         (newsticker--process-auto-mark-filter-match): : Tell user about
9639         auto-marking.
9641 2011-05-13  Didier Verna  <didier@xemacs.org>
9643         Common Lisp indentation improvements on defmethod and lambda-lists.
9644         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9645         TODO entries.
9646         (lisp-lambda-list-keyword-parameter-indentation)
9647         (lisp-lambda-list-keyword-parameter-alignment)
9648         (lisp-lambda-list-keyword-alignment): New customizable user options.
9649         (lisp-indent-defun-method): Improve docstring.
9650         (extended-loop-p): Fix comment.
9651         (lisp-indent-lambda-list-keywords-regexp): New variable.
9652         (lisp-indent-lambda-list): New function.
9653         (lisp-indent-259): Use it.
9654         (lisp-indent-defmethod): Support for more than one
9655         method qualifier and properly indent methods lambda-lists.
9656         (defgeneric): Provide a missing common-lisp-indent-function property.
9658 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9660         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9661         bounds for the empty string (bug#8667).
9663 2011-05-13  Glenn Morris  <rgm@gnu.org>
9665         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9667         * mail/sendmail.el (sendmail-program): Try executable-find first.
9668         (sendmail-send-it): `sendmail-program' cannot be unbound.
9670         * calendar/appt.el (appt-make-list): Simplify.
9671         (appt-time-msg-list): Doc fix.
9672         (appt-check): Change mode-line message at the time of the appointment.
9674 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9676         * progmodes/ld-script.el (ld-script-keywords)
9677         (ld-script-builtins): Update keywords list.
9679 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9681         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9683         * shell.el (shell-completion-vars): New function.
9684         (shell-mode):
9685         * simple.el (read-shell-command): Use it.
9686         (blink-matching-open): No need for " [...]" in minibuffer-message.
9688 2011-05-12  Glenn Morris  <rgm@gnu.org>
9690         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9691         (appt-check): Simplify.
9693 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9695         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9696         literal "/dev/null".
9698 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9700         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9701         Fix typo.
9703 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9705         * progmodes/which-func.el (which-function):
9706         Use add-log-current-defun instead of add-log-current-defun-function,
9707         which might not be defined (Bug#8260).
9709 2011-05-12  Glenn Morris  <rgm@gnu.org>
9711         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9712         Let byte-compile-initial-macro-environment always take precedence.
9714 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9716         * net/rcirc.el: Add support for SSL/TLS connections.
9717         (rcirc-server-alist): New field `encryption'.
9718         (rcirc): Check `encryption' settings.
9719         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9720         Merge make-local-variable into `set'.
9721         (rcirc--connection-open-p): New function.
9722         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9723         the process is not a network process (e.g. running gnutls-cli).
9724         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9725         Make rcirc-(en|de)code-coding-system local here.
9726         (rcirc-mode): Merge make-local-variable into `set'.
9727         (rcirc-parent-buffer): Make permanent buffer-local.
9728         (rcirc-multiline-minor-mode): Don't do it here.
9729         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9730         there's no server buffer.
9732 2011-05-11  Glenn Morris  <rgm@gnu.org>
9734         * newcomment.el (comment-kill): Prefix "unused" local.
9736         * term/w32console.el (get-screen-color): Declare.
9738         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9739         Handle symbol elements of byte-compile-initial-macro-environment.
9741 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9743         * bookmark.el (bookmark-bmenu-mode-map):
9744         Bind bookmark-bmenu-search to `/'.
9746         * mail/footnote.el: Convert to utf-8 encoding.
9747         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9748         (Footnote-unicode): New function.
9749         (footnote-style-alist): Add unicode style to the list.
9750         (footnote-style): Doc fix.
9752 2011-05-10  Jim Meyering  <meyering@redhat.com>
9754         Fix doubled-word typos.
9755         * international/quail.el (quail-insert-kbd-layout): and and -> and
9756         * kermit.el: and and -> and
9757         * net/ldap.el (ldap-search-internal): to to -> to
9758         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9759         * progmodes/js.el (js-mode): and and -> and
9760         * textmodes/artist.el (artist-move-to-xy): at at -> at
9761         (artist-draw-region-trim-line-endings): if if -> if
9762         And Safetyc -> Safety.
9763         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9765 2011-05-10  Glenn Morris  <rgm@gnu.org>
9766             Stefan Monnier  <monnier@iro.umontreal.ca>
9768         * files.el (hack-one-local-variable-eval-safep):
9769         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9771 2011-05-10  Glenn Morris  <rgm@gnu.org>
9773         * calendar/diary-lib.el (diary-list-entries-hook)
9774         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9775         (diary-nongregorian-marking-hook, diary-list-entries)
9776         (diary-include-other-diary-files, diary-mark-entries)
9777         (diary-mark-included-diary-files): Doc fixes.
9779 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9781         * misc.el: Require tabulated-list.el during compilation.
9783 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9785         * progmodes/compile.el (compilation-start):
9786         Run compilation-filter-hook for the async case too.
9787         (compilation-filter-hook): Doc fix.
9789 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9791         * wdired.el: Remove outdated installation comment.  Fix usage
9792         comment.
9794 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9796         * misc.el: Implement new command `list-dynamic-libraries'.
9797         (list-dynamic-libraries--loaded-only-p): New variable.
9798         (list-dynamic-libraries--refresh): New function.
9799         (list-dynamic-libraries): New command.
9801 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9803         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9804         Fix the ant regexp to handle end-line and end-column info from jikes.
9805         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9806         higher priority to avoid clobbering by gnu.
9808 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9810         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9811         if the face has existing theme settings (Bug#8454).
9813 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9815         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9816         Only match variables declared via `my' or `our' (Bug#8261).
9818         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9819         special file names `.' and `..' (Bug#8259).
9821 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9823         * progmodes/grep.el (grep-mode-font-lock-keywords):
9824         Remove buffer-changing entries.
9825         (grep-filter): New function.
9826         (grep-mode): Add it to compilation-filter-hook.
9828         * progmodes/compile.el (compilation-filter-hook)
9829         (compilation-filter-start): New defvars.
9830         (compilation-filter): Call compilation-filter-hook prior to
9831         updating the process mark.
9833 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9837 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9839         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9840         mailclient-send-it even if window-system is nil.  (Bug#8595)
9842         * term/w32console.el (terminal-init-w32console):
9843         Call get-screen-color and use its output to set the frame
9844         background-mode.  (Bug#8597)
9846 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9848         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9849         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9850         New functions.
9851         (defgeneric, eieio--defmethod): Use them.
9852         (eieio-defgeneric): Remove.
9853         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9855 2011-05-07  Glenn Morris  <rgm@gnu.org>
9857         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9858         Use let rather than let*.
9859         (timeclock-find-discrep): Remove unused local.
9861         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9863         * calendar/appt.el (appt-time-msg-list): Doc fix.
9865 2011-05-06  Noah Friedman  <friedman@splode.com>
9867         * apropos.el (apropos-print-doc): Only use
9868         emacs-lisp-docstring-fill-column when it is bound to an integer,
9869         per that variable's documentation.
9871 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9873         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9874         and warnings are not silently discarded (e.g. use -d instead of -P).
9876 2011-05-06  Glenn Morris  <rgm@gnu.org>
9878         * calendar/appt.el (appt-message-warning-time): Doc fix.
9879         (appt-warning-time-regexp): New option.
9880         (appt-make-list): Respect appt-message-warning-time.
9882         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9883         New options.
9884         (diary-add-to-list): Strip comments from the displayed string.
9885         (diary-mode): Set comment-start and comment-end.
9887         * vc/diff-mode.el (smerge-refine-subst): Declare.
9888         (diff-refine-hunk): Don't require smerge-mode when compiling.
9890 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9892         * simple.el (list-processes): Return nil as the docstring says.
9894 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9896         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9897         to "".
9898         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9899         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9900         determining of binary transfer.  (Bug#7383)
9902 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9904         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9905         Fix port computation bug.  (Bug#8618)
9907 2011-05-05  Glenn Morris  <rgm@gnu.org>
9909         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9911         * simple.el (shell-dynamic-complete-functions)
9912         (comint-dynamic-complete-functions): Declare.
9914         * net/network-stream.el (gnutls-negotiate):
9915         * simple.el (tabulated-list-print): Fix declarations.
9917         * progmodes/gud.el (syntax-symbol, syntax-point):
9918         Remove unnecessary and incorrect declarations.
9920         * emacs-lisp/check-declare.el (check-declare-scan):
9921         Handle byte-compile-initial-macro-environment in bytecomp.el
9923 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9925         Fix earlier half-done eieio-defmethod change (bug#8338).
9926         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9927         Streamline and change calling convention.
9928         (defmethod): Adjust accordingly and simplify.
9929         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9930         new eieio--defmethod.
9931         (slot-boundp): Minor CSE simplification.
9933 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9935         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9936         (glasses-make-readable): Use glasses-separate-capital-groups.
9938 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9940         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9941         (warning-series): Doc fix.
9942         (display-warning): Don't try to create the buffer if we just found it.
9944 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9946         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9947         (autoload-find-generated-file): New function.
9948         (generate-file-autoloads): Bind generated-autoload-file to
9949         buffer-file-name.
9950         (update-file-autoloads, update-directory-autoloads):
9951         Use autoload-find-generated-file.  If called interactively, prompt for
9952         output file (Bug#7989).
9953         (batch-update-autoloads): Doc fix.
9955 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9957         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9959 2011-05-04  Glenn Morris  <rgm@gnu.org>
9961         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9962         function, so it follows changes in calendar-date-style.
9963         (diary-fancy-date-matcher): New function.
9964         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9965         (diary-fancy-font-lock-fontify-region-function):
9966         Use diary-fancy-date-pattern as a function.
9968         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9969         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9971 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9973         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9974         instead of positional arguments.  Allow :keylist and :crlfiles
9975         arguments.
9976         (open-gnutls-stream): Call it.
9978         * net/network-stream.el (network-stream-open-starttls): Adjust to
9979         call `gnutls-negotiate' with :process and :hostname arguments.
9981 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9983         * minibuffer.el (completion--message): New function.
9984         (completion--do-completion, minibuffer-complete)
9985         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9986         (completion--do-completion): Don't ignore completion-auto-help when in
9987         icomplete-mode.
9989         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9990         internal encoding (e.g. tibetan zero is not whitespace).
9991         (global-whitespace-mode): Prefer save-current-buffer.
9992         (whitespace-trailing-regexp): Remove useless save-match-data.
9993         (whitespace-empty-at-bob-regexp): Minor simplification.
9995 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9997         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9999 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10001         * textmodes/ispell.el (ispell-add-per-file-word-list):
10002         Use `concat' to create string for insertion.
10004 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10006         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10007         Avoid open-line which runs post-self-insert-hook.
10008         (bibtex-fill-entry): Remove unused `end' var.
10010 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10012         * textmodes/ispell.el (ispell-add-per-file-word-list):
10013         Protect against `nil' value of `comment-start' (Bug#8579).
10015 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10017         * isearch.el (isearch-yank-pop): New command.
10018         (isearch-mode-map): Bind it to `M-y'.
10019         (isearch-forward): Mention it.
10021 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10023         * simple.el (minibuffer-complete-shell-command): Remove.
10024         (minibuffer-local-shell-command-map): Use completion-at-point.
10025         (read-shell-command): Setup completion vars here instead.
10026         (read-expression-map): Bind TAB to symbol completion.
10028         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10029         error directly rather via storing it into `results'.
10031 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10033         * vc/diff.el: Fix description.
10035 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10037         * server.el (server-eval-at): New function.
10039 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10041         * net/network-stream.el (open-network-stream): Take a :nowait
10042         parameter and pass it on to `make-network-process'.
10043         (network-stream-open-plain): Ditto.
10045 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10047         * faces.el (face-spec-set-match-display): Don't match toolkit
10048         options on terminal frames.
10050 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10052         * progmodes/pascal.el: Use lexical binding.
10053         (pascal-mode-map): Remove author preferences.
10055         * pcomplete.el (pcomplete-std-complete): Don't abuse
10056         completion-at-point.
10058 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10060         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10061         removing code that has been dead since 1991 or so.
10063         * startup.el (command-line): When warning about "_emacs", use a
10064         delayed warning to allow the user to filter it out.
10066 2011-04-28  Deniz Dogan  <deniz@dogan.se>
10068         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10069         user has not joined.
10071 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10073         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10074         aren't any completions at point.
10076 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10078         * subr.el (display-delayed-warnings): New function.
10079         (delayed-warnings-hook): New variable.
10081 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * minibuffer.el (completion-at-point, completion-help-at-point):
10084         Don't presume that a given completion-at-point-function will always
10085         use the same calling convention.
10087         * pcomplete.el (pcomplete-completions-at-point):
10088         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10089         pcomplete-seen is non-nil.
10090         (pcomplete-comint-setup): Also recognize the new comint/shell
10091         completion functions.
10092         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10093         pcomplete-seen is non-nil.
10095 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10097         * calendar/icalendar.el (diary-lib): Add require statement.
10098         (icalendar--create-uid): Read out a uid from a text-property on
10099         the first character in the entry.  This allows for code to add its
10100         own uid to the entry.
10101         (icalendar--convert-float-to-ical): Add export of
10102         `diary-float'-entries save for those with the optional DAY
10103         argument.
10105 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10107         * subr.el (shell-quote-argument): Use alternate escaping strategy
10108         when we spot a variable reference in a string.
10110 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10112         * cus-start.el (all): Define customization for debug-on-event.
10114 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10116         * subr.el (shell-quote-argument): Escape correctly under Windows.
10118 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10120         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10122 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10124         * net/tramp.el (tramp-process-actions): Add POS argument.
10125         Delete region between POS and (pos).
10127         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10128         Use `nil' position in `tramp-process-actions' call.
10129         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10131         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10132         position in `tramp-process-actions' call.
10134         * net/trampver.el: Update release number.
10136 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10138         * custom.el (defcustom): Obey lexical-binding.
10140         Fix octave-inf completion problems reported by Alexander Klimov.
10141         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10142         Inherit from octave-mode-syntax-table.
10143         (inferior-octave-mode): Set info-lookup-mode.
10144         (inferior-octave-completion-at-point): New function.
10145         (inferior-octave-complete): Use it and completion-in-region.
10146         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10147         comint-filename-completion.
10148         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10149         symbol elements which shouldn't be word elements.
10150         (octave-font-lock-keywords, octave-beginning-of-defun)
10151         (octave-function-header-regexp): Adjust regexps accordingly.
10152         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10154 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10156         * net/gnutls.el (gnutls-errorp): Declare before first use.
10158 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10160         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10161         verify-error, and verify-hostname-error parameters.  Check whether
10162         default trustfile exists before going to use it.  Add missing
10163         argument to gnutls-message-maybe call.  Return value.
10164         Reported by Claudio Bley <claudio.bley@gmail.com>.
10165         (open-gnutls-stream): Add usage example.
10167         * net/network-stream.el (network-stream-open-starttls): Give host
10168         parameter to `gnutls-negotiate'.
10169         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10170         * subr.el (shell-quote-argument): Escape correctly under Windows.
10172 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10174         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10175         Use correct match group (bug#8438).
10177 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10179         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10180         (package-menu--generate): New arg specifying packages to show.
10181         (package-menu-refresh, package-menu-execute, list-packages):
10182         Callers changed.
10183         (package-show-package-list): New function, replacing deleted
10184         package--list-packages (renamed because it is non-internal).
10186         * finder.el (finder-list-matches): Use package-show-package-list
10187         instead of deleted package--list-packages.
10189         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10190         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10191         (vc-annotate-mode-map): Bind it to RET.
10193 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10195         * progmodes/etags.el (next-file): Don't use set-buffer to change
10196         buffers (Bug#8478).
10198 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10200         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10202         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10203         (apropos-accumulator): Doc fix.
10204         (apropos-function, apropos-macro, apropos-command)
10205         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10206         (apropos-plist): Add face property.
10207         (apropos-symbols-internal): Fix indentation.
10208         (apropos-print): Simplify help, and recognize apropos-multi-type.
10209         (apropos-print-doc): Use button-type-get to extract the button's
10210         face property.  Fill docstring (Bug#8352).
10212 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10214         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10216         * play/mpuz.el (mpuz-silent): Doc fix.
10217         (mpuz-mode-map): Use mapc.
10218         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10219         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10220         Fix typos in docstrings.
10222         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10223         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10225         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10227 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10229         * minibuffer.el (completion--do-completion): Avoid the "Next char
10230         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10232         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10233         mouse-2 into unread-command-events, it is interpreted correctly.
10235         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10236         (image-toggle-display): Doc fix.
10238 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10240         * textmodes/page.el (what-page): Use line-number-at-pos to
10241         calculate line number (Bug#6825).
10243 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10245         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10246         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10247         Pass argument NO-DEFAULT to `find-tag-interactive'.
10249 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10251         Lexical-binding cleanup.
10253         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10254         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10255         * progmodes/ada-prj.el (ada-prj-initialize-values)
10256         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10257         (ada-prj-show-value):
10258         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10259         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10260         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10261         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10262         * progmodes/bug-reference.el (bug-reference-push-button):
10263         * progmodes/fortran.el (fortran-line-length):
10264         * progmodes/glasses.el (glasses-change):
10265         * progmodes/octave-mod.el (octave-fill-paragraph):
10266         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10267         (python-pdbtrack-grub-for-buffer, python-sentinel):
10268         * progmodes/sql.el (sql-save-connection):
10269         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10270         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10271         Mark unused parameters.
10273         * progmodes/compile.el (compilation--flush-directory-cache)
10274         (compilation--flush-parse, compile-internal): Mark unused parameters.
10275         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10276         (compilation-next-error-function): Remove unused variable `timestamp'.
10278         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10279         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10281         * progmodes/dcl-mode.el (dcl-end-of-command):
10282         Remove unused variable `start'.
10283         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10284         (dcl-option-value-basic, dcl-option-value-offset)
10285         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10286         Mark unused parameters.
10287         (dcl-save-local-variable): Remove unused variable `val'.
10288         (mode): Declare.
10290         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10291         Mark unused parameters.
10292         (delphi-ignore-changes): Move before first use.
10293         (delphi-charset-token-at): Remove unused variable `start'.
10294         (delphi-else-start): Remove unused variable `if-count'.
10295         (delphi-comment-block-start, delphi-comment-block-end):
10296         Remove unused variable `kind'.
10297         (delphi-indent-line): Remove unused variable `new-point'.
10299         * progmodes/ebrowse.el (ebrowse-files-list)
10300         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10301         Mark unused parameters.  Don't quote `lambda'.
10302         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10303         Don't quote `lambda'.
10304         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10305         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10306         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10307         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10308         Use `ignore-errors'.
10309         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10310         (ebrowse-view/find-file-and-search-pattern)
10311         (ebrowse-view/find-member-declaration/definition):
10312         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10313         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10314         Rename parameter PREFIX-ARG to PREFIX.
10315         (ebrowse-tags-read-name): Remove unused variables `start' and
10316         `member-info'.
10317         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10318         to `tags-file'.
10320         * progmodes/etags.el (local-find-tag-hook): Declare.
10321         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10322         Mark unused parameters.
10324         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10325         (executable-interpret): Mark unused parameter.
10327         * progmodes/flymake.el (flymake-process-sentinel)
10328         (flymake-after-change-function)
10329         (flymake-create-temp-with-folder-structure)
10330         (flymake-get-include-dirs-dot): Mark unused parameters.
10331         (flymake-safe-delete-directory): Remove unused variable `err'.
10333         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10334         (speedbar-timer-fn, speedbar-line-text)
10335         (speedbar-change-expand-button-char, speedbar-delete-subblock)
10336         (speedbar-center-buffer-smartly): Declare functions.
10337         (gdb-find-watch-expression): Remove unused variable `array'.
10338         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10339         (gdb-starting): Mark unused parameters.
10340         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10341         (gdb-table-string): Remove unused variable `res'.
10342         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10343         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10344         (gdb-display-buffer): Remove unused variable `cur-size'.
10346         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10347         allow lexical-binding compilation.
10348         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10349         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10350         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10351         Mark unused parameters.
10352         (gud-gdb-marker-filter): Remove unused variable `match'.
10353         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10354         lambda expressions and funcall them, instead of using `fset'.
10356         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10357         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10359         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10360         variable `header-beg'; use `let'.
10362         * progmodes/icon.el (indent-icon-exp): Remove unused variables
10363         `restart', `last-sexp' and `at-do'.
10365         * progmodes/js.el (js--debug): Mark unused parameter.
10366         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10367         (js--splice-into-items): Remove unused variable `item'.
10368         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10370         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10371         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10372         (makefile-complete): Remove unused variable `try'.
10373         (makefile-fill-paragraph, makefile-match-function-end):
10374         Mark unused parameters.
10376         * progmodes/octave-inf.el (inferior-octave-complete):
10377         Remove unused variable `proc'.
10378         (inferior-octave-output-digest): Mark unused parameter.
10380         * progmodes/perl-mode.el (perl-calculate-indent):
10381         Remove unused variable `err'.
10383         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10384         (prolog-indent-line): Mark unused parameters.
10385         (prolog-indent-line): Remove unused variable `beg'.
10387         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10388         (reporter-dont-compact-list): Declare.
10390         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10391         Remove unused variable `char'.
10392         (sh-debug): Mark unused parameter.
10393         (sh-get-indent-info): Remove unused variable `start'.
10394         (sh-calculate-indent): Remove unused variable `var'.
10396         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10397         (simula-electric-keyword): Remove unused variable `null'.
10398         (simula-search-backward, simula-search-forward): Remove unused
10399         variables `begin' and `end'.
10401         * progmodes/vera-mode.el (vera-guess-basic-syntax):
10402         Remove unused variable `pos'.
10403         (vera-electric-tab, vera-comment-uncomment-region):
10404         Mark unused parameters.
10405         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10407 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
10409         * emacs-lisp/package.el (package--builtins, package-alist)
10410         (package-load-descriptor, package-built-in-p, package-activate)
10411         (define-package, package-installed-p)
10412         (package-compute-transaction, package-buffer-info)
10413         (package--push): Doc fix.  Distinguish more clearly between
10414         version strings and version lists.
10416 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
10418         Lexical-binding cleanup.
10420         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10421         (5x5-make-mutate-best):
10422         * play/fortune.el (fortune-in-buffer):
10423         * play/gomoku.el (gomoku-init-display):
10424         * play/solitaire.el (solitaire, solitaire-do-check):
10425         * play/tetris.el (tetris-default-update-speed-function):
10426         Mark unused parameters.
10428         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10429         (bubbles--shift): Remove unused variable `char-org'.
10430         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10431         (bubbles--show-images): Remove unused variable `char'.
10433         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10434         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10435         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10436         (decipher-analyze-buffer): Use ?\s.
10437         (decipher-make-checkpoint): Remove unused variable `mapping'.
10439         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10441         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10442         Remove unused variable `result'; use `let'.
10444         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10445         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10446         (gametree-children-shown-p, gametree-compute-reduced-score):
10447         Use `ignore-errors'.
10449         * play/handwrite.el (ps-lpr-switches): Declare.
10450         (handwrite): Remove unused variables `pmin' and `lastp'.
10452         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10454         * play/landmark.el (landmark-init-display)
10455         (landmark-update-naught-weights): Mark unused parameters.
10456         (landmark-y): Remove unused variable `noise'.  Simplify.
10457         (landmark-human-plays): Remove unused variable `score'.
10459         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10460         (mpuz-try-proposal): Remove unused variable `game'.
10462         * play/zone.el (life-patterns): Declare.
10464 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10466         * vc/vc.el (ediff-vc-internal): Declare function.
10468 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10470         * shell.el: Use lexical-binding and std completion UI.
10471         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10472         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10473         comint-preoutput-filter-functions rather than on
10474         comint-output-filter-functions.
10475         (shell-command-completion, shell--command-completion-data)
10476         (shell-filename-completion, shell-environment-variable-completion)
10477         (shell-c-a-p-replace-by-expanded-directory): New functions.
10478         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10479         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10480         (shell-dynamic-complete-environment-variable): Use them.
10481         (shell-dynamic-complete-as-environment-variable)
10482         (shell-dynamic-complete-as-command): Remove.
10483         (shell-match-partial-variable): Match past point.
10484         * comint.el: Clean up use of completion-at-point-functions.
10485         (comint-completion-at-point): New function.
10486         (comint-mode): Use it completion-at-point-functions.
10487         (comint-dynamic-complete): Make it obsolete.
10488         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10489         (comint-c-a-p-replace-by-expanded-history): New function.
10490         (comint-dynamic-complete-functions)
10491         (comint-replace-by-expanded-history): Use it.
10492         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10493         termination strings.  Try harder to avoid second try-completion.
10494         (completion-in-region-mode-map): Disable bindings that don't work yet.
10496         * comint.el: Use lexical-binding.  Require CL.
10497         (comint-dynamic-complete-functions): Use comint-filename-completion.
10498         (comint-completion-addsuffix): Tweak custom type.
10499         (comint-filename-completion, comint--common-suffix)
10500         (comint--common-quoted-suffix, comint--table-subvert)
10501         (comint--complete-file-name-data): New functions.
10502         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10503         (comint-dynamic-list-filename-completions): Use them.
10504         (comint-dynamic-simple-complete): Make obsolete.
10506         * minibuffer.el (completion-in-region-mode):
10507         Keep completion-in-region-mode--predicate global.
10508         (completion-in-region--postch):
10509         Assume completion-in-region-mode--predicate is not null.
10511         * progmodes/flymake.el (flymake-start-syntax-check-process):
10512         Obey `dir'.  Simplify.
10514         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10515         we're in VC after all.
10517 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10519         * vc/vc.el (vc-diff-build-argument-list-internal)
10520         (vc-version-ediff, vc-ediff): New commands.
10521         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10523 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10525         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10526         add sanity check.
10528         * obsolete/erc-hecomplete.el: Make obsolete.
10529         * obsolete/: Standardize obsolescence info in the header.
10531 2011-04-20  Glenn Morris  <rgm@gnu.org>
10533         * calendar/solar.el (solar-horizontal-coordinates):
10534         Use the longitude argument rather than `calendar-longitude'.
10535         (solar-date-next-longitude): Remove unused locals.
10537 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10539         * whitespace.el: New version 13.2.1.
10541 2011-04-20  felix  <EmacsWiki>  (tiny change)
10543         * whitespace.el (global-whitespace-mode): Keep highlight when
10544         switching between major modes on a file.
10546 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10548         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10549         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10550         multi-line comments as well.
10552 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10554         Lexical-binding cleanup.
10556         * arc-mode.el (archive-mode-revert):
10557         * cmuscheme.el (scheme-interactively-start-process):
10558         * custom.el (custom-initialize-delay):
10559         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10560         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10561         * emacs-lock.el (emacs-lock-clear-sentinel):
10562         * ezimage.el (defezimage):
10563         * follow.el (follow-avoid-tail-recenter):
10564         * fringe.el (set-fringe-mode-1):
10565         * generic-x.el (bat-generic-mode-compile):
10566         * help-mode.el (help-info-variable, help-do-xref)
10567         (help-mode-revert-buffer):
10568         * help.el (view-emacs-todo):
10569         * iswitchb.el (iswitchb-completion-help):
10570         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10571         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10572         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10573         * locate.el (locate-update):
10574         * longlines.el (longlines-encode-region)
10575         (longlines-after-change-function):
10576         * outline.el (outline-isearch-open-invisible):
10577         * ps-def.el (declare-function, charset-dimension, char-width)
10578         (encode-char):
10579         * ps-mule.el (ps-mule-plot-string):
10580         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10581         (recentf-edit-list-select, recentf-edit-list-validate)
10582         (recentf-open-files-action):
10583         * rect.el (delete-whitespace-rectangle-line)
10584         (rectangle-number-line-callback):
10585         * register.el (window-configuration-to-register)
10586         (frame-configuration-to-register):
10587         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10588         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10589         (xselect-convert-to-targets, xselect-convert-to-delete)
10590         (xselect-convert-to-filename, xselect-convert-to-charpos)
10591         (xselect-convert-to-lineno, xselect-convert-to-colno)
10592         (xselect-convert-to-os, xselect-convert-to-host)
10593         (xselect-convert-to-user, xselect-convert-to-class)
10594         (xselect-convert-to-name, xselect-convert-to-integer)
10595         (xselect-convert-to-atom, xselect-convert-to-identity):
10596         * subr.el (declare, ignore, process-kill-without-query)
10597         (text-clone-maintain):
10598         * terminal.el (te-get-char, te-tic-sentinel):
10599         * tool-bar.el (tool-bar-make-keymap):
10600         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10601         * type-break.el (type-break-mode, type-break-noninteractive-query):
10602         * view.el (View-back-to-mark):
10603         * wid-browse.el (widget-browse-action, widget-browse-widget)
10604         (widget-browse-widgets, widget-browse-sexp):
10605         * widget.el (define-widget-keywords):
10606         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10607         Mark unused parameters.
10609         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10610         (align-areas): Remove unused variable `look'.
10611         (align-region): Remove unused variables `real-end' and `pos-list'.
10613         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10615         * bindings.el (mode-line-modified, mode-line-remote):
10616         Mark unused parameters.
10617         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10619         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10620         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10622         * comint.el (comint-history-isearch-pop-state)
10623         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10624         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10625         (comint-substitute-in-file-name): Doc fix.
10627         * completion.el (cmpl-statistics-block): Mark unused parameter.
10628         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10629         (save-completions-to-file, load-completions-from-file):
10630         Remove unused local variable `e'.
10632         * composite.el (compose-chars): Remove unused variable `len'.
10633         (lgstring-insert-glyph): Remove unused variable `g'.
10634         (compose-glyph-string): Remove unused variables `ascent',
10635         `descent', `lbearing' and `rbearing'.
10636         (compose-glyph-string-relative): Remove unused variables
10637         `lbearing', `rbearing' and `wadjust'.
10638         (compose-gstring-for-graphic): Remove unused variables `header',
10639         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10640         (compose-gstring-for-terminal): Remove unused variables `header'
10641         and `nchars'.  Use `let', not `let*'.
10643         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10644         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10645         (Custom-buffer-done, custom-buffer-create-internal)
10646         (custom-browse-visibility-action, custom-browse-group-tag-action)
10647         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10648         (widget-magic-mouse-down-action, custom-toggle-parent)
10649         (custom-add-parent-links, custom-toggle-hide-variable)
10650         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10651         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10652         (custom-face-menu-create, custom-variable-menu-create, get)
10653         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10654         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10655         (customize-apropos): Remove unused variable `tests'.
10656         (custom-group-value-create): Remove unused variable `hidden-p'.
10657         (sort-fold-case): Declare.
10659         * cus-theme.el (custom-reset-standard-faces-list)
10660         (custom-reset-standard-variables-list): Declare.
10661         (customize-create-theme, custom-theme-revert, custom-theme-write)
10662         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10663         Mark unused parameters.
10665         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10667         * delim-col.el (delimit-columns-max): Move defvar before first use.
10669         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10670         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10672         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10673         (auto-insert): Declare.
10674         (desktop-restore-file-buffer): Rename desktop-* parameters;
10675         mark unused ones.
10676         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10677         (desktop-buffer): Rename desktop-* parameters.
10679         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10680         (dframe-reposition-frame-xemacs, dframe-help-echo)
10681         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10682         Mark unused parameters.
10684         * dired-aux.el (backup-extract-version-start, overwrite-query)
10685         (overwrite-backup-query, rename-regexp-query)
10686         (rename-non-directory-query): Declare.
10687         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10688         (dired-add-entry): Remove unused variable `orig-file-name'.
10689         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10690         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10691         `dired-copy-preserve-time' directly.
10692         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10693         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10695         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10696         (dired-virtual-revert, dired-make-relative-symlink):
10697         Mark unused parameters.
10698         (manual-program): Declare.
10699         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10700         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10701         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10703         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10705         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10707         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10708         Declare.
10710         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10712         * electric.el (Electric-command-loop): Rename parameter
10713         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10715         * expand.el (expand-in-literal): Remove unused variable `here'.
10717         * facemenu.el (facemenu-add-new-color):
10718         Remove unused variable `docstring'.
10720         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10721         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10722         (face-attr-construct): Mark unused parameter.  Doc fix.
10723         (read-color): Remove unused variable `hex-string'.
10725         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10726         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10727         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10728         (display-buffer-other-frame): Remove unused variable `old-window'.
10729         (kill-buffer-hook): Declare.
10730         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10731         Mark unused parameters.
10732         (after-find-file): Pass 1 to `auto-save-mode', not t.
10734         * files-x.el (auto-insert): Declare.
10735         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10737         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10738         variable `buf'.  Mark unused parameter.
10739         (find-lisp-insert-directory): Mark unused parameter.
10741         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10742         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10743         (format-common-tail): Remove, unused.
10744         (format-deannotate-region): Remove unused variable `loc'.
10745         (format-annotate-region): Remove unused variable `p'.
10746         (format-annotate-single-property-change): Remove unused variables
10747         `default' and `tail'.
10749         * forms.el (read-file-filter): Declare.
10750         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10752         * frame.el (frame-creation-function-alist): Mark unused parameter.
10753         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10755         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10756         Remove unused parameters.
10757         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10758         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10760         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10761         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10762         (hfy-prepare-tag-map): Mark unused parameters.
10763         (htmlfontify-buffer): Use `called-interactively-p'.
10765         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10766         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10767         (ibuffer-do-occur): Mark unused parameters.
10768         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10769         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10771         * ibuffer.el: Don't quote `lambda'.
10772         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10773         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10774         Mark unused parameters.
10776         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10777         (ido-completing-read): Mark unused parameters.
10778         (ido-copy-current-word): Mark unused parameters;
10779         remove unused variable `name'.
10780         (ido-sort-merged-list): Remove unused parameter `dirs'.
10782         * ielm.el (ielm-input-sender): Mark unused parameter.
10783         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10784         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10785         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10786         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10787         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10789         * image-dired.el (image-dired-display-thumbs): Remove unused
10790         variables `curr-file' and `count'.
10791         (image-dired-remove-tag): Remove unused variable `start'.
10792         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10793         variable `curr-file'
10794         (image-dired-rotate-original): Remove unused variable `temp-file'.
10795         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10796         Remove unused variable `file'.
10797         (image-dired-gallery-generate): Remove unused variable `curr'.
10798         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10800         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10802         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10804         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10806         * isearch.el (minibuffer-history-symbol): Declare.
10807         (isearch-edit-string): Remove unused variable `err'.
10808         (isearch-message-prefix, isearch-message-suffix):
10809         Mark unused parameters.
10811         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10813         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10815         * makesum.el (double-column): Remove unused variable `cnt'.
10817         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10818         (ido-ignore-item-temp-list): Declare.
10820         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10821         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10822         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10823         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10824         `mouse-col-delta'.
10826         * mouse-sel.el (mouse-extend-internal):
10827         Remove unused variable `orig-window-frame'.
10829         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10830         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10831         Move declarations before first use.
10832         (pcomplete-opt): Mark unused parameters; doc fix.
10834         * proced.el (proced-revert): Mark unused parameter.
10835         (proced-send-signal): Remove unused variable `err'.
10837         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10838         Rename parameter PREFIX-ARG to ARG.
10839         (ps-basic-plot-string, ps-basic-plot-whitespace):
10840         Mark unused parameters.
10842         * replace.el (replace-count): Define.
10843         (occur-revert-function): Mark unused parameters.
10844         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10845         (isearch-case-fold-search, isearch-string): Declare.
10846         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10847         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10848         and simplify.
10849         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10850         COUNT and bind `replace-count'.
10851         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10852         to COUNT.
10854         * savehist.el (print-readably, print-string-length): Declare.
10856         * shadowfile.el (shadow-expand-cluster-in-file-name):
10857         Remove unused variable `cluster'.
10858         (shadow-copy-file): Remove unused variable `i'.
10859         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10860         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10861         (shadow-define-literal-group, shadow-define-regexp-group)
10862         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10864         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10865         (shell): Use `called-interactively-p'.
10866         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10868         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10869         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10870         (delete-backward-char): Remove unused variable `ocol'.
10871         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10872         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10873         (event-apply-hyper-modifier, event-apply-shift-modifier)
10874         (event-apply-control-modifier, event-apply-meta-modifier):
10875         Mark unused parameters.
10876         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10877         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10879         * speedbar.el (speedbar-ignored-directory-expressions)
10880         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10881         (speedbar-find-file, speedbar-dir-follow)
10882         (speedbar-directory-buttons-follow, speedbar-tag-find)
10883         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10884         (speedbar-buffers-line-directory, speedbar-buffer-click):
10885         Mark unused parameters.
10886         (speedbar-tag-file): Remove unused variable `mode'.
10887         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10889         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10891         * talk.el (talk): Remove unused variable `display'.
10893         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10894         (tar-write-region-annotate): Mark unused parameter.
10896         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10897         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10898         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10899         warning by another.
10901         * time-stamp.el (time-stamp-string-preprocess):
10902         Remove unused variable `require-padding'.
10904         * tree-widget.el (widget-glyph-enable): Declare.
10905         (tree-widget-action): Mark unused parameter.
10907         * w32-fns.el (x-get-selection): Mark unused parameter.
10908         (autoload-make-program, generated-autoload-file): Declare.
10910         * wdired.el (wdired-revert): Mark unused parameters.
10911         (wdired-xcase-word): Remove unused variable `err'.
10913         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10914         (whitespace-help-scroll): Remove unused variable `data-help'.
10916         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10917         (widget-image-insert, widget-after-change, default)
10918         (widget-default-format-handler, widget-default-notify)
10919         (widget-default-prompt-value, widget-info-link-action)
10920         (widget-url-link-action, widget-function-link-action)
10921         (widget-variable-link-action, widget-file-link-action)
10922         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10923         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10924         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10925         (widget-insert-button-action, widget-delete-button-action, visibility)
10926         (widget-documentation-link-action, widget-documentation-string-action)
10927         (widget-const-prompt-value, widget-regexp-match, symbol)
10928         (widget-coding-system-prompt-value)
10929         (widget-key-sequence-value-to-external, sexp)
10930         (widget-sexp-value-to-internal, character, vector, cons)
10931         (widget-choice-prompt-value, widget-boolean-prompt-value)
10932         (widget-color--choose-action): Mark unused parameters.
10933         (widget-item-match-inline, widget-choice-match-inline)
10934         (widget-checklist-match, widget-checklist-match-inline)
10935         (widget-group-match): Rename parameter VALUES to VALS.
10936         (widget-field-value-set): Remove unused variable `size'.
10937         (widget-color-action): Remove unused variables `value' and `start'.
10939         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10940         variable `dir'.  Doc fix.
10941         (windmove-find-other-window): Don't pass it.
10943         * window.el (count-windows): Mark unused parameter.
10944         (bw-adjust-window): Remove unused variable `err'.
10946         * woman.el (woman-file-name): Remove unused variable `default'.
10947         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10948         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10949         (global-font-lock-mode): Declare.
10950         (woman-decode-region): Mark unused parameter.
10951         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10953         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10954         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10955         (x-dnd-handle-moz-url): Remove unused variable `title'.
10956         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10958         * xml.el (xml-parse-tag, xml-parse-attlist):
10959         Remove unused variable `pos'.
10961 2011-04-19  Glenn Morris  <rgm@gnu.org>
10963         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10964         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10965         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10966         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10967         * calendar/cal-html.el (cal-html-insert-minical):
10968         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10969         (calendar-mark-date-pattern):
10970         Prefix "unused" locals.
10972         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10973         optional argument `style'.
10975         * calendar/appt.el (appt-make-list):
10976         * calendar/cal-china.el (calendar-chinese-date-string):
10977         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10978         (diary-hebrew-yahrzeit):
10979         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10980         * calendar/calendar.el (calendar-generate-window):
10981         * calendar/time-date.el (time-to-days):
10982         Remove unused local variables.
10984 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10986         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10987         glyphless-char-display table.
10988         (tabulated-list-glyphless-char-display): New var.
10990 2011-04-18  Sam Steingold  <sds@gnu.org>
10992         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10993         to acknowledgments.
10995 2011-04-17  Glenn Morris  <rgm@gnu.org>
10997         * calendar/diary-lib.el (diary-sexp-entry):
10998         * calendar/holidays.el (holiday-sexp):
10999         Set debug-on-error rather than the removed stack-trace-on-error.
11001 2011-04-16  Glenn Morris  <rgm@gnu.org>
11003         * progmodes/f90.el: Use lexical-binding.
11004         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11006 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11008         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11009         (mail-mode): Setup mailalias completion here instead.
11010         * mail/mailalias.el: Use lexical-binding.
11011         (pattern, mailalias-done): Declare dynamic.
11012         (mail-completion-at-point-function): New function, from mail-complete.
11013         (mail-complete): Use it.
11014         (mail-completion-expand): New function.
11015         (mail-get-names): Use it.
11016         (mail-directory, mail-directory-process, mail-directory-stream):
11017         Don't use `pattern' for lexically bound arg.
11019         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11021         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11022         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11023         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11025         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11026         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11027         (byte-interactive-p): Define them again, for use when inlining
11028         old code.
11030 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11032         * loadup.el: Use `string-to-number', not `string-to-int'.
11034 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11036         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11037         gud-gdb-complete-command.
11038         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11039         (gud-gdb-completion-at-point): New function.
11040         (gud-gdb-completions): Remove.
11042 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11044         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11045         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11046         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11047         whether `executable-find' is bound.
11049         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11051 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11053         * minibuffer.el (completion-in-region-mode-predicate)
11054         (completion-in-region-mode--predicate): New vars.
11055         (completion-in-region, completion-in-region--postch)
11056         (completion-in-region-mode): Use them.
11057         (completion--capf-wrapper): Also return the hook function.
11058         (completion-at-point, completion-help-at-point):
11059         Adjust and provide a predicate.
11061         Preserve arg names for advice of subr and lexical functions (bug#8457).
11062         * help-fns.el (help-function-arglist): Consolidate the subr and
11063         new-byte-code cases.  Add argument `preserve-names' to extract names
11064         from the docstring when needed.
11065         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11066         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11067         (ad-arglist): Use help-function-arglist's new arg.
11068         (ad-definition-type): Use cond.
11070 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
11072         * autorevert.el (auto-revert-handler):
11073         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11074         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11075         Don't quote lambda.
11077         * image-mode.el (image-transform-set-scale):
11078         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11080 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11082         * net/network-stream.el (network-stream-open-starttls): Only do
11083         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11084         Upgrades via gnutls-cli are too slow to be done opportunistically.
11086 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11088         * dframe.el (dframe-current-frame): Remove spurious quote.
11090 2011-04-12  Glenn Morris  <rgm@gnu.org>
11092         * calendar/cal-tex.el (cal-tex-end-document):
11093         Try to automatically use latin1 input if needed.
11095         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11096         Don't try to cons a mark onto an empty element.
11098 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11100         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11101         buffers.
11102         (ido-kill-buffer-at-head): Support killing virtual buffers.
11104 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11106         * minibuffer.el (completion-show-inline-help): New var.
11107         (completion--do-completion, minibuffer-complete)
11108         (minibuffer-force-complete, minibuffer-complete-word):
11109         Inhibit minibuffer messages if completion-show-inline-help is nil.
11111         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11112         to avoid interference from inline help (Bug#5849).
11114 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11116         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11117         Fix typo.
11119 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11121         * image-mode.el (image-toggle-display-image): Signal an error if
11122         not in Image mode.
11123         (image-transform-mode, image-transform-resize)
11124         (image-transform-set-rotation): Doc fix.
11125         (image-transform-set-resize): Delete.
11126         (image-transform-set-scale, image-transform-fit-to-height)
11127         (image-transform-fit-to-width): Handle image-toggle-display-image
11128         and image-transform-resize directly.
11130 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11132         * doc-view.el (doc-view-fit-width-to-window)
11133         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11134         New functions for fitting the shown image to the Emacs window size.
11135         (doc-view-mode-map): Add bindings for the new functions.
11137 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11139         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11140         Fix typo in docstring.
11142 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11144         * files.el (file-size-human-readable): Produce one digit after
11145         decimal, like "ls -lh" does.
11147         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11148         the file size representation.
11150         * simple.el (list-processes): If async subprocesses are not
11151         available, error out with a clear error message.
11153 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11155         * help.el (help-form-show): New function, to be called from C.
11156         Put help-form output in a buffer named differently than *Help*.
11158 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11160         * files.el (file-size-human-readable): New function.
11162         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11163         computing the representation inline.  Don't require `cl'.
11165 2011-04-08  Glenn Morris  <rgm@gnu.org>
11167         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11169         * net/browse-url.el (browse-url-firefox):
11170         Test system-type, not system-configuration.
11172         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11173         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11174         Use log-edit-empty-buffer-p.  (Bug#7598)
11176         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11177         (rlogin-mode-map): Initialize in the defvar.
11178         (rlogin): Use ignore-errors.
11180         * replace.el (occur-mode-map): Some fixes for menu items.
11182 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11184         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11186 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11188         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11189         issuing unused warnings.
11191         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11192         macro directly.
11194         * simple.el: Lisp reimplement of list-processes.  Based on an
11195         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11196         (process-menu-mode): New major mode.
11197         (list-processes--refresh, list-processes):
11198         (process-menu-visit-buffer): New functions.
11200         * files.el (save-buffers-kill-emacs): Don't assume any return
11201         value of list-processes, which is undocumented anyway.
11203 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11205         * emacs-lisp/tabulated-list.el: New file.
11207         * emacs-lisp/package.el: Use Tabulated List mode.
11208         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11209         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11210         table format using Tabulated List mode variables.
11211         (package--push): New macro, replacing package-list-maybe-add.
11212         (package-menu--generate): Use package--push.  Renamed from
11213         package--generate-package-list.
11214         (package-menu-refresh, list-packages): Use it.
11215         (package-menu--print-info): Rename from package-print-package.
11216         Return insertion data instead of inserting it directly.
11217         (package-menu-describe-package, package-menu-execute):
11218         Use tabulated-list-get-id.
11219         (package-menu-mark-delete, package-menu-mark-install)
11220         (package-menu-mark-unmark, package-menu-backup-unmark)
11221         (package-menu-mark-obsolete-for-deletion):
11222         Use tabulated-list-put-tag.
11223         (package--list-packages, package-menu-revert)
11224         (package-menu-get-package, package-menu-get-version)
11225         (package-menu-sort-by-column): Functions deleted.
11226         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11227         (package-menu--status-predicate, package-menu--version-predicate)
11228         (package-menu--name-predicate)
11229         (package-menu--description-predicate): Handle arguments in the
11230         Tabulated List format.
11231         (package-list-packages-no-fetch): Call list-packages.
11233 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11235         * files.el (after-find-file-from-revert-buffer): Remove variable.
11236         (after-find-file): Don't bind it.
11237         (revert-buffer-in-progress-p): New variable.
11238         (revert-buffer): Bind it.
11239         Pass nil for `after-find-file-from-revert-buffer'.
11241         * saveplace.el (save-place-find-file-hook): Use new variable
11242         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11244 2011-04-06  Glenn Morris  <rgm@gnu.org>
11246         * Makefile.in (AUTOGEN_VCS): New variable.
11247         (autoloads): Use $AUTOGEN_VCS.
11249         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11250         * calendar/calendar.el (calendar-mode-map):
11251         Check for toolkit scroll bars.  (Bug#8305)
11253 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11255         * minibuffer.el (completion-in-region--postch)
11256         (completion-in-region-mode): Remove unnecessary messages.
11258 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11260         * font-lock.el (font-lock-refresh-defaults):
11261         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11262         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11264         * info.el (Info-directory-list, Info-read-node-name-2)
11265         (Info-split-parameter-string): Doc fixes.
11266         (Info-virtual-nodes): Reflow docstring.
11267         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11268         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11269         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11270         Fix typos in docstrings.
11271         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11272         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11273         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11274         (Info-restore-desktop-buffer): Mark unused parameters.
11275         (Info-directory-find-file, Info-directory-find-node)
11276         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11277         (Info-virtual-index-find-node, Info-apropos-find-file)
11278         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11279         Mark unused parameters; fix typos in docstrings.
11280         (Info-virtual-index): Remove unused local variable `nodename'.
11282 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11284         * net/rcirc.el: Update my e-mail address.
11285         (rcirc-mode-map): Remove M-o binding.
11287 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11289         * startup.el (command-line): Save the cursor's theme-face
11290         directly, instead of using face-override-spec.
11292         * custom.el (load-theme): Minor optimization in assigning faces.
11294 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11296         * help-fns.el (describe-variable): Complete all variables having
11297         documentation, including keywords.
11298         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11300 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11302         Convert to lexical-binding.
11304         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11305         (bs--get-marked-string, bs--get-modified-string)
11306         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11307         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11308         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11310         * ehelp.el (electric-help-execute-extended)
11311         (electric-help-ctrl-x-prefix):
11312         * hexl.el (hexl-revert-buffer-function):
11313         * linum.el (linum-after-change, linum-after-scroll):
11314         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11316         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11318 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
11320         * epa-dired.el:
11321         * epa-mail.el:
11322         * epa-hook.el:
11323         * epa-file.el:
11324         * epa.el:
11325         * epg.el: Use lexical binding.
11327 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
11329         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11331         * textmodes/flyspell.el (flyspell-word): Recognize default
11332         dictionary case for flyspell-mark-duplications-exceptions.
11333         Use regexp matching for languages.
11334         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11335         default dictionary (Bug#7926).
11337 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
11339         * emacs-lisp/package.el (package--with-work-buffer):
11340         Recognize https URLs.
11342         * net/network-stream.el: Move from gnus/proto-stream.el.
11343         Change prefix to network-stream throughout.
11344         (open-protocol-stream): Merge into open-network-stream, leaving
11345         open-protocol-stream as an alias.  Handle nil BUFFER args.
11347         * subr.el (open-network-stream): Move to net/network-stream.el.
11349 2011-04-02  Glenn Morris  <rgm@gnu.org>
11351         * find-dired.el (find-exec-terminator): New option.
11352         (find-ls-option): Test for -ls support.
11353         (find-ls-subdir-switches): Test for -b in find-ls-option.
11354         (find-dired, find-grep-dired): Doc fixes.
11355         (find-dired): Use find-exec-terminator.
11357         * find-dired.el (find-ls-option, find-ls-subdir-switches)
11358         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11359         (find-name-arg): Remove purecopy.
11361         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11362         (grep-compute-defaults): Check for `-exec COMMAND +' support.
11363         Set grep-find-use-xargs, grep-find-command, and grep-find-template
11364         accordingly.  Don't add the null-device if not needed.
11366         * files.el (save-some-buffers): Doc fix.
11368 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
11370         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11372 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
11374         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11375         Use `dolist' rather than `mapcar'.
11377 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11379         Add lexical binding.
11381         * subr.el (apply-partially): Use new closures rather than CL.
11382         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11383         (dolist, dotimes): Use slightly different expansion for lexical code.
11384         (functionp): Move to C.
11385         (letrec): New macro.
11386         (with-wrapper-hook): Use it and apply-partially instead of CL.
11387         (eval-after-load): Preserve lexical-binding.
11388         (save-window-excursion, with-output-to-temp-buffer): Turn them
11389         into macros.
11391         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11393         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11394         than the arglist.
11395         (help-add-fundoc-usage): Don't add `Not documented'.
11396         (help-function-arglist): Handle closures, subroutines, and new
11397         byte-code-functions.
11398         (help-make-usage): Remove leading underscores.
11399         (describe-function-1): Handle closures.
11400         (describe-variable): Use special-variable-p for completion.
11402         * files.el (lexical-binding): Declare safe.
11404         * emacs-lisp/pcase.el: Don't use destructuring-bind.
11405         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
11406         (pcase): Add `let' pattern.
11407         Change memoization so it actually works.
11408         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11409         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11410         <let>: New case.
11412         * emacs-lisp/macroexp.el: Use lexical binding.
11413         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
11414         Don't convert ' to #' without checking that it's indeed quoting
11415         a lambda.
11417         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11418         Use eval-sexp-add-defvars.
11419         (eval-sexp-add-defvars): New fun.
11421         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11423         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11424         Don't autoload.
11425         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11426         than the internal `byte-compile-lambda'.
11427         (defmethod): Don't hide code under quotes.
11428         (eieio-defmethod): New `code' argument.
11430         * emacs-lisp/eieio-comp.el: Remove.
11432         * emacs-lisp/edebug.el (edebug-eval-defun)
11433         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11434         (edebug-toggle): Avoid `eval'.
11436         * emacs-lisp/disass.el (disassemble-internal): Handle new
11437         `closure' objects.
11438         (disassemble-1): Handle new byte codes.
11440         * emacs-lisp/cl.el (pushnew): Silence warning.
11442         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11443         (cl-byte-compile-throw): Remove.
11444         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11446         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11447         closures.
11449         * emacs-lisp/cconv.el: New file.
11451         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11452         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11453         (byte-compile-initial-macro-environment):
11454         Handle declare-function here.
11455         (byte-compile--lexical-environment): New var.
11456         (byte-stack-ref, byte-stack-set, byte-discardN)
11457         (byte-discardN-preserve-tos): New lap codes.
11458         (byte-interactive-p): Don't use any more.
11459         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11460         New macros.
11461         (byte-compile-lapcode): Use them and handle new lap codes.
11462         (byte-compile-obsolete): Remove.
11463         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11464         (byte-compile-arglist-warn): Check late def of inlinable funs.
11465         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11466         since they should have been expanded by now.
11467         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11468         (byte-compile-from-buffer): Remove unused second arg.
11469         (byte-compile-preprocess): New function.
11470         (byte-compile-toplevel-file-form): New function to distinguish
11471         file-form calls from outside from file-form calls from hunk-handlers.
11472         (byte-compile-file-form): Simplify.
11473         (byte-compile-file-form-defsubst): Remove.
11474         (byte-compile-file-form-defmumble): Simplify now that
11475         byte-compile-lambda always returns a byte-code-function.
11476         (byte-compile): Preprocess.
11477         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11478         Remove, not used any more.
11479         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11480         (byte-compile-make-args-desc): New funs.
11481         (byte-compile-lambda): Handle lexical functions.  Always return
11482         a byte-code-function.
11483         (byte-compile-reserved-constants): New var, to make up room for
11484         closed-over variables.
11485         (byte-compile-constants-vector): Obey it.
11486         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11487         (byte-compile-macroexpand-declare-function): New function.
11488         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11489         byte-code-functions.
11490         (byte-compile-form): Check obsolescence here.
11491         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11492         (byte-compile-variable-ref): Remove.
11493         (byte-compile-dynamic-variable-op): New fun.
11494         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11495         (byte-compile-variable-set): New funs.
11496         (byte-compile-discard): Add 2 args.
11497         (byte-compile-stack-ref, byte-compile-stack-set)
11498         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11499         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11500         macroexpand-all instead.
11501         (byte-compile-quote-form): Remove.
11502         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11503         (byte-compile-bind, byte-compile-unbind): New funs.
11504         (byte-compile-let): Handle let* and lexical binding.
11505         (byte-compile-let*): Remove.
11506         (byte-compile-catch, byte-compile-unwind-protect)
11507         (byte-compile-track-mouse, byte-compile-condition-case):
11508         Handle a new :fun-body form, used for lexical scoping.
11509         (byte-compile-save-window-excursion)
11510         (byte-compile-with-output-to-temp-buffer): Remove.
11511         (byte-compile-defun): Simplify.
11512         (byte-compile-stack-adjustment): New fun.
11513         (byte-compile-out): Use it.
11514         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11516         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11517         handler any more.
11519         * emacs-lisp/byte-opt.el: Use lexical binding.
11520         (byte-inline-lapcode): Remove (to bytecomp).
11521         (byte-compile-inline-expand): Pay attention to inlining to/from
11522         lexically bound code.
11523         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11524         any more.
11525         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11526         any more and don't call compiler-macros.
11527         (byte-compile-splice-in-already-compiled-code): Remove.
11528         (byte-code): Don't inline any more.
11529         (disassemble-offset): Receive `bytes' as argument rather than via
11530         dynamic scoping.
11531         (byte-compile-tag-number): Declare before first use.
11532         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11533         `return' even if make-spliceable.
11534         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11535         obsolete interactive-p.
11536         (byte-optimize-lapcode): Optimize new lap-codes.
11537         Don't trip up on new form of `byte-constant' lap code.
11539         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11541         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11543         * custom.el (custom-initialize-default, custom-declare-variable):
11544         Use `defvar'.
11546         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11547         New variables.
11548         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11549         (COMPILE_FIRST): Add macroexp and cconv.
11550         * makefile.w32-in: Mirror changes in Makefile.in.
11552         * vc/cvs-status.el:
11553         * vc/diff-mode.el:
11554         * vc/log-edit.el:
11555         * vc/log-view.el:
11556         * vc/smerge-mode.el:
11557         * textmodes/bibtex-style.el:
11558         * textmodes/css.el:
11559         * startup.el:
11560         * uniquify.el:
11561         * minibuffer.el:
11562         * newcomment.el:
11563         * reveal.el:
11564         * server.el:
11565         * mpc.el:
11566         * emacs-lisp/smie.el:
11567         * doc-view.el:
11568         * dired.el:
11569         * abbrev.el: Use lexical binding.
11571 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11573         * info.el (info-display-manual): New function.
11575 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11577         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11579 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11581         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11582         an entry for that server in rcirc-authinfo.  (Bug#8385)
11584 2011-03-31  Glenn Morris  <rgm@gnu.org>
11586         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11588         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11590 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11592         * progmodes/python.el (python-default-interpreter)
11593         (python-python-command-args, python-jython-command-args)
11594         (python-which-shell, python-which-args, python-which-bufname)
11595         (python-file-queue, python-comint-output-filter-function)
11596         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11597         variables and functions.
11599 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11601         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11602         (completion-in-region-mode): New minor mode.
11603         (completion-in-region): Use it.
11604         (completion-in-region--data, completion-in-region-mode-map): New vars.
11605         (completion-in-region--postch): New function.
11606         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11607         New vars.
11608         (completion--capf-wrapper): New function.
11609         (completion-at-point): Use it to track well-behavedness of
11610         hook functions.
11611         (completion-help-at-point): New command.
11613 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11615         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11616         syntax class to search for whitespace on a single line
11617         (Message-ID: <4D938140.4030905@redhat.com>).
11619 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11621         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11622         New commands.
11623         (edit-abbrevs-map): Bind them here.
11624         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11626 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11628         * allout.el (allout-hide-by-annotation, allout-flag-region):
11629         Reduce possibility of overlay leakage by making them volatile.
11631         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11632         hash is not shared between buffers.  Mode initialization is
11633         responsible for giving it a useful starting value.
11634         (allout-item-span): Reduce possibility of overlay leakage by
11635         making them volatile.
11636         (allout-widgets-count-buttons-in-region): Add diagnostic function
11637         for tracking down button overlay leaks.
11639 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11641         * ido.el (ido-read-internal): Use the default history var
11642         minibuffer-history if no HISTORY is specified.
11644 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11646         * net/imap.el (imap-shell-open, imap-process-connection-type):
11647         Use imap-process-connection-type for 'shell' streams as well as
11648         Kerberos, SSL, other subprocesses.
11650 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11652         * abbrev.el (abbrev-table-empty-p): New function.
11653         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11654         nonempty ones.  (Bug#5937)
11656 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11658         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11660 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11662         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11663         for foreground and background colors.
11664         (ansi-color-make-color-map): Adapt.
11666 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11668         * midnight.el (midnight-time-float): Remove.  Note it calculates
11669         the microsecond component incorrectly and seconds-to-time does the
11670         same job.
11671         Remove redundant (require 'timer).
11673         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11674         (ido-completions): Remove unused arguments.  (Bug#8329)
11676 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11678         * minibuffer.el (completion--flush-all-sorted-completions):
11679         Remove itself from hook.
11680         (completion-at-point): Let the functions perform the completion
11681         immediately and return nil or t.
11682         * comint.el (comint-dynamic-complete-functions): Now identical to
11683         completion-at-point-functions.
11684         (comint-dynamic-list-input-ring): Remove unused var `index'.
11685         (comint--match-partial-filename, comint--unquote&expand-filename):
11686         New funs, split from comint-match-partial-filename.
11687         (comint-dynamic-complete): Use completion-at-point.
11688         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11690 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11692         * thingatpt.el: Support `defun'.
11694 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11696         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11698         * help-mode.el (help-mode-finish): Tweak regexp.
11700 2011-03-23  Glenn Morris  <rgm@gnu.org>
11702         * eshell/esh-opt.el (eshell-eval-using-options):
11703         Do not bind unused local variable `eshell-option-stub'.
11705         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11707 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11709         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11710         keymap variable in `with-no-warnings' to avoid a warning when the
11711         keymap has been already `defconst'ed.
11713 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11715         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11716         encode all chars in abbrevs; otherwise use emacs-mule or
11717         utf-8-emacs.  (Bug#8308)
11719 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11721         * simple.el (backward-delete-char-untabify):
11722         Avoid warning about using `delete-backward-char'.
11724         * image.el (image-type-file-name-regexps): Make it variable.
11725         `imagemagick-register-types' modifies it, and the user may want
11726         to add new extensions for known image types.
11727         (imagemagick-register-types): Throw error if not using ImageMagick.
11729 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11731         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11732         located before rcirc-prompt-end-marker.
11733         (rcirc-complete): Error if point is not after rcirc prompt.
11734         Handle the case when table is nil.
11735         (rcirc-user-authenticated): Define to fix compiler warning.
11737 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11739         * custom.el (custom--inhibit-theme-enable): Make it affect only
11740         custom-theme-set-variables and custom-theme-set-faces.
11741         (provide-theme): Ignore custom--inhibit-theme-enable.
11742         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11743         (custom-enabling-themes): Delete variable.
11744         (enable-theme): Accept only loaded themes as arguments.
11745         Ignore the special custom-enabled-themes variable.
11746         (custom-enabled-themes): Forbid themes from setting this.
11747         Eliminate use of custom-enabling-themes.
11748         (custom-push-theme): Quote "changed" custom var entry.
11750 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11752         * ido.el (ido-read-internal): Add ido-selected to history instead
11753         of user input.
11755 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11757         * subr.el (deferred-action-list, deferred-action-function):
11758         Mark obsolete.
11760 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11762         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11763         change on 2011-02-13 (bug#8309).
11765         * minibuffer.el (read-file-name-function): Change default value.
11766         (read-file-name--defaults): Rename from read-file-name-defaults.
11767         (read-file-name-default): Rename from read-file-name.
11768         (read-file-name): Call read-file-name-function.
11770 2011-03-21  Glenn Morris  <rgm@gnu.org>
11772         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11773         Doc fixes.
11775 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11777         * cus-theme.el: Add missing provide statement.
11778         (customize-create-theme): Extract theme value correctly.
11779         (custom-theme-visit-theme): Autoload.
11780         (customize-create-theme): Prompt before inserting default faces.
11782 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11784         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11785         units and musical notes.
11787 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11789         * ido.el (ido-read-internal): Use completing-read-default.
11790         (ido-completing-read): Fix compatibility with completing-read.
11792 2011-03-20  Christian Ohler  <ohler@gnu.org>
11794         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11795         (ert-delete-all-tests): Use `called-interactively-p' rather than
11796         `interactive-p'.
11797         (ert--make-xrefs-region): Respect END.
11799 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11801         * dired-aux.el (dired-create-directory): Signal an error if the
11802         directory already exists (Bug#8246).
11804         * facemenu.el (list-colors-display): Call list-faces-display
11805         inside with-help-window.
11806         (list-colors-print): Use display property to align the final
11807         column, instead of checking window-width.
11809 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11811         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11812         windows-nt systems.
11813         (emerge-protect-metachars): Quote correctly for ms-dos and
11814         windows-nt systems.
11816 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11818         * info.el (info-initialize): Replace all uses of `:' with
11819         path-separator for compatibility with non-Unix systems.
11820         Cache quoting of path-separator.  (Bug#8258)
11822 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11824         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11825         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11826         (mouse-avoidance-mode): Fix typos in docstrings.
11828 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11830         * startup.el (package-subdirectory-regexp): Move from package.el.
11831         Omit \\` and \\', and let callers add them.
11833         * emacs-lisp/package.el (package-strip-version)
11834         (package-load-all-descriptors): Add \\` and \\' to
11835         package-subdirectory-regexp before using it.
11836         (package-untar-buffer): New arg DIR; ensure that file untars only
11837         into this expected directory.  Remove superfluous delete-region.
11838         (package-unpack): Caller changed.
11839         (package-tar-file-info): Use package-subdirectory-regexp.
11841 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11843         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11844         diff-mode-shared-map (bug#8284).
11845         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11847 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11849         * calendar/time-date.el (format-seconds): Use assoc instead of
11850         assoc-string, since assoc-string doesn't exist in XEmacs.
11852 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11854         * custom.el (custom-known-themes): Reflow docstring.
11855         (custom-theme-load-path): Fix typo in docstring.
11856         (load-theme): Fix typo in error message.
11857         (custom-available-themes, custom-variable-theme-value):
11858         Use `let', not `let*'.
11860 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11862         * calc/README: Mention inclusion of musical notes.
11864         * calc/calc-units.el (calc-lu-quant): Rename from
11865         `calc-logunits-quantity'.
11866         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11867         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11868         (calc-db): Rename from `calc-dblevel'.
11869         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11870         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11871         (calc-np): Rename from `calc-nplevel'.
11872         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11873         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11874         (calc-lu-plus): Rename from `calc-logunits-add'.
11875         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11876         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11877         (calc-lu-minus): Rename from `calc-logunits-sub'.
11878         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11879         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11880         (calc-lu-times): Rename from `calc-logunits-mul'.
11881         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11882         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11883         (calc-lu-divide): Rename from `calc-logunits-div'.
11884         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11885         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11887         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11888         functions being autoloaded.
11890         * calc/calc.el (calc-lu-power-reference): Rename from
11891         `calc-logunits-power-reference'.
11892         (calc-lu-field-reference): Rename from
11893         `calc-logunits-field-reference'.
11895         * calc/calc-help.el (calc-l-prefix-help):
11896         Mention musical note functions.
11898 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11900         * minibuffer.el (completion-all-sorted-completions):
11901         Use :completion-cycle-penalty text property if present.
11903 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11905         * allout.el (allout-yank-processing): Adjust for new rebulleting
11906         regime so bullet being yanked is used without prompting the user
11907         for a choice.
11909 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11911         * startup.el (command-line): Warn the user that _emacs is deprecated.
11913 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11915         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11916         (delphi-verbose, delphi-comment-face, delphi-string-face)
11917         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11918         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11919         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11920         (delphi-new-comment-line, delphi-font-lock-defaults)
11921         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11922         Fix typos in docstrings.
11924 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11926         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11927         Invert the roles of character and string values for INSTEAD, so a
11928         string is used for the more common case of a defaulting prompt.
11930 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11932         * progmodes/ruby-mode.el (ruby-backward-sexp):
11933         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11934         * play/gamegrid.el (gamegrid-make-face):
11935         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11936         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11937         * notifications.el (notifications-notify):
11938         * net/xesam.el (xesam-search-engines):
11939         * net/quickurl.el (quickurl-list-insert):
11940         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11942 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11944         * startup.el (command-line): Update package subdirectory regexp.
11946 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11948         * allout.el (allout-abbreviate-flattened-numbering)
11949         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11951         * subr.el (read-char-choice): Only show the cursor after the prompt,
11952         not after the answer.
11954 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11956         * help-fns.el (variable-at-point): Skip leading quotes, if any
11957         (bug#8253).
11959 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11961         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11962         warning message.
11964 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11966         * shell.el (shell): When called interactively, offer to change the
11967         shell file name on remote hosts.
11969 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11971         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11972         integration for LDAP parameters.  The host, base, user or binddn,
11973         and secret tokens can be specified in a netrc file, for instance.
11974         This is optional because an `auth-source' parameter must be
11975         specified in the search attributes.
11977 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11979         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11981 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11983         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11984         into declaration.  Remove redundant and harmful binding.
11986 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11988         * files.el (file-ownership-preserved-p): Pass `integer' as an
11989         explicit 2nd argument to `file-attributes'.  If the file's owner
11990         is the Administrators group on Windows, and the current user is
11991         Administrator, consider that a match.
11993         * server.el (server-ensure-safe-dir): Consider server directory
11994         safe on MS-Windows if its owner is the Administrators group while
11995         the current Emacs user is Administrator.  Use `=' to compare
11996         numerical UIDs, since they could be integers or floats.
11998 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12000         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12002 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12004         Sync with Tramp 2.2.1.
12006         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12008         * net/trampver.el: Update release number.
12010 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12012         * progmodes/compile.el (compilation--previous-directory): Fix up
12013         various nil/dead-marker mismatches (bug#8014).
12014         (compilation-directory-properties, compilation-error-properties):
12015         Don't call it at a position past the one we're about to change.
12017         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12018         Disable obsolescence warnings in the file that declares it.
12020 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12022         * allout-widgets.el (allout-widgets-tally):
12023         Initialize allout-widgets-tally as a hash table rather than nil to
12024         prevent mode-line redisplay warnings.  Also, clarify the module
12025         description and fix a comment typo.
12027 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12029         * help-fns.el (describe-variable): Don't complete keywords.
12030         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12032 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12034         * emacs-lisp/package.el (package-version-join): Impose a standard
12035         string representation for pre/alpha/beta version lists.
12036         (package-unpack-single): Standardize the directory name by passing
12037         it through package-version-join.
12038         (package-strip-rcs-id): Accept any version string that does not
12039         signal an error in version-to-list.
12041 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12043         * simple.el (delete-trailing-whitespace): Return nil for the
12044         benefit of `write-file-functions'.
12046 2011-03-10  Glenn Morris  <rgm@gnu.org>
12048         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12050         * vc/vc-git.el (vc-git-program): New option.
12051         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12052         (vc-git--call): Use it.
12054         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12056         * cus-edit.el (Custom-newline): If no button at point, look
12057         for a subgroup button at start-of-line.  (Bug#2298)
12059         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12061 2011-03-10  Julien Danjou  <julien@danjou.info>
12063         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12064         `cursor-type' is nil.
12066 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
12068         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12070 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
12072         * allout.el: Change so yank of distinctive-bullet items
12073         preserves the existing header prefix, rebulleting it if necessary,
12074         rather than replacing it.  This is necessary for proper operation
12075         of cooperative addons like allout-widgets.
12076         (allout-make-topic-prefix, allout-rebullet-heading):
12077         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12078         value as alternate bullet to be used, instead of prompting the user
12079         for a bullet character.
12081 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12083         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12084         Do not use `tramp-file-name-port', because this returns also
12085         `tramp-default-port'.
12087 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12089         * net/rcirc.el (rcirc-handler-001): Remove useless
12090         with-rcirc-process-buffer.
12091         (rcirc-check-auth-status): Swap arguments to string-match.
12093 2011-03-09  Glenn Morris  <rgm@gnu.org>
12095         * shell.el (shell-mode):
12096         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12098         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12099         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12101 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12103         * emacs-lisp/package.el (package-refresh-contents)
12104         (package-menu-execute): Use condition-case-no-debug.
12106 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12108         * simple.el (shell-command-to-string): Use `process-file'.
12110         * emacs-lisp/package.el (package-tar-file-info): Handle also
12111         remote files.
12113         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12114         Use `equal' for upload base check.
12116 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12118         * textmodes/texinfo.el (texinfo-environments):
12119         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12121 2011-03-08  Glenn Morris  <rgm@gnu.org>
12123         * cus-start.el (cursor-in-non-selected-windows):
12124         Fix :set quoting oddness.  (Bug#8192)
12126         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12127         in some setf expressions.  (Bug#2159)
12129 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12131         * custom.el (custom-available-themes): Return themes in
12132         alphabetical order.
12134 See ChangeLog.15 for earlier changes.
12136 ;; Local Variables:
12137 ;; coding: utf-8
12138 ;; End:
12140   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12142   This file is part of GNU Emacs.
12144   GNU Emacs is free software: you can redistribute it and/or modify
12145   it under the terms of the GNU General Public License as published by
12146   the Free Software Foundation, either version 3 of the License, or
12147   (at your option) any later version.
12149   GNU Emacs is distributed in the hope that it will be useful,
12150   but WITHOUT ANY WARRANTY; without even the implied warranty of
12151   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12152   GNU General Public License for more details.
12154   You should have received a copy of the GNU General Public License
12155   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.