* lisp/progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
[emacs.git] / lisp / ChangeLog
blob2328cf99c1ab48b1a6a7d39616d2c8a3bd4028d1
1 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
3         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4         (ruby-syntax-propertize-regexp): New function.
5         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6         by a special keyword.
8         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9         (ruby-syntax-general-delimiters-goto-beg)
10         (ruby-syntax-propertize-general-delimiters): New functions.
11         (ruby-syntax-propertize-function): Use them to handle GDL.
12         (ruby-font-lock-keywords): Move old handling of GDL...
13         (ruby-font-lock-syntactic-keywords): .. to here.
14         (ruby-calculate-indent): Adjust indentation for GDL.
16 2012-04-24  Leo Liu  <sdl.web@gmail.com>
18         * progmodes/python.el: Move hideshow setup to the end.
20 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
22         * window.el (handle-select-window): Clear echo area since this is
23         no more done by read_char (Bug#11304).
25 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
27         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
28         and `/ M' to filter-derived-mode.
29         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
30         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
31         (ibuffer-mark-by-mode): Use default rather than initial-input.
32         (ibuffer-filter-by-derived-mode): Autoload and require-match.
34 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
36         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
37         (ibuffer-filter-by-derived-mode): New filter.
38         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
40 2012-04-23  Andreas Politz  <politza@fh-trier.de>
42         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
44 2012-04-23  Chong Yidong  <cyd@gnu.org>
46         * cus-edit.el (customize-apropos, customize-apropos-options):
47         Disable matching of non-option variables (Bug#11176).
48         (customize-option, customize-option-other-window)
49         (customize-changed-options): Doc fix.
50         (customize-apropos-options, customize-apropos-faces)
51         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
53         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
54         Fix word list splitting (Bug#11132).
55         (apropos-symbol, apropos-keybinding, apropos-label)
56         (apropos-property, apropos-function-button)
57         (apropos-variable-button, apropos-misc-button): New faces.
58         (apropos-symbol-face, apropos-keybinding-face)
59         (apropos-label-face, apropos-property-face, apropos-match-face):
60         Variables removed (Bug#8396).
61         (apropos-library-button, apropos-format-plist, apropos-print)
62         (apropos-print-doc, apropos-describe-plist): Callers changed.
64 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
66         * net/xesam.el (xesam-mode-map): Use let-bound map in
67         initialization.  (Bug#11292)
69 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
71         Preserve ispell session localwords when switching back to
72         original buffer.
74         * ispell.el (ispell-buffer-session-localwords): New buffer-local
75         variable to hold buffer session localwords.
76         (ispell-kill-ispell): add option 'clear to delete session
77         localwords.
78         (ispell-command-loop, ispell-change-dictionary)
79         (ispell-buffer-local-words): Preserve session localwords when
80         needed.
82         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
83         Preserve session localwords when needed.
85 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
87         * ispell.el (ispell-insert-word) Remove unneeded function using
88         obsolete `translation-table-for-input'.
89         (ispell-word, ispell-process-line, ispell-complete-word): Use
90         plain `insert' instead of removed `ispell-insert-word'.
92 2012-04-22  Chong Yidong  <cyd@gnu.org>
94         * cus-edit.el (custom-variable-menu)
95         (custom-variable-reset-saved, custom-face-menu)
96         (custom-face-reset-saved): If there is no saved value, make the
97         "reset-saved" operation bring back the default (Bug#9509).
98         (custom-face-state): Properly detect themed faces.
100         * faces.el (face-spec-set): Stop supporting deprecated form of
101         third arg.
103 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
105         Move functions from C to Lisp.  Make non-blocking method calls
106         the default.  Implement further D-Bus standard interfaces.
108         * net/dbus.el (dbus-message-internal): Declare function.  Remove
109         unneeded function declarations.
110         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
111         (dbus-message-type-method-return, dbus-message-type-error)
112         (dbus-message-type-signal): Declare variables.  Remove local
113         definitions.
114         (dbus-interface-dbus, dbus-interface-peer)
115         (dbus-interface-introspectable, dbus-interface-properties)
116         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
117         Adapt docstring.
118         (dbus-interface-objectmanager): New defconst.
119         (dbus-call-method, dbus-call-method-asynchronously)
120         (dbus-send-signal, dbus-method-return-internal)
121         (dbus-method-error-internal, dbus-register-service)
122         (dbus-register-signal, dbus-register-method): New defuns, moved
123         from dbusbind.c
124         (dbus-call-method-handler, dbus-setenv)
125         (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
126         defuns.
127         (dbus-call-method-non-blocking): Make it an obsolete function.
128         (dbus-unregister-object, dbus-unregister-service)
129         (dbus-handle-event, dbus-register-property)
130         (dbus-property-handler): Obey the new structure of
131         `bus-registered-objects'.
132         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
133         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
134         Use `dbus-call-method'.
136 2012-04-22  Chong Yidong  <cyd@gnu.org>
138         * cus-edit.el (custom-commands, custom-reset-menu)
139         (Custom-reset-standard): Tweak labels.
140         (custom-reset-button-menu): Change default to t.
141         (custom-buffer-create-internal): For the custom-reset-button-menu
142         case, put the revert button first.
143         (custom-group-subtitle): New face.
144         (custom-group-value-create): Align docstring to a specific column.
146         * wid-edit.el (widget-documentation-link-add): Don't handle
147         indentation in this function.
148         (widget-documentation-string-indent-to): New function.
149         (widget-documentation-string-value-create): Use it.
151         * autorevert.el (auto-revert):
152         * epg-config.el (epg):
153         * ibuffer.el (ibuffer):
154         * mpc.el (mpc):
155         * ses.el (ses):
156         * eshell/eshell.el (eshell):
157         * net/ange-ftp.el (ange-ftp):
158         * progmodes/ebnf2ps.el (postscript):
159         * progmodes/flymake.el (flymake):
160         * progmodes/prolog.el (prolog):
161         * progmodes/verilog-mode.el (verilog-mode):
162         * progmodes/which-func.el (which-func):
163         * term/xterm.el (xterm):
164         * textmodes/picture.el (picture):
165         * textmodes/tildify.el (tildify):
166         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
167         customization buffers.
169 2012-04-22  Alan Mackenzie  <acm@muc.de>
171         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
172         Adding a ) can hide the resulting (..) from searches.  Fix it.
173         Bound the backward search to the position of the existing (.
175 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
177         * progmodes/verilog-mode.el (verilog-mode): Check whether
178         which-func-modes is t before adding verilog-mode.
179         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
181 2012-04-21  Leo Liu  <sdl.web@gmail.com>
183         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
185 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
187         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
188         filling of the last column of a table (Bug#5635).
189         (woman-find-next-control-line): New arg, specifying an additional
190         regexp component for the control line.
191         (woman2-roff-buffer): Use it.
192         (woman-break-table): New function.
193         (woman2-TS): Use it.
195 2012-04-21  Chong Yidong  <cyd@gnu.org>
197         * woman.el (woman-set-buffer-display-table, woman-decode-region)
198         (woman-horizontal-escapes, woman-negative-vertical-space)
199         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
200         (WoMan-warn-ignored): Use ?\s instead of ?\ .
202 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
204         * minibuffer.el (completion-file-name-table): Complete user names.
206 2012-04-20  Leo Liu  <sdl.web@gmail.com>
208         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
209         and pcase-let*.
211 2012-04-20  Chong Yidong  <cyd@gnu.org>
213         * server.el (server-execute): Respect initial-buffer-choice if it
214         is a string and there are no files to open (Bug#2825).
215         (server-create-window-system-frame, server-create-tty-frame):
216         Don't switch buffers here.
217         (server-process-filter): Only try to open a window system frame if
218         compiled with graphical support (Bug#8314).
220 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
222         * battery.el (battery-echo-area-format): Display remaining time
223         for sysfs backend too (Bug#11269).
224         (battery-linux-sysfs): Fix conditional for the charge.
226 2012-04-20  Chong Yidong  <cyd@gnu.org>
228         * progmodes/gdb-mi.el (gdb): Revert previous change.
229         (gdb-inferior-io--init-proc): New function.
230         (gdb-init-1): Use it.
231         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
232         responsible for allocating a new pty and hooking it to gdb when
233         the old pty gets an EIO due to process exit.
234         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
235         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
236         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
238 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
240         * window.el (window-min-size, window-sizable, window-min-delta)
241         (window-max-delta, window--resizable, window-resizable)
242         (window-total-size, window-full-height-p, window-full-width-p)
243         (window-in-direction, window--resize-mini-window, window-resize)
244         (window--resize-child-windows-normal)
245         (window--resize-child-windows, window--resize-siblings)
246         (window--resize-this-window, adjust-window-trailing-edge)
247         (enlarge-window, shrink-window): Doc fixes.
249 2012-04-20  Chong Yidong  <cyd@gnu.org>
251         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
252         function to call delete-process on the gdb-inferior buffer's pty.
253         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
254         pty process (Bug#11273).
255         (gdb-update): New arg to suppress talking to the gdb process.
256         (gdb-done-or-error): Use it.
257         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
258         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
259         sentinel not being called.
261         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
263         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
265 2012-04-20  Glenn Morris  <rgm@gnu.org>
267         * net/network-stream.el (open-network-stream): Doc fix.
269 2012-04-20  Chong Yidong  <cyd@gnu.org>
271         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
273 2012-04-20  Alan Mackenzie  <acm@muc.de>
275         Ensure searching for keywords is case sensitive.
277         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
278         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
279         (c-defun-name, c-mark-function, c-cpp-define-name)
280         (c-comment-indent, c-scan-conditionals, c-indent-defun)
281         (c-context-line-break): Bind case-fold-search to nil.
283         * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
284         case-fold-search to nil.
286 2012-04-20  Chong Yidong  <cyd@gnu.org>
288         * mail/sendmail.el (mail-bury): Call return action with the right
289         Rmail buffer (Bug#11242).
291         * server.el (server-process-filter): Handle corner case where both
292         tty and nowait options are present (Bug#11102).
294 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
296         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
297         (top level): Put into the executable the ident-style '$Id:' tag on
298         windows-nt as well.
300 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * electric.el (electric-indent-post-self-insert-function): Check that
303         electric-indent-mode is enabled in current buffer.
305 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
307         * imenu.el (imenu-progress-message): Restore; it is "used" in
308         erc/erc-imenu.el and net/snmp-mode.el.
310 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
312         * avoid.el (mouse-avoidance-mode): Mark unused arg.
313         (mouse-avoidance-nudge-mouse): Remove unused binding.
315         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
317         * descr-text.el (describe-char):
318         * progmodes/python.el (python-describe-symbol):
319         Don't call `toggle-read-only', set `buffer-read-only'.
321         * imenu.el (imenu-default-goto-function): Mark unused args.
322         (imenu-progress-message): Remove obsolete macro; all callers changed.
324         * subr.el (keymap-canonicalize): Remove unused binding.
325         (read-passwd): Mark unused arg.
327         * tutorial.el (tutorial--display-changes): Remove unused binding.
328         (tutorial--save-tutorial-to): Remove unused variable.
330         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
331         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
332         (package-generate-autoloads, package-menu--generate)
333         (package-menu--find-upgrades): Remove unused bindings.
335         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
336         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
337         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
338         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
339         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
340         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
341         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
342         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
343         (cua-delete-char-rectangle): Mark unused args.
344         (cua-align-rectangle): Remove unused binding.
346         * mail/rmail.el (compilation--message->loc)
347         (epa--find-coding-system-for-mime-charset): Declare.
349         * net/dbus.el (dbus-register-service): Declare.
350         (dbus-name-owner-changed-handler): Remove unused binding.
352         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
353         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
354         (nxml-scan-backward-within): Mark unused arg.
355         (nxml-dynamic-markup-word): Remove unused binding.
357         * mouse.el (mouse-menu-major-mode-map):
358         * emacs-lisp/authors.el (authors-scan-change-log)
359         (authors-add-to-author-list):
360         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
361         * emacs-lisp/smie.el (smie-auto-fill):
362         * mail/sendmail.el (mail-bury):
363         * mail/unrmail.el (unrmail):
364         * net/tls.el (open-tls-stream):
365         * textmodes/picture.el (picture-mouse-set-point):
366         Remove unused bindings.
368 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
370         * net/tramp.el (tramp-action-password): Let-bind
371         `enable-recursive-minibuffers' to t.
373 2012-04-18  Sam Steingold  <sds@gnu.org>
375         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
376         instead of 'string to accommodate values like [f11].
377         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
378         * progmodes/gdb-mi.el: Likewise.
380 2012-04-18  Leo Liu  <sdl.web@gmail.com>
382         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
383         current buffer.
384         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
385         LOCAL is nil.
387 2012-04-18  Chong Yidong  <cyd@gnu.org>
389         * simple.el (line-move): Use forward-line if in batch mode
390         (Bug#11053).
392 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
394         * files.el (after-find-file): Do not try to add a final newline if
395         the buffer is read-only (Bug#11156).
397 2012-04-17  Richard Stallman  <rms@gnu.org>
399         * mail/rmail.el (rmail-start-mail):
400         Pass (rmail-mail-return...) for the return-action.
401         Pass (rmail-yank-current-message...) for the yank-action.
402         (rmail-yank-current-message): New function.
403         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
404         (rmail-reply): Likewise.
405         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
407         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
408         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
409         buffer, not newbuf.
411 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
413         * server.el (server-ensure-safe-dir): Simplify.
415 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
417         * emacs-lisp/smie.el: Provide smarter auto-filling.
418         (smie-auto-fill): New function.
419         (smie-setup): Use it.
421         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
423 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
425         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
426         (comment-indent): Use it.
428 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
430         * ses.el: The overall change is to add cell renaming, that is
431         setting fancy names for cell symbols other than name matching
432         "\\`[A-Z]+[0-9]+\\'" regexp .
433         (ses-localvars): Add ses--renamed-cell-symb-list.
434         (ses-create-cell-variable): New defun.
435         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
436         (ses-relocate-formula): Relocate formulas only for cells the
437         symbols of which are not renamed, i.e. symbols whose names do not
438         match regexp "\\`[A-Z]+[0-9]+\\'".
439         (ses-relocate-all): Relocate values only for cells the symbols of
440         which are not renamed.
441         (ses-load): Create cells variables as the (ses-cell ...) are read,
442         in order to check row col consistency with cell symbol name only
443         for cells that are not renamed.
444         (ses-replace-name-in-formula): New defun.
445         (ses-rename-cell): New defun.
447 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
449         * progmodes/perl-mode.el (perl-indent-parens-as-block):
450         New option (bug#11118).
451         (perl-calculate-indent): Respect it.
453 2012-04-17  Glenn Morris  <rgm@gnu.org>
455         * dired-aux.el (dired-mark-read-string): Doc fix.
457 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
459         * dired-aux.el (dired-mark-read-string): Offer optional completion.
460         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
462 2012-04-17  Glenn Morris  <rgm@gnu.org>
464         * mouse.el (mouse-drag-track):
465         * speedbar.el (speedbar-frame-mode):
466         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
468 2012-04-16  Leo Liu  <sdl.web@gmail.com>
470         * progmodes/python.el: Trivial cleanup.
472 2012-04-16  Glenn Morris  <rgm@gnu.org>
474         * vc/vc.el (vc-string-prefix-p):
475         * vc/pcvs-util.el (cvs-string-prefix-p):
476         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
477         * mpc.el (mpc-string-prefix-p):
478         Make all of these into obsolete aliases for string-prefix-p.
479         Update callers.
480         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
482         * textmodes/two-column.el: Move custom options to the start.
483         (frame-width): Remove compat definition.
484         (2C-associate-buffer, 2C-dissociate):
485         Use with-current-buffer rather than save-excursion.
486         (2C-dissociate): Force a mode-line update.
487         (2C-autoscroll): Use ignore-errors.
489         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
490         Autoload trivia.
492         * emacs-lisp/cl-extra.el (*random-state*):
493         Remove unnecessary declaration.
495         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
497         * play/cookie1.el (cookie-snarf):
498         Give an explicit error if input file cannot be read.
500         * play/yow.el (yow-file): Use expand-file-name rather than concat.
502         * progmodes/perl-mode.el (c-macro-expand):
503         Remove unnecessary autoload (it is in loaddefs.el).
505         * textmodes/picture.el (picture-desired-column)
506         (picture-update-desired-column): Convert comments to doc-strings.
507         (picture-substitute): Remove function.
508         (picture-mode-map): Initialize in the defvar.
510         * woman.el: Remove eval-after-load for tar-mode.
511         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
512         (woman-tar-extract-file): Autoload it.
514         * frame.el (automatic-hscrolling): Make this alias obsolete.
516 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
518         * ispell.el (ispell-set-spellchecker-params): Post-process
519         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
520         (ispell-dictionary-base-alist): Revert to original XEmacs
521         friendly version for default.  [:alpha:] will be added in
522         `ispell-set-spellchecker-params' if needed
524 2012-04-16  Chong Yidong  <cyd@gnu.org>
526         * image.el (imagemagick--extension-regexp): New variable.
527         (imagemagick-register-types): Use it.
528         (imagemagick-types-inhibit): Add :set function.  Allow new value
529         of t to inhibit all types.
531         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
532         so we can preload it.
534         * loadup.el (fboundp): Preload regexp-opt, needed by
535         imagemagick-register-types.
537 2012-04-15  Chong Yidong  <cyd@gnu.org>
539         * frame.el (scrolling): Remove nearly unused customization group.
541         * scroll-all.el (scroll-all-mode): Move to windows group.
543 2012-04-15  Chong Yidong  <cyd@gnu.org>
545         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
547 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
549         Avoid the use of ((lambda ...) ...) in lexical-binding code.
550         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
552 2012-04-15  Glenn Morris  <rgm@gnu.org>
554         * simple.el (process-file-side-effects): Doc fix.
556 2012-04-15  Glenn Morris  <rgm@gnu.org>
558         * international/mule-cmds.el (set-language-environment): Doc fix.
560 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
562         * server.el (server-auth-key, server-generate-key): Doc fixes.
563         (server-get-auth-key): Doc fix.  Use `string-match-p'.
564         (server-start): Reflow docstring.
566 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
568         * server.el (server-generate-key): `called-interactively-p'
569         requires a parameter.
571 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
573         * server.el (server-auth-key): New variable.
574         (server-generate-key, server-get-auth-key): New function.
575         (server-start): Use the new variable and functions to allow
576         setting a permanent server key (bug#9423).
578 2012-04-14  Leo Liu  <sdl.web@gmail.com>
580         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
582 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
584         Spelling fixes.
585         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
586         Emacs uses American spelling.
588 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
590         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
591         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
592         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
593         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
595 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
597         * progmodes/which-func.el (which-func-modes): Change default.
599 2012-04-14  Kim F. Storm  <storm@cua.dk>
601         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
602         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
604 2012-04-14  Chong Yidong  <cyd@gnu.org>
606         * custom.el (custom-theme-set-variables): Doc fix.
608 2012-04-14  Glenn Morris  <rgm@gnu.org>
610         * international/mule.el (set-auto-coding-for-load): Doc fix.
612 2012-04-14  Alan Mackenzie  <acm@muc.de>
614         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
615         imenu work again for Objective C Mode.  Correct the *-index values,
616         these having been disturbed by a previous change in 2011-08.
618         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
619         Correct two search limits.
621 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
623         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
625 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
627         * international/characters.el: Fix sorting.
629 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
631         * international/characters.el: Add more missing Latin case pairs.
633 2012-04-14  Glenn Morris  <rgm@gnu.org>
635         * files.el (dir-locals-set-class-variables): Doc fix.
637 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
639         * international/characters.el: Add set-case-syntax-pair call for
640         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
641         counterpart.  (Bug#11209)
643         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
645 2012-04-14  Glenn Morris  <rgm@gnu.org>
647         * calendar/holidays.el (calendar-check-holidays): Doc fix.
649 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
651         * textmodes/ispell.el (ispell-dictionary-base-alist):
652         Add data for Hebrew.
654 2012-04-14  Chong Yidong  <cyd@gnu.org>
656         * net/rcirc.el (rcirc-cmd-quit):
657         Revert 2012-03-18 change (Bug#11192).
659 2012-04-14  Glenn Morris  <rgm@gnu.org>
661         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
663 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
665         * minibuffer.el (completion-in-region-mode-map):
666         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
668 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
670         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
672 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
674         * minibuffer.el (minibuffer-local-filename-syntax): New variable
675         to allow `C-M-f' and `C-M-b' to move to the nearest path
676         separator (bug#9511).
678 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
680         * avoid.el: Require cl when compiling.  And also move the
681         `provide' to the end.
683 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
685         * avoid.el (mouse-avoidance-banish-position): New variable.
686         (mouse-avoidance-banish-destination): Use it (bug#10165).
688 2012-04-13  Leo Liu  <sdl.web@gmail.com>
690         * progmodes/which-func.el (which-func-modes): Add objc-mode.
692 2012-04-13  Ken Brown  <kbrown@cornell.edu>
694         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
695         this is no longer needed now that cygstart understands file:// URLs.
696         (browse-url-filename-alist): For the same reason, don't modify
697         file:// URLs on Cygwin.
699 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
701         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
702         the region on shift if the binding is already shifted (bug#11221).
704 2012-04-12  Glenn Morris  <rgm@gnu.org>
706         * mail/mailpost.el: Move to obsolete/.
708 2012-04-12  Drew Adams  <drew.adams@oracle.com>
710         * imenu.el (imenu--generic-function): Ignore invisible definitions
711         (bug#10123).
713 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
715         * hexl.el (hexl-bits): New variable.
716         (hexl-options): Mention the variable in the doc string.
717         (hexl-rulerise, hexl-line-displen): New functions.
718         (hexl-mode): Mention the new variable.
719         (hexl-mode, hexl-current-address, hexl-current-address):
720         Use the displen.
721         (hexl-ascii-start-column): New function.
722         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
723         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
725 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
727         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
728         '("-i" ENCODING), in 2 separate command-line arguments, to specify
729         the encoding, as expected by hunspell.
731 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
733         * battery.el (battery--linux-sysfs-regexp): New const.
734         (battery-status-function): Use it.  Remove yeeloong special case.
735         (battery-yeeloong-sysfs): Remove.
736         (battery-echo-area-format): Remove yeeloong special case.
738 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
740         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
741         Reported by Noah Friedman.
743         * subr.el (read-passwd): Use read-string.
745 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
747         * vcursor.el (vcursor-move): Increase the priority of the overlay
748         (bug#9663).
750 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
752         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
753         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
755 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
757         * textmodes/artist.el (artist-mode): Convert artist-mode to use
758         define-minor-mode (bug#10760).
760 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
762         * progmodes/grep.el (rgrep): Tweak the find command line so
763         that directories matching `grep-find-ignored-files' won't be
764         pruned (bug#10351).
766 2012-04-11  Chong Yidong  <cyd@gnu.org>
768         * startup.el (command-line): Remove support for long-obsolete
769         variable font-lock-face-attributes.
771 2012-04-11  Glenn Morris  <rgm@gnu.org>
773         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
775 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
777         * window.el (window--state-get-1): Obey window-point-insertion-type.
779 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
781         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
782         to previous function when point is on the first character of a
783         function.  Take care of that in `narrow-to-defun' (bug#6157).
785 2012-04-11  Glenn Morris  <rgm@gnu.org>
787         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
788         not just file-errors.
790         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
791         (vc-bzr-sha1): Use internal sha1.
793 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
795         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
797 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
799         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
800         that start in the middle of the line (bug#10496).
802 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
804         * battery.el (battery-linux-proc-acpi): Only one battery is
805         discharged at a time, but that seems to confuse battery.el when
806         computing `rate-type' for the battery not being discharged
807         (bug#10332).
809 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
811         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
813         * international/quail.el: Use dolist and simplify.
814         (quail-define-package, quail-update-keyboard-layout)
815         (quail-define-rules): Use dolist.
816         (quail-insert-kbd-layout, quail-get-translation): CSE.
818         * tmm.el: Use dolist, remove left over hook.
819         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
820         Use dolist.
821         (calendar-load-hook): Don't mess with it.
823         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
824         Use derived-mode-p.  Run the diff asynchronously.
826 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
828         * obsolete/mouse-sel.el: Add an Obsolete-since header.
830 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
832         * misc.el: Display absolute path of loaded DLLs (bug#10424).
833         (list-dynamic-libraries--loaded): New function.
834         (list-dynamic-libraries--refresh): Use it.
836 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
838         * progmodes/python.el (python-fill-paragraph):
839         Make python-fill-region in a multiline string work when font-lock is
840         disabled (bug#7018).
842 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
844         * language/european.el (cp775): Add oem/legacy (en)coding on
845         DOS/MS Windows for the Baltic languages.  There are still plenty
846         of texts written in this encoding/codepage (bug#6519).
848 2012-04-10  Glenn Morris  <rgm@gnu.org>
850         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
851         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
853 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
855         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
856         next-line "n" and previous-line "p" in order to make recentf more
857         consistent with ibuffer, dired or org-mode (bug#9387).
859 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
861         * image.el (put-image): Return the overlay created instead of the
862         optional input string (bug#7834).  Note that this may break code
863         that is (for some reason or other) depending on `put-image'
864         returning the string.
866         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
868         * simple.el (zap-to-char): Allow zapping using input methods
869         (bug#1580).
871         * textmodes/fill.el (fill-region): Leave point and mark where they
872         were before filling (bug#5399).
874 2012-04-09  Glenn Morris  <rgm@gnu.org>
876         * version.el (emacs-bzr-get-version):
877         Handle lightweight checkouts of local branches.
879 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
881         * international/characters.el: Recover lost case pairs.  (Bug#11209)
883 2012-04-09  Chong Yidong  <cyd@gnu.org>
885         * custom.el (custom-variable-p): Return nil for non-symbol
886         arguments instead of signaling an error.
887         (user-variable-p): Obsolete alias for custom-variable-p.
889         * apropos.el (apropos-variable):
890         * files-x.el (read-file-local-variable):
891         * simple.el (set-variable):
892         * woman.el (woman-mini-help):
893         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
895 2012-04-09  Glenn Morris  <rgm@gnu.org>
897         * startup.el (normal-top-level): Don't look for leim-list.el
898         in places where it will not be found.  (Bug#910)
900         * international/mule-cmds.el (set-default-coding-systems):
901         * files.el (normal-mode):
902         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
903         This function was removed with ucs-tables.el in 2008.
905 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
907         * textmodes/ispell.el (ispell-check-version): For hunspell, set
908         ispell-encoding8-command to "-i", without a trailing space.
909         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
910         separate command-line arguments, to specify the encoding, since
911         that's how hunspell expects it.
913 2012-04-08  Glenn Morris  <rgm@gnu.org>
915         * loadup.el: Load bindings before cus-start.
916         This reduces somewhat the number of "rogue" settings in emacs -Q.
918 2012-04-07  Glenn Morris  <rgm@gnu.org>
920         * version.el (emacs-bzr-get-version): New function.
921         (emacs-bzr-version): New variable.
922         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
923         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
925 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
927         * international/uni-bidi.el, international/uni-category.el:
928         * international/uni-combining.el, international/uni-decimal.el:
929         * international/uni-decomposition.el, international/uni-digit.el:
930         * international/uni-lowercase.el, international/uni-mirrored.el:
931         * international/uni-name.el, international/uni-numeric.el:
932         * international/uni-titlecase.el, international/uni-uppercase.el:
933         Update for Unicode 6.1.
935 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
937         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
939 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
941         * window.el (shrink-window): Mention the `window-min-height'
942         variable in the doc string.
944 2012-04-05  Bastien Guerry  <bzg@altern.org>
946         * color.el (color-lighten-name): Fix typo.
948 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
950         * server.el (server--on-display-p): New function.
951         (server--on-display-p): Use it.
953 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
955         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
956         (bug#11145).
958 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
960         * comint.el (comint--common-quoted-suffix): Check string boundary
961         before comparing (bug#11158).
962         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
964 2012-04-04  Chong Yidong  <cyd@gnu.org>
966         * minibuffer.el (completion-extra-properties): Doc fix.
968         * subr.el (delayed-warnings-hook): Doc fix.
970 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
972         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
973         selection (Bug#11159).
974         (epa-insert-keys): Inform that the default public key will be
975         exported if no key is selected.
977 2012-04-04  Richard Stallman  <rms@gnu.org>
979         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
981 2012-04-03  Chong Yidong  <cyd@gnu.org>
983         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
984         mail-insert-file, not its obsolete alias mail-attach-file.
986 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
988         * notifications.el (notifications-notify): Fix docstring.
990 2012-04-02  Glenn Morris  <rgm@gnu.org>
992         * emacs-lisp/authors.el (authors-aliases): Another addition.
994 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
996         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
997         `tramp-compat-call-process' instead of `tramp-local-call-process'.
998         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1000 2012-04-01  Chong Yidong  <cyd@gnu.org>
1002         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1003         Handle root directory properly.
1004         (copy-directory): Caller changed.
1006         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1007         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1009 2012-03-31  Glenn Morris  <rgm@gnu.org>
1011         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1013         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1015         * calendar/calendar.el (calendar-window-list)
1016         (calendar-hide-window): Restore.  (Bug#11140)
1017         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1019         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1021 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1023         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1024         Check if file is a symlink (Bug#10489).
1026         * files.el (copy-directory): Likewise.
1028 2012-03-30  Chong Yidong  <cyd@gnu.org>
1030         * image.el (imagemagick-types-inhibit)
1031         (imagemagick-register-types): Doc fix.
1033 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1035         * ispell.el (ispell-get-extended-character-mode): Disable
1036         extended-char-mode for hunspell.  hunspell does not support it
1037         and treats ~word as ordinary words in pipe mode.
1039 2012-03-30  Glenn Morris  <rgm@gnu.org>
1041         * tutorial.el (help-with-tutorial): Ensure local variables don't
1042         happen to make the buffer read-only.  (Bug#11127)
1044 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1046         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1047         (perl-calculate-indent): Return `noindent' in strings.
1049 2012-03-28  Sam Steingold  <sds@gnu.org>
1051         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1052         instead of the broken adhockery which does not prevent calendar
1053         buffers from being displayed at random after exit.
1054         (calendar-window-list, calendar-hide-window): Remove the broken
1055         adhockery.
1057 2012-03-28  Glenn Morris  <rgm@gnu.org>
1059         * replace.el (query-replace-map): Doc fix.
1061 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1063         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1064         contents.  (Bug#11109)
1066 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1068         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1069         (bug#11077).
1070         (avl-tree--check, avl-tree--check-node): New funs.
1072 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1074         * window.el (switch-to-visible-buffer): New option.
1075         (switch-to-prev-buffer, switch-to-next-buffer):
1076         Observe switch-to-visible-buffer.  Make sure that checking for a window
1077         showing a buffer already is done on the same frame.
1079 2012-03-27  Glenn Morris  <rgm@gnu.org>
1081         * startup.el (mail-host-address): Doc fix.
1083 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1085         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1086         than 197 variables.
1088 2012-03-26  Ami Fischman  <ami@fischman.org>
1090         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1092 2012-03-26  Glenn Morris  <rgm@gnu.org>
1094         * files.el (save-buffers-kill-emacs): Doc fix.
1096         * startup.el (normal-top-level, command-line, command-line-1):
1097         Give them doc strings.
1099 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1101         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1102         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1104 2012-03-25  Chong Yidong  <cyd@gnu.org>
1106         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1107         theme if it was previously enabled before (Bug#11031).
1109         * cus-theme.el (custom-theme-write-faces): Retrieve current face
1110         spec with custom-face-get-current-spec if its :shown-value is not
1111         determined yet (Bug#9337).
1112         (customize-create-theme, custom-theme-revert): Doc fixes.
1114         * button.el (button-at): Minor addition to docstring.
1116 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
1118         * vc/vc.el (vc-merge): Fix a prompt.
1120 2012-03-24  Chong Yidong  <cyd@gnu.org>
1122         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1123         point (Bug#9623).
1125         * button.el (button-at): Minor addition to docstring.
1127 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1129         * newcomment.el (comment-choose-indent): No space after BOL.
1131 2012-03-22  Sam Steingold  <sds@gnu.org>
1133         * window.el (switch-to-prev-buffer): Revert last patch because the
1134         bug turned out to be an advertised feature (Elisp manual 28.14).
1136 2012-03-22  Glenn Morris  <rgm@gnu.org>
1138         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
1139         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1141 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1143         * net/network-stream.el (network-stream-open-starttls): Make error
1144         message under Windows be less misleading.
1146 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
1148         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1149         understands (bug#9942).
1151 2012-03-22  Chong Yidong  <cyd@gnu.org>
1153         * simple.el (end-of-visible-line): Handle return value of
1154         next-single-property-change properly (Bug#9371).
1156 2012-03-22  Kenichi Handa  <handa@m17n.org>
1158         * international/quail.el (quail-insert-kbd-layout): Fix previous
1159         change.  To avoid unwanted bidi reordering, use
1160         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1162 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1164         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1165         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1166         (ruby-beginning-of-indent): Be more careful with the difference
1167         between word-boundary and symbol boundary.
1168         (ruby-mode-syntax-table): Make : a symbol constituent.
1170 2012-03-21  Andreas Politz  <politza@fh-trier.de>
1172         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1174 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1176         * progmodes/etags.el (tags-completion-at-point-function):
1177         Improve last fix.
1179         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1181 2012-03-21  Sam Steingold  <sds@gnu.org>
1183         * progmodes/etags.el (tags-completion-at-point-function):
1184         Avoid the error when point is inside the pattern.
1186 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
1188         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1189         line (Bug#10855).
1191 2012-03-21  Drew Adams  <drew.adams@oracle.com>
1193         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1195 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
1197         * ido.el (ido-set-current-directory, ido-read-internal)
1198         (ido-choose-completion-string, ido-completion-help): Handle nil
1199         value of ido-completion-buffer (Bug#11008).
1201 2012-03-21  Sam Steingold  <sds@gnu.org>
1203         * window.el (switch-to-prev-buffer): Do not switch to a visible
1204         window previous buffer, just like with the frame previous buffers.
1206 2012-03-21  Chong Yidong  <cyd@gnu.org>
1208         * faces.el (make-face, make-empty-face, copy-face):
1209         * face-remap.el (face-remap-add-relative, face-remap-set-base):
1210         Doc fixes.
1212 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1214         * wid-edit.el (widget-complete-field): Remove (bug#11051).
1215         (widget-complete): Remove broken use of it.
1217 2012-03-20  Chong Yidong  <cyd@gnu.org>
1219         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1220         Use string-width and truncate-string-width to handle arbitrary
1221         characters.
1223 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
1225         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1226         to draw rectangles, not squares.  (Regression introduced by revno
1227         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1229 2012-03-18  Chong Yidong  <cyd@gnu.org>
1231         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1232         it is not yet defined (for temacs).
1234 2012-03-18  Leo Liu  <sdl.web@gmail.com>
1236         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1238 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1240         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1241         (ispell-choices-win-default-height, ispell-silently-savep)
1242         (ispell-dictionary-alist, ispell-encoding8-command)
1243         (ispell-check-version, ispell-aspell-find-dictionary)
1244         (ispell-valid-dictionary-list, ispell-words-keyword)
1245         (ispell-get-word, ispell-internal-change-dictionary)
1246         (ispell-region, ispell-skip-region-list)
1247         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1248         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1249         (ispell-message-text-end, ispell-message)
1250         (ispell-buffer-local-parsing): Doc fix.
1252 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
1254         * htmlfontify.el: Add support for code block fontification for ODT
1255         export (Bug #9914).
1256         (hfy-optimisations): Define new option
1257         `body-text-only'
1258         (hfy-fontify-buffer): Honor above setting.
1259         (hfy-begin-span, hfy-end-span): New routines factored out form
1260         `hfy-fontify-buffer'.
1261         (hfy-begin-span-handler, hfy-end-span-handler): New variables
1262         that permit insertion of custom tags.
1263         (hfy-fontify-buffer): Use above handlers.
1264         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1265         (hfy-face-to-css): Re-defined to be a variable.
1266         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
1267         over multiple runs.  This is made possible by having the caller let
1268         bind a special variable `hfy-user-sheet-assoc'.
1269         (htmlfontify-string): New defun.
1270         (hfy-compile-face-map): Make sure that the last char in the
1271         buffer is correctly fontified.
1272         (hfy-face-resolve-face): Whitespace only change.
1274 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1276         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1277         message more clear.
1279 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1281         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1283 2012-03-16  Alan Mackenzie  <acm@muc.de>
1285         Further optimise the handling of large macros.
1287         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1288         limit to a call of `c-literal-limits'.
1289         (c-determine-+ve-limit): New function.
1290         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1291         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1292         In CASE 5B, restrict a search limit to 500.
1293         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1295         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1296         Restrict macro bounds to +-500 from after-change's BEG END.
1298 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1300         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1302 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
1304         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1305         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
1307 2012-03-16  Glenn Morris  <rgm@gnu.org>
1309         * view.el (view-buffer, view-buffer-other-window)
1310         (view-buffer-other-frame): Doc fixes re special mode-class.
1312         * subr.el (eval-after-load): If named feature is provided not from
1313         a file, run after-load forms.  (Bug#10946)
1315         * calendar/calendar.el (calendar-insert-at-column):
1316         Handle non-unit-width characters a bit better.  (Bug#10978)
1318 2012-03-15  Chong Yidong  <cyd@gnu.org>
1320         * emacs-lisp/ring.el (ring-extend): New function.
1321         (ring-insert+extend): Extend the ring correctly (Bug#11019).
1323         * comint.el (comint-read-input-ring)
1324         (comint-add-to-input-history): Grow comint-input-ring lazily.
1326 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1329         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1331         * imenu.el: Fix multiple inheritance breakage (bug#9199).
1332         (imenu-add-to-menubar): Don't add a redundant index.
1333         (imenu-update-menubar): Handle a dynamically composed keymap.
1335 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1337         * mail/sendmail.el (mail-encode-header):
1338         Bind rfc2047-encode-encoded-words to nil.
1340 2012-03-13  Glenn Morris  <rgm@gnu.org>
1342         * calendar/calendar.el (calendar-string-spread):
1343         Handle non-unit-width characters a bit better.  (Bug#10978)
1345 2012-03-13  Leo Liu  <sdl.web@gmail.com>
1347         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1348         directory and file as argument (Bug#10822).
1350 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1352         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1353         For dynamically generated code, follow $PC.
1354         (gdb-disassembly-handler-custom): Handle no function name case.
1356 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
1358         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1359         * emulation/ws-mode.el (ws-query-replace):
1360         * sort.el (sort-regexp-fields):
1361         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
1363 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1365         * dabbrev.el: Fix cycle completion order (bug#10963).
1366         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1367         (dabbrev-completion): Don't use an obarray; provide
1368         a cycle-sort-function.
1370 2012-03-12  Leo Liu  <sdl.web@gmail.com>
1372         * simple.el (kill-new): Use equal-including-properties for comparison.
1373         (kill-do-not-save-duplicates): Doc fix.
1375 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1377         * dabbrev.el: Fix cycle completion (bug#10963).
1378         Use lexical binding and wrap to 80 columns.
1379         (dabbrev-completion): Delay computing the list of completions.
1381 2012-03-12  Kenichi Handa  <handa@m17n.org>
1383         * international/quail.el (quail-insert-kbd-layout): Surround each
1384         row by LRO and PDF instead of inserting many LRMs.  Pad the left
1385         and right of each non-spacing marks.  Insert invisible space
1386         between lower and upper characters to prevent composition.
1388 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1390         * minibuffer.el (minibuffer-complete): Don't get confused when the
1391         function is run twice via different commands (bug#10958).
1392         (complete-with-action): Fix docstring.
1394 2012-03-12  Chong Yidong  <cyd@gnu.org>
1396         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1397         (nxml-completion-at-point-function): New function.
1398         (nxml-mode): Use it.
1399         (nxml-bind-meta-tab-to-complete-flag): Default to t.
1401         * emacs-lisp/package.el (package-unpack, package-unpack-single):
1402         Load generated autoloads file before byte compiling (Bug#10970).
1403         (package--make-autoloads-and-compile): New helper fun.
1405 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
1407         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1409 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
1411         * autorevert.el (auto-revert-handler): Ensure, that
1412         file-readable-p is applied only for local files or in
1413         auto-revert-tail-mode.
1415 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1417         * server.el (server-eval-at): Handle non-tcp connections.
1418         Decode result string.
1420         * server.el (server-msg-size): New constant.
1421         (server-reply-print): New function.
1422         (server-eval-and-print): Use it.
1423         (server-eval-at): Use server-quote-arg and server-unquote-arg.
1424         Handle -print-nonl.
1426 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
1428         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1429         (Bug#10987).
1431 2012-03-11  Chong Yidong  <cyd@gnu.org>
1433         * simple.el (goto-line): Doc fix (Bug#9938).
1435         * subr.el (save-window-excursion): Doc fix (Bug#9979).
1437         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1438         when finished (Bug#10963).
1440 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
1442         * window.el (split-window-below): Fix bug in case where
1443         split-window-keep-point is nil (Bug#10971).
1445 2012-03-11  Juri Linkov  <juri@jurta.org>
1447         * replace.el (replace-highlight): Set isearch-word to nil
1448         unconditionally.  (Bug#10887)
1450 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
1452         * net/mairix.el (mairix-replace-invalid-chars): Rename from
1453         mairix-replace-illegal-chars; all callers changed.  Don't remove
1454         ^, ~, and = characters: they are meaningful in mairix search specs.
1455         (mairix-widget-create-query): Add usage information about mairix
1456         search forms: negating words, searching for substrings, etc.
1458 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
1460         * international/fontset.el (font-encoding-alist): Add an entry for
1461         ksx1001 (Bug#5667).
1463 2012-03-10  Richard Stallman  <rms@gnu.org>
1465         * mail/sendmail.el (mail-encode-header):
1466         Set rfc2047-encode-encoded-words.
1468         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1470         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1471         view buffer means not swapped.
1472         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1473         (rmail-write-region-annotate): Error if real text has disappeared.
1475         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1477 2012-03-10  Chong Yidong  <cyd@gnu.org>
1479         * emulation/cua-rect.el (cua--init-rectangles):
1480         * emulation/cua-base.el (cua--init-keymaps):
1481         Add delete-forward-char to remappings (Bug#9666).
1483 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
1485         * speedbar.el (speedbar-unhighlight-one-tag-line):
1486         Avoid unhighlighting due to frame switching (Bug#10275).
1488 2012-03-10  Chong Yidong  <cyd@gnu.org>
1490         * minibuffer.el (completion-in-region, completion-help-at-point):
1491         Give the completion field overlay a high priority (Bug#6830).
1493         * dired.el (dired-goto-file): Recognize absolute file name
1494         listings (Bug#7126).
1495         (dired-goto-file-1): New helper function.
1496         (dired-toggle-read-only): Inhibit warnings.
1498 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
1500         * net/dbus.el (dbus-property-handler): Return empty array if
1501         there are no properties.
1503 2012-03-09  Leo Liu  <sdl.web@gmail.com>
1505         * savehist.el (savehist-printable): Stricter check for string
1506         value (Bug#10937).
1508 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
1510         * mail/smtpmail.el (smtpmail-send-it):
1511         Bind coding-system-for-write to *-unix, so that FCC files are kept in
1512         valid mbox format.
1514 2012-03-09  Glenn Morris  <rgm@gnu.org>
1516         * files.el (dir-locals-find-file):
1517         Don't check result is regular, readable.
1518         (dir-locals-read-from-file): Demote errors.
1520 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
1522         * international/quail.el (quail-insert-kbd-layout):
1523         Insert invisible LRM characters before each character in a keyboard
1524         layout cell, to prevent their reordering by bidi display engine.
1525         For details, see the discussion in
1526         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1528 2012-03-08  Alan Mackenzie  <acm@muc.de>
1530         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1531         the starting position; make it extend the marked region when
1532         invoked repeatedly - all under appropriate circumstances.
1533         Fixes bugs #5525, #10906.
1535 2012-03-08  Glenn Morris  <rgm@gnu.org>
1537         * files.el (locate-dominating-file, dir-locals-find-file):
1538         Undo 2012-03-06 change.
1540 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
1542         * international/quail.el (quail-help):
1543         Force bidi-paragraph-direction be left-to-right.  See discussion in
1544         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1545         for the reason.
1547 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
1549         Avoid superfluous registering of signals.  (Bug#10807)
1551         * notifications.el (notifications-on-action-object)
1552         (notifications-on-close-object): New defvars.
1553         (notifications-on-action-signal, notifications-on-closed-signal):
1554         Unregister the signal if not needed any longer.
1555         (notifications-notify): Register `notifications-action-signal' or
1556         `notifications-closed-signal', if :on-action or :on-close has been
1557         passed as argument.
1559 2012-03-07  Chong Yidong  <cyd@gnu.org>
1561         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1562         non-X platforms.
1564 2012-03-06  Glenn Morris  <rgm@gnu.org>
1566         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1567         (x-disown-selection-internal, x-get-selection-internal):
1568         Doc fix (add arglist signatures).  (Bug#10783)
1570 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1572         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1573         Handle breakpoints with no "type".
1575 2012-03-06  Glenn Morris  <rgm@gnu.org>
1577         * files.el (locate-dominating-file): Add optional predicate argument.
1578         (dir-locals-find-file): Make use of above change.
1580 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
1582         * info.el (Info-insert-dir): Also try "dir.gz".
1584 2012-03-06  Glenn Morris  <rgm@gnu.org>
1586         * files.el (dir-locals-find-file):
1587         Ignore non-readable or non-regular files.  (Bug#10928)
1589         * files.el (locate-dominating-file): Doc fix.
1591 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
1593         * calendar/calendar.el (calendar-set-mode-line):
1594         `getenv' returns a string.  (Bug#10951)
1596 2012-03-05  Leo Liu  <sdl.web@gmail.com>
1598         * simple.el (backward-delete-char-untabify): Constrain point to
1599         field (Bug#10939).
1601         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1603 2012-03-05  Chong Yidong  <cyd@gnu.org>
1605         * simple.el (count-words): If called from Lisp, return the word
1606         count, for symmetry with `count-lines'.  Arglist changed.
1607         (count-words--message): Args changed.  Consolidate counting code
1608         from count-words and count-words-region.
1609         (count-words-region): Caller changed.
1610         (count-lines-region): Make it an obsolete alias.
1612 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
1614         * saveplace.el (save-place-to-alist)
1615         (save-place-ignore-files-regexp): Allow value nil to disable this
1616         feature.
1618 2012-03-04  Chong Yidong  <cyd@gnu.org>
1620         * faces.el (face-spec-reset-face): For the default face, reset the
1621         attributes to default values (Bug#10748).
1623 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1625         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1626         previous patch: Check `message-send-mail-function', and not the
1627         default function (bug#10897).
1629 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
1631         * notifications.el (notifications-on-action-signal)
1632         (notifications-on-closed-signal): Check for unique service name of
1633         incoming event.  Fix error in removing entry.
1634         (top): Register for signals with wildcard service name.
1635         (notifications-notify): Use daemon unique service name for map entries.
1637 2012-03-04  Chong Yidong  <cyd@gnu.org>
1639         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1641 2012-03-04  Glenn Morris  <rgm@gnu.org>
1643         * abbrev.el (copy-abbrev-table, abbrev-table-p)
1644         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1645         (expand-abbrev, define-abbrev-table): Doc fixes.
1647 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1649         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1650         `message-default-send-mail-function' and not `send-mail-function'
1651         when doing the prompting for `sendmail-query-once' before sending
1652         in Message buffers (bug#10897).
1654         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1655         This is inconsistent with all the other stream functions, which leave
1656         the setting up to the higher levels (if so wanted) (bug#10931).
1658 2012-03-02  Alan Mackenzie  <acm@muc.de>
1660         Depessimize the handling of very large macros.
1662         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1663         (c-macro-cache-syntactic): New variables to implement a one
1664         element macro cache.
1665         (c-invalidate-macro-cache): New function.
1666         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1667         Adapt to use the new cache.
1668         (c-state-safe-place): Use better the cache of safe positions.
1669         (c-state-semi-nonlit-pos-cache)
1670         (c-state-semi-nonlit-pos-cache-limit):
1671         New variables for...
1672         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
1673         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1674         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1675         Use c-state-semi-safe-place.
1677         * progmodes/cc-langs.el (c-get-state-before-change-functions):
1678         Add c-invalidate-macro-cache to the C, C++, Obj entries.
1680 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
1682         * jka-compr.el (jka-compr-call-process):
1683         Apply `file-accessible-directory-p' only when the default directory is
1684         not remote.
1686 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
1688         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
1689         access of FILE2, if FILE1 does not exist.
1691         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1692         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1694         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1695         Add "PAGER=" to `process-environment'.
1697 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
1699         * progmodes/sql.el: Bug fix
1700         (sql-get-login-ext): Save login values in globals.
1701         (sql-get-login): Use new version of `sql-get-login-ext'.
1702         (sql-interactive-mode): Set global `sql-connection' to nil.
1703         (sql-connect): Set global values for connection.
1704         (sql-product-interactive): Save global values as buffer local.
1706 2012-02-29  Leo Liu  <sdl.web@gmail.com>
1708         * abbrev.el (define-abbrevs): Reset sys to nil.
1710 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1712         * files.el (file-equal-p): Rename from `files-equal-p'.
1713         Return nil when one or both files don't exist.
1714         (file-subdir-of-p): Now only top directory must exists,
1715         return nil if it doesn't.
1716         (copy-directory): No need to test with `file-subdir-of-p' after
1717         creating dir.
1718         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1719         to `file-equal-p'.
1721 2012-02-28  Glenn Morris  <rgm@gnu.org>
1723         * shell.el (shell-mode):
1724         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1725         * play/landmark.el (landmark-font-lock-face-O):
1726         * play/handwrite.el (handwrite):
1727         * play/gomoku.el (gomoku-O):
1728         * net/browse-url.el (browse-url-browser-display):
1729         * international/mule.el (define-charset):
1730         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1731         * filesets.el (filesets-find-file-delay):
1732         * eshell/em-xtra.el (eshell-xtra):
1733         * eshell/em-unix.el (eshell-grep):
1734         * emulation/viper.el (viper-mode):
1735         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1736         * emacs-lisp/easymenu.el (easy-menu-define):
1737         * calendar/timeclock.el (timeclock-use-display-time):
1738         * bs.el (bs-mode):
1739         * bookmark.el (bookmark-save-flag):
1740         Doc fix (standardize possessive apostrophe usage).
1742 2012-02-27  Chong Yidong  <cyd@gnu.org>
1744         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1745         Fix key-binding lookup for ESC key (Bug#9146).
1747         * font-lock.el (font-lock-specified-p): Rename from
1748         font-lock-spec-present.  Callers changed.
1750 2012-02-27  Daniel Hackney  <dan@haxney.org>
1752         * emacs-lisp/package.el (package-compute-transaction):
1753         Handle holding a package version to t in package-load-list.
1755 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1757         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1758         (tramp-get-inode, tramp-get-device): Use cached values.
1760 2012-02-26  Alan Mackenzie  <acm@muc.de>
1762         Check there is a font-lock specification before doing initial
1763         fontification.
1765         * font-core.el (font-lock-mode): Move the conditional from
1766         :after-hook to font-lock-initial-fontify.
1767         (font-lock-default-function): Move the check for a specification
1768         to font-lock-spec-present.
1770         * font-lock.el (font-lock-initial-fontify): Call ...
1771         (font-lock-spec-present): New function.
1773 2012-02-26  Jim Blandy  <jimb@red-bean.com>
1775         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1776         (gdb-send): Apply it to the operand of the '-interpreter-exec
1777         console' command, so that we can pass arguments with (say) quotes
1778         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
1780 2012-02-26  Chong Yidong  <cyd@gnu.org>
1782         * help-fns.el (describe-function-1): Clarify description of
1783         remapping (Bug#10844).
1785         * files.el (files-equal-p): Doc fix.
1786         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1787         and quit the loop once a mismatch is found.
1789 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1791         * bs.el (bs--show-with-configuration): Don't throw an error
1792         if the window cannot be split; otherwise, subsequent calls to
1793         bs-show fail, restoring a stale window config.  (Bug#10882)
1795 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1797         * term/ns-win.el (global-map): Bind ns-drag-file to
1798         ns-find-file (Bug#5855, Bug#10050).
1800 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1802         * calendar/parse-time.el (parse-time-string): Allow extractor to
1803         return nil.
1805 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1807         * net/tramp.el (tramp-file-name-for-operation):
1808         Add `files-equal-p' and `file-subdir-of-p'.
1810         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1811         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1812         Add COPY-CONTENTS argument.
1814 2012-02-25  Chong Yidong  <cyd@gnu.org>
1816         Add custom groups for VC backends, for consistency with vc-bzr.
1818         * vc/vc-arch.el (vc-arch):
1819         * vc/vc-cvs.el (vc-cvs):
1820         * vc/vc-git.el (vc-git):
1821         * vc/vc-hg.el (vc-hg):
1822         * vc/vc-mtn.el (vc-mtn):
1823         * vc/vc-rcs.el (vc-rcs):
1824         * vc/vc-sccs.el (vc-sccs):
1825         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1826         All relevant defcustoms reassigned.
1828 2012-02-25  Chong Yidong  <cyd@gnu.org>
1830         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1832         * term/x-win.el (x-initialize-window-system): Reduce default for
1833         x-selection-timeout to 5 seconds (Bug#8869).
1835 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1837         * files.el (files-equal-p, file-subdir-of-p): New functions.
1838         (copy-directory): Error when trying to copy a directory on itself.
1839         Add missing copy-contents arg to tramp handler.
1840         * dired-aux.el (dired-copy-file-recursive): Same.
1841         (dired-create-files): Modify destination when source is equal to
1842         dest when copying files.
1843         Return also when dest is a subdir of source.  (Bug#10489)
1845 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1847         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1848         (Bug#10874)
1850 2012-02-23  Alan Mackenzie  <acm@muc.de>
1852         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1853         parameter "after-hook:" to allow the expansion to run code after
1854         the execution of the mode hooks.
1856         * font-lock.el (font-lock-initial-fontify): New function extracted
1857         from font-lock-mode-internal.
1859         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1860         :after-hook.
1862 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1864         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1865         (completion--cache-all-sorted-completions): New function.
1866         (completion-all-sorted-completions): Use it.
1867         (completion--do-completion, minibuffer-force-complete):
1868         Use it to re-instate the flush hook.
1870         * icomplete.el (icomplete-completions): Replace last fix with a better
1871         one (bug#10850).
1873 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1875         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1876         when it might call us back infinitely (bug#10797).
1878 2012-02-23  Glenn Morris  <rgm@gnu.org>
1880         * minibuffer.el (completion-category-overrides): Doc fix.
1882 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1884         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1885         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1887 2012-02-23  Glenn Morris  <rgm@gnu.org>
1889         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1890         (authors-obsolete-files-regexps, authors-ignored-files)
1891         (authors-ambiguous-files, authors-renamed-files-alist):
1892         Add more entries.
1894 2012-02-23  Juri Linkov  <juri@jurta.org>
1896         * isearch.el (isearch-occur): Sync interactive spec with occur's
1897         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1899         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1901 2012-02-22  Juri Linkov  <juri@jurta.org>
1903         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1904         (ucs-insert): Doc fix.  Check for hex digits in the string.
1905         Don't display `nil' in the error message.  (Bug#10857)
1907 2012-02-22  Alan Mackenzie  <acm@muc.de>
1909         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1911 2012-02-22  Glenn Morris  <rgm@gnu.org>
1913         * ffap.el (ffap-c-path):
1914         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1916 2012-02-22  Chong Yidong  <cyd@gnu.org>
1918         * custom.el (load-theme): Doc fix.
1920 2012-02-22  Glenn Morris  <rgm@gnu.org>
1922         * dired-x.el (dired-guess-shell-alist-default):
1923         Remove escape sequences from nroff output.  (Bug#172)
1925 2012-02-21  Glenn Morris  <rgm@gnu.org>
1927         * vc/emerge.el (emerge-defvar-local):
1928         Set `permanent-local' property rather than unused `preserved'.
1930         * textmodes/picture.el (picture-delete-char): New alias.
1931         (picture-mode-map): Use it.  (Bug#10860)
1932         (picture-mode): Doc fix.
1934 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1936         * newcomment.el (uncomment-region-default): Remove unused binding.
1938 2012-02-21  Glenn Morris  <rgm@gnu.org>
1940         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1941         (picture-self-insert, picture-tab-chars): Doc fix.
1942         (picture-mode-map): Fix C-a, C-e.
1944 2012-02-20  Glenn Morris  <rgm@gnu.org>
1946         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1948 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1950         * icomplete.el (icomplete-completions): Check FROM arg before
1951         passing to substring (Bug#10850).
1953 2012-02-19  Chong Yidong  <cyd@gnu.org>
1955         * comint.el: Require ansi-color.
1956         (comint-output-filter-functions): Add ansi-color-process-output.
1958         * ansi-color.el: Don't set comint-output-filter-functions; it is
1959         now in the initial value defined in comint.el.
1960         (ansi-color-apply-face-function): New variable.
1961         (ansi-color-apply-on-region): Use it.
1962         (ansi-color-apply-overlay-face): New function.
1964         * shell.el (shell): No need to require ansi-color.
1965         (shell-mode): Use ansi-color-apply-face-function to highlight
1966         color escapes using font-lock-face property (Bug#10835).
1968 2012-02-19  Chong Yidong  <cyd@gnu.org>
1970         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1971         mode-line formats (Bug#10839).
1973 2012-02-18  Glenn Morris  <rgm@gnu.org>
1975         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1977         * mail/undigest.el (unforward-rmail-message): Doc fix.
1979         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1981 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1983         * international/characters.el (script-list): Sync with the latest
1984         Unicode Character Database.
1986 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1988         * international/titdic-cnv.el: Remove duplicate coding tag.
1989         * language/cham.el: Likewise.
1990         * language/tai-viet.el: Likewise.
1992 2012-02-18  Glenn Morris  <rgm@gnu.org>
1994         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1995         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1996         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1997         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1998         * calendar/holidays.el (holiday-bahai-holidays)
1999         (calendar-holidays, list-holidays):
2000         Use utf-8 Bahá'í in doc-strings, menus, etc.
2002 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2004         * saveplace.el (save-place-ignore-files-regexp): New variable
2005         allowing for excluding files from saving their location of point.
2006         The default value matches the temporary commit message editing
2007         files from Git, SVN, Bazaar, and Mercurial.
2008         (save-place-to-alist): Use it.
2010 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2011             Stefan Monnier  <monnier@iro.umontreal.ca>
2013         * newcomment.el (uncomment-region-default): Don't leave extra space
2014         when an arg is provided (bug#8150).
2016 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2018         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2020 2012-02-17  Glenn Morris  <rgm@gnu.org>
2022         * net/socks.el: Require network-stream.  (Bug#10599)
2024 2012-02-17  Kenichi Handa  <handa@m17n.org>
2026         * international/charprop.el:
2027         * international/uni-name.el:
2028         * international/uni-old-name.el:
2029         * international/uni-comment.el: Regenerate.
2031 2012-02-16  Glenn Morris  <rgm@gnu.org>
2033         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2034         Interactively in calendar buffer, give an error if not on a date.
2036 2012-02-15  Glenn Morris  <rgm@gnu.org>
2038         * shell.el (shell-delimiter-argument-list):
2039         Revert 2011-02-17 change.  (Bug#8027)
2041 2012-02-15  Chong Yidong  <cyd@gnu.org>
2043         * minibuffer.el (completion-at-point-functions): Doc fix.
2045         * custom.el (defcustom): Doc fix; note use of defvar.
2047 2012-02-15  Glenn Morris  <rgm@gnu.org>
2049         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2050         Doc fixes.
2052 2012-02-14  Glenn Morris  <rgm@gnu.org>
2054         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2056 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2058         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2059         way the ports list is computed.
2060         (smtpmail-query-smtp-server): Prompt the user for a port number if
2061         we can't connect to any of the standard ports (bug#10810).
2063 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2065         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2067 2012-02-13  Glenn Morris  <rgm@gnu.org>
2069         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2071 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2073         * net/gnutls.el (gnutls-trustfiles): New variable.
2074         (gnutls-negotiate): Use it.
2076 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2078         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2079         does its stuff if Gnus is running.
2081 2012-02-13  Alan Mackenzie  <acm@muc.de>
2083         Fix a loop in c-set-fl-decl-start.
2085         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2086         c-backward-syntactic-ws actually moves backwards.
2088 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2090         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2091         beginning so that all \C-o chars are removed.
2093 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2095         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2097 2012-02-12  Alan Mackenzie  <acm@muc.de>
2099         Fix infinite loop with long macros.
2100         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2102 2012-02-12  Chong Yidong  <cyd@gnu.org>
2104         * window.el (display-buffer): Doc fix (Bug#10785).
2106 2012-02-12  Glenn Morris  <rgm@gnu.org>
2108         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2109         (x-disown-selection-internal, x-get-selection-internal):
2110         Sync docs with the xselect.c versions.
2112         * allout-widgets.el: Add missing license notice.
2114 2012-02-11  Glenn Morris  <rgm@gnu.org>
2116         * select.el (x-get-selection-internal, x-own-selection-internal)
2117         (x-disown-selection-internal):
2118         * x-dnd.el (x-get-selection-internal): Update declarations.
2120         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2122         * window.el (window-sides-slots):
2123         * tool-bar.el (tool-bar-position):
2124         * term/xterm.el (xterm-extra-capabilities):
2125         * ses.el (ses-self-reference-early-detection):
2126         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2127         (verilog-auto-wire-type)
2128         (verilog-auto-delete-trailing-whitespace)
2129         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2130         (verilog-auto-tieoff-declaration):
2131         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2132         (sql-oracle-statement-starters, sql-oracle-scan-on):
2133         * progmodes/prolog.el (prolog-align-comments-flag)
2134         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2135         (prolog-left-indent-regexp, prolog-paren-indent-p)
2136         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2137         (prolog-types, prolog-mode-specificators)
2138         (prolog-determinism-specificators, prolog-directives)
2139         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2140         (prolog-electric-dot-flag)
2141         (prolog-electric-dot-full-predicate-template)
2142         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2143         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2144         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2145         (prolog-program-switches, prolog-prompt-regexp)
2146         (prolog-debug-on-string, prolog-debug-off-string)
2147         (prolog-trace-on-string, prolog-trace-off-string)
2148         (prolog-zip-on-string, prolog-zip-off-string)
2149         (prolog-use-standard-consult-compile-method-flag)
2150         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2151         (prolog-imenu-max-lines, prolog-info-predicate-index)
2152         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2153         (prolog-char-quote-workaround):
2154         * progmodes/cc-vars.el (c-defun-tactic):
2155         * net/tramp.el (tramp-encoding-command-interactive)
2156         (tramp-local-end-of-line):
2157         * net/soap-client.el (soap-client):
2158         * net/netrc.el (netrc-file):
2159         * net/gnutls.el (gnutls):
2160         * minibuffer.el (completion-category-overrides)
2161         (completion-cycle-threshold)
2162         (completion-pcm-complete-word-inserts-delimiters):
2163         * man.el (Man-name-local-regexp):
2164         * mail/feedmail.el (feedmail-display-full-frame):
2165         * international/characters.el (glyphless-char-display-control):
2166         * eshell/em-ls.el (eshell-ls-date-format):
2167         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2168         (lisp-lambda-list-keyword-parameter-indentation)
2169         (lisp-lambda-list-keyword-parameter-alignment):
2170         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2171         * dired-x.el (dired-omit-verbose):
2172         * cus-theme.el (custom-theme-allow-multiple-selections):
2173         * calc/calc.el (calc-highlight-selections-with-faces)
2174         (calc-lu-field-reference, calc-lu-power-reference)
2175         (calc-note-threshold):
2176         * battery.el (battery-mode-line-limit):
2177         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2178         (archive-7z-update):
2179         * allout.el (allout-prefixed-keybindings)
2180         (allout-unprefixed-keybindings)
2181         (allout-inhibit-auto-fill-on-headline)
2182         (allout-flattened-numbering-abbreviation):
2183         * allout-widgets.el (allout-widgets-auto-activation)
2184         (allout-widgets-icons-dark-subdir)
2185         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2186         (allout-widgets-theme-dark-background)
2187         (allout-widgets-theme-light-background)
2188         (allout-widgets-item-image-properties-emacs)
2189         (allout-widgets-item-image-properties-xemacs)
2190         (allout-widgets-run-unit-tests-on-load)
2191         (allout-widgets-time-decoration-activity)
2192         (allout-widgets-hook-error-post-time)
2193         (allout-widgets-track-decoration):
2194         Add missing :version tags to new defcustoms and defgroups.
2196         * progmodes/sql.el (sql-ansi-statement-starters)
2197         (sql-oracle-statement-starters): Add custom type.
2199         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2200         (prolog-system-version): Give it a type.
2202 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
2204         * term/pc-win.el (x-select-text, x-selection-owner-p)
2205         (x-own-selection-internal, x-disown-selection-internal)
2206         (x-get-selection-internal): Sync doc strings and argument lists
2207         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
2209 2012-02-11  Leo Liu  <sdl.web@gmail.com>
2211         * progmodes/python.el (python-end-of-statement): Fix infinite
2212         loop.  (Bug#10788)
2214 2012-02-10  Glenn Morris  <rgm@gnu.org>
2216         * international/mule-cmds.el (unify-8859-on-encoding-mode)
2217         (unify-8859-on-decoding-mode): Properly mark as obsolete.
2219 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2221         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2222         about SMTP before checking the From header.
2224         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2225         into own function for reuse by emacsbug.el.
2227 2012-02-10  Leo Liu  <sdl.web@gmail.com>
2229         * subr.el (condition-case-unless-debug): Rename from
2230         condition-case-no-debug.  All callers changed.
2231         (with-demoted-errors): Fix caller.
2233         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2234         * nxml/rng-valid.el (rng-do-some-validation):
2235         * emacs-lisp/package.el (package-refresh-contents)
2236         (package-menu-execute):
2237         * desktop.el (desktop-create-buffer):
2238         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2240 2012-02-10  Glenn Morris  <rgm@gnu.org>
2242         * textmodes/bibtex.el:
2243         Add missing :version tags for new/changed defcustoms.
2245         * files.el (remote-file-name-inhibit-cache): Doc fixes.
2247 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
2249         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2250         (smtpmail-via-smtp): Use it, or fall back on the From address.
2251         (smtpmail-send-it): Ditto.
2253 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2255         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2256         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
2257         (byte-compile-tmp-var): New const.
2258         (byte-compile-defvar): Use it to minimize .elc size.
2259         Just use `defvar' rather than simulate it (bug#10761).
2261 2012-02-09  Glenn Morris  <rgm@gnu.org>
2263         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
2265         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2266         Add :version tags.
2268         * progmodes/compile.el (compilation-error-screen-columns)
2269         (compilation-first-column, compilation-filter-start): Doc fixes.
2271         * vc/log-view.el (log-view-toggle-entry-display):
2272         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2274         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2275         (report-emacs-bug-can-use-xdg-email):
2276         (report-emacs-bug-insert-to-mailer): Doc fixes.
2277         (report-emacs-bug): Message fix.
2279         * net/browse-url.el (browse-url-can-use-xdg-open)
2280         (browse-url-xdg-open): Doc fixes.
2282         * electric.el (electric-indent-mode, electric-pair-mode)
2283         (electric-layout-rules, electric-layout-mode): Doc fixes.
2284         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2286 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
2288         * server.el (server-unselect-display): Don't inadvertently kill
2289         the current buffer.  (Bug#10729)
2291 2012-02-08  Glenn Morris  <rgm@gnu.org>
2293         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2294         (sql-list-table): Doc fixes.
2296         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2297         Comment out (does nothing).
2299         * completion.el (dynamic-completion-mode):
2300         * dirtrack.el (dirtrack-debug-mode):
2301         * electric.el (electric-layout-mode):
2302         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2303         * face-remap.el (text-scale-mode, buffer-face-mode):
2304         * iimage.el (iimage-mode):
2305         * image-mode.el (image-transform-mode):
2306         * minibuffer.el (completion-in-region-mode):
2307         * scroll-lock.el (scroll-lock-mode):
2308         * simple.el (next-error-follow-minor-mode):
2309         * tar-mode.el (tar-subfile-mode):
2310         * tooltip.el (tooltip-mode):
2311         * vcursor.el (vcursor-use-vcursor-map):
2312         * wid-browse.el (widget-minor-mode):
2313         * emulation/tpu-edt.el (tpu-edt-mode):
2314         * emulation/tpu-extras.el (tpu-cursor-free-mode):
2315         * international/iso-ascii.el (iso-ascii-mode):
2316         * language/thai-util.el (thai-word-mode):
2317         * mail/supercite.el (sc-minor-mode):
2318         * net/goto-addr.el (goto-address-mode):
2319         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2320         * progmodes/cwarn.el (cwarn-mode):
2321         * progmodes/flymake.el (flymake-mode):
2322         * progmodes/glasses.el (glasses-mode):
2323         * progmodes/hideshow.el (hs-minor-mode):
2324         * progmodes/pascal.el (pascal-outline-mode):
2325         * textmodes/enriched.el (enriched-mode):
2326         * vc/smerge-mode.el (smerge-mode):
2327         Doc fixes (minor mode argument).
2329 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
2331         * ls-lisp.el (ls-lisp-sanitize): New function.
2332         (ls-lisp-insert-directory): Use it to fix or remove any elements
2333         in file-alist with missing attributes.  (Bug#4673)
2335 2012-02-07  Alan Mackenzie  <acm@muc.de>
2337         Fix spurious recognition of c-in-knr-argdecl.
2339         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2340         putative K&R region.
2342 2012-02-07  Alan Mackenzie  <acm@muc.de>
2344         * progmodes/cc-engine.el (c-forward-objc-directive):
2345         Prevent looping in "#pragma mark @implementation".
2347 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
2349         * notifications.el (notifications-on-closed-signal): Make `reason'
2350         optional.  (Bug#10744)
2352 2012-02-07  Glenn Morris  <rgm@gnu.org>
2354         * emacs-lisp/easy-mmode.el (define-minor-mode):
2355         Doc fixes for the macro and the mode it defines.
2357         * image.el (imagemagick-types-inhibit): Doc fix.
2359         * cus-start.el (imagemagick-render-type): Add it.
2361 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
2363         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2364         Set the default at load time, too, so that `font-lock-fontify-buffer'
2365         can be called without setting up the entire mode first.  This fixes
2366         a bug in `mm-inline-text' with C MIME parts.
2368 2012-02-06  Chong Yidong  <cyd@gnu.org>
2370         * simple.el (list-processes--refresh): Delete exited processes
2371         (Bug#8094).
2373         * comint.el (comint-next-prompt): next-single-char-property-change
2374         and prev-single-char-property-change never return nil (Bug#8657).
2376         * custom.el (defcustom): Doc fix (Bug#9711).
2378 2012-02-05  Chong Yidong  <cyd@gnu.org>
2380         * cus-edit.el (custom-variable-reset-backup): Quote the value
2381         before storing it in the customized-value property (Bug#6712).
2382         (custom-display): Add a customization type tag.
2383         (custom-buffer-create-internal): Improve tooltip message.
2385         * wid-edit.el (widget-field-value-get): New optional arg to
2386         suppress trailing whitespace truncation.
2387         (character): Use it (Bug#2689).
2389 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
2391         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2392         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2394 2012-02-05  Chong Yidong  <cyd@gnu.org>
2396         * cus-edit.el (custom-variable-value-create): For mismatched
2397         types, show the current value (Bug#7600).
2399         * custom.el (defcustom): Doc fix.
2401 2012-02-05  Glenn Morris  <rgm@gnu.org>
2403         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2405 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
2407         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2408         (pp-buffer): Use `ignore-errors', `looking-at-p'.
2409         (pp-last-sexp): Use `looking-at-p'.
2411 2012-02-04  Glenn Morris  <rgm@gnu.org>
2413         * files.el (revert-buffer):
2414         Doc fix (mention revert-buffer-in-progress-p).
2416         * emacs-lisp/ert-x.el (ert-simulate-command):
2417         Check deferred-action-list (which is obsolete) is bound.
2419         * subr.el (with-wrapper-hook): Doc fixes.
2421         * simple.el (filter-buffer-substring-functions)
2422         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2424 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
2426         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2427         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
2429 2012-02-04  Leo Liu  <sdl.web@gmail.com>
2431         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2433 2012-02-04  Glenn Morris  <rgm@gnu.org>
2435         * image.el (image-extension-data): Add obsolete alias.
2437         * isearch.el (isearch-update): Doc fix.
2439         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2441         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2443 2012-02-03  Glenn Morris  <rgm@gnu.org>
2445         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
2446         (image-animate-timeout): Doc fix.
2448         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2450 2012-02-02  Glenn Morris  <rgm@gnu.org>
2452         * server.el (server-auth-dir): Doc fix.
2453         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
2455         * subr.el (run-mode-hooks): Doc fix.
2457 2012-02-02  Juri Linkov  <juri@jurta.org>
2459         * image-mode.el (image-toggle-display-image): Remove tautological
2460         `major-mode' from the `derived-mode-p' test.
2462 2012-02-02  Kenichi Handa  <handa@m17n.org>
2464         * composite.el (compose-region): Cancel previous change.
2466 2012-02-02  Kenichi Handa  <handa@m17n.org>
2468         * composite.el (compose-region, compose-string): Signal error for
2469         a null string component (Bug#6988).
2471 2012-02-01  Chong Yidong  <cyd@gnu.org>
2473         * view.el (view-buffer-other-window, view-buffer-other-frame):
2474         Handle special modes like view-buffer (Bug#10650).
2475         (view-buffer): Simplify.
2477         * frame.el (set-frame-font): Tweak meaning of third argument.
2479         * dynamic-setting.el (font-setting-change-default-font):
2480         Use set-frame-font (Bug#9982).
2482 2012-02-01  Glenn Morris  <rgm@gnu.org>
2484         * progmodes/compile.el (compilation-internal-error-properties):
2485         Respect compilation-first-column in the "*compilation*" buffer.
2487         * emacs-lisp/easy-mmode.el (define-minor-mode):
2488         Relax :variable's test for a named function.
2490 2012-01-31  Alan Mackenzie  <acm@muc.de>
2492         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2493         off by one error.
2495 2012-01-31  Chong Yidong  <cyd@gnu.org>
2497         * frame.el (set-frame-font): New arg ALL-FRAMES.
2499         * menu-bar.el (menu-set-font): Use set-frame-font.
2501         * faces.el (face-spec-reset-face): Don't apply unspecified
2502         attribute values to the default face.
2504 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
2506         * progmodes/cwarn.el (cwarn): Remove dead link.
2507         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2508         Remove * from defcustom docstrings.
2509         (turn-on-cwarn-mode): Make obsolete.
2510         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2511         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2513 2012-01-31  Glenn Morris  <rgm@gnu.org>
2515         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2516         Fix :variable handling of mode a symbol not equal to modefun.
2517         Allow named functions to be used as the cdr of :variable.
2519 2012-01-30  Glenn Morris  <rgm@gnu.org>
2521         * emacs-lisp/authors.el (authors-fixed-entries):
2522         Remove reference to deleted file rnewspost.el.
2524 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
2526         * window.el (window-with-parameter): Remove unused variable `windows'.
2527         (window--side-check): Remove unused variable `code'.
2528         (window--resize-siblings): Remove unused variable `first'.
2529         (adjust-window-trailing-edge): Remove unused variable `failed'.
2530         (window-deletable-p, window--delete): Remove unused variable `buffer'.
2531         Use `let', not `let*'.
2532         (balance-windows-2): Remove unused variable `found'.
2533         (window--state-put-2): Remove unused variable `splits'.
2534         (window-state-put): Remove unused variable `selected'.
2535         (same-window-p): Use `string-match-p'.
2536         (display-buffer-assq-regexp): Remove unused variable `value'.
2537         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2538         Mark argument ALIST as ignored.
2539         (pop-to-buffer): Remove unused variable `old-window'.
2541 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
2543         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2544         and .lzma compressed files.
2546 2012-01-29  Chong Yidong  <cyd@gnu.org>
2548         * frame.el (window-system-default-frame-alist): Doc fix.
2550         * dynamic-setting.el (font-setting-change-default-font): Don't
2551         change the default face if SET-FONT argument is non-nil (Bug#9982).
2553 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
2555         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2557 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
2559         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2560         breakpoints in files outside current directory (Bug#6098).
2562 2012-01-29  Chong Yidong  <cyd@gnu.org>
2564         * progmodes/python.el: Require ansi-color at top-level.
2566         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2567         Define and use in Emacs Lisp mode (Bug#9360).
2568         (lisp-mode-abbrev-table): Add doc.
2569         (lisp-mode-variables): Don't set local-abbrev-table.
2570         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2572 2012-01-28  Roland Winkler  <winkler@gnu.org>
2574         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2576 2012-01-28  Roland Winkler  <winkler@gnu.org>
2578         * textmodes/bibtex.el (bibtex-entry-alist): New function.
2579         (bibtex-set-dialect): Use it.  Either set global values of
2580         dialect-dependent variables or bind these variables buffer-locally
2581         (Bug#10254).
2582         (bibtex-mode): Call bibtex-set-dialect via
2583         hack-local-variables-hook.
2584         (bibtex-dialect): Update docstring.
2585         Add safe-local-variable predicate.
2586         (bibtex-entry-alist, bibtex-field-alist): Initialize via
2587         bibtex-set-dialect.
2588         (bibtex-mode-map): Define menu for each dialect.
2589         (bibtex-entry): Fix docstring.
2591 2012-01-28  Chong Yidong  <cyd@gnu.org>
2593         * eshell/esh-arg.el (eshell-quote-argument): New function.
2595         * eshell/esh-ext.el (eshell-invoke-batch-file):
2596         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2597         first arg to eshell-parse-command (Bug#10523).
2599 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2601         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2602         `default-directory' is non-nil.
2604 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2606         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2607         line that displays system-configuration-options.  (Bug#9924)
2609 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2611         * descr-text.el (describe-char): Show information about POS, in
2612         addition to information about the character at POS.  Improve and
2613         update the doc string.  Change "code point" to "code point in
2614         charset", to avoid confusion with the character's Unicode code
2615         point shown above that.  (Bug#10129)
2617 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2619         * descr-text.el (describe-char): Show the raw character, not only
2620         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
2621         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2622         for the reasons.
2624 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
2626         * emacs-lisp/package.el (package-install):
2627         Run package-refresh-contents if there is no archive yet (Bug#9798).
2629 2012-01-28  Chong Yidong  <cyd@gnu.org>
2631         * emacs-lisp/package.el (package-maybe-load-descriptor):
2632         New function, split from package-maybe-load-descriptor.
2633         (package-maybe-load-descriptor): Use it.
2634         (package-download-transaction): Fully load required packages
2635         inside the loop, so that `require' calls work (Bug#10593).
2636         (package-install): No need to call package-initialize now.
2638 2012-01-28  Chong Yidong  <cyd@gnu.org>
2640         * simple.el (deactivate-mark): Doc fix (Bug#8614).
2642         * tooltip.el (tooltip-mode): Doc fix.
2643         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2645         * frame.el (set-cursor-color): Doc fix (Bug#352).
2647         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2648         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2650         * cus-edit.el (custom-buffer-create-internal): Fix search button
2651         action (Bug#10542).
2652         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2654 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
2656         * dired.el (dired-mark-files-regexp):
2657         Include any subdirectory components.  (Bug#10445)
2659 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2661         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2662         Handle [host]:port syntax.  (Bug#10533)
2664 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
2666         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2668 2012-01-26  Glenn Morris  <rgm@gnu.org>
2670         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2671         * term.el (term-raw-escape-map): Use Control-X-prefix.
2672         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
2674 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
2676         * window.el (window-state-get, window--state-get-1): Don't deal
2677         with fixed-sizeness of windows.  Simplify code.
2679 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
2681         * window.el (window--state-get-1, window--state-put-2):
2682         Don't save and restore the mark.
2684 2012-01-25  Chong Yidong  <cyd@gnu.org>
2686         * custom.el (custom-variable-p): Doc fix.
2688 2012-01-25  Glenn Morris  <rgm@gnu.org>
2690         * dired.el (dired-goto-file): Handle some of the more common
2691         characters that `ls -b' escapes.  (Bug#10596)
2693         * progmodes/compile.el (compilation-next-error-function):
2694         Respect compilation-first-column in the "*compilation*" buffer.
2695         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
2697         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
2699 2012-01-24  Glenn Morris  <rgm@gnu.org>
2701         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
2703 2012-01-24  Julien Danjou  <julien@danjou.info>
2705         * color.el (color-rgb-to-hsl): Fix value computing.
2706         (color-hue-to-rgb): New function.
2707         (color-hsl-to-rgb): New function.
2708         (color-clamp, color-saturate-hsl, color-saturate-name)
2709         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2710         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2712 2012-01-24  Glenn Morris  <rgm@gnu.org>
2714         * vc/vc-rcs.el (vc-rcs-create-tag):
2715         * vc/vc-sccs.el (vc-sccs-create-tag):
2716         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2718 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2720         * eshell/esh-util.el (eshell-read-hosts-file):
2721         Skip comment lines.  (Bug#10549)
2723         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2725 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2727         * subr.el (display-delayed-warnings): Doc fix.
2728         (collapse-delayed-warnings): New function to collapse identical
2729         adjacent warnings.
2730         (delayed-warnings-hook): Add it.
2732 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2734         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2736         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2737         properties, when "login-as" is set.
2739         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2740         (tramp-default-user-alist): Don't add "pscp".
2741         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2742         property "login-as", if set.  (Bug#10530)
2744 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2746         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2747         "plink1" and "psftp".  (Bug#10530)
2749 2012-01-21  Kenichi Handa  <handa@m17n.org>
2751         * international/mule-cmds.el (prefer-coding-system): Show a
2752         warning message if the default value of file-name-coding-system
2753         was not changed.
2755 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2757         * windmove.el (windmove-reference-loc):
2758         Fix windmove-reference-loc miscalculation.
2760 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2762         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2763         default unit.
2765 2012-01-21  Glenn Morris  <rgm@gnu.org>
2767         * international/mule.el (auto-coding-alist): Add .tbz.
2769         * files.el (local-enable-local-variables): Doc fix.
2770         (inhibit-local-variables-regexps): Rename from
2771         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
2772         Doc fix.  Add some extensions from auto-coding-alist.
2773         (inhibit-local-variables-suffixes):
2774         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
2775         (inhibit-local-variables-p):
2776         New function, extracted from set-auto-mode-1.
2777         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
2778         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
2779         (hack-local-variables): Doc fix.  Make the mode-only case
2780         respect enable-local-variables and friends.
2781         Respect inhibit-local-variables-regexps for file-locals, but
2782         not for directory-locals.
2783         (set-visited-file-name):
2784         Take account of inhibit-local-variables-regexps.
2785         Whether it applies may change as the file name is changed.
2786         * jka-cmpr-hook.el (jka-compr-install):
2787         * jka-compr.el (jka-compr-uninstall):
2788         Update for inhibit-first-line-modes-suffixes name change.
2790 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2792         * help-macro.el (make-help-screen): Temporarily restore original
2793         binding for minor-mode-map-alist (Bug#10454).
2795 2012-01-19  Julien Danjou  <julien@danjou.info>
2797         * color.el (color-name-to-rgb): Use the white color to find the max
2798         color component value and return correctly computed values.
2799         (color-name-to-rgb): Add missing float conversion for max value.
2801 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2803         * window.el (window--state-get-1, window-state-get): Do not use
2804         special state value for window-persistent-parameters.
2805         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2806         (window--state-put-2): Reset all window parameters to nil before
2807         assigning values of persistent parameters.
2809 2012-01-18  Alan Mackenzie  <acm@muc.de>
2811         Eliminate sluggishness and hangs in fontification of "semicolon
2812         deserts".
2814         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2815         Change value 10000 -> 3000.
2816         (c-state-safe-place): Reformulate so it doesn't stack up an
2817         infinite number of wrong entries in c-state-nonlit-pos-cache.
2818         (c-determine-limit-get-base, c-determine-limit): New functions to
2819         determine backward search limits disregarding literals.
2820         (c-find-decl-spots): Amend commenting.
2821         (c-cheap-inside-bracelist-p): New function which detects "={".
2823         * progmodes/cc-fonts.el
2824         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2825         backward search.
2826         (c-font-lock-declarations): Fix an occurrence of point being
2827         undefined.  Check additionally for point being in a bracelist or
2828         near a macro invocation without a semicolon so as to avoid a
2829         fruitless time consuming search for a declarator.  Give a more
2830         precise search limit for declarators using the new
2831         c-determine-limit.
2833 2012-01-18  Glenn Morris  <rgm@gnu.org>
2835         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2836         (set-auto-mode): Doc fixes.
2838 2012-01-17  Glenn Morris  <rgm@gnu.org>
2840         * isearch.el (search-nonincremental-instead): Fix doc typo.
2842         * dired.el (dired-insert-directory): Handle newlines in directory name.
2843         (dired-build-subdir-alist): Unescape newlines in directory name.
2845 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2847         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2848         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2849         (tramp-action-terminal): Use it.  (Bug#10530)
2851 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2855 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2857         * window.el (window-state-ignored-parameters): Remove variable.
2858         (window--state-get-1): Rename argument MARKERS to IGNORE.
2859         Handle persistent window parameters.  Make copy of clone-of
2860         parameter only if requested.  (Bug#10348)
2861         (window--state-put-2): Install a window parameter only if it has
2862         a non-nil value or an existing parameter shall be overwritten.
2864 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2866         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2868 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2870         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2871         don't pass the (nil) value of `upnode' to string-match.
2873 2012-01-14  Chong Yidong  <cyd@gnu.org>
2875         * startup.el (command-line): Fix X resource class for cursorColor.
2876         Fix values recognized by the cursorBlink resource.
2878 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2880         * epg.el (epg--make-temp-file): Avoid permission race condition
2881         when running on old Emacs versions (bug#10403).
2883 2012-01-14  Glenn Morris  <rgm@gnu.org>
2885         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2887 2012-01-13  Alan Mackenzie  <acm@muc.de>
2889         Fix filling for when filladapt mode is enabled.
2891         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2892         c-mask-paragraph, pass in `fill-paragraph' rather than
2893         `fill-region-as-paragraph'.  (This is a reversion of a previous
2894         change.)
2895         * progmodes/cc-mode.el (c-basic-common-init):
2896         Make fill-paragraph-handle-comment buffer local and set it to nil.
2898 2012-01-13  Glenn Morris  <rgm@gnu.org>
2900         * dired.el (dired-switches-escape-p): New function.
2901         (dired-insert-directory): Use dired-switches-escape-p.
2902         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2904         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2906 2012-01-12  Glenn Morris  <rgm@gnu.org>
2908         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2909         changes in adaptive-fill-regexp.  (Bug#10276)
2911 2012-01-11  Alan Mackenzie  <acm@muc.de>
2913         Fix Emacs bug #10463 - put `widen's around the critical spots.
2915         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2916         widen around each invocation of c-state-pp-to-literal.  Remove an
2917         unused let variable.
2919 2012-01-11  Glenn Morris  <rgm@gnu.org>
2921         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2922         Doc fix.
2924 2012-01-10  Chong Yidong  <cyd@gnu.org>
2926         * net/network-stream.el (network-stream-open-starttls):
2927         Avoid emitting a confusing error message when the server gives a bad
2928         response to the capability command.
2930 2012-01-10  Glenn Morris  <rgm@gnu.org>
2932         * mail/unrmail.el (unrmail): Tweak previous change.
2934 2012-01-09  Chong Yidong  <cyd@gnu.org>
2936         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2938 2012-01-08  Alan Mackenzie  <acm@muc.de>
2940         Optimise font locking in long enum definitions.
2942         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2943         arm to a cond form to handle enums.
2944         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2945         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2947 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2949         * files.el (move-file-to-trash): Preserve default file modes on error.
2950         (Bug#10401)
2952 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2954         * faces.el (set-face-attribute): Clarify the meaning of the nil
2955         frame (bug#10294).
2957         * subr.el (with-selected-frame): Mention that the selected frame
2958         is restored (bug#9980).
2960         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2961         (bug#9759).
2963         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2964         (password-read): Don't autoload unused function.
2966 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2968         * progmodes/which-func.el (which-func-mode): Turn into a
2969         non-interactive function and mark as obsolete (bug#10428).
2971 2012-01-06  Chong Yidong  <cyd@gnu.org>
2973         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2974         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2975         functions, along with 1 and -1.
2977 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2979         * time.el (display-time-load-average)
2980         (display-time-default-load-average): Doc fixes.  See the thread
2981         starting at
2982         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2983         for the details.
2985 2012-01-06  Glenn Morris  <rgm@gnu.org>
2987         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2988         has no messages.  (Bug#10377)
2990         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2991         than Info-edit.  (Bug#10385)
2993         * time.el (display-time-load-average, display-time-next-load-average):
2994         Doc fixes.
2996         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2997         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2999         * calendar/calendar.el (calendar-mode):
3000         Locally set scroll-margin to 0.  (Bug#10379)
3002 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3004         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3006 2012-01-05  Glenn Morris  <rgm@gnu.org>
3008         * eshell/em-unix.el (diff-no-select): Autoload it.
3009         (eshell/diff): Use diff-no-select.  (Bug#10420)
3011 2012-01-05  Chong Yidong  <cyd@gnu.org>
3013         * shell.el (shell-dynamic-complete-functions): Revert last change.
3014         (shell-command-completion-function): New function.
3015         (shell-completion-vars): Use it to implement
3016         shell-completion-execonly (Bug#10417).
3018         * custom.el (enable-theme): Don't set custom-safe-themes.
3020         * cus-theme.el (custom-theme-merge-theme):
3021         Ignore custom-enabled-themes and custom-safe-themes.
3023 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3025         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3026         first prompt in `sql-interacive-mode'.
3027         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3028         keywords.
3029         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3030         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3031         context of original buffer.  Invoke `sql-login-hook'.
3033 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3035         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3036         letters in cite-prefix.
3038 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3040         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3042 2012-01-03  Chong Yidong  <cyd@gnu.org>
3044         * shell.el (shell-dynamic-complete-functions):
3045         Put pcomplete-completions-at-point, so as to try
3046         comint-filename-completion first (Bug#10417).
3048 2012-01-02  Richard Stallman  <rms@gnu.org>
3050         * battery.el (battery-status-function):
3051         Detect when to use battery-yeeloong-sysfs.
3052         (battery-echo-area-format): Add string for Yeeloong.
3053         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3054         (battery-yeeloong-sysfs): New function.
3056 2012-01-02  Chong Yidong  <cyd@gnu.org>
3058         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3059         (dirtrack): Merge code for handling relative filenames in prompt
3060         from shell-dir-cookie-watcher.
3061         (dirtrack-debug-message): New arg to avoid excess format calls.
3063         * shell.el (shell-dir-cookie-re): Variable deleted.
3064         (shell-dir-cookie-watcher): Function deleted.
3065         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3066         with dirtrack-mode.
3068 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3070         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3071         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3072         libgnutls-26.dll.
3074 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3076         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3078 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3080         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3081         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3083 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3085         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3086         also for alternative shells.
3087         (tramp-open-connection-setup-interactive-shell): Check, whether
3088         the shell is a busybox.
3089         (tramp-send-command): Don't suppress multiple prompts for
3090         busyboxes, it hurts.
3092 2011-12-28  Chong Yidong  <cyd@gnu.org>
3094         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3095         (gdb-get-source-file): Move mode line update to
3096         gdb-get-source-file (Bug#10087).
3098 2011-12-25  Chong Yidong  <cyd@gnu.org>
3100         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3101         gud-gdb-marker-filter without taking it as an argument.
3102         (gud-gdb-run-command-fetch-lines): Caller changed.
3103         (gud-gdb-completion-function): New variable.
3104         (gud-gdb-completion-at-point): Use it.
3105         (gud-gdb-completions-1): Split from gud-gdb-completions.
3107         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3108         function as separate arguments.
3109         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3110         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3111         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3112         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3113         (gdb-stopped, def-gdb-auto-update-trigger)
3114         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3115         (gdb-get-changed-registers, gdb-get-main-selected-frame):
3116         Callers changed.
3117         (gud-gdbmi-completions): New function.
3118         (gdb): Use it for generating the completion table.
3120 2011-12-24  Alan Mackenzie  <acm@muc.de>
3122         Introduce a mechanism to widen the region used in context font
3123         locking.  Use this to protect declarations from losing their contexts.
3125         * progmodes/cc-langs.el (c-before-font-lock-functions):
3126         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3127         (c-before-context-fontification-functions): New defvar, a list of
3128         functions to be run just before context (etc.) font locking.
3130         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3131         New, functionality extracted from
3132         c-neutralize-syntax-in-and-mark-CPP.
3133         (c-in-after-change-fontification): New variable.
3134         (c-after-change): Set c-in-after-change-fontification.
3135         (c-set-fl-decl-start): Rejig its interface, so it can be called
3136         from both after-change and context fontifying.
3137         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3138         New functions.
3139         (c-standard-font-lock-fontify-region-function): New variable.
3140         (c-font-lock-fontify-region): New function.
3142 2011-12-24  Juri Linkov  <juri@jurta.org>
3144         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3145         (Bug#10348)
3147 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
3149         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3150         existence of source file.  (Bug#10325)
3152 2011-12-23  Alan Mackenzie  <acm@muc.de>
3154         Fix unstable fontification inside templates.
3156         * progmodes/cc-langs.el (c-before-font-lock-functions):
3157         Newly created from the singular version.  The (c c++ objc) entry now
3158         additionally has c-set-fl-decl-start.  The other languages (apart
3159         from AWK) have that as a single entry.
3161         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3162         The functionality for "local" declarations has been extracted to
3163         c-set-fl-decl-start.
3165         * progmodes/cc-mode.el (c-common-init, c-after-change):
3166         Changes due to pluralisation of c-before-font-lock-functions.
3167         (c-set-fl-decl-start): New function, extracted from
3168         c-font-lock-enclosing-decls and enhanced.
3170 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
3172         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3174 2011-12-22  Juri Linkov  <juri@jurta.org>
3176         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
3178 2011-12-22  Chong Yidong  <cyd@gnu.org>
3180         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3182 2011-12-21  Drew Adams  <drew.adams@oracle.com>
3184         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
3186 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3188         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3190 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
3192         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
3193         highlighting and support.  Fix up comments for capitalization.
3194         (cfengine-mode-debug): New var.
3195         (cfengine3-mode): Change the modeline indicator to "CFE3".
3196         (cfengine3-font-lock-keywords): Improve defun highlighting.
3197         (cfengine2-actions): Rename from `cfengine-actions'.
3198         (cfengine2-font-lock-keywords): Rename from
3199         `cfengine-font-lock-keywords'.
3200         (cfengine2-imenu-expression): Rename from
3201         `cfengine-imenu-expression'.
3202         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3203         (cfengine2-beginning-of-defun): Rename from
3204         `cfengine-beginning-of-defun'.
3205         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3206         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3207         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
3208         modeline indicator to "CFE2".
3209         (cfengine-mode): Defalias to `cfengine-auto-mode'.
3210         (cfengine-mode-abbrevs): Mark obsolete.
3212 2011-12-21  Chong Yidong  <cyd@gnu.org>
3214         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3215         filename argument.
3217 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
3219         * window.el (window-normalize-buffer-to-display): Remove.
3220         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3222 2011-12-19  Chong Yidong  <cyd@gnu.org>
3224         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3225         Don't signal an error in a predicate function; return non-nil.
3226         (vc-dir-mark-file): Move the error here.
3227         (vc-dir-mark-unmark): If acting on the region, keep going if one
3228         of the entries cannot be marked/unmarked.
3229         (vc-dir-mark-all-files): If current entry is a directory, mark
3230         only child files, as documented.
3232 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3234         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3235         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3236         addition.
3238 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
3240         * term/ns-win.el (ns-get-selection-internal)
3241         (ns-store-selection-internal): Declare.
3242         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3243         Declare as obsolete.
3244         (ns-get-pasteboard, ns-paste-secondary):
3245         Use ns-get-selection-internal.
3246         (ns-set-pasteboard,  ns-copy-including-secondary):
3247         Use ns-store-selection-internal.
3249 2011-12-17  Chong Yidong  <cyd@gnu.org>
3251         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3252         (vc-deduce-fileset): Doc fix.
3254 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
3256         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3258 2011-12-13  Sam Steingold  <sds@gnu.org>
3260         * man.el (Man-getpage-in-background): When running under a
3261         window-system, ignore $MANWIDTH and $COLUMNS.
3263 2011-12-15  Kenichi Handa  <handa@m17n.org>
3265         * language/ethio-util.el: Change coding tag to utf-8-emacs.
3266         (setup-ethiopic-environment-internal): Comment out key-binding for
3267         ethio-toggle-punctuation.
3269 2011-12-13  Alan Mackenzie  <acm@muc.de>
3271         Add the switch statement to AWK Mode.
3273         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3274         "default" to the keywords regexp.
3276         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3277         expression as the rest.
3278         (c-nonlabel-token-key): Allow string literals for AWK.
3279         Refactor for the other modes.
3281         Large brace-block initialisation makes CC Mode slow: Fix.
3282         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3283         routines.  Limit backward searching in c-font-lock-enclosing.decl.
3285         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3286         pp-state and literal type in addition to the limits.
3287         (c-state-safe-place): New defun, extracted from c-state-literal-at.
3288         (c-state-literal-at): Use the above new defun.
3289         (c-slow-in-literal, c-fast-in-literal): Remove.
3290         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3292         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3293         being in a literal.  Add a limit for backward searching.
3295         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3296         c-slow-in-literal.
3298 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3300         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3302 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
3304         * window.el (delete-other-windows): Use correct frame in call to
3305         window-with-parameter.
3307 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
3309         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3310         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3311         (makefile-gmake-statements, makefile-makepp-statements):
3312         Use it and add new makepp keywords.
3313         (makefile-makepp-font-lock-keywords): Add new patterns.
3314         (makefile-match-function-end): Match new [...] and [[...]].
3316 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
3318         * ses.el (ses-call-printer-return, ses-cell-property-get)
3319         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3320         (ses-create-cell-variable, ses-reset-header-string)
3321         (ses-cell-set-formula, ses-repair-cell-reference-all)
3322         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3323         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3324         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3325         (ses-aset-with-undo, ses-load, ses-truncate-cell)
3326         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3327         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3328         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3329         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3330         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3331         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3332         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3333         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3335 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3337         * ses.el: The overall change is to add cell renaming, that is
3338         setting fancy names for cell symbols other than name matching
3339         "\\`[A-Z]+[0-9]+\\'" regexp .
3340         (ses-create-cell-variable): New defun.
3341         (ses-relocate-formula): Relocate formulas only for cells the
3342         symbols of which are not renamed, i.e. symbols whose names do not
3343         match regexp "\\`[A-Z]+[0-9]+\\'".
3344         (ses-relocate-all): Relocate values only for cells the symbols of
3345         which are not renamed.
3346         (ses-load): Create cells variables as the (ses-cell ...) are read,
3347         in order to check row col consistency with cell symbol name only
3348         for cells that are not renamed.
3349         (ses-replace-name-in-formula): New defun.
3350         (ses-rename-cell): New defun.
3352 2011-12-11  Chong Yidong  <cyd@gnu.org>
3354         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3355         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3357 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
3359         * window.el (other-window): Fix docstring.
3361 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3363         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3364         `from' or `to' address before taking its substring.
3365         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3366         encoded name is chopped in the middle of the encoded string, and
3367         thus displayed encoded.
3369 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
3371         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3373 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3375         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
3376         to use texinfo-update-node and commands that call it if the
3377         Texinfo file uses @node lines without next/prev/up pointers.
3378         Correct outdated description about texinfo-master-menu.
3379         (texinfo-all-menus-update, texinfo-master-menu)
3380         (texinfo-update-node, texinfo-every-node-update)
3381         (texinfo-multiple-files-update): Doc fix.  Warn against updating
3382         all the @node lines.
3383         (texinfo-master-menu): Only call texinfo-update-node if the prefix
3384         argument is numeric.  Explain better in the doc string what the
3385         function really does.
3386         (texinfo-insert-master-menu-list): Improve the error message
3387         displayed if there's no menu in the Top node.
3388         (Bug#2975)  See also this thread:
3389         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3391 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
3393         * speedbar.el (speedbar-supported-extension-expressions):
3394         Add .adb and .ads, commonly used for Ada source code (bug#10256).
3396 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
3398         * printing.el (pr-mode-alist):
3399         * simple.el (filter-buffer-substring-functions)
3400         (completion-list-insert-choice-function):
3401         * window.el (window-with-parameter, window-atom-root)
3402         (window-sides-slots, window-size-fixed, window-min-delta)
3403         (window-max-delta, window--resize-mini-window)
3404         (window--resize-child-windows-normal, window-tree)
3405         (delete-other-windows, quit-window, split-window)
3406         (display-buffer-record-window, special-display-buffer-names)
3407         (special-display-regexps, special-display-popup-frame)
3408         (same-window-p, split-window-sensibly)
3409         (display-buffer-overriding-action, display-buffer-alist)
3410         (display-buffer-base-action, display-buffer, switch-to-buffer)
3411         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3412         (fit-window-to-buffer, recenter-positions)
3413         (mouse-autoselect-window-state, mouse-autoselect-window-select):
3414         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3415         and remove unneeded backslashes in docstrings.
3417 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3419         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3421         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3422         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3423         end in ".mk".
3424         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3425         when reading the makefile (bug#10116).
3427 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3429         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3430         (bug#10116).
3432 2011-12-06  Glenn Morris  <rgm@gnu.org>
3434         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3436 2011-12-06  Chong Yidong  <cyd@gnu.org>
3438         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3440 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
3442         * textmodes/table.el (table-shorten-cell): Fix typo.
3444 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
3446         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3448 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
3450         * descr-text.el (describe-char): Fix display of strong
3451         right-to-left characters and directional embeddings and overrides.
3453         * simple.el (what-cursor-position): Fix display of codepoints of
3454         strong right-to-left characters.
3456 2011-12-05  Chong Yidong  <cyd@gnu.org>
3458         * faces.el (read-color): Doc fix.
3460 2011-12-05  Glenn Morris  <rgm@gnu.org>
3462         * align.el (align--set-marker): Add doc-string.
3463         Don't try to move something that is not a marker.  (Bug#10216)
3465 2011-12-04  Glenn Morris  <rgm@gnu.org>
3467         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3468         overly zealous deletion of trailing whitespace.
3470 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
3472         * server.el (server-delete-client): On Windows, do not try to delete
3473         the only terminal.
3474         (server-process-filter): On Windows, treat requests for a tty frame as
3475         if they were for a GUI frame if the running server is in GUI mode.
3477 2011-12-03  Glenn Morris  <rgm@gnu.org>
3479         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
3481 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3483         * electric.el: Streamline electric-indent's hook.
3484         (electric-indent-chars): Revert to simple list.
3485         (electric-indent-functions): New var.
3486         (electric-indent-post-self-insert-function): Use it.
3488         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3489         there's no inferior buffer (bug#10196).
3490         (prolog-consult-compile): Don't use toggle-read-only.
3492 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
3494         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3495         interrupt.  (Bug#10187)
3497 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3499         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3500         (bug#9160).
3502         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3503         (bug#10191).
3505 2011-12-02  Juri Linkov  <juri@jurta.org>
3507         * info.el (Info-search): Display "end of manual" when Isearch
3508         reaches the end of single-file Info manual.  (Bug#9918)
3510 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
3512         * isearch.el (isearch-message-prefix): Run the input method part
3513         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
3515 2011-12-02  Juri Linkov  <juri@jurta.org>
3517         * isearch.el (isearch-occur): Use `word-search-regexp' for
3518         `isearch-word'.
3519         (isearch-search-and-update): Add condition for `isearch-word' and
3520         call `word-search-regexp'.  (Bug#10145)
3522 2011-12-01  Glenn Morris  <rgm@gnu.org>
3524         * eshell/em-hist.el (eshell-hist-initialize):
3525         Handle eshell-history-size nil and HISTSIZE set or unset.
3526         (eshell-history-file-name, eshell-history-size): Fix custom type.
3528 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3530         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3532 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
3534         * progmodes/verilog-mode.el (verilog-pretty-expr):
3535         Rework verilog-pretty-expr to handle new assignment operators in system
3536         verilog, such as += *= and the like.
3537         (verilog-assignment-operator-re): Regular expression to find the
3538         assigment operator in a verilog assignment.
3539         (verilog-assignment-operation-re): Regular expression to find an
3540         assignment statement for pretty-expr.
3541         (verilog-in-attribute-p): Query returns true if point is in an
3542         attribute context; used to skip these for expression line up from
3543         pretty-expr.
3544         (verilog-in-parameter-p): Query returns true if point is in an
3545         parameter definition context; used to skip these for expression
3546         line up from pretty-expr.
3547         (verilog-in-parenthesis-p): Query returns true if point is in a
3548         parenthetical expression, specifically ( ) but not [ ] or { };
3549         used by pretty-expr.
3550         (verilog-just-one-space): If there is no space, don't add one.
3551         (verilog-get-lineup-indent-2): Specifically skip just attribute
3552         contexts for expression lineup, rather than skipping all
3553         parenthetical expressions.
3554         (verilog-calculate-indent): Fix comment, and fix indent.
3555         (verilog-do-indent): Indent declarations in lists (suggested by
3556         Joachim Lechner).
3557         (verilog-mode-abbrev-table): Populate abbrev mode with the various
3558         skeleton items.
3559         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3560         by Alain Mellan).
3562 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
3564         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3565         parameters with embedded comments.  Reported by Ray Stevens.
3566         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3567         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3568         Reported by Tim Holt.
3569         (verilog-auto): Fix AUTOing a upper module then AUTOing module
3570         instantiated by upper module causing wrong expansion until AUTOed a
3571         second time.  Reported by K C Buckenmaier.
3572         (verilog-diff-auto): Fix showing .* as a difference when
3573         `verilog-auto-star-save' off.  Reported by Dan Dever.
3574         (verilog-auto-reset, verilog-read-always-signals)
3575         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3576         temporary signals in reset list if
3577         verilog-auto-reset-blocking-in-non is nil, and match assignment
3578         style to each signal's assignment type, bug381.
3579         Reported by Thomas Esposito.
3580         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3581         (verilog-uvm-statement-re): Support UVM indentation and
3582         highlighting, with old OVM keywords only.
3583         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3584         Support AUTOTIEOFF creating non-wire data types.
3585         Suggested by Jonathan Greenlaw.
3586         (verilog-auto-insert-lisp, verilog-delete-to-paren)
3587         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3588         (verilog-inject-sense, verilog-read-inst-pins)
3589         (verilog-read-sub-decls, verilog-read-sub-decls-line):
3590         Fix mismatching parenthesis inside commented out code when deleting
3591         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
3592         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3593         non-numeric vector width.  Reported by Alex Reed.
3594         (verilog-auto-ascii-enum): Add "onehot" option to work around not
3595         detecting signals with parameter widths.  Reported by Alex Reed.
3596         (verilog-auto-delete-trailing-whitespace):
3597         With `verilog-auto-delete-trailing-whitespace' remove trailing
3598         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
3599         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3600         Fix verilog-scan-cache corruption when running user AUTO expansion
3601         hooks that call indentation routines.
3602         (verilog-simplify-range-expression): Fix typo ignoring lower case
3603         identifiers.
3604         (verilog-delete-auto): Fix delete-autos to also remove user created
3605         automatics, as long as they start with AUTO.
3606         (verilog-batch-diff-auto, verilog-diff-auto)
3607         (verilog-diff-function): Add `verilog-diff-auto' and bind to
3608         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
3609         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3610         (verilog-in-paren-quick, verilog-re-search-backward-quick)
3611         (verilog-re-search-forward-quick, verilog-syntax-ppss):
3612         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3613         is disabled and its cache will get corrupt, causing AUTOS not to
3614         expand.  Instead use only -quick functions.
3615         (verilog-scan-region): Fix scanning over escaped quotes.
3616         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3617         (verilog-re-search-backward-quick)
3618         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3619         related functions now ignore strings, to fix misparsing of strings
3620         with magic comments embedded in them.
3621         (verilog-read-auto-template):
3622         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3623         Reported by Brad Dobbie.
3624         (verilog-read-auto-template):
3625         Fix 'verilog-auto-inst-template-numbers' with comments.
3626         Reported by Brad Dobbie.
3627         (verilog-auto-inst, verilog-auto-inst-param)
3628         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3629         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
3630         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3631         debugging templates without merge conflicts, bug357.
3632         Reported by Brad Dobbie.
3633         (verilog-read-auto-template):
3634         Fix verilog-auto-inst-template-numbers with multiple templates.
3635         Reported by Brad Dobbie.
3636         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3637         abbrevs so user won't be asked to save.
3638         (verilog-read-auto-lisp-present): Fix to start at beginning of
3639         buffer in case called outside of verilog-auto.
3640         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3641         to "X-2".  Reported by Matthew Myers.
3642         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3643         all inputs from module templates.  Reported by Leith Johnson.
3644         (verilog-module-inside-filename-p): Fix locating programs as with
3645         modules.
3646         (verilog-auto-inst-port): Fix vl-width expressions when using
3647         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
3648         (verilog-decls-get-regs, verilog-decls-get-signals,
3649         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3650         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3651         verilog-read-decls): Combine reg and wire structures into one var
3652         structure to represent SystemVerilog concepts.
3653         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3654         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3655         (verilog-auto-wire-type, verilog-insert-definition):
3656         Add verilog-auto-wire-type and AUTOLOGIC to support using
3657         SystemVerilog "logic" keyword instead of "wire"/"reg".
3658         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3659         to declares outputs that also have assignments (presumably in an
3660         ifdef or generate if so there's not a driver conflict).
3661         Reported by Matthew Myers.
3662         (verilog-auto-declare-nettype, verilog-insert-definition):
3663         Add verilog-auto-declare-nettype to fix declarations using
3664         `default_nettype none.  Reported by Julian Gorfajn.
3665         (verilog-read-always-signals-recurse, verilog-read-decls)
3666         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3667         malformed end statement, bug325.  Reported by Joshua Wise and
3668         Andrew Drake.
3669         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3670         (verilog-inst-comment-re): Fix not deleting Interfaced comment
3671         when expanding .* in interfaces, bug320.
3672         Reported by Pierre-David Pfister.
3673         (verilog-read-module-name): Fix import statements between module
3674         name and open parenthesis, bug317.
3675         Reported by Pierre-David Pfister.
3676         (verilog-simplify-range-expression): Fix simplification of
3677         multiplications inside AUTOWIRE connections, bug303.
3678         (verilog-auto-inst-port): Support parameter expansion in
3679         multidimensional arrays.
3680         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3681         after "assert property".  Reported by Julian Gorfajn.
3682         (verilog-simplify-range-expression): Fix "couldn't merge" errors
3683         with multiplication, bug303.
3684         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3685         Reported by Jan Frode Lonnum.
3687 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
3689         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3690         (hfy-shell-file-name, hfy-shell):
3691         * international/fontset.el (x-decompose-font-name): Fix typos.
3693 2011-11-29  Ken Brown  <kbrown@cornell.edu>
3695         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3696         (gdb-version): Remove defvar.
3697         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3698         (gdb-gud-context-command, gdb-non-stop-handler)
3699         (gdb-current-context-command, gdb-stopped): Use it.
3700         (gdb-init-1): Enable pretty printing here.
3701         (gdb-non-stop-handler): Don't enable pretty-printing here.
3702         Check to see if the target supports non-stop mode; if not, turn off
3703         non-stop mode.  Use the following.
3704         (gdb-check-target-async): New defun.
3705         (gud-watch, gdb-stopped): Fix whitespace.
3706         (gdb-get-source-file): Don't try to display the source file if
3707         `gdb-main-file' is nil.
3709 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * align.el: Try to generate fewer markers (bug#10047).
3712         (align--set-marker): New macro.
3713         (align-region): Use it.
3715 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3717         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3719 2011-11-29  Chong Yidong  <cyd@gnu.org>
3721         * indent.el (indent-for-tab-command, indent-according-to-mode):
3722         Doc fix.
3723         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3725 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3727         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3728         aware of remote file names.  (Bug#10124)
3730 2011-11-29  Chong Yidong  <cyd@gnu.org>
3732         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3734 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3736         * files.el (find-file): Don't use force-same-window (bug#10144).
3737         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3738         use pop-to-buffer if the selected window can't be used.
3739         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3741 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3743         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3744         special-mode-map.
3746 2011-11-28  Chong Yidong  <cyd@gnu.org>
3748         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3750 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3752         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3753           gdb-get-source-file-list on gdb-create-source-file-list.
3755 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3757         * whitespace.el (whitespace-newline): Use a different foreground
3758         color for 16-color light-background displays.
3760 2011-11-24  Chong Yidong  <cyd@gnu.org>
3762         * window.el (display-buffer--special-action): Doc fix.
3764 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
3766         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3767         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3768         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3769         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3770         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3771         (avl-tree-stack-first):
3772         * emacs-lisp/cconv.el (cconv--analyse-use):
3773         * net/gnutls.el (gnutls-negotiate): Fix typos.
3775 2011-11-24  Glenn Morris  <rgm@gnu.org>
3777         * lpr.el (lpr-windows-system, lpr-lp-system):
3778         * mail/binhex.el (binhex-begin-line):
3779         * progmodes/grep.el (grep-history, grep-find-history):
3780         * textmodes/flyspell.el:
3781         * vc/pcvs-defs.el (cvs-global-menu):
3782         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3783         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3784         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3786         * net/tls.el: Fix case of "GnuTLS".
3788         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3790         * version.el (emacs-build-system): Give it a doc-string.
3792 2011-11-24  Juri Linkov  <juri@jurta.org>
3794         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3796 2011-11-24  Glenn Morris  <rgm@gnu.org>
3798         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3799         if called on a non-mime message just toggle the headers.  (Bug#8006)
3801 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3803         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3804         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3805         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3806         (allout-rebullet-heading, allout-open-sibtopic)
3807         (allout-toggle-current-subtree-encryption)
3808         (allout-toggle-subtree-encryption, allout-encrypt-string)
3809         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3810         (allout-distinctive-bullets-string, allout-auto-activation):
3811         * window.el (window-normalize-buffer-to-display):
3812         * progmodes/verilog-mode.el (verilog-batch-indent):
3813         * textmodes/bibtex.el (bibtex-field-braces-opt)
3814         (bibtex-field-strings-opt):
3815         * vc/cvs-status.el (cvs-tree-merge):
3816         Fix typos.
3818 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3820         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3821         `non-essential' to t, in order to avoid remote connections.
3823 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3825         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3826         On MS-DOS and MS-Windows, compare with loaddefs.el
3827         case-insensitively.
3829 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3831         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3833 2011-11-23  Glenn Morris  <rgm@gnu.org>
3835         * paths.el (rmail-file-name): Reformat the doc-string so that it
3836         is picked up.
3838         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3839         (rmail-auto-file): Ignore case in the "special" field names,
3840         as mail-fetch-field does for all others.
3842         * mail/rmail.el (rmail-forward):
3843         * mail/rmailkwd.el (rmail-set-label):
3844         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3845         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3847         * mail/rmail.el (rmail-current-message): Doc fix.
3849         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3851 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3853         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3855 2011-11-22  Glenn Morris  <rgm@gnu.org>
3857         * mail/rmailmm.el (test-rmail-mime-handler)
3858         (test-rmail-mime-bulk-handler)
3859         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3861 2011-11-21  Juri Linkov  <juri@jurta.org>
3863         * calc/calc.el (calc-read-key-sequence):
3864         Let-bind `input-method-function' to nil.  (Bug#10018)
3866 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3868         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3869         Tell the caller that the next line needs recomputation, even
3870         though it doesn't start a sexp (bug#10094).
3872 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3874         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3876 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3878         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3879         Use force-same-window.
3881 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3883         * descr-text.el (describe-char-unicode-data):
3884         * json.el (json-string-escape):
3885         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3886         (Footnote-unicode, Footnote-style-p):
3887         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3889 2011-11-20  Chong Yidong  <cyd@gnu.org>
3891         * window.el (replace-buffer-in-windows): Restore interactive spec.
3893 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3895         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3897         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3898         (byte-compile-global-not-obsolete-vars): New var.
3899         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3900         Use it.
3901         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3903 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3905         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3906         * progmodes/pascal.el (electric-pascal-equal):
3907         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3908         * xml.el (xml-substitute-special): Fix typos.
3910 2011-11-20  Glenn Morris  <rgm@gnu.org>
3912         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3913         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3914         Doc fixes.
3915         (rmail-decode-mime-charset): Mark as obsolete.
3917         * mail/rmailsum.el (rmail-message-regexp-p-1):
3918         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3919         Before using mime functions, check they are set.  (Bug#10077)
3921 2011-11-19  Juri Linkov  <juri@jurta.org>
3923         * info.el (Info-finder-find-node): Use `package--builtins' instead
3924         of `package-alist'.  Use node names formed by the pattern "Keyword "
3925         and the keyword name.
3927 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3929         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3931 2011-11-19  Juri Linkov  <juri@jurta.org>
3933         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3934         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3935         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3936         `old-history', `old-history-forward'.  Add let-binding
3937         `window-selected'.  Remove calls to `kill-buffer',
3938         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3939         before calling `Info-find-node', so `Info-find-node-2' will reread
3940         the Info file.  Restore window positions only when `window-selected'
3941         is non-nil.
3943 2011-11-19  Juri Linkov  <juri@jurta.org>
3945         * isearch.el (isearch-lazy-highlight-new-loop):
3946         Remove condition `(not isearch-error)'.  (Bug#9918)
3948         * misearch.el (multi-isearch-search-fun): Add condition
3949         `(not bound)' to ignore lazy-highlighting search.
3950         Add the search-failed message "end of multi" when the end of
3951         multi-sequence is reached.  Uncapitalize the search-failed
3952         message "Repeat for next buffer".
3954         * info.el (Info-search): Add the search-failed message
3955         "end of the manual" when the end of the manual is reached
3956         in Isearch mode.
3958 2011-11-19  Juri Linkov  <juri@jurta.org>
3960         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3961         Use non-destructive `remove' instead of `delete' because
3962         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3963         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3965 2011-11-19  Juri Linkov  <juri@jurta.org>
3967         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3968         to nil instead of binding `search-ring' and `regexp-search-ring'.
3969         (Bug#9185)
3971 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3973         * simple.el (line-move): Force movement by logical lines for any
3974         hscrolled window, not only when auto-hscroll-mode is on.
3975         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3977 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3979         * language/european.el (macintosh): Define as alias for mac-roman.
3981 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3983         * mail/rmailmm.el (rmail-mime-display-header)
3984         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3985         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3986         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3987         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3988         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3989         of a raw aref.
3990         (rmail-mime-entity-segment): To get past the tagline, move forward
3991         2 more lines, to account for the 2 empty lines that precede and
3992         follow the line with the buttons.
3993         (rmail-mime-update-tagline): Move one more line, to get past the
3994         empty line that follows the buttons in the tagline.  (Bug#9520)
3996 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3998         * window.el (window-max-delta-1, window-min-delta-1)
3999         (window-min-size-1, window-state-get-1, window-state-put-1)
4000         (window-state-put-2): Use "window--" prefix.
4002 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4004         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4005         (smie-warning-count): New var.
4006         (smie-set-prec2tab): Use it.
4007         (smie-bnf->prec2): Improve warnings.  Add docstring.
4008         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4009         (smie-bnf--set-class): New function.
4010         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4011         corner case.
4013         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4014         (compilation-error-properties, compilation-move-to-column):
4015         Handle compilation-first-column while in the target buffer.
4017         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4018         Don't hardcode point-min==1.
4020         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4021         (eshell-rewrite-for-command): Remove workaround.
4022         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4023         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4024         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4026         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4028 2011-11-17  Glenn Morris  <rgm@gnu.org>
4030         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4031         Ignore buffer-local generated-autoload-file if it is the same
4032         as the global value.  (Bug#10049)
4034 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4036         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4037         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4038         (reftex-toc-previous-heading, reftex-toc-max-level)
4039         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4040         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4041         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4042         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4043         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4044         (reftex-toc-rename-label, reftex-toc-visit-location)
4045         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4046         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4047         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4048         leaving "*toc*" only for references to the buffer.
4050 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4052         * window.el (window-resize, delete-window, split-window):
4053         Replace window-splits by window-combination-resize.
4054         * cus-start.el (window-splits): Replace by window-combination-resize.
4056 2011-11-17  Glenn Morris  <rgm@gnu.org>
4058         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4059         Make bash entry derive from sh entry, not shell entry.
4061 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4063         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4064         properties of linked files.  (Bug#9879)
4066         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4067         local file name.
4069 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4071         * menu-bar.el (menu-bar-file-menu):
4072         * printing.el (pr-ps-utility):
4073         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4074         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4075         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4076         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4077         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4078         (icalendar--convert-cyclic-to-ical)
4079         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4080         (icalendar--convert-ical-to-diary)
4081         (icalendar--convert-recurring-to-diary)
4082         (icalendar--convert-non-recurring-all-day-to-diary)
4083         (icalendar-import-format-sample):
4084         * progmodes/idlw-shell.el (idlwave-shell-mode):
4085         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4086         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4087         (vhdl-ps-print-init): Fix typos.
4089 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4091         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4092         FSF and collapse date sequence, obscure author/maintainer email address
4093         better, remove extra version line, track relocation of author's webpage.
4095         * progmodes/python.el (python-pdbtrack-input-prompt)
4096         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4097         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4098         suggested in EmacsWiki page (tiny change):
4099         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4101 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4103         * expand.el (expand-pos, expand-index, expand-point):
4104         Remove redundant info from docstring.
4105         (expand-add-abbrevs): Doc fix.
4106         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4107         (expand-sample-perl-mode-expand-list): Fix typos.
4109         * net/dbus.el (dbus-event-member-name):
4110         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4111         * term/pc-win.el (msdos-create-frame-with-faces):
4112         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4114 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
4116         * window.el (split-window, window-state-get-1)
4117         (window-state-put-1, window-state-put-2): Rename occurrences of
4118         window-nest to window-combination-limit.
4119         * cus-start.el (window-nest): Rename to window-combination-limit.
4121 2011-11-16  Chong Yidong  <cyd@gnu.org>
4123         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4124         regexp (Bug#10033).
4126 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4128         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4129         `completing-read' will remove *Completions* and will preserve
4130         current-buffer for us.
4131         (tmm-add-prompt): Users of *Completions* will always (re)set its
4132         major mode.
4133         (tmm-old-comp-map): Remove.
4135 2011-11-16  Glenn Morris  <rgm@gnu.org>
4137         * mail/rmailedit.el: Require rmailmm when compiling.
4138         (rmail-old-mime-state): New declaration.
4139         (rmail-edit-current-message): If editing a mime message,
4140         edit the "raw" message from the mbox buffer.
4141         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
4143 2011-11-15  Glenn Morris  <rgm@gnu.org>
4145         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4146         which wasn't being used.  Add optional arg to force given state.
4147         (rmail-mime): Add optional arg to force given state.
4149 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4151         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4152         * frame.el (display-mm-dimensions-alist):
4153         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4154         (outline-move-subtree-down):
4155         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4156         (newsticker--treeview-do-get-node):
4157         * net/quickurl.el (quickurl-list-buffer-name):
4158         * progmodes/dcl-mode.el (dcl-mode):
4159         * progmodes/gdb-mi.el (gdb-mapcar*):
4160         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4162 2011-11-15  Glenn Morris  <rgm@gnu.org>
4164         * mail/rmail.el (rmail-file-coding-system): It's only ever used
4165         in a boolean sense, so just make it a boolean, and fix the doc.
4166         (rmail-show-mime-function, rmail-mime-feature)
4167         (rmail-require-mime-maybe): Doc fixes.
4168         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4170         * mail/rmailmm.el (rmail-show-mime): Doc fix.
4172 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4174         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4175         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4176         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4177         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4179 2011-11-15  Glenn Morris  <rgm@gnu.org>
4181         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4182         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4183         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4184         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4185         (rmail-mime, rmail-show-mime): Doc fixes.
4187         * term/ns-win.el (mode-line-frame-identification):
4188         Leave it alone.  (Bug#10051)
4190         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
4192         * mail/rmailout.el (rmail-output-to-rmail-buffer):
4193         Handle empty buffers.  (Bug#9978)
4195 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
4197         * international/mule.el (define-charset):
4198         * mail/rmailmm.el (rmail-mime-find-header-encoding):
4199         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4200         * progmodes/verilog-mode.el (verilog-backward-token):
4201         * textmodes/ispell.el (lookup-words):
4202         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4204 2011-11-14  Glenn Morris  <rgm@gnu.org>
4206         * progmodes/executable.el
4207         (executable-make-buffer-file-executable-if-script-p):
4208         Handle file-modes returning nil.
4210         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4211         message - not necessary, and causes problems.  (Bug#9831)
4213         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4215         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4217         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4218         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
4219         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4221 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
4223         * window.el (window-resize, delete-window): Use window-splits
4224         variable instead of function.
4225         (window-state-get-1, window-state-put-2, window-state-put):
4226         Don't deal with windows' splits status.
4228 2011-11-12  Glenn Morris  <rgm@gnu.org>
4230         * apropos.el (apropos-do-all, apropos-library, apropos-value)
4231         (apropos-documentation): Doc fixes.
4233 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
4235         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4236         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4238 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4240         * electric.el (electric-indent-post-self-insert-function): Make it
4241         possible for a char to only indent in some circumstances.
4242         (electric-indent-mode): Simplify.
4244 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
4246         * window.el (windows-with-parameter): Remove unused function.
4247         (windows-at-side): Rename to window-at-side-list.
4248         (window-check, window-atom-check, window-atom-check-1)
4249         (window-side-check, window-size-ignore, window-size-fixed-1)
4250         (window-in-direction-2): Prefix with "window--".
4251         (window-tree-1): Rename to window--subtree, fix doc-string.
4253 2011-11-11  Glenn Morris  <rgm@gnu.org>
4255         * subr.el (eval-after-load): If FILE is already loaded,
4256         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
4258 2011-11-10  Glenn Morris  <rgm@gnu.org>
4260         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4261         Call svn via vc-svn-command rather than vc-do-command.
4262         (vc-svn-command): Add --non-interactive.  (Bug#9993)
4263         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4265         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4266         Add toggle-read-only.  (Bug#7292)
4267         * files.el (toggle-read-only): Mention that it should only
4268         be used interactively.  (Bug#10006)
4270 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4272         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4273         Adjust regexp for OCaml warnings.
4275         * electric.el (electric-pair-post-self-insert-function): Let user
4276         turn it off buffer-locally (bug#9932).
4278         * progmodes/python.el (python-beginning-of-statement):
4279         Rewrite (bug#2703).
4281         * progmodes/compile.el: Better handle TABs (bug#9749).
4282         (compilation-internal-error-properties)
4283         (compilation-next-error-function): Obey the target buffer's
4284         compilation-error-screen-columns.
4286 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
4288         * progmodes/meta-mode.el: Remove obsolete comments.
4289         (meta-right-comment-regexp, meta-ignore-comment-regexp):
4290         Fix typos in docstrings.
4292 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
4294         * window.el (window-size-fixed-p): Rewrite doc-string.
4295         (window-resizable-p): Rename to window--resizable-p.  Update callers.
4296         (window--resizable): New function.  Make all callers of
4297         window-resizable call window--resizable instead.
4298         (window-resizable): Rewrite in terms of window--resizable.
4300 2011-11-08  Glenn Morris  <rgm@gnu.org>
4302         * progmodes/delphi.el (delphi-mode-syntax-table):
4303         Let define-derived-mode define a proper syntax table.  (Bug#9994)
4305 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4307         * window.el: Stay away from defsubst.
4308         (window-list-no-nils): Remove.
4309         (window-state-get-1, window-state-get): Use backquote instead.
4311 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4313         * emacs-lisp/find-func.el (find-function-read):
4314         Fix incorrect use of default argument in `completing-read'.
4316 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
4318         * window.el (display-buffer-function, special-display-function):
4319         Mention display-buffer-record-window but do not mention
4320         help-setup parameter in doc-strings.
4321         (window-min-delta): Fix doc-string typo.
4323 2011-11-08  Chong Yidong  <cyd@gnu.org>
4325         * window.el (window-total-height, window-total-width): Doc fix.
4326         (window-body-size): Move from C.
4327         (window-body-height, window-body-width): Move to C.
4329 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4331         * window.el: Make special-display like display-buffer-alist (bug#9532).
4332         (display-buffer--special-action): New function, morphed
4333         from display-buffer--special.
4334         (display-buffer): Use it to handle special-display-buffers at higher
4335         priority (just after display-buffer-alist).
4336         (display-buffer-fallback-action, display-buffer--other-frame-action)
4337         (pop-to-buffer-same-window): Remove display-buffer--special.
4339 2011-11-07  Glenn Morris  <rgm@gnu.org>
4341         * calendar/cal-menu.el (cal-menu-set-date-title):
4342         Do nothing if not in a calendar.  (Bug#9976)
4344 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4346         * files.el (find-file): Always use selected-window.
4348 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
4350         * window.el (window-combinations): Make WINDOW argument
4351         mandatory.  Rewrite doc-string.
4352         (walk-window-subtree, window-atom-check, window-min-delta)
4353         (window-max-delta, window--resize-this-window)
4354         (window--resize-root-window-vertically, window-tree)
4355         (balance-windows, window-state-put): Rewrite doc-strings as to
4356         not mention the term "subwindow".
4357         (window--resize-subwindows-skip-p): Rename to
4358         window--resize-child-windows-skip-p.
4359         (window--resize-subwindows-normal): Rename to
4360         window--resize-child-windows-normal.
4361         (window--resize-subwindows): Rename to
4362         window--resize-child-windows.
4363         (window-or-subwindow-p): Rename to window--in-subtree-p.
4365 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4367         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4368         Ensure that mbox format messages end in two newlines (Bug#9974).
4370 2011-11-06  Chong Yidong  <cyd@gnu.org>
4372         * window.el (window-combination-p): Function deleted; its
4373         side-effect is not used in any existing code.
4374         (window-combinations, window-combined-p): Call window-*-child
4375         directly.
4377 2011-11-05  Chong Yidong  <cyd@gnu.org>
4379         * window.el (window-valid-p): Rename from window-any-p.
4380         (window-size-ignore, window-state-get): Callers changed.
4381         (window-normalize-window): Rename from window-normalize-any-window.
4382         New arg LIVE-ONLY, replacing window-normalize-live-window.
4383         (window-normalize-live-window): Delete.
4384         (window-combination-p, window-combined-p, window-combinations)
4385         (walk-window-subtree, window-atom-root, window-min-size)
4386         (window-sizable, window-sizable-p, window-size-fixed-p)
4387         (window-min-delta, window-max-delta, window-resizable)
4388         (window-resizable-p, window-full-height-p, window-full-width-p)
4389         (window-current-scroll-bars, window-point-1, set-window-point-1)
4390         (window-at-side-p, window-in-direction, window-resize)
4391         (adjust-window-trailing-edge, maximize-window, minimize-window)
4392         (window-deletable-p, delete-window, delete-other-windows)
4393         (record-window-buffer, unrecord-window-buffer)
4394         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4395         (quit-window, split-window, window-state-put)
4396         (set-window-text-height, fit-window-to-buffer)
4397         (shrink-window-if-larger-than-buffer): Callers changed.
4399 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
4401         * mail/rmail.el (rmail-simplified-subject): Decode subject with
4402         rfc2047-decode-string.
4403         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4404         warnings.
4406         * window.el (window-body-height, window-body-width): Mention in
4407         the doc string that the return values are in frame's canonical
4408         units.  (Bug#9949)
4410 2011-11-03  Alan Mackenzie  <acm@muc.de>
4412         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4413         change in cc-engine.el.
4415 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4417         * window.el (switch-to-buffer): Use `force-same-window' interactively.
4419 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
4421         * window.el (quit-window): Call unrecord-window-buffer after
4422         showing another buffer in the window.  (Bug#9937)
4423         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4425 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
4427         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4428         Accept status with more than 9 shelves.  (Bug#9935)
4429         Reported by Colin D Bennett <colin@gibibit.com>.
4431 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
4433         * help.el (with-help-window): Don't reference
4434         temp-buffer-show-specifiers in doc-string.
4436 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4438         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4439         menu-item.
4441 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4443         * whitespace.el: New version 13.2.2.
4444         (whitespace-newline-mode): Disable properly.  Reported by Sarah
4445         <EmacsWiki>.
4447 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
4449         * net/newst-treeview.el: Remove "Time-stamp".
4450         (newsticker--group-manage-orphan-feeds): Do not call
4451         newsticker--treeview-tree-update.
4452         (newsticker-treeview-update, newsticker-treeview):
4453         Call newsticker--treeview-tree-update if necessary.
4455 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
4457         * window.el (window-iso-combination-p, window-iso-combined-p)
4458         (window-iso-combinations): Remove "iso-" infix.
4459         Suggested by Chong Yidong.
4460         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4461         (window-max-delta-1, window-resize, window--resize-siblings)
4462         (window--resize-this-window, adjust-window-trailing-edge)
4463         (split-window, balance-windows-1)
4464         (shrink-window-if-larger-than-buffer):
4465         * calendar/calendar.el (calendar-generate-window):
4466         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4468 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4470         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4471         in place (bug#9907).
4472         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4473         (eshell-rewrite-if-command, eshell-rewrite-for-command)
4474         (eshell-structure-basic-command, eshell-rewrite-while-command)
4475         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4476         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4477         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4478         (eshell-do-pipelines-synchronously, eshell-eval-command):
4479         Use backquotes and prefer setq to set.
4480         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4481         (eshell-macrop): Use functionp.
4482         (eshell-do-eval): Handle multiple expressions in `while' body.
4484 2011-10-30  Chong Yidong  <cyd@gnu.org>
4486         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4487         instead of set-mark (Bug#9810).
4489 2011-10-30  Chong Yidong  <cyd@gnu.org>
4491         * window.el (split-window-below, split-window-right): Rename from
4492         split-window-above-each-other and split-window-side-by-side
4493         respectively.  All callers changed.
4494         (split-window-sensibly, split-window-sensibly): Use them.
4495         (split-window-keep-point): Doc fix.
4497         * isearch.el: Add isearch-scroll property to split-window-below
4498         and split-window-right.
4500         * follow.el (follow-mode):
4501         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4502         * progmodes/ada-xref.el (ada-gdb-application):
4503         * emulation/vip.el (vip-buffer-in-two-windows):
4504         * image-dired.el (image-dired-dired-with-window-configuration):
4505         * dired-x.el (dired-do-find-marked-files):
4506         * dired.el (dired-pop-to-buffer):
4507         * bs.el (bs--show-with-configuration):
4508         * vc/emerge.el (emerge-setup-windows):
4509         * textmodes/two-column.el (2C-two-columns):
4510         * textmodes/reftex-toc.el (reftex-toc):
4511         * progmodes/gdb-mi.el (gdb-setup-windows):
4512         * progmodes/fortran.el (fortran-window-create):
4513         * net/newst-treeview.el (newsticker--treeview-window-init):
4514         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4515         * emulation/tpu-edt.el (tpu-gold-map):
4516         * emulation/crisp.el (crisp-mode-map):
4517         * calendar/calendar.el (calendar-basic-setup): Callers changed.
4519 2011-10-29  Chong Yidong  <cyd@gnu.org>
4521         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4523         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4525         * textmodes/flyspell.el (flyspell-word): Fix char offset for
4526         forged Ispell output (Bug#7904).
4528         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4530 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4532         * doc-view.el: Avoid ugly errors about not finding nil.
4533         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4534         (doc-view-dvipdf-program, doc-view-unoconv-program)
4535         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4536         Avoid nil or absolute file name as default value.
4537         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4539 2011-10-28  Alan Mackenzie  <acm@muc.de>
4541         * progmodes/cc-defs.el (c-version): -> 5.32.2.
4543 2011-10-28  Alan Mackenzie  <acm@muc.de>
4545         Amend the handling of c-beginning/end-of-defun in nested declaration
4546         scopes.
4548         * progmodes/cc-vars.el (c-defun-tactic): Move here from
4549         cc-langs.el.  Change it to a defcustom.
4551         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4552         cc-vars.el.
4554         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4555         Prevent "class foo : bar" being spuriously recognized as a label.
4557         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4558         Add parameter `inclusive' (to include enclosing braces in the region).
4559         (c-widen-to-enclosing-decl-scope): New function.
4560         (c-while-widening-to-decl-block): New macro.
4561         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4562         outward for defun boundaries, and correspondingly change symbol
4563         `respect-enclosure' to `go-outward'.
4564         (c-declaration-limits): Change algorithm to report only the "innermost"
4565         defun's boundaries.
4567 2011-10-28  Deniz Dogan  <deniz@dogan.se>
4569         * net/rcirc.el (rcirc-mode): Use hard newlines.
4571 2011-10-28  Alan Mackenzie  <acm@muc.de>
4573         Amend to indent and fontify macros "which include their own semicolon"
4574         correctly, using the "virtual semicolon" mechanism.
4576         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4578         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4579         Recode to scan one line at a time rather than having \n and \r
4580         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4581         (c-forward-label): Amend for virtual semicolons.
4582         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4584         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4585         of the new C macros.
4587         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4588         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4589         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4590         (c-opt-cpp-macro-define): Make into a full language variable.
4591         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4592         AWK Mode (including \n, \r) removed, no longer needed.
4594         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4595         Invoke c-make-macro-with-semi-re.
4597         * progmodes/cc-vars.el (c-macro-with-semi-re):
4598         (c-macro-names-with-semicolon): New variables.
4599         (c-make-macro-with-semi-re): New function.
4601 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4603         * vc/log-edit.el: Fill empty field rather than adding new one.
4604         (log-edit-add-field): New function.
4605         (log-edit-insert-changelog): Use it.
4607 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4609         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4611 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4613         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4614         (gdb--check-interpreter): New function.
4615         (gdb): Use it.
4617 2011-10-27  Glenn Morris  <rgm@gnu.org>
4619         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4620         (least-positive-float, least-negative-float)
4621         (least-positive-normalized-float, least-negative-normalized-float)
4622         (float-epsilon, float-negative-epsilon):
4623         Remove unnecessary declarations.
4625         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4626         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4627         (least-positive-float, least-negative-float)
4628         (least-positive-normalized-float, least-negative-normalized-float)
4629         (float-epsilon, float-negative-epsilon): Add doc-strings,
4630         based on those in cl.texi.
4632         * files.el (set-visited-file-name): If the major-mode changed,
4633         reload the local variables.  (Bug#9796)
4635 2011-10-27  Chong Yidong  <cyd@gnu.org>
4637         * subr.el (change-major-mode-after-body-hook): New hook.
4638         (run-mode-hooks): Run it.
4640         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4641         Use change-major-mode-before-body-hook.
4643         * simple.el (fundamental-mode):
4644         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4645         change introducing fundamental-mode-hook.
4647 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
4649         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4651 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
4653         * ido.el (ido-file-name-all-completions-1): Do not require
4654         tramp.el explicitly.  (Bug#7583)
4656 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4658         * progmodes/octave-mod.el:
4659         * progmodes/octave-inf.el: Update maintainer.
4661 2011-10-26  Chong Yidong  <cyd@gnu.org>
4663         * subr.el (with-wrapper-hook): Rewrite doc.
4665 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
4667         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4668         filenames "/method:foo:".  (Bug#9793)
4670 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4672         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4673         (bug#9865).
4675 2011-10-24  Glenn Morris  <rgm@gnu.org>
4677         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
4679 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
4681         * notifications.el: Add the requirement of a running D-Bus session
4682         bus to the Commentary.
4684 2011-10-24  Juri Linkov  <juri@jurta.org>
4686         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4687         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4688         (Bug#9364)
4690 2011-10-24  Juri Linkov  <juri@jurta.org>
4692         * info.el (Info-following-node-name-re): Add newline to the list
4693         of allowed characters for leading space.  (Bug#9824)
4695 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4697         * progmodes/octave-inf.el (inferior-octave-mode-map):
4698         Fix C-c C-h binding.
4699         * progmodes/octave-mod.el (octave-help): Remove.
4701 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
4703         Sync with Tramp 2.2.3.
4705         * net/tramp-cache.el (top): Pacify byte-compiler using
4706         `init-file-user' and `site-run-file'.
4708         * net/trampver.el: Update release number.
4710 2011-10-23  Chong Yidong  <cyd@gnu.org>
4712         * files.el (toggle-read-only): Remove obsolete comment about
4713         version control.
4715         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4716         for toggle-read-only.  Note that this hasn't called vc-next-action
4717         since 2008-05-02, though it wasn't documented at the time.
4719         * vc/ediff-init.el (ediff-toggle-read-only-function):
4720         Use toggle-read-only.
4722 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4724         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4725         of c-parse-state.
4727         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4728         correct faulty logical expression.
4729         (c-parse-state-state, c-record-parse-state-state):
4730         (c-replay-parse-state-state): New defvar/defuns.
4731         (c-debug-parse-state): Use new functions.
4733 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4735         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4736         last fix.  Use window-in-direction correctly.
4738 2011-10-21  Chong Yidong  <cyd@gnu.org>
4740         * progmodes/idlwave.el (idlwave-mode):
4741         * progmodes/vera-mode.el (vera-mode): No need to set
4742         require-final-newline; that's done in prog-mode.
4743         Suggested by Stefan Monnier.
4745 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4747         * mouse.el (mouse-drag-window-above)
4748         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4749         (mouse-drag-mode-line-1, mouse-drag-header-line)
4750         (mouse-drag-vertical-line-rightward-window): Remove.
4751         (mouse-drag-line): New function.
4752         (mouse-drag-mode-line, mouse-drag-header-line)
4753         (mouse-drag-vertical-line): Call mouse-drag-line.
4754         * window.el (window-at-side-p, windows-at-side): New functions.
4756 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4758         * tar-mode.el (tar-grind-file-mode):
4759         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4761 2011-10-21  Chong Yidong  <cyd@gnu.org>
4763         * progmodes/idlwave.el (idlwave-mode):
4764         * progmodes/vera-mode.el (vera-mode):
4765         Use mode-require-final-newline.
4767 2011-10-20  Glenn Morris  <rgm@gnu.org>
4769         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
4771 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
4773         * emulation/cua-base.el (cua-set-mark): Fix case of string.
4775 2011-10-20  Chong Yidong  <cyd@gnu.org>
4777         * emulation/cua-base.el (cua-mode):
4778         * mail/footnote.el (footnote-mode):
4779         * mail/mailabbrev.el (mail-abbrevs-mode):
4780         * net/xesam.el (xesam-minor-mode):
4781         * progmodes/bug-reference.el (bug-reference-mode):
4782         * progmodes/cap-words.el (capitalized-words-mode):
4783         * progmodes/compile.el (compilation-minor-mode)
4784         (compilation-shell-minor-mode):
4785         * progmodes/gud.el (gud-tooltip-mode):
4786         * progmodes/hideif.el (hide-ifdef-mode):
4787         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4788         * progmodes/subword.el (subword-mode):
4789         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4790         * progmodes/which-func.el (which-function-mode):
4791         * term/tvi970.el (tvi970-set-keypad-mode):
4792         * term/vt100.el (vt100-wide-mode):
4793         * textmodes/flyspell.el (flyspell-mode):
4794         * textmodes/ispell.el (ispell-minor-mode):
4795         * textmodes/nroff-mode.el (nroff-electric-mode):
4796         * textmodes/paragraphs.el (use-hard-newlines):
4797         * textmodes/refill.el (refill-mode):
4798         * textmodes/reftex.el (reftex-mode):
4799         * textmodes/rst.el (rst-minor-mode):
4800         * textmodes/sgml-mode.el (html-autoview-mode)
4801         (sgml-electric-tag-pair-mode):
4802         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4803         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4804         * emulation/crisp.el (crisp-mode):
4805         * emacs-lisp/eldoc.el (eldoc-mode):
4806         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4807         minor mode behavior.
4809 2011-10-19  Juri Linkov  <juri@jurta.org>
4811         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4812         the list of hard-coded chars with escape-glyph face.
4814 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4816         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4818 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4820         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4821         running process.
4823 2011-10-19  Glenn Morris  <rgm@gnu.org>
4825         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4826         Ignore ignored files.  (Bug#9726)
4828 2011-10-19  Chong Yidong  <cyd@gnu.org>
4830         Doc fix for minor modes, stating that an omitted argument enables
4831         the mode unconditionally when called from Lisp.
4833         * abbrev.el (abbrev-mode):
4834         * allout.el (allout-mode):
4835         * autoinsert.el (auto-insert-mode):
4836         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4837         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4838         (global-auto-revert-mode):
4839         * battery.el (display-battery-mode):
4840         * composite.el (global-auto-composition-mode)
4841         (auto-composition-mode):
4842         * delsel.el (delete-selection-mode):
4843         * desktop.el (desktop-save-mode):
4844         * dired-x.el (dired-omit-mode):
4845         * dirtrack.el (dirtrack-mode):
4846         * doc-view.el (doc-view-minor-mode):
4847         * double.el (double-mode):
4848         * electric.el (electric-indent-mode, electric-pair-mode):
4849         * emacs-lock.el (emacs-lock-mode):
4850         * epa-hook.el (auto-encryption-mode):
4851         * follow.el (follow-mode):
4852         * font-core.el (font-lock-mode):
4853         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4854         * help.el (temp-buffer-resize-mode):
4855         * hilit-chg.el (highlight-changes-mode)
4856         (highlight-changes-visible-mode):
4857         * hi-lock.el (hi-lock-mode):
4858         * hl-line.el (hl-line-mode, global-hl-line-mode):
4859         * icomplete.el (icomplete-mode):
4860         * ido.el (ido-everywhere):
4861         * image-file.el (auto-image-file-mode):
4862         * image-mode.el (image-minor-mode):
4863         * iswitchb.el (iswitchb-mode):
4864         * jka-cmpr-hook.el (auto-compression-mode):
4865         * linum.el (linum-mode):
4866         * longlines.el (longlines-mode):
4867         * master.el (master-mode):
4868         * mb-depth.el (minibuffer-depth-indicate-mode):
4869         * menu-bar.el (menu-bar-mode):
4870         * minibuf-eldef.el (minibuffer-electric-default-mode):
4871         * mouse-sel.el (mouse-sel-mode):
4872         * msb.el (msb-mode):
4873         * mwheel.el (mouse-wheel-mode):
4874         * outline.el (outline-minor-mode):
4875         * paren.el (show-paren-mode):
4876         * recentf.el (recentf-mode):
4877         * reveal.el (reveal-mode, global-reveal-mode):
4878         * rfn-eshadow.el (file-name-shadow-mode):
4879         * ruler-mode.el (ruler-mode):
4880         * savehist.el (savehist-mode):
4881         * scroll-all.el (scroll-all-mode):
4882         * scroll-bar.el (scroll-bar-mode):
4883         * server.el (server-mode):
4884         * shell.el (shell-dirtrack-mode):
4885         * simple.el (auto-fill-mode, transient-mark-mode)
4886         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4887         (line-number-mode, column-number-mode, size-indication-mode)
4888         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4889         * strokes.el (strokes-mode):
4890         * time.el (display-time-mode):
4891         * t-mouse.el (gpm-mouse-mode):
4892         * tool-bar.el (tool-bar-mode):
4893         * tooltip.el (tooltip-mode):
4894         * type-break.el (type-break-mode-line-message-mode)
4895         (type-break-query-mode):
4896         * view.el (view-mode):
4897         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4898         (global-whitespace-mode, global-whitespace-newline-mode):
4899         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4901         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4902         Fix autogenerated docstring.
4904 2011-10-19  Juri Linkov  <juri@jurta.org>
4906         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4907         by checking environment variables "DESKTOP_SESSION" and
4908         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4910 2011-10-19  Juri Linkov  <juri@jurta.org>
4912         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4913         (browse-url-chromium-program, browse-url-chromium-arguments):
4914         New defcustoms.
4915         (browse-url-default-browser): Check for `browse-url-chromium' and
4916         call `browse-url-chromium-program'.
4917         (browse-url-chromium): New command.  (Bug#9779)
4919 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4921         * facemenu.el (list-colors-duplicates): On Windows, detect more
4922         duplicates by assuming that only colors matching "^System" are
4923         special "system colors".  (Bug#9722)
4925 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4927         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4928         to distinguish the author from the committer.
4930 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4932         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4934 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4936         * international/mule.el (sgml-html-meta-auto-coding-function):
4937         Add support for detecting encoding in HTML5 specified only as
4938         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4939         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4941 2011-10-18  Glenn Morris  <rgm@gnu.org>
4943         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4945 2011-10-18  Chong Yidong  <cyd@gnu.org>
4947         * faces.el (cursor): Doc fix.
4949 2011-10-17  Chong Yidong  <cyd@gnu.org>
4951         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4953 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4955         * dirtrack.el (dirtrack): Support shell buffers with path
4956         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4958 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4960         * json.el: Bump version to 1.3 and note change in History.
4961         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4963 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4965         * comint.el (comint-insert-input, comint-send-input)
4966         (comint-get-old-input-default, comint-backward-matching-input)
4967         (comint-next-prompt): Use nil instead of `input' for field property of
4968         past user input (bug#114).
4970         * minibuffer.el (completion--replace): Inherit surrounding properties
4971         (bug#114).
4972         (minibuffer-complete-and-exit): Use it.
4974         * comint.el (comint--table-subvert): Quote the all-completions output
4975         (bug#9160).
4977 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4979         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4981         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4982         window on right of selected.  (Bug#9350) Reword other window
4983         entries and separate them from frame entries.
4985 2011-10-15  Glenn Morris  <rgm@gnu.org>
4987         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4988         Doc fixes.
4990 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4992         * net/network-stream.el (network-stream-open-starttls):
4993         Improve detection of failure due to lack of TLS support.
4995         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4996         putting the input text in front and in bold.
4998 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5000         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5002         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5003         empty buffer.
5005         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5006         unread-command-events rather than pushing yet-another event.
5008 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5010         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5011         the explanation of the possible choices.  Make the options passed
5012         to completing-read shorter.
5014 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5016         * textmodes/flyspell.el (flyspell-large-region): Make sure
5017         extended character mode is used if defined (Bug#1339).
5019 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5021         * simple.el (what-cursor-position): Fix the display of the
5022         character info for LRE, LRO, RLE, and RLO characters by appending
5023         an invisible PDF.
5025 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5027         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5028         even in case of error; add debug spec; simplify data flow.
5029         (with-timeout-handler): Remove.
5031 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5033         Fix Bug#6019, Bug#9315.
5035         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5036         complete `buffer-file-name', the local file name part could look
5037         remotely (for example on VMS).
5039         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5040         `tramp-run-real-handler'.
5041         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5042         already quoted by '"'.
5044         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5045         Let `file-name-handler-alist' be nil, the local file name part
5046         could look remotely (for example on VMS).
5048 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5050         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5051         from here...
5052         (flyspell-post-command-hook): ...to here.
5054 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5056         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5057         if not needed.
5058         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5059         using completion.  Protect against "slow" callers.
5060         Remove the "message hack".
5062 2011-10-11  Juri Linkov  <juri@jurta.org>
5064         * isearch.el (isearch-lazy-highlight-word): New variable.
5065         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5066         Use it.  (Bug#9727)
5068 2011-10-11  Glenn Morris  <rgm@gnu.org>
5070         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5071         like f90-previous-statement does.
5073 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5075         * eshell/eshell.el (eshell-command): History should be saved
5076         only in interactive use, to avoid error.
5078 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5080         * minibuffer.el (completion-file-name-table): Fix last change,
5081         i.e. ignore normal errors but not the other ones.
5083 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5085         * window.el (special-display-buffer-names)
5086         (special-display-regexps): Remove some remnants of earlier
5087         changes from doc-strings.
5088         (quit-windows-on): New function.
5090         * vc/vc.el (vc-revert, vc-rollback):
5091         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5092         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5093         (Bug#6183) (Bug#7074) (Bug#7447)
5095 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5097         * window.el (frame-auto-hide-function): Add version tag.
5098         (Bug#9699)
5100 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5102         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5103         condition.
5105 2011-10-09  Leo Liu  <sdl.web@gmail.com>
5107         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5108         (Bug#9701)
5110 2011-10-08  Glenn Morris  <rgm@gnu.org>
5112         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5113         before the first code statement zero indent.  (Bug#9690)
5115 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
5117         * simple.el (count-words-region): Always count in the region.
5118         Report the number of lines and characters too.
5119         (count-words): New command, which counts in the buffer if the
5120         region is inactive, as count-words-region used to.
5121         (count-words--message): New function.  Handle plurals.
5122         (count-lines-region): Make it an alias for count-words-region.
5124         * bindings.el (esc-map): Replace count-lines-region with
5125         count-words-region.
5127 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
5129         * window.el (window--delete): Delete dedicated frame
5130         unconditionally when argument KILL is non-nil.  (Bug#9699)
5131         (switch-to-buffer): Fix doc-string typo.
5133 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5135         * eshell/eshell.el (eshell-command): Avoid using hooks.
5137 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
5139         * bindings.el ([M-left],[M-right]): Bind to left-word and
5140         right-word respectively.
5142 2011-10-07  Glenn Morris  <rgm@gnu.org>
5144         * cus-start.el (debug-on-quit): Fix custom type.
5146 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5148         * subr.el (define-key-after): Clarify that the function is not
5149         useful for non-menu keymaps.
5151         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5153 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5155         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5156         in current minibuffer (Fix bug with recursive minibuffers).
5158 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
5160         * progmodes/gdb-mi.el (gdb): Doc fix.
5162 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
5164         * window.el (frame-auto-hide-function): New option replacing
5165         frame-auto-delete.  Suggested by Stefan Monnier.
5166         (window--delete): Call frame-auto-hide-function instead of
5167         investigating frame-auto-delete.
5168         (window-point-1, set-window-point-1): New functions.
5169         (window-in-direction, record-window-buffer, window-state-get-1)
5170         (display-buffer-record-window): Use window-point-1 instead of
5171         window-point.
5172         (set-window-buffer-start-and-point): Use set-window-point-1.
5174 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5176         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5178 2011-10-05  Glenn Morris  <rgm@gnu.org>
5180         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5181         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
5183 2011-10-05  Leo Liu  <sdl.web@gmail.com>
5185         * subr.el (read-char-choice): Fix argument to buffer-live-p which
5186         works with buffer object.
5188 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * mpc.el (mpc-tool-bar-map): Add labels.
5192 2011-10-04  Glenn Morris  <rgm@gnu.org>
5194         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5196 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
5198         * window.el (window--delete): New function.
5199         (frame-auto-delete): Resuscitate option.
5200         (bury-buffer, replace-buffer-in-windows)
5201         (quit-window): Rewrite using window--delete.
5202         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5203         Pass display-buffer-mark-dedicated to window--display-buffer-2
5204         (Bug#9639).
5206 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5208         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5209         returns a list (bug#9554).  Add remote file name completion.
5210         * comint.el (comint--table-subvert): Curry and get quote&unquote
5211         functions as arguments.
5212         (comint--complete-file-name-data): Adjust call accordingly.
5213         * pcomplete.el (pcomplete--table-subvert): Remove.
5214         (pcomplete-completions-at-point): Use comint--table-subvert instead.
5216         * minibuffer.el (completion-table-case-fold): Use currying.
5217         (completion--styles-type, completion--cycling-threshold-type):
5218         New constants.
5219         (completion-styles, completion-category-overrides)
5220         (completion-cycle-threshold): Use them.
5221         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5222         completion-table-case-fold.
5224 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
5226         * minibuffer.el (completion-category-overrides): Fix type of styles
5227         and add more user friendly tags (bug#9660).
5229 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5231         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5232         (mule-input-method-string): New widget.
5233         (default-input-method, language-info-custom-alist): Use it.
5235 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * pcomplete.el: Require comint.
5238         (pcomplete--common-suffix): Remove.
5239         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5240         (pcomplete--table-subvert): Sync with comint--table-subvert.
5241         (pcomplete--entries): Use comint-completion-file-name-table.
5242         * comint.el (comint-unquote-filename): Simplify.
5243         (comint-completion-file-name-table): New function (bug#9616).
5244         (comint--complete-file-name-data): Use it.
5246         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5247         (pcmpl-gnu-tar-buffer): Remove.
5248         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5249         around.  Make sure pcomplete-suffix-list is only changed temporarily.
5250         Don't look inside the tar's file if it's too large.
5252 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
5254         * cus-edit.el (custom-mode-map):
5255         * epa.el (epa-key-list-mode-map):
5256         * man.el (Man-mode-map):
5257         * startup.el (splash-screen-keymap):
5258         * simple.el (special-mode-map): Use scroll-up-command and
5259         scroll-down-command.
5261         * progmodes/idlw-help.el (idlwave-help-mode-map):
5262         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5263         * net/newst-plainview.el (newsticker-mode-map):
5264         * emulation/ws-mode.el (wordstar-mode-map):
5265         * emulation/vi.el (vi-com-map):
5266         * calc/calc-graph.el (calc-graph-show-dumb):
5267         * term/sun.el (terminal-init-sun):
5268         * term/ns-win.el (global-map):
5269         * progmodes/grep.el (grep-mode-map):
5270         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5271         * mail/rmail.el (rmail-mode-map):
5272         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5274         * custom.el (custom-safe-themes, load-theme): Treat value of t for
5275         custom-safe-themes as special.
5277 2011-10-01  Julien Danjou  <julien@danjou.info>
5279         * notifications.el (notifications-notify): Fix docstring.
5281 2011-10-01  Per Starbäck  <per@starback.se>
5283         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
5285 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
5287         * startup.el (command-line-1): Fix last fix by inserting
5288         initial-scratch-message into *scratch* before displaying it.
5289         (Bug#9605) and (Bug#9636)
5291 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
5293         * simple.el (line-move): If auto-hscroll-mode is disabled and the
5294         window is hscrolled, move by logical lines.  (Bug#9607)
5295         (line-move-visual): Update the doc string to the above effect.
5297 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
5299         * window.el (display-buffer-record-window): When WINDOW is the
5300         selected window use `point' instead of `window-point'.  (Bug#9626)
5302         * startup.el (command-line-1): Use insert-before-markers when
5303         inserting initial-scratch-message.  (Bug#9605)
5305         * help.el (help-window): Remove variable.
5307 2011-09-29  Glenn Morris  <rgm@gnu.org>
5309         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5311 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
5313         * descr-text.el (describe-char-categories): Accept category
5314         descriptions more than one line long.
5316 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5318         * simple.el (delete-trailing-whitespace): Fix last change.
5320         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5321         Don't confuse "y => 3" as the beginning of a `y' operation.
5323         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5324         object has more than 4 slots (bug#9613).
5326 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
5328         * subr.el (with-output-to-temp-buffer):
5329         * net/quickurl.el (quickurl, quickurl-browse-url):
5330         Fix typos in docstrings.
5332 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
5334         * minibuffer.el (completion-styles)
5335         (completion-category-overrides): Cross reference each other in doc
5336         strings.
5338 2011-09-27  Glenn Morris  <rgm@gnu.org>
5340         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5341         to split-string.  (Bug#9606)
5343 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5345         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5346         (bug#9615).
5348 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
5350         * emacs-lisp/package.el (list-packages): Fix echo area message.
5352 2011-09-27  Leo Liu  <sdl.web@gmail.com>
5354         * ido.el (ido-read-internal): Accept cons cell HIST arg.
5356 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
5358         * net/dbus.el (dbus-unregister-object): Don't release services for
5359         registered signals.  (Bug#9581)
5361 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
5363         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5364         function that picks between cfengine 2 and 3 support
5365         automatically.  Update docs accordingly.
5367 2011-09-22  Kenichi Handa  <handa@m17n.org>
5369         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5370         ZERO.
5371         (indian-itrans-v5-table-for-tamil): New variable.
5372         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5374 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
5376         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5377         that's true if the current command involved collapsing of text.
5378         It's reset to false at the beginning of the next command.
5379         (allout-post-command-business): Move the cursor to the beginning
5380         of entry if the cursor is hidden and collapsing activity just
5381         happened.
5383 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
5385         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5386         tracking (Bug#9541).
5388 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
5390         * net/newst-reader.el (newsticker-html-renderer)
5391         (newsticker-show-news): Automatically load html rendering package
5392         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
5393         because w3m-fill-column is let-bound" and the error "Symbol's value
5394         as variable is void: w3m-fill-column".
5396 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
5398         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5399         Release services only if they are defined.  (Bug#9581)
5401 2011-09-23  Richard Stallman  <rms@gnu.org>
5403         * textmodes/paragraphs.el (forward-sentence): For backwards case,
5404         distinguish start of paragraph from start of its text.
5406         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5408         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5409         (rmail-generate-viewer-buffer): Put that hook on view buffer.
5410         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5412 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
5414         * international/mule-diag.el (mule-diag): Insert a newline after
5415         each fontset description.
5417 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5419         * simple.el (delete-trailing-whitespace):
5420         Document last change; simplify.
5422 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
5424         * simple.el (delete-trailing-whitespace): Also delete
5425         extra newlines at the end of the buffer.
5427         * textmodes/picture.el: Make motion commands obey shift-select-mode.
5428         (picture-newline): Use forward-line so as to ignore fields.
5430 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5432         * subr.el (with-wrapper-hook): Fix edebug spec.
5434 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5436         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5437         (bug#4538).
5439 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
5441         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5442         Fix nasty bug using wrong cached values.
5444 2011-09-23  Alan Mackenzie  <acm@muc.de>
5446         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5448 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
5450         * window.el (pop-to-buffer): Ensure right window is selected if we
5451         chose another frame.
5453 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
5455         * simple.el (what-cursor-position): Use get-char-property-change
5456         and next-single-char-property-change, to be able to show display
5457         properties that come from overlays as well as text properties.
5459 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
5461         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5463         * cmuscheme.el (run-scheme, switch-to-scheme):
5464         * cus-edit.el (customize-group, custom-buffer-create)
5465         (customize-browse):
5466         * info.el (info):
5467         * shell.el (shell):
5468         * mail/sendmail.el (mail):
5469         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5471 2011-09-22  Richard Stallman  <rms@gnu.org>
5473         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5474         move back only to line beg, don't move back over blank lines.
5476 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
5478         * files.el (copy-directory): Set directory attributes only in case
5479         they could be retrieved from the source directory.  (Bug#9565)
5481 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
5483         * progmodes/hideshow.el (hs-looking-at-block-start-p)
5484         (hs-find-block-beginning, hs-hide-level-recursive):
5485         Ignore strings as well as comments.  (Bug#9502)
5487 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
5489         * progmodes/sql.el (sql-comint-postgres):
5490         Convert port number to a string.  (Bug#9566)
5492 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
5494         * window.el (quit-window): Undedicate window when switching to
5495         previous buffer.  Reported by Thierry Volpiatto
5496         <thierry.volpiatto@gmail.com>.
5497         (special-display-popup-frame): When popping up a new frame reset
5498         its previous buffers to nil.  Simplify code.
5500 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
5502         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5503         and process filter, as done also in `shell-command'.
5505 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
5507         * window.el (set-window-buffer-start-and-point):
5508         Call set-window-start with NOFORCE argument t.
5509         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5510         (quit-window): Reword doc-string.  Handle new format of
5511         quit-restore parameter.  Don't delete window if it has a
5512         previous buffer we can show instead of the present one.
5513         (display-buffer-record-window): Rewrite using a new format for
5514         the quit-restore window parameter
5515         (special-display-popup-frame, display-buffer-same-window)
5516         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5517         (display-buffer-pop-up-window, display-buffer-use-some-window):
5518         Adapt symbol passed to display-buffer-record-window.
5519         * help.el (help-window-setup): Handle new format of quit-restore
5520         parameter.
5522 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5524         * faces.el (face-list): Fix docstring (bug#9564).
5526         * window.el (display-buffer--action-function-custom-type):
5527         Don't include internal functions in the Custom interface.
5529 2011-09-20  Juri Linkov  <juri@jurta.org>
5531         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5532         (Info-forward-node, Info-backward-node, Info-next-preorder)
5533         (Info-last-preorder): Use it.  (Bug#9528)
5535 2011-09-20  Juri Linkov  <juri@jurta.org>
5537         * info.el (Info-last-preorder): Visit last menu item only when
5538         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5540 2011-09-20  Julien Danjou  <julien@danjou.info>
5542         * password-cache.el (password-cache-remove): Remove entries even if the
5543         value is nil, so that password with a nil value (negative caching) is
5544         possible to invalidate.
5546 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
5548         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5549         all whitespace around breakpoint.  (Bug#9553)
5550         (f90-find-breakpoint): Only break at whitespace inside a comment.
5552 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5554         * minibuffer.el (completion-file-name-table): Keep track of errors.
5555         (completion-table-with-predicate): Handle the case where pred1 is nil.
5556         * pcomplete.el (pcomplete-completions-at-point): Simplify.
5558 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5560         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5561         (debugger-return-value): Signal an error if the debugging context does
5562         not await any return value.
5564         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5565         * image-mode.el (image-toggle-display-text)
5566         (image-toggle-display-image): Stay away from evil `intangible'.
5568 2011-09-19  Leo Liu  <sdl.web@gmail.com>
5570         * replace.el (occur-revert-arguments): Make it permanent-local.
5571         (occur-mode): Don't call font-lock-defontify.
5573 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
5575         * net/ldap.el (ldap-search-internal): Don't push empty search
5576         result (Bug#9508).
5578 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5580         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5582 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
5584         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5585         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5587 2011-09-18  Juri Linkov  <juri@jurta.org>
5589         * buff-menu.el (Buffer-menu-mode-map):
5590         * dired.el (dired-mode-map):
5591         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5592         (lisp-interaction-mode-map):
5593         * emacs-lisp/package.el (package-menu-mode-map):
5594         * epa.el (epa-key-list-mode-map):
5595         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5596         (menu-bar-options-menu):
5597         * outline.el (outline-mode-menu-bar-map):
5598         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5599         * vc/vc-dir.el (vc-dir-menu-map):
5600         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5601         Capitalize non-function content words in menu item strings.
5603         * dired.el (dired-mode-map): Add menu item for
5604         `image-dired-dired-toggle-marked-thumbs'.
5606 2011-09-18  Juri Linkov  <juri@jurta.org>
5608         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5609         to `isearch-case-fold-search' and restore its original value
5610         after the `isearch-mode' call.
5612 2011-09-18  Juri Linkov  <juri@jurta.org>
5614         * progmodes/grep.el (grep-process-setup): Don't check code for 1
5615         because `zgrep' returns 1 for successful matches (bug#9226).
5617 2011-09-18  Juri Linkov  <juri@jurta.org>
5619         * info.el (Info-extract-menu-node-name): Check the second match
5620         for empty string (second test-case of bug#9528).
5621         (Info-last-preorder): Let-bind `Info-history' to nil to not add
5622         intermediate nodes to the history (first test-case of bug#9528).
5624 2011-09-18  Juri Linkov  <juri@jurta.org>
5626         * info.el (Info-mode-syntax-table): New variable.
5627         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5629 2011-09-18  Juri Linkov  <juri@jurta.org>
5631         * info.el (Info-file-supports-index-cookies):
5632         Increment line-beginning-position's arg from 3 to 4 because makeinfo
5633         outputs one more line for long file names (bug#4142).
5635 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5637         * newcomment.el (comment-normalize-vars): If prompting for
5638         comment-start, set comment-start-skip too (Bug#8424).
5640 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
5642         * icomplete.el: Fix previous fix of Bug#5849.
5643         (icomplete-mode): Don't set completion-show-inline-help.
5644         (icomplete-minibuffer-setup): Set completion-show-inline-help
5645         locally during icompletion.
5647 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5649         * woman.el (woman2-process-escapes): Don't delete unrecognized
5650         escapes (Bug#7843).
5652         * files.el (inhibit-first-line-modes-regexps): Add image files.
5653         (hack-local-variables-prop-line): Return nil for malformed
5654         prop-lines (Bug#9044).
5656 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
5658         * net/tramp.el (top): Don't require 'shell.
5659         (tramp-methods): Fix docstring.
5660         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5661         Return complete remote file name.  Handle "smb" case.
5662         Use `tramp-tmpdir', if defined for the respective method.
5663         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5665         * net/tramp-compat.el (top): Require 'shell.
5667         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5668         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5669         `tramp-current-host'.
5670         (tramp-get-remote-tmpdir): Remove.
5672         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5673         `tramp-tmpdir' entries.
5674         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5675         (tramp-smb-handle-file-attributes): Ignore errors.
5676         (tramp-smb-wait-for-output): Check also for process end.
5678 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5680         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5681         when sending QUIT (bug#9312).
5683 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
5685         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5686         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5687         occur-mode-display-occurrence.
5688         (occur-edit-mode): Add usage message.
5689         (occur-cease-edit): New command.
5690         (occur-after-change-function): Use text properties to find the
5691         position of the prefix text.
5692         (occur-engine): Set stickiness of prefix text properties.
5694 2011-09-17  Glenn Morris  <rgm@gnu.org>
5696         * progmodes/etags.el (complete-tag):
5697         Fix call to completion-in-region.  (Bug#9526)
5699 2011-09-17  Juri Linkov  <juri@jurta.org>
5701         * textmodes/ispell.el (ispell-word): Add to the error message
5702         the word, ispell program name and current dictionary (bug#9121).
5703         (ispell-tex-arg-end): Capitalize "error" in the error message.
5705 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5707         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5708         check.  (Bug#4251)
5710 2011-09-17  Juri Linkov  <juri@jurta.org>
5712         * window.el (window-safe-min-height, window-safe-min-width):
5713         Fix typos (followup to bug#9522).
5715 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5717         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5719 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5721         * simple.el (line-move): If goal-column is set, move by logical
5722         lines, not by display lines.  (Bug#971)
5723         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5724         to reflect the above change.
5726 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5728         * image.el (imagemagick-register-types): Use regexp-opt.
5730 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5732         * window.el (display-buffer-base-action): Rename from
5733         display-buffer-default-action.  Make default value empty.
5734         (display-buffer-overriding-action): Convert to defvar.
5735         (display-buffer-fallback-action): New var.
5737 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5739         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5740         declaration.
5741         (package--add-to-archive-contents): If there is a duplicate entry
5742         with an older version, remove it.
5743         (package-menu-mark-delete, package-menu-mark-install)
5744         (package-menu-mark-unmark): Make unused args optional.
5745         (package-menu-mark-obsolete-for-deletion):
5746         Use package-menu-get-status instead of a regexp search.
5747         (package-menu-get-status): Use tabulated-list-entry.
5748         (package-menu-mark-upgrades): New command.
5749         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5750         (package-menu-execute): Do installation before deletion.
5751         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5752         instead of checking major-mode.
5753         (package-menu--find-upgrades): New function.
5755 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5757         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5758         passwords in the log buffer.
5759         (smtpmail-process-filter): Update the process marker so that the
5760         "broken by peer" status message is inserted in the right place.
5762 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5765         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5766         bibtex-completion-at-point-function.
5767         (bibtex-completion-at-point-function): Use them.
5769         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5771         * mpc.el (mpc-constraints-tag-lookup): New function.
5772         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5773         also to browser "album|playlist".
5775 2011-09-14  Juri Linkov  <juri@jurta.org>
5777         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
5778         (isearch-edit-string): Use length of `isearch-string' when
5779         `isearch-fail-pos' returns nil.
5780         (isearch-message): Remove duplicate code and call
5781         `isearch-fail-pos' with arg `t'.
5783 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5785         * replace.el (occur-mode-goto-occurrence): Don't force using other
5786         window (Bug#9499).
5788         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5790 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5792         * window.el (display-buffer-window): Remove.
5793         (display-buffer-record-window): Use help-setup window parameter
5794         instead of variable display-buffer-window.
5795         (display-buffer-function, special-display-buffer-names)
5796         (special-display-function): Mention help-setup parameter instead
5797         of display-buffer-window in doc-string.
5798         * help.el (help-window-setup): New argument help-window.
5799         Use help-window-setup parameter instead of display-buffer-window.
5800         Reword some messages.
5801         (with-help-window): Pass window used for displaying the buffer
5802         to help-window-setup.  Don't set display-buffer-window.
5804 2011-09-13  Glenn Morris  <rgm@gnu.org>
5806         * emacs-lisp/debug.el (debugger-make-xrefs):
5807         Preserve point.  (Bug#9462)
5809 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5811         * window.el (window-deletable-p): Use next-frame.
5813 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5815         * window.el (window-auto-delete): Remove.
5816         (window-deletable-p): Remove argument FORCE.  Don't deal with
5817         dedication and previous buffers.
5818         (switch-to-prev-buffer): Don't delete window.
5819         (delete-windows-on): Delete a window's frame if and only if the
5820         window is dedicated.
5821         (replace-buffer-in-windows): Delete buffer's window or frame if
5822         and only if window is dedicated.
5823         (quit-window): Handle quit-restore as before last change.
5824         (bury-buffer): Delete window only if window-deletable-p returns t.
5826 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5828         * window.el (window-deletable-p): Never delete the last frame on a
5829         given terminal.
5831 2011-09-13  Glenn Morris  <rgm@gnu.org>
5833         * help.el (describe-key-briefly): Copy previous standard-output change.
5835 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5837         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5839 2011-09-13  Glenn Morris  <rgm@gnu.org>
5841         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5842         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5844 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5846         * dired-aux.el (dired-mark-read-string): Don't return default
5847         value on empty input (Bug#9361).
5848         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5849         Omit initial minibuffer contents.
5850         (dired-do-chmod): Signal an error on empty input.
5851         (dired-mark-read-string): Don't return default on empty input.
5853         * files.el (file-modes-symbolic-to-number): Doc fix.
5855 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5857         * international/mule-cmds.el (ucs-completions): Remove.
5858         (read-char-by-name): Use complete-with-action instead; add metadata.
5860 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5862         * window.el (display-buffer--action-function-custom-type)
5863         (display-buffer--action-custom-type): New vars.
5864         (display-buffer-alist, display-buffer-default-action)
5865         (display-buffer-overriding-action): Add defcustom types.
5867         * frame.el (delete-other-frames): Doc fix (Bug#276).
5869 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5871         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5873 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5875         Change modes that used same-window-* vars to use switch-to-buffer.
5877         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5878         Use switch-to-buffer.
5880         * cus-edit.el (customize-group, custom-buffer-create)
5881         (customize-browse, custom-buffer-create-other-window):
5882         Use switch-to-buffer or switch-to-buffer-other-window.
5884         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5885         (Info-prev, Info-up, Info-speedbar-goto-node)
5886         (info-display-manual): Use switch-to-buffer.
5887         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5889         * mail/sendmail.el (mail): Use switch-to-buffer.
5890         (mail-recover): Use switch-to-buffer-other-window.
5892         * cmuscheme.el (run-scheme, switch-to-scheme):
5893         * ielm.el (ielm):
5894         * shell.el (shell):
5895         * net/rlogin.el (rlogin):
5896         * net/telnet.el (telnet, rsh):
5897         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5899 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5901         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5903 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5905         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5906         so don't mention it (bug#9301).
5907         (dired-sort-toggle-or-edit): Clarify string further.
5909         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5910         match `x', `w32' and `ns', like the manual says (bug#9029).
5912         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5913         (process-kill-buffer-query-function): Mention the buffer name in
5914         the query.
5916         * image-mode.el (image-next-line): The line parameter is mandatory
5917         (bug#9258).
5919         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5920         which can be useful (bug#9301).
5922         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5924         * subr.el (match-string): Mention that the current buffer should
5925         be the same as the search was done in (bug#9282).
5927         * facemenu.el: Disable the remove-* commands if the mark isn't
5928         active (bug#9162).
5930 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5932         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5933         of display-buffer.
5934         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5936         * replace.el (occur-mode-goto-occurrence)
5937         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5938         and display-buffer.
5940         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5941         display-buffer.
5943         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5944         special-display and same-window variables.
5945         (mail-other-window): Use switch-to-buffer-other-window.
5946         (mail-other-frame): USe switch-to-buffer-other-frame.
5948         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5949         Use display-buffer-other-frame.
5950         (gdb-display-gdb-buffer): Use pop-to-buffer.
5952         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5954         * progmodes/python.el: Don't set same-window-buffer-names.
5956         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5958         * window.el (display-buffer-alist): Add *Python*.
5960 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5962         * window.el (display-buffer-alist): Add entry for buffers
5963         previously handled same-window-*.
5964         (display-buffer-alist, display-buffer-default-action)
5965         (display-buffer-overriding-action): Mark as risky.
5966         (display-buffer-alist): Document action function changes.
5967         (display-buffer--same-window-action)
5968         (display-buffer--other-frame-action): New variables.
5969         (switch-to-buffer, display-buffer-other-frame): Use them.
5970         (display-buffer): Rename reuse-frame entry to reusable-frames.
5971         (display-buffer-reuse-selected-window): Function deleted.
5972         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5973         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5974         (display-buffer-special): New function.
5975         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5976         display-buffer-reuse-or-pop-window.  Split off special-display
5977         part into display-buffer-special.
5978         (display-buffer-use-some-window): Don't perform any special
5979         pop-up-frames handling.
5980         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5981         (display-buffer--maybe-same-window): Rename from
5982         display-buffer-maybe-same-window.
5984         * info.el: Don't set same-window-regexps.
5985         (info-setup): New function.
5986         (info-other-window, info): Call it.
5988         * cus-edit.el: Don't set same-window-regexps.
5989         (customize-group): New argument.
5990         (customize-group-other-window): Use it.
5991         (customize-face, customize-face-other-window): Likewise.
5992         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5994         * net/rlogin.el:
5995         * net/telnet.el:
5996         * progmodes/gud.el: Don't set same-window-regexps.
5998         * cmuscheme.el:
5999         * ielm.el:
6000         * shell.el:
6001         * mail/sendmail.el:
6002         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6004 2011-09-10  Juri Linkov  <juri@jurta.org>
6006         * isearch.el (isearch-edit-string): Remove obsolete mention of
6007         `C-w' (`isearch-yank-word-or-char') from docstring.
6008         (isearch-query-replace): Fix typo in docstring (bug#9466).
6010 2011-09-10  Juri Linkov  <juri@jurta.org>
6012         * paren.el (show-paren-function): Don't show escaped parens.
6013         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6015 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6017         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6018         (mm-default-file-encoding): Remove autoload forms, they are
6019         replaced with autoload cookies in mml.el and mm-encode.el.
6020         (mail-add-attachment): New command.
6021         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6022         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6023         the doc string.
6024         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6026 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6028         * simple.el (count-words-region): Use buffer if there's no region
6029         (bug#9429).
6031 2011-09-09  Juri Linkov  <juri@jurta.org>
6033         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6034         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6035         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6037 2011-09-09  Alan Mackenzie  <acm@muc.de>
6039         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6040         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6042 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6044         Fix for Savannah bug#9392.
6045         * simple.el (mail-encode-mml): New defvar.
6047         * mail/rmail.el (mail-encode-mml): Add a defvar.
6048         (rmail-enable-mime-composing): Default to t.
6049         (rmail-forward): Use MIME method of forwarding only if both
6050         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6051         Set mail-encode-mml non-nil if the MIME method was used.
6053         * mail/sendmail.el (mml-to-mime): Add autoload form.
6054         (mail-encode-mml): Add a defvar.
6055         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6056         to nil.
6057         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6058         message through mml-to-mime, and reset mail-encode-mml to nil.
6060 2011-09-09  Glenn Morris  <rgm@gnu.org>
6062         * woman.el (woman-if-body): When processing an .el block,
6063         do not delete the next .el block as well.  (Bug#9447)
6064         (woman-special-characters): Add oq, cq, and hy characters.
6066 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6068         * window.el (window-deletable-p): Make sure window is live before
6069         invoking window-prev-buffers.
6071 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6073         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6075 2011-09-08  Juri Linkov  <juri@jurta.org>
6077         * progmodes/compile.el (compilation-environment): Make it
6078         a defcustom (bug#8340).
6080 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6082         * window.el (frame-auto-delete): Rename to window-auto-delete.
6083         Make it control auto-deletion of windows and/or frames.
6084         (window-deletable-p): New argument FORCE.  Rewrite conditions
6085         for deleting window/frame.  (Bug#9419)
6086         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6087         Rewrite handling of case when window/frame can be deleted.
6088         (delete-windows-on): Call window-deletable-p with new FORCE
6089         argument t.  (Bug#9456)
6091 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6093         * help-mode.el (help-mode): Restore autoload.
6095 2011-09-07  Juri Linkov  <juri@jurta.org>
6097         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6098         `compilation-environment'.  Set buffer-local
6099         `compilation-environment' to `thisenv' later after (funcall mode).
6100         (Bug#8340)
6102         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6103         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6104         instead of replacing its value.  (Bug#8340)
6106 2011-09-07  Juri Linkov  <juri@jurta.org>
6108         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6109         based on text properties put by `grep-filter' instead of matching
6110         escape sequences.
6111         (grep-mode): Set buffer-local `compilation-error-screen-columns'
6112         to the value of `grep-error-screen-columns' (bug#9438).
6114 2011-09-07  Juri Linkov  <juri@jurta.org>
6116         * simple.el (next-error-highlight, next-error-highlight-no-select):
6117         Doc fix (bug#9432).
6119 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6121         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6122         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
6124 2011-09-07  Leo Liu  <sdl.web@gmail.com>
6126         * net/rcirc.el (rcirc-mode): Conditionally initialize
6127         rcirc-input-ring.
6129 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6131         * emacs-lisp/find-func.el (find-function-C-source): Only set
6132         find-function-C-source-directory after checking that we found a source
6133         file there (bug#9440).
6135 2011-09-06  Alan Mackenzie  <acm@muc.de>
6137         * isearch.el (isearch-other-meta-char): Wherever a key list is
6138         unread, "unread" the prefix arg, too.  This fixes bug #8901.
6140 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6142         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6144 2011-09-05  Juri Linkov  <juri@jurta.org>
6146         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6148 2011-09-05  Juri Linkov  <juri@jurta.org>
6150         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6151         keeping point where processing of grep matches begins, and
6152         continue to delete remaining escape sequences from the same point.
6153         (grep-filter): Make leading zero optional in "0?1;31m" because
6154         git-grep emits "\033[1;31m" escape sequences unlike expected
6155         "\033[01;31m" as GNU Grep does (bug#9408).
6156         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6158 2011-09-05  Juri Linkov  <juri@jurta.org>
6160         * subr.el (y-or-n-p): Capitalize "yes".
6162 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
6164         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
6165         `tramp-cache-unload-hook' where appropriate.
6166         (tramp-methods): Rename `tramp-remote-sh' to
6167         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
6168         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6170         * net/tramp-sh.el (top): Don't require 'shell.
6171         (tramp-methods): Add `tramp-remote-shell' and
6172         `tramp-remote-shell-args' entries.
6173         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6174         (tramp-sh-handle-shell-command): Remove.
6175         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6176         Use `tramp-remote-shell'.
6178 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
6180         * mail/sendmail.el (sendmail-query-once-function): Delete.
6181         (sendmail-query-once): Save directly to send-mail-function.
6182         Update message-send-mail-function too.
6184         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6186 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6188         * progmodes/python.el (python-mode-map): Use correct function to
6189         start python interpreter from menu-bar (as reported by Geert
6190         Kloosterman).
6191         (inferior-python-mode-map): Fix typo.
6192         (python-shell-map): Remove.
6194 2011-09-03  Deniz Dogan  <deniz@dogan.se>
6196         * net/rcirc.el (rcirc-print): Simplify code for
6197         rcirc-scroll-show-maximum-output.  There is no need to walk
6198         through all windows to find the right one.
6200 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6202         * help.el (help-return-method): Doc fix.
6204 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
6206         * window.el (window-deletable-p): Don't return a non-nil value
6207         when there's a buffer that was shown in the window before.
6208         (Bug#9419)
6209         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6210         Set window's previous buffers to nil.
6212 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
6214         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6215         newline before and after the tag line, so it doesn't interfere
6216         with determining the paragraph direction of bidirectional text.
6218 2011-09-03  Leo Liu  <sdl.web@gmail.com>
6220         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
6222 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6224         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6225         (pop-to-buffer): Change interactive spec.  Pass second argument
6226         directly to display-buffer.
6227         (display-buffer): Fix interactive spec.  Use functionp to
6228         distinguish between a function and a list of functions.
6230         * abbrev.el (edit-abbrevs):
6231         * arc-mode.el (archive-extract):
6232         * autoinsert.el (auto-insert):
6233         * bookmark.el (bookmark-bmenu-list):
6234         * files.el (find-file):
6235         * view.el (view-buffer):
6236         * progmodes/compile.el (compilation-goto-locus):
6237         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6239 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6241         * window.el (display-buffer-alist): Doc fix.
6242         (display-buffer): Add docstring.  Don't treat
6243         display-buffer-default specially.
6244         (display-buffer-reuse-selected-window)
6245         (display-buffer-same-window, display-buffer-maybe-same-window)
6246         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6247         (display-buffer-pop-up-window)
6248         (display-buffer-reuse-or-pop-window)
6249         (display-buffer-use-some-window): New functions.
6250         (display-buffer-default-action): Use them.
6251         (display-buffer-default): Delete.
6252         (pop-to-buffer-1): Fix choice of actions.
6254 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6256         * minibuffer.el (completion--insert-strings): Don't get confused by
6257         completion entries that end with an LF char.
6259 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
6261         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6263 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
6265         * window.el (display-buffer): Restore interactive spec.
6266         (display-buffer-same-window, display-buffer-other-window):
6267         New functions.
6268         (pop-to-buffer-1): New function.  Use the above.
6269         (pop-to-buffer, pop-to-buffer-same-window): Use it.
6270         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6272         * view.el (view-buffer-other-window, view-buffer-other-frame):
6273         Just use pop-to-buffer.
6275 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6277         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
6279 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
6281         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
6283 2011-08-31  Richard Stallman  <rms@gnu.org>
6285         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6286         of the separation of rmail-view-buffer from rmail-buffer.
6287         If you say no to "replace original", the decrypt is in the
6288         view buffer.  If you say yes, the decrypt goes into the
6289         rmail buffer also.
6291 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
6293         * window.el (display-buffer-window): Rewrite doc-string.
6294         (display-buffer-record-window): New function.
6295         (display-buffer-macro-specifiers)
6296         (display-buffer-even-window-sizes, display-buffer-set-height)
6297         (display-buffer-set-width, display-buffer-in-window)
6298         (display-buffer-reuse-window, display-buffer-split-specifiers)
6299         (display-buffer-side-specifiers, display-buffer-split-window-1)
6300         (display-buffer-split-window, display-buffer-split-atom-window)
6301         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6302         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6303         (display-buffer-other-window-means-other-frame)
6304         (display-buffer-normalize-special)
6305         (display-buffer-normalize-default)
6306         (display-buffer-normalize-argument)
6307         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6308         (display-buffer-normalize-specifiers, display-buffer-frame)
6309         (display-buffer-same-window, display-buffer-same-frame)
6310         (display-buffer-other-window)
6311         (display-buffer-same-frame-other-window)
6312         (display-buffer-other-frame, pop-to-buffer-same-window)
6313         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6314         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6315         (switch-to-buffer-same-frame)
6316         (switch-to-buffer-other-window-same-frame)
6317         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6318         (display-buffer-alist-set-1, display-buffer-alist-set-2)
6319         (display-buffer-alist-set): Remove.
6320         (display-buffer-function, special-display-buffer-names)
6321         (special-display-regexps, special-display-function):
6322         In doc-string refer to display-buffer-window and quit-restore
6323         parameter.
6324         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6325         (special-display-frame-alist, special-display-popup-frame)
6326         (same-window-buffer-names, same-window-regexps, same-window-p)
6327         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6328         (split-window-preferred-function, split-height-threshold)
6329         (split-width-threshold, window-splittable-p)
6330         (split-window-sensibly, window--try-to-split-window)
6331         (window--frame-usable-p, even-window-heights)
6332         (window--even-window-heights, window--display-buffer-1)
6333         (window--display-buffer-2, display-buffer-other-frame):
6334         Restore old Emacs 23 code, order and doc-strings where applicable.
6335         (display-buffer-default, display-buffer-assq-regexp): New functions.
6336         (display-buffer-alist): Rewrite doc-string.
6337         (display-buffer-default-action)
6338         (display-buffer-overriding-action): New variables.
6339         (display-buffer, switch-to-buffer): Rewrite.
6340         (pop-to-buffer): Restore Emacs 23 behavior but use
6341         window-normalize-buffer-to-display.
6342         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6343         Restore Emacs 23 behavior but use
6344         window-normalize-buffer-to-switch-to.
6345         (pop-to-buffer-same-window): Rewrite.
6346         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6347         Rewrite using Emacs 23 options.
6349 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
6351         * net/tramp.el (tramp-root-regexp): Remove.
6352         (tramp-completion-file-name-regexp-unified)
6353         (tramp-completion-file-name-regexp-separate)
6354         (tramp-completion-file-name-regexp-url): Don't use leading volume
6355         letter on win32 systems.  (Bug#5303, Bug#9311)
6356         (tramp-drop-volume-letter): Simplify definition.
6357         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6359 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6362         (bug#9356).
6364 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
6366         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6368 2011-08-29  Juri Linkov  <juri@jurta.org>
6370         * isearch.el (isearch-done): Don't display message "Mark saved"
6371         when arg `edit' is non-nil to prevent its flicker in the echo area.
6373 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6375         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6376         obsolete packages for deletion.
6378 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
6380         * help-mode.el (help-mode-map): Add special-mode-map to parent.
6381         (help-mode): Derive help-mode from special-mode.  Don't invoke
6382         view-mode from help-mode.
6383         (help-xref-override-view-map): Remove.
6384         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6385         view-mode is not used anymore.
6387 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6389         * server.el (server-port): Doc fix.
6391         * cus-theme.el (custom-theme-choose-mode): Inherit from
6392         special-mode (Bug#9124).
6393         (custom-theme-choose-mode-map): Add special-mode to parent.
6395 2011-08-28  Alan Mackenzie  <acm@muc.de>
6397         * progmodes/cc-fonts.el
6398         (c-make-font-lock-BO-decl-search-function): New function.
6399         (c-basic-matchers-after - "Fontify the clauses after various
6400         keywords"): Extract the three keyword lists for the 3 erroneous
6401         constructs from the list of four, and use the new function above
6402         in place of an old one.
6404 2011-08-28  Deniz Dogan  <deniz@dogan.se>
6406         * net/rcirc.el (rcirc-insert-prev-input)
6407         (rcirc-insert-next-input): Remove unused argument.
6409 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6411         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6413 2011-08-27  Alan Mackenzie  <acm@muc.de>
6415         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6416         handle function pointer parameters properly.
6418 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
6420         * window.el (display-buffer-reuse-window): Fix case where
6421         selected window was reused with non-nil OTHER-WINDOW argument.
6422         (Bug#9381)
6424 2011-08-27  Deniz Dogan  <deniz@dogan.se>
6426         * net/rcirc.el (rcirc-check-auth-status): Adding support for
6427         oftc's NickServ messages.
6429 2011-08-27  Glenn Morris  <rgm@gnu.org>
6431         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
6433 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
6435         * emacs-lisp/package.el (package-install): Call package-initialize
6436         if called interactively.
6438 2011-08-26  Leo Liu  <sdl.web@gmail.com>
6440         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
6442 2011-08-25  Juri Linkov  <juri@jurta.org>
6444         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6445         `search-whitespace-regexp' (bug#9364).
6447 2011-08-25  Juri Linkov  <juri@jurta.org>
6449         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6450         `regexp-search-ring' to their global values to protect from
6451         updating by `read-from-minibuffer' (bug#9185).
6453 2011-08-25  Juri Linkov  <juri@jurta.org>
6455         * textmodes/ispell.el (ispell-command-loop): Add newline
6456         at the end of the "Use option `i'..." line.
6458 2011-08-25  Juri Linkov  <juri@jurta.org>
6460         * battery.el (display-battery-mode): If `battery-status-function'
6461         or `battery-mode-line-format' is nil, display the message and set
6462         `display-battery-mode' to nil (bug#9363).
6464 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
6466         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6467         bidi-string-mark-left-to-right; they are unnecessary now.
6469 2011-08-25  Deniz Dogan  <deniz@dogan.se>
6471         * net/quickurl.el: Documentation typo fixes.
6473 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
6475         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6477 2011-08-25  Glenn Morris  <rgm@gnu.org>
6479         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6481         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6482         (smtpmail-via-smtp): Handle nil response from smtp.
6484 2011-08-24  Juri Linkov  <juri@jurta.org>
6486         * proced.el (proced-marked): Inherit from `error' instead of
6487         `font-lock-warning-face'.
6489         * ibuffer.el (ibuffer-marked-face): Change default face from
6490         `font-lock-warning-face' to `warning'.
6491         (ibuffer-deletion-face): Change default face from
6492         `font-lock-type-face' to `error'.
6494         * battery.el (battery-update): Use the face `error' instead of
6495         `font-lock-warning-face' (bug#6117).
6497 2011-08-24  Juri Linkov  <juri@jurta.org>
6499         * faces.el (success): Change face color from "Green3" to
6500         "ForestGreen" on light background (bug#9353).
6502 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
6504         * window.el (quit-window): Rename from quit-restore-window.
6505         Use same arglist as old quit-window.
6506         (frame-auto-delete): Doc fix.
6508         * view.el (view-mode-exit): Use quit-window.
6510 2011-08-24  Juri Linkov  <juri@jurta.org>
6512         * isearch.el (isearch-ring-adjust1): Start visiting previous
6513         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6514         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6515         for empty search string (when the last search string is reused
6516         automatically) to adjust the isearch ring to the last element and
6517         prepare the correct index for further M-p commands (bug#9185).
6519 2011-08-24  Kenichi Handa  <handa@m17n.org>
6521         * international/ucs-normalize.el: If decomposition property of
6522         CHAR is the default one (i.e. a list of CHAR itself), treat it as
6523         nil.
6524         (nfd, nfkd): Likewise.
6526 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6528         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6529         from process filters aren't reliably transmitted to the surrounding
6530         accept-process-output.
6531         (mpc-proc-check): New function.
6532         (mpc-proc-sync): Use it (bug#8293)
6534 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6536         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6537         Add compatibility functions (bug#9313).
6539 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
6541         * cus-start.el (all): Add entry for bidi-paragraph-direction.
6543         * international/uni-bidi.el: Regenerate.
6545 2011-08-23  Kenichi Handa  <handa@m17n.org>
6547         * international/charprop.el:
6548         * international/uni-bidi.el:
6549         * international/uni-category.el:
6550         * international/uni-combining.el:
6551         * international/uni-comment.el:
6552         * international/uni-decimal.el:
6553         * international/uni-decomposition.el:
6554         * international/uni-digit.el:
6555         * international/uni-lowercase.el:
6556         * international/uni-mirrored.el:
6557         * international/uni-name.el:
6558         * international/uni-numeric.el:
6559         * international/uni-old-name.el:
6560         * international/uni-titlecase.el:
6561         * international/uni-uppercase.el: Regenerate.
6563 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
6565         * help.el (help-window-setup): Fix message displayed when other
6566         window is reused.  (Bug#9341)
6568 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6570         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6571         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6573         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6574         Mark obsolete.
6575         * shell.el (shell-parse-pcomplete-arguments): New function.
6576         (shell-completion-vars): Use it instead (bug#9160).
6578 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6580         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6581         strings and comments (bug#9333).
6583         * emacs-lisp/debug.el (debug-arglist): New function.
6584         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
6585         (debug-on-entry-1): Handle interpreted closures (bug#9120).
6587 2011-08-22  Juri Linkov  <juri@jurta.org>
6589         * progmodes/compile.el (compilation-mode-font-lock-keywords):
6590         Revert regexp that highlights output switches to its old
6591         pre-2010-10-28 value and remove one `?' from it (bug#9319).
6593         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6594         to check for empty output (bug#9226).
6596 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
6598         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6599         symbol-constituent as the default, as that stops font-lock from
6600         working properly (Bug#8843).
6602 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6604         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6605         `coding-system-for-*' around the process open call to avoid
6606         auth-source side effects.
6607         (smtpmail-try-auth-methods): Expand the secret password.
6608         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6609         probe hangs.
6611 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6613         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6615         * emacs-lisp/find-func.el (find-function-noselect): New arg
6616         lisp-only.
6618         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6619         signal an error for built-in functions (Bug#6664).
6621 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6623         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6624         (smtpmail-try-auth-methods): Use it.
6626 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6628         * font-lock.el (font-lock-fontify-region)
6629         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6630         (font-lock-default-unfontify-buffer)
6631         (font-lock-default-fontify-region)
6632         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6634         * progmodes/compile.el (compilation-error-properties):
6635         Fix confusion between file struct and message struct (Bug#9319).
6636         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6637         `ant' regexp.
6639         * net/browse-url.el (browse-url-firefox): Don't call
6640         browse-url-firefox-sentinel unless using -remote (Bug#9328).
6642 2011-08-20  Glenn Morris  <rgm@gnu.org>
6644         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6646         * tutorial.el (tutorial--default-keys): Update some default bindings.
6648         * files.el (hack-local-variables): Fully ignore case for "mode:".
6650 2011-08-20  Alan Mackenzie  <acm@muc.de>
6652         Resolve invalid use of a regexp in regexp-opt.
6654         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6655         detection for a java annotation.
6657         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6658         detection for a java annotation.
6660         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6661         handling for java.
6662         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6664 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
6666         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6667         (Bug#9274).
6669 2011-08-20  Alan Mackenzie  <acm@muc.de>
6671         Fontify CPP expressions correctly when starting in the middle of
6672         such a construct.  Mainly for when jit-lock etc. starts a chunk
6673         here.
6675         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6676         variable.
6677         (c-make-font-lock-search-form): New function, extracted from
6678         c-make-font-lock-search-function.
6679         (c-make-font-lock-search-function): Use the above function.
6680         (c-make-font-lock-context-search-function): New function.
6681         (c-cpp-matchers): Enhance the preprocessor expression case with
6682         the above function
6683         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6684         which takes an expression.
6686         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6688 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
6690         * window.el (display-buffer-reuse-window)
6691         (display-buffer-pop-up-window): Don't reuse or split a side
6692         window.
6694 2011-08-19  Glenn Morris  <rgm@gnu.org>
6696         * files.el (hack-local-variables-prop-line, hack-local-variables):
6697         Downcase "Mode:".  (Bug#9331)
6699 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
6701         * international/characters.el: Add L and R categories.
6703         * subr.el (bidi-string-mark-left-to-right): Rename from
6704         string-mark-left-to-right.  Use category search.
6706         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6708 2011-08-18  Juri Linkov  <juri@jurta.org>
6710         * faces.el (error, warning, success): New faces with definitions
6711         copied from old default values of `font-lock-warning-face',
6712         `compilation-warning', `compilation-info' (bug#6117).
6714         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6716         * progmodes/compile.el (compilation-error): Inherit from `error'.
6717         (compilation-warning): Inherit from `warning'.
6718         (compilation-info): Inherit from `success'.
6720         * dired.el (dired-marked): Inherit from `warning'.
6721         (dired-flagged): Inherit from `error'.
6723 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6725         * mail/smtpmail.el (auth-source): Require to avoid problems with
6726         binding variables (bug#9298).  Also clean up some unused
6727         autoloads.
6729         * net/network-stream.el (network-stream-open-starttls):
6730         Support using starttls.el without using gnutls-cli.
6732 2011-08-17  Juri Linkov  <juri@jurta.org>
6734         * progmodes/grep.el (rgrep): Handle the case when
6735         `grep-find-command' is a cons cell (bug#9278).
6737 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6739         * window.el (display-buffer-pop-up-frame): Run frame creation
6740         function with BUFFER current (as special-display-popup-frame
6741         does).  Reported by Drew Adams.
6743 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6745         * epa-mail.el: Simplify GnuPG group expansion using
6746         epg-expand-group.
6747         (epa-mail-group-alist, epa-mail-group-modtime)
6748         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6749         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6750         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6751         Remove.
6753 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6755         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6757 2011-08-16  Alan Mackenzie  <acm@muc.de>
6759         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6760         Correct, to avoid the inside of macros.
6762 2011-08-16  Richard Stallman  <rms@gnu.org>
6764         * epa-mail.el: Handle GnuPG group definitions.
6765         (epa-mail-group-alist, epa-mail-group-modtime)
6766         (epa-mail-gnupg-conf-file): New variables.
6767         (epa-mail-parse-groups, epa-mail-sync-groups)
6768         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6769         (epa-mail-expand-recipients): New functions.
6770         (epa-mail-encrypt): Call epa-mail-expand-recipients.
6772         * mail/rmail.el (rmail-epa-decrypt): New command.
6774         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6775         Don't bind buffer-read-only, just inhibit-read-only.
6776         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6777         (epa-decrypt-armor-in-region): Make error message clearer.
6779 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6781         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6782         and "a2b" to "ab" for `prefix'.
6784 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6786         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6787         filter groups.
6788         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6789         Fourquet (Bug#8804).
6791 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6793         * startup.el (argi): Declare as global variable (bug#9275).
6795 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6797         * subr.el (string-mark-left-to-right): Search the entire string
6798         for RTL script, not just the terminating character.  Doc fix.
6800 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6802         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6803         New function.
6804         (js--regexp-literal, js-syntax-propertize-function): Remove.
6805         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6806         (js-mode-map): Don't rebind electric keys.
6807         (js-insert-and-indent): Remove.
6808         (js-mode): Setup electric-layout and electric-indent instead.
6810         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6812 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6814         * epa.el (epa-progress-callback-function): Fix the logic of
6815         displaying progress.
6816         * epa-file.el (epa-file-insert-file-contents): Make progress
6817         display more user-friendly.
6818         (epa-file-write-region): Ditto.
6820 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6822         * subr.el (string-mark-left-to-right): New function.
6824         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6825         Use string-mark-left-to-right.
6826         (list-buffers-noselect): Caller changed.
6828         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6829         Use string-mark-left-to-right.
6830         (tabulated-list-print): Recenter after moving point.
6832 2011-08-10  Juri Linkov  <juri@jurta.org>
6834         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6835         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6836         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6838 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6840         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6841         (Bug#7554).
6843 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6845         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6846         character.  (Bug#6594)
6848 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6850         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6851         (image-dired--with-db-file): New macro.
6852         (image-dired-write-tags, image-dired-remove-tag)
6853         (image-dired-create-gallery-lists, image-dired-write-comments)
6854         (image-dired-get-comment, image-dired-mark-tagged-files)
6855         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6856         (image-dired-gallery-generate): Use insert-file-contents.
6858         * time.el (display-time-world-list, display-time-world-display):
6859         * time-stamp.el (time-stamp-string):
6860         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6861         set-time-zone-rule (Bug#7337).
6863 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6865         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6866         (epg-error-to-string, epg-errors-to-string): New function.
6867         (epg-wait-for-completion): Reverse errors list.
6868         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6869         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6870         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6871         (epg-sign-keys, epg-generate-key-from-file)
6872         (epg-generate-key-from-string): Format errors by using
6873         epg-errors-to-string (bug#9255).
6874         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6876 2011-08-07  Juri Linkov  <juri@jurta.org>
6878         * faces.el (list-faces-display): Remove extra angle bracket
6879         from `help-mode-map'.
6881         * info.el (Info-history-toc-nodes): Doc fix.
6883         * longlines.el (longlines-mode): Doc fix.
6885 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6887         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6888         of statements and in a few more cases (bug#9183).
6890         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6891         New functions.
6892         (cl-transform-lambda): Use them (bug#9239).
6894 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6896         * window.el (display-buffer-same-window)
6897         (display-buffer-same-frame, display-buffer-other-window)
6898         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6899         (pop-to-buffer-other-window)
6900         (pop-to-buffer-same-frame-other-window)
6901         (pop-to-buffer-other-frame): Make them defuns.
6902         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6904 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6906         * subr.el (make-composed-keymap): Move from C.  Change calling
6907         convention, and improve docstring to bring attention to a subtle point.
6908         * minibuffer.el (completing-read-default): Adjust accordingly.
6910 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6912         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6913         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6915         * net/trampver.el: Update release number.
6917 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6919         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6920         "in" (bug#9190).
6922 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6924         * mail/sendmail.el (sendmail-query-once): Restore the current
6925         buffer after querying (bug#9074).
6927         * dired.el (dired-flagged): Use different faces for marked and
6928         flagged files (bug#6117).
6930         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6931         (bug#4433).
6933         * ido.el (ido-mode): Switch off the message if called
6934         non-interactively.
6936         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6937         before 587, since it appears that that's more likely to work for
6938         more people.
6940         * cus-edit.el (custom-file): When running under emacs -q, always
6941         refuse to save the customizations, even if the .emacs file doesn't
6942         exist.
6944         * info.el: Remove the `Info-beginning-of-buffer' function
6945         (bug#8325).
6947         * net/network-stream.el (network-stream-open-starttls):
6948         Use `starttls-available-p' to see whether starttls.el can be used.
6950 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6952         * window.el (display-buffer-in-window): Don't set dedicated status
6953         of window here (Bug#9215).
6954         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6955         (display-buffer-pop-up-side-window)
6956         (display-buffer-in-side-window): Set dedicated status of window here.
6958 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6960         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6961         before binding generated-autoload-file.
6963 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6965         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6967 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6969         Sync with Tramp 2.2.2.
6971         * net/trampver.el: Update release number.
6973 2011-07-30  Juri Linkov  <juri@jurta.org>
6975         * dired-aux.el (dired-touch-initial): Remove function.
6976         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6977         current time, and `default' to the last modification time of the
6978         current marked file (bug#6887).
6980 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6982         * simple.el (goto-line): Use string-to-number to provide a
6983         numeric argument to read-number (bug#9163).
6985 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6987         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6988         connection process, it could be nil.
6990 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6992         Simplify url handling in rcirc-mode.
6994         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6995         (rcirc-browse-url-at-mouse): Remove.
6996         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6998 2011-07-26  Alan Mackenzie  <acm@muc.de>
7000         Fontify bitfield declarations properly.
7002         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7003         (c-symbol-chars): Now exported as a lang variable.
7004         (c-not-primitive-type-keywords): New lang variable.
7006         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7007         QT keyword "more" to prevent "more slots: ...." being spuriously
7008         parsed as a bitfield declaration.
7010         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7011         Refactor and enhance to handle bitfield declarations.
7012         (c-punctuation-in): New function.
7013         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7014         declarations properly.
7016 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7018         * calendar/icalendar.el (icalendar--all-events): Take care of
7019         multiple vcalendars in a single file.
7020         (icalendar--convert-float-to-ical): Checkdoc fixes.
7022 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7024         * image.el (insert-image): Clarifying docstring.
7026 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7028         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7029         `tramp-send-command-and-check' if there is no error.
7030         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7032 2011-07-22  Alan Mackenzie  <acm@muc.de>
7034         Prevent cc-langs.elc being loaded at run time.
7036         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7037         cc-langs.
7039         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7040         "(require 'cc-langs)".  Quote a form so it will evaluate at
7041         (cc-mode's) compilation time.
7043 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7045         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7046         loading.  (Bug#9114)
7048 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7050         * window.el (display-buffer-pop-up-window)
7051         (display-buffer-pop-up-side-window)
7052         (display-buffer-in-side-window): Call display-buffer-set-height
7053         and display-buffer-set-width after setting the new window's
7054         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7056 2011-07-20  Sam Steingold  <sds@gnu.org>
7058         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7059         (etags-tags-included-tables): Call `convert-standard-filename' on
7060         the file names contained in TAGS so that windows Emacs can handle
7061         TAGS files created by cygwin ctags.
7063 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7065         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7066         which apparently didn't work.
7068 2011-07-19  Roland Winkler  <winkler@gnu.org>
7070         * proced.el (proced-send-signal): For *Marked Processes* buffer
7071         put point at beginning of buffer.
7073 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7075         * proced.el (proced-format): Make header lines align with the text
7076         (bug#1779).
7078 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7080         * view.el (view-buffer): Allow running in `special' modes if we're
7081         visiting a file (bug#8615).
7083 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7085         * window.el (display-buffer-alist-of-strings-p)
7086         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7087         New functions.
7088         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7089         more accurately.
7091 2011-07-18  Alan Mackenzie  <acm@muc.de>
7093         Fontify declarators properly when, e.g., a jit-lock chunk begins
7094         inside a declaration.
7096         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7098         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7099         New function.
7100         (c-complex-decl-matchers): Insert reference to
7101         c-font-lock-enclosing-decls.
7103         * progmodes/cc-engine.el (c-backward-single-comment):
7104         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7105         to nil around calls to (forward-comment -1).
7107 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7109         * image.el (put-image): Doc typo fix.
7111         * progmodes/etags.el (tags-search): Doc typo fix.
7113         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7114         password if we get errors 550 to 554.
7116 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7118         * net/gnutls.el (gnutls-log-level): Remove.
7120         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7121         indentation character (bug#6380).
7123         * files.el (buffer-offer-save): Made permanently local (bug#6241).
7125         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7126         to clarify what the problem is (bug#4291).
7128         * simple.el (current-kill): Clarify what
7129         `interprogram-paste-function' does (bug#7500).
7130         (auto-fill-mode): Document `auto-fill-function' in relation to
7131         `auto-fill-mode' (bug#2470).
7133 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
7135         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7136         method if slot is read-only (bug#9035).
7138 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
7140         * frame.el (select-frame-set-input-focus): New argument NORECORD.
7141         * window.el (pop-to-buffer): Select window used even if it was
7142         selected before, see discussion of (Bug#8615), (Bug#6954).
7143         Pass argument NORECORD on to select-frame-set-input-focus.
7145 2011-07-15  Glenn Morris  <rgm@gnu.org>
7147         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
7148         Respect help-form.
7150 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
7152         * net/gnutls.el (gnutls-min-prime-bits): New variable.
7153         (gnutls-negotiate): Use it.
7155 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7157         * net/gnutls.el (gnutls-negotiate):
7158         Upcase `gnutls-algorithm-priority'.
7160 2011-07-15  Glenn Morris  <rgm@gnu.org>
7162         * jka-compr.el (jka-compr-verbose): Move from here...
7163         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
7164         Add missing :version tag.
7165         * info.el: No need to require jka-compr when compiling.
7167 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7169         * net/gnutls.el (gnutls-algorithm-priority): New variable.
7170         (gnutls-negotiate): Use it.
7172         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7174         * info.el (Info-beginning-of-buffer): New command.
7175         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7176         announcing `b' as the key (bug#8325).
7177         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7179         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7181         * international/mule-cmds.el
7182         (describe-specified-language-support): Make the error message
7183         clearer (bug#8905).
7185         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7187         * isearch.el (isearch-barrier): Add a doc string, since it's
7188         mentioned in a function doc string (bug#8678).
7190 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
7192         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7193         buffer argument (Bug#9083) and self-identifying label argument.
7195 2011-07-15  Glenn Morris  <rgm@gnu.org>
7197         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
7199 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7201         * man.el (Man-fontify-manpage): Fix message when formatting the
7202         man page (bug#7929).
7204 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7206         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7207         argument LRM; if non-nil, append an invisible LRM character to the
7208         buffer name.
7209         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7210         last argument non-nil, when formatting buffer names.
7211         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7212         paragraph direction.
7214 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7216         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7217         the man page name (bug#7929).
7219         * image.el (put-image): Mention the `put-image' overlay property
7220         (bug#7834).
7222         * scroll-bar.el (set-scroll-bar-mode): Mention that
7223         `scroll-bar-mode' lists the values (bug#7772).
7225         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7226         command (bug#7729).
7228         * rect.el (apply-on-rectangle): Return the point after the last
7229         operation.
7230         (string-rectangle): Go to the point after the last operation
7231         (bug#7522).
7233         * printing.el (pr-toggle-region): Clarify the documentation
7234         slightly (bug#7493).
7236         * time.el (display-time-update):
7237         Allow `display-time-mail-function' to return nil (bug#7158).
7238         Fix suggested by Detlev Zundel.
7240         * vc/diff.el (diff): Clarify the order the file names are read
7241         (bug#7111).
7243         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7244         the doc string (bug#7015).
7246         * font-lock.el (font-lock-maximum-decoration): Mention what
7247         numeric levels mean (bug#6935).
7249         * startup.el (initial-buffer-choice): Don't mention the `none'
7250         selection, which is against policy.
7252 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
7254         * window.el (display-buffer-normalize-special):
7255         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7257 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7259         * subr.el (version<, version<=, version=): Mention "-CVS" and
7260         "-12345" alpha version numbers.
7262 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7264         * bindings.el: Add advertised binding for set-mark-command
7265         (Bug#5772).
7267 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7269         * bindings.el (mode-line-other-buffer):
7270         * bookmark.el (bookmark-bmenu-2-window):
7271         * bs.el (bs-cycle-next, bs-cycle-previous):
7272         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7273         switch-to-buffer.
7275         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7276         Delete.
7278 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
7280         * follow.el (follow-debug-message, follow-redisplay):
7281         * jka-cmpr-hook.el (with-auto-compression-mode):
7282         Fix typos in docstrings.
7284 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7286         * subr.el (with-silent-modifications): Clarify somewhat what the
7287         macro inhibits (bug#6525).
7289         * simple.el (eval-expression): Note what it does if called
7290         interactively (bug#6495).
7292 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7294         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7295         Use pop-to-buffer buffer-or-name if it is nil.
7297         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7298         Remove switch-to-buffer.
7300 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7302         * files.el (make-directory): Clarify that an error will be raised
7303         if there's an error (bug#6397).
7305         * startup.el (initial-buffer-choice): Add `none' as a choice
7306         (bug#6234).
7308         * subr.el (add-hook): Clarify section about buffer-local hooks
7309         (bug#6218).
7311         * dired.el (dired-flagged): Clarify doc string (bug#6117).
7313 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7315         * tabify.el (untabify): Preserve the current column so that point
7316         doesn't move (bug#6032).
7318 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7320         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7321         Rewrite to avoid awkward possessive "s" (bug#5986).
7323 2011-07-13  Glenn Morris  <rgm@gnu.org>
7325         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
7326         (dired-insert-directory): Give a message the first time
7327         if ls is found not to support --dired.
7329 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7331         * simple.el (toggle-truncate-lines): Clarify what is toggled
7332         (bug#5580).  Text by Drew Adams.
7334 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7336         * simple.el (blink-matching-open): Make the error message from the
7337         last change less verbose.
7339 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
7341         * font-lock.el (font-lock-comment-face): Use the high contrast
7342         "yellow" color for font-lock-comment-face on low color terminals
7343         using a dark background color (bug#4221).
7345 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7347         * dired.el (dired-insert-set-properties): Make the doc string
7348         reflect what it does now (bug#5325).
7350         * simple.el (blink-matching-open): Say that we were unable to find
7351         the match within the limit, if we're limited (bug#5122).
7353         * international/mule-cmds.el (prefer-coding-system): Add an
7354         example (bug#4869).
7356         * progmodes/etags.el (tags-search): Document `file-list-form'
7357         (bug#4731).
7359 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
7361         * net/browse-url.el (browse-url-default-browser)
7362         (browse-url-browser-function): Make the default browser choice a
7363         bit more logical (bug#4300).  Also clean up the doc string.
7365 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7367         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7368         binary endings (bug#4440).
7370 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7372         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7373         which can be pretty annoying (bug#8971).
7375         * jka-compr.el (jka-compr-verbose): New variable, and use
7376         throughout (bug#8971).
7378         * info.el (Info-find-file): Fall back on the installation
7379         directory if we can't find the info node anywhere else.
7381 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
7383         * vc/vc.el (vc-revert-file):
7384         Don't set file time-stamp in the past.  (Bug#5181)
7386 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7388         * files.el (after-find-file): Give a better error message when
7389         trying to find a symlink that points to a file that doesn't exist
7390         (bug#4398).
7392         * progmodes/cc-vars.el: Remove (probably) misleading comment
7393         (bug#4396).
7395 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7397         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7399 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7401         * mouse-sel.el: Hack restoring functionality, while keeping
7402         compatibility with 2010-07-03 changes to mouse selection.
7403         (mouse-sel-primary-overlay): New var.
7404         (mouse-sel-selection-alist): Use it.
7405         (mouse-sel-mode): Doc fix; remove points that are default features
7406         of mouse.el.
7408 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7410         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7411         Fix previous fix (bug#2490).
7413 2011-07-12  Roland Winkler  <winkler@gnu.org>
7415         * textmodes/bibtex.el (bibtex-initialize):
7416         Use pop-to-buffer-same-window.
7417         (bibtex-search-entries): Fix interactive call.
7419 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7421         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7422         Fontise bytecomp Error lines more correctly (bug#2490).
7423         Fix suggested by Johan Bockgård.
7425         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7427         * dired-x.el (dired-guess-default): Use `delete-dups'.
7429 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7431         * dired.el (dired-mark-prompt):
7432         * dired-aux.el (dired-read-shell-command): Doc fix.
7434 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7436         * mail/sendmail.el (sendmail-query-once):
7437         Use `customize-save-variable' unconditionally, now that it works under
7438         emacs -Q.
7440         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7442         * cus-edit.el (custom-file): Take an optional no-error variable.
7443         (customize-save-variable): Set the variable, and give a warning if
7444         running under "emacs -q".
7446 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
7448         * loadhist.el (unload-feature-special-hooks):
7449         Add `auto-coding-functions', `fill-nobreak-predicate' and
7450         `find-directory-functions' (bug#5327).
7452 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7454         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7456         * cus-edit.el (custom-guess-name-alist): -alist variables should
7457         use the `alist' type (bug#3120).  Suggested by Drew Adams.
7459         * printing.el: Add documentation to all the `pr-toggle-' commands.
7461 2011-07-11  Leo Liu  <sdl.web@gmail.com>
7463         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7464         backends where it makes sense (bug#2623).
7466 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7468         * dired-x.el (dired-guess-default): Remove duplicate shell command
7469         entries (bug#2028).
7470         (dired-guess-default): Fix grammar in doc string (bug#2028).
7471         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7473         * subr.el (remove-duplicates): New conveniency function.
7475 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7477         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7478         (bug#1526).
7480 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
7482         * window.el (display-buffer-normalize-default): Don't invert
7483         meaning of even-window-heights.  Reported by Eli Zaretskii
7484         <eliz@gnu.org>.
7486 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
7488         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7490 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
7492         * window.el (display-buffer): Fix arguments to
7493         display-buffer-reuse-window in last change.
7495         * faces.el (link): Use a less saturated blue on light backgrounds.
7497         * startup.el (fancy-startup-text, fancy-about-text)
7498         (fancy-startup-tail): Use font-lock faces, for background safety.
7500 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
7502         * emulation/viper-cmd.el (viper-change-state-to-vi):
7503         Limit triggering of abbrev expansion (Bug#9038).
7505 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
7507         * window.el (display-buffer-default-specifiers): Remove.
7508         (display-buffer-macro-specifiers): Remove default specifiers.
7509         (display-buffer-alist): Default to nil.
7510         (display-buffer-reuse-window): New optional argument other-window.
7511         (display-buffer-pop-up-window): Allow splitting internal
7512         windows.  Check whether a live window was created.
7513         (display-buffer-other-window-means-other-frame)
7514         (display-buffer-normalize-arguments): Rename to
7515         display-buffer-normalize-argument and rewrite.  Set the
7516         other-window specifier.
7517         (display-buffer-normalize-special): New function.
7518         (display-buffer-normalize-options): Rename to
7519         display-buffer-normalize-default and rewrite.
7520         (display-buffer-normalize-options-inhibit): Remove.
7521         (display-buffer-normalize-specifiers): Rewrite.
7522         (display-buffer): Process other-window specifier and call
7523         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
7524         more faithfully.
7525         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7526         (display-buffer-alist-set): Don't handle 'unset default values.
7527         (display-buffer-in-window, display-buffer-alist-set):
7528         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
7529         <tassilo@member.fsf.org>.
7531 2011-07-09  Leo Liu  <sdl.web@gmail.com>
7533         * register.el (insert-register): Restore accidental change on
7534         2011-06-26.  (Bug#9028)
7536 2011-07-09  Glenn Morris  <rgm@gnu.org>
7538         * subr.el (remq): Handle the empty list.  (Bug#9024)
7540 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
7542         * mail/sendmail.el (send-mail-function): No longer delay custom
7543         initialization.
7544         * custom.el (custom-initialize-delay): Doc fix.
7546 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7548         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7550 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
7552         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7553         human-friendly prompt.
7555 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7557         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7558         provided by a particular plugin.
7560 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7562         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7563         save customizations (with "emacs -Q"), just set the variable
7564         instead of erroring out.
7566         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7568 2011-07-08  Juri Linkov  <juri@jurta.org>
7570         * arc-mode.el (archive-zip-expunge, archive-zip-update)
7571         (archive-zip-update-case): Use 7z if found by `executable-find'.
7572         The order of searching the available programs is the same as in
7573         `archive-zip-extract' (bug#8968).
7575 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7577         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7578         (menu-bar-options-menu): Tweak descriptions.
7580 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7582         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7583         menu items into verb phrases (bug#1421).  Also refill to fit under
7584         80 columns.
7586 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7588         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7589         (Info-read-node-name): Doc fix (Bug#1084).
7591         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7592         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7593         (end-of-sexp, beginning-of-sexp)
7594         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7595         (forward-symbol, forward-same-syntax, word-at-point)
7596         (sentence-at-point): Doc fix (Bug#1144).
7598 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7600         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7601         should cover it (bug#1281).
7603         * cus-edit.el (custom-show): Mark as obsolete.
7605         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7606         negotiation fails, then possibly try again with a non-encrypted
7607         connection (bug#9017).
7609         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7610         be used.
7612 2011-07-07  Richard Stallman  <rms@gnu.org>
7614         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7615         property, and handle its changed format.
7616         Look for the correct line number.
7617         Use file's line contents (but not past first =) to find
7618         correct line in message.
7620 2011-07-07  Kenichi Handa  <handa@m17n.org>
7622         * international/characters.el (build-unicode-category-table):
7623         Delete it.
7624         (unicode-category-table): Set it by unicode-property-table-internal.
7626         * international/mule-cmds.el (char-code-property-alist): Move to
7627         to src/chartab.c.
7628         (get-char-code-property): Call unicode-property-table-internal to
7629         load a file.  Call get-unicode-property-internal where necessary.
7630         (put-char-code-property): Call unicode-property-table-internal to
7631         load a file.  Call put-unicode-property-internal where necessary.
7632         put-unicode-property-internal where necessary.
7633         (char-code-property-description):
7634         Call unicode-property-table-internal to load a file.
7636         * international/charprop.el:
7637         * international/uni-bidi.el:
7638         * international/uni-category.el:
7639         * international/uni-combining.el:
7640         * international/uni-comment.el:
7641         * international/uni-decimal.el:
7642         * international/uni-decomposition.el:
7643         * international/uni-digit.el:
7644         * international/uni-lowercase.el:
7645         * international/uni-mirrored.el:
7646         * international/uni-name.el:
7647         * international/uni-numeric.el:
7648         * international/uni-old-name.el:
7649         * international/uni-titlecase.el:
7650         * international/uni-uppercase.el: Regenerate.
7652         * loadup.el: Load international/charprop.el before
7653         international/characters.
7655 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7657         * window.el (next-buffer, previous-buffer): Signal an error if
7658         called from a minibuffer window.
7660         * bindings.el: Revert 2011-07-04 change.
7662 2011-07-06  Richard Stallman  <rms@gnu.org>
7664         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7665         (rmail-mime-insert-bulk, rmail-mime-insert-text):
7666         Treat markers like ints.
7667         (rmail-mime-entity): Doc fix.
7669 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7671         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7672         defcustom again for backwards compatibility.
7674         * simple.el (shell-command-on-region): Fill.
7676         * dired-aux.el (dired-kill-line): Add a doc string.
7678         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7679         to "\\sw\\|\\s_" (bug#358).
7681         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7682         (dired-unmark-backward): Ditto.
7683         (dired-flag-backup-files): Ditto.
7685         * dired-x.el (dired-mark-sexp): Ditto.
7687 2011-07-06  Richard Stallman  <rms@gnu.org>
7689         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7690         (rmail-mime-entity): New arg TRUNCATED.
7691         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7692         New functions.
7693         (rmail-mime-save): Warn if entity is truncated.
7694         (rmail-mime-toggle-hidden): Likewise, for showing.
7695         (rmail-mime-process-multipart): Record when an entity is truncated.
7697         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7698         if ENTITY is a string.
7700 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7702         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7703         of faces when `M-C-x'-ing their definitions (bug#8378).
7704         Also clean up the code slightly.
7706         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7707         because that makes the colors go away.
7709         * mail/sendmail.el (send-mail-function): Change the default to
7710         `sendmail-query-once'.
7711         (sendmail-query-once): Add an autoload cookie.
7713         * net/network-stream.el (network-stream-open-starttls): Try using
7714         a plain connection even if the server offered STARTTLS, and we
7715         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7716         capability.  This should make smtpmail.el work in slightly more
7717         configurations.
7719 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7721         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7722         New defun.
7723         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7725 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7727         * progmodes/sql.el: Version 3.0
7728         (sql-product-alist): Add product :completion-object,
7729         :completion-column, and :statement attributes.
7730         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7731         (sql-mode-syntax-table): Mark all punctuation.
7732         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7733         ansi keywords.
7734         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7735         (sql-mode-oracle-font-lock-keywords): Improve.
7736         (sql-oracle-show-reserved-words): New function for development.
7737         (sql-product-font-lock): Simplify for source code buffers.
7738         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7739         New functions.
7740         (sql-highlight-product): Set product specific syntax table.
7741         (sql-mode-map): Add statement movement functions.
7742         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7743         New variable.
7744         (sql-statement-regexp, sql-beginning-of-statement)
7745         (sql-end-of-statement, sql-signum): New functions.
7746         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7747         (sql-show-sqli-buffer): Bug fix.
7748         (sql-interactive-mode): Store connection data as buffer local.
7749         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7750         with sql-interactive-mode.
7751         (sql-save-connection): Save buffer local settings.
7752         (sql-connection-menu-filter): Change menu entry name.
7753         (sql-product-interactive): Bug fix.
7754         (sql-preoutput-hold): New variable.
7755         (sql-interactive-remove-continuation-prompt): Bug fixes.
7756         (sql-debug-redirect): New variable.
7757         (sql-str-literal): New function.
7758         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7759         Redesign.
7760         (sql-oracle-save-settings, sql-oracle-restore-settings)
7761         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7762         (sql-completion-object, sql-completion-column)
7763         (sql-completion-sqlbuf): New variables.
7764         (sql-build-completions-1, sql-build-completions)
7765         (sql-try-completion): New functions.
7766         (sql-read-table-name): Use them.
7767         (sql-contains-names): New buffer local variable.
7768         (sql-list-all, sql-list-table): Use it.
7769         (sql-oracle-completion-types): New variable.
7770         (sql-oracle-completion-object, sql-sqlite-completion-object)
7771         (sql-postgres-completion-object): New functions.
7773 2011-07-06  Glenn Morris  <rgm@gnu.org>
7775         * window.el (pop-to-buffer): Doc fix.
7777 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
7779         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7781 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7783         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7785         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7787 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7789         * button.el (button): Inherit from link face.  Suggested by Dan
7790         Nicolaescu.
7792 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7794         * progmodes/gdb-mi.el: Fit in 80 columns.
7795         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7796         switch-to-buffer.
7798         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7799         if imenu is simply not configured (bug#8941).
7801 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7803         * allout.el (allout-post-undo-hook): New allout outline-change
7804         event hook to signal undo activity.
7805         (allout-post-command-business): Run allout-post-undo-hook if an
7806         undo just occurred.
7807         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7808         * allout-widgets.el (allout-widgets-after-undo-function):
7809         Ensure the integrity of the current item's decoration after it has been
7810         in the vicinity of an undo.
7811         (allout-widgets-mode): Include allout-widgets-after-undo-function
7812         on the new allout-post-undo-hook.
7814 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7816         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7817         Let define-derived-mode define it.
7818         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7819         cycles of abbrev-table inheritance (bug#8998).
7821 2011-07-05  Roland Winkler  <winkler@gnu.org>
7823         * textmodes/bibtex.el: Add support for biblatex.
7824         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7825         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7826         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7827         (bibtex-entry-alist, bibtex-field-alist): New variables.
7828         (bibtex-entry-field-alist): Obsolete alias for
7829         bibtex-BibTeX-entry-alist.
7830         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7831         (bibtex-set-dialect): New command.
7832         (bibtex-entry-type, bibtex-entry-head)
7833         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7834         Bind via bibtex-set-dialect.
7835         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7836         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7837         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7838         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7839         Define via bibtex-set-dialect.
7840         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7841         Obey bibtex-no-opt-remove-re.
7842         (bibtex-vec-push, bibtex-vec-incr): New functions.
7843         (bibtex-format-entry, bibtex-field-list)
7844         (bibtex-print-help-message, bibtex-validate)
7845         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7847 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * progmodes/compile.el (compilation-goto-locus):
7850         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7851         * bs.el (bs-cycle-next, bs-cycle-previous):
7852         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7853         * bindings.el (mode-line-other-buffer):
7854         * autoinsert.el (auto-insert):
7855         * arc-mode.el (archive-extract):
7856         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7858 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7860         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7861         Fix check of `emacs-lock-unlockable-modes'.
7862         Coerce true values of `emacs-lock--try-unlocking' to t.
7864 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7866         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7867         * emacs-lock.el: New file.
7869 2011-07-05  Julien Danjou  <julien@danjou.info>
7871         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7872         than `boundp' to check if face is set.
7874 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7876         * register.el (registerv-make):
7877         * window.el (window-min-height): Fix typos in docstrings.
7879 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7881         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7882         Update doc string.
7884 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7886         * server.el (server-execute): Catch quit and call
7887         `server-return-error' to pass the error back to emacsclient and
7888         close the connection (bug#8942).
7890 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7892         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7893         insecure exception for current topic.  Also note that auto-saves
7894         are handled differently.
7896         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7897         State variables for tracking auto-save inhibition situation.
7899         (allout-write-contents-hook-handler): Rename from
7900         'allout-write-file-hook-handler', and describe how it depends on
7901         write-contents-functions sensitivity to non-nil value to prevent
7902         file write.
7904         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7905         this in individual buffers, only in the starting buffer, so this
7906         is not the right way for us to inhibit auto-save in a buffer
7907         according to its condition.
7909         (allout-mode): Use new allout-write-contents-hook-handler, and
7910         only with write-contents-functions.  Remove auto-save provisions -
7911         they're implemented elsewhere.
7913         (allout-before-change-handler): If undo is in progress, note that
7914         for attention of allout-post-command-business.
7916         (allout-post-command-business): If the command we're following was
7917         an undo, check for change in the status of encrypted items and
7918         adjust auto-save inhibitions accordingly.
7920         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7921         according to whether there are or aren't any plain-text topics
7922         pending encryption.
7924         (allout-inhibit-auto-save-info-for-decryption):
7925         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7926         if there are plain-text topics pending encryption.
7928         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7929         buffer-saved-size and some allout state to not inhibit auto-saves
7930         if there are no longer any plain-text topics pending encryption.
7932         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7933         No longer provide for exemption of the current topic.
7935 2011-07-04  Juri Linkov  <juri@jurta.org>
7937         Add 7z operations to delete and save changed members (bug#8968).
7938         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7939         New defcustoms.
7940         (archive-7z-write-file-member): New function.
7941         (archive-7z-summarize): Fix the number of dashes in the
7942         listing output.
7944 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7947         (bug#8958).
7949 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7951         * bindings.el: Ignore next-buffer and previous-buffer in
7952         minibuffer-local-map.
7954         * font-lock.el (font-lock-builtin-face): Change light background
7955         color to dark slate blue (Bug#6693).
7957 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7959         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7961 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7963         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7964         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7965         Add switch-to-buffer.
7967 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7969         * isearch.el (isearch-search-fun-function): Clarify further the
7970         meaning of the function returned.
7972 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7974         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7976         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7977         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7978         Use it.
7979         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7980         `tramp-default-remote-path' does not exist.
7981         (tramp-send-command-and-read): New optional argument NOERROR.
7982         (tramp-open-connection-setup-interactive-shell)
7983         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7984         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7985         (tramp-process-sentinel): Flush also process' connection property.
7986         (tramp-sh-handle-start-file-process): Do not set process
7987         sentinel.  It is done now ...
7988         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7990 2011-07-04  MON KEY  <monkey@sandpframing.com>
7992         * play/animate.el (animate-string): Doc fixes and allow changing
7993         the buffer name (bug#5417).
7995 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7997         * play/animate.el (animation-buffer-name): Rename from *animate*.
7999 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8001         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8002         This is simpler and helps future-proof the code.
8003         (timer-until): Use time-subtract and float-time.
8004         (timer--time-less-p): Use time-less-p.
8006 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8008         * type-break.el (timep): Use the value of `float-time' to avoid a
8009         byte-compiler warning.
8011         * server.el (server-eval-and-print): Return any result, even nil.
8013 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8015         * type-break.el: Accept time formats that the builtins accept.
8016         (timep, type-break-time-difference): Accept any format that
8017         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8018         This is simpler and helps future-proof the code.
8019         (type-break-time-difference): Round rather than ignoring
8020         subseconds components.
8022 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8024         * info.el (Info-apropos-matches): Make non-interactive, since it
8025         doesn't seem to do anything useful as a command (bug#8829).
8027 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8029         * frame.el (frame-background-mode, frame-set-background-mode):
8030         Move from faces.el.
8031         (frame-default-terminal-background): New function.
8033         * custom.el (custom-push-theme): Don't record faces in `changed'
8034         theme; this doesn't work correctly for per-frame face settings.
8035         (disable-theme): Use face-set-after-frame-default to reset faces.
8036         (custom--frame-color-default): New function.
8038 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8040         * dired.el (dired-flagging-regexp): Remove unused variable
8041         (bug#8769).
8043 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8045         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8046         `perl-Test2' extend to match possible "fail #N" rep count
8047         (bug#8377).
8049 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8051         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8052         `smtpmail-via-smtp' now returns the error instead of nil.
8054         * isearch.el (isearch-search-fun-function): Clarify the doc string
8055         (bug#8101).
8057 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8059         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8060         unnecessary spaces (bug#8987).
8062 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8064         * net/network-stream.el (open-network-stream): Use the
8065         :end-of-capability command thoughout.
8067 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8069         * net/network-stream.el (open-network-stream): Add the
8070         :end-of-capability command parameter, used by pop3.el.
8072 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8074         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8076         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8077         for list)" (bug#6475).
8079         * files.el (file-expand-wildcards): Ignore non-readable
8080         sub-directories while trying to find matches instead of signaling
8081         an error (bug#6297).
8083         * man.el (Man-reference-regexp): Allow matching possible
8084         word-wrapped references (bug#6289).
8086         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8087         for consistency with the other vc buffers (bug#6197).
8088         (vc-checkin): Ditto.
8090         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8092         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8094 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8096         * custom.el (defcustom): Clarify that :set is only used in the
8097         Customize user interface (bug#6089).
8099         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8100         associated with a file, refuse to run instead of erroring out
8101         (bug#6084).
8103         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8104         the doc string, since it appears that using `fill-column' always
8105         controls the width (bug#7845).
8107         * simple.el (shell-command-on-region): Say where the error output
8108         went if `shell-command-default-error-buffer' is set (bug#6857).
8110 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
8112         * allout.el (allout-yank-processing): Adjust cursor position for
8113         backwards-deleted space.
8115         (allout-rebullet-heading): Register changes with
8116         allout-exposure-changed-hook, so the modified topic is properly
8117         decorated.
8119 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8121         * minibuffer.el (completion-in-region): Document PREDICATE
8122         (bug#7136).
8124         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8125         of keyword/argument pairs (bug#6904).
8127         * replace.el (multi-occur):
8128         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8130 2011-07-02  Drew Adams  <drew.adams@oracle.com>
8132         * dired.el (dired-mark-if): Make the message about whether it's
8133         marking or unmarking clearer (bug#8523).
8135 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8137         * disp-table.el (display-table-print-array): New function.
8138         (describe-display-table): Use it to print the vectors more pretty
8139         (Bug#8859).
8141 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
8143         * window.el (window-state-get-1): Don't assign clone numbers.
8144         Add clone-of item to list of window parameters.
8145         (window-state-put-2): Don't process clone numbers.
8146         (display-buffer-alist): Fix doc-string.
8148 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8150         * subr.el (remq): Don't allocate if it's not needed.
8151         (keymap--menu-item-binding, keymap--menu-item-with-binding)
8152         (keymap--merge-bindings): New functions.
8153         (keymap-canonicalize): Use them to refine the canonicalization.
8154         * minibuffer.el (minibuffer-local-completion-map)
8155         (minibuffer-local-must-match-map): Move initialization from C.
8156         (minibuffer-local-filename-completion-map): Move initialization from C;
8157         don't inherit from anything here.
8158         (minibuffer-local-filename-must-match-map): Make obsolete.
8159         (completing-read-default): Use make-composed-keymap to combine
8160         minibuffer-local-filename-completion-map with either
8161         minibuffer-local-must-match-map or
8162         minibuffer-local-filename-completion-map.
8164 2011-07-01  Glenn Morris  <rgm@gnu.org>
8166         * type-break.el (type-break-time-sum): Use dolist.
8168         * textmodes/flyspell.el (flyspell-word-search-backward):
8169         Replace CL function.
8171 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8173         * mouse.el (mouse--strip-first-event): New function.
8174         (function-key-map): Use it to map fringe clicks to normal clicks
8175         by default.
8177         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8178         (vc-bzr-revision-completion-table): Add support for annotate and date.
8180         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8181         inherit from parent.
8183 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8185         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8186         (dired-show-file-type): Doc fixup (bug#8818).
8188         * dired.el (dired-mode): Fix up the doc string as suggested by
8189         Drew Adams (bug#8817).
8191         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8192         cookie, since the manual says that it should be possible to add
8193         this function to `find-file-hook' (bug#8709).
8195 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8197         * progmodes/cfengine.el: Moved all cfengine3.el functionality
8198         here.  Noted Ted Zlatanov as the maintainer.
8199         (cfengine-common-settings, cfengine-common-syntax): New functions
8200         to set up common things between `cfengine-mode' and
8201         `cfengine3-mode'.
8202         (cfengine3-mode): New mode.
8203         (cfengine3-defuns cfengine3-defuns-regex
8204         (cfengine3-class-selector-regex cfengine3-category-regex)
8205         (cfengine3-vartypes cfengine3-font-lock-keywords)
8206         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8207         (cfengine3-indent-line): Add from cfengine3.el.
8209 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
8211         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8213         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8215 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
8217         * window.el (same-window-buffer-names, same-window-regexps)
8218         (same-window-p, special-display-frame-alist)
8219         (special-display-popup-frame, special-display-function)
8220         (special-display-buffer-names, special-display-regexps)
8221         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8222         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8223         (split-window-preferred-function, split-height-threshold)
8224         (split-width-threshold, even-window-heights)
8225         (display-buffer-mark-dedicated, window-splittable-p)
8226         (split-window-sensibly, window-safely-shrinkable-p):
8227         Un-obsolete.
8228         (display-buffer): Don't spread args with function specifier
8229         because special-display-popup-frame won't like it.
8231 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
8233         Time-stamp simplifications and fixes.
8234         These improve accuracy slightly, and future-proof the code
8235         against some potential changes to current-time format.
8237         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8238         by using time-since and float-time.
8240         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8241         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
8242         + NNN microseconds".
8244         * type-break.el (type-break-time-sum): Rewrite using time-add.
8246         * play/hanoi.el (hanoi-current-time-float): Remove.
8247         All uses replaced by float-time.
8249         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8250         This yields a more-accurate answer.
8251         (rng-time-to-float): Remove; no longer needed.
8253         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8255         * calendar/timeclock.el (timeclock-seconds-to-time):
8256         Defalias to seconds-to-time, since they're the same thing.
8258         * emacs-lisp/elp.el (elp-elapsed-time):
8259         * emacs-lisp/benchmark.el (benchmark-elapse):
8260         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8262 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8264         * window.el (bury-buffer): Don't iconify the only frame.
8265         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8266         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
8268 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
8270         * eshell/em-smart.el (eshell-smart-display-navigate-list):
8271         Add mouse-yank-primary.
8273 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8275         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8277 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8279         * emacs-lisp/find-func.el (find-library--load-name): New fun.
8280         (find-library-name): Use it to find relative load names when provided
8281         absolute file name (bug#8803).
8283 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8285         * textmodes/flyspell.el (flyspell-word): Consider words that
8286         differ only in case as potential doublons (bug#5687).
8288         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8289         Remove two rather uninteresting debugging-like messages to make
8290         debbugs.el more silent.
8292         * comint.el (comint-password-prompt-regexp): Accept "Response" as
8293         a password-like phrase.
8295 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
8297         * progmodes/cc-guess.el: New file.
8299         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8301         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8302         derived from `c-basic-common-init'.
8304         * progmodes/cc-mode.el (top-level): Require cc-guess.
8305         (c-basic-common-init): Use `cc-choose-style-for-mode'.
8307 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
8309         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8311 2011-06-30  Alan Mackenzie  <acm@muc.de>
8313         * progmodes/cc-engine.el (c-guess-continued-construct):
8314         Correct the handling of template-args-cont, particularly for when font
8315         lock is disabled.  Name this case as "CASE G".
8317 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
8319         * allout.el (allout-yank-processing): Fix injection of extra space
8320         between bullet and non-whitespace character in first topic when
8321         pasting, ensuring that the actual spacing in the pasted topic
8322         following the bullet char is preserved.  This extra space was
8323         causing pasted encrypted topics to get a decrypted status even
8324         when the content was actually still encrypted.  Now the decryption
8325         status from before the paste is preserved.
8327         (allout-flag-region): Set all allout overlays so they evaporate
8328         when reduced to zero length (evanescent), to prevent overlay
8329         leakage.
8331 2011-06-30  Glenn Morris  <rgm@gnu.org>
8333         * w32-fns.el (w32-charset-info-alist): Declare.
8335         * find-dired.el (find-grep-options): Simplify.
8337         * term/ns-win.el (ns-set-resource): Declare.
8339         * ses.el (row, col): Declare dynamic variables honestly.
8341         * textmodes/reftex-parse.el (index-tags): Declare.
8343 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
8345         * cus-edit.el (customize-push-and-save): New function.
8347         * files.el (hack-local-variables-confirm): Use it.
8349         * custom.el (load-theme): New arg NO-CONFIRM.
8350         Use customize-push-and-save (Bug#8720).
8351         (custom-enabled-themes): Doc fix.
8353         * cus-theme.el (customize-create-theme)
8354         (custom-theme-merge-theme): Callers to load-theme changed.
8356 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8358         * thingatpt.el (thing-at-point-short-url-regexp): Require that
8359         short URLs have at least one dot in them (bug #7614).
8361         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8362         nil, because using a pty is apparently too slow (bug #895).
8364 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8366         * mail/sendmail.el (sendmail-query-once): New function.
8367         (sendmail-query-once-function): New variable.
8369 2011-06-29  Glenn Morris  <rgm@gnu.org>
8371         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8373         * ses.el (top-level): Require cl when compiling.
8374         (ses-set-localvars): Fix error statement.
8375         Call it at compile time to silence a storm of warnings.
8377 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
8379         * window.el (normalize-live-buffer): Rename to
8380         window-normalize-buffer.
8381         (normalize-live-frame): Rename to window-normalize-frame.
8382         (normalize-any-window): Rename to window-normalize-any-window.
8383         (normalize-live-window): Rename to window-normalize-live-window.
8384         (make-window-atom): Rename to window-make-atom.
8385         (window-resize-reset): Rename to window--resize-reset.
8386         (window-resize-reset-1): Rename to window--resize-reset-1.
8387         (resize-mini-window): Rename to window--resize-mini-window.
8388         (resize-subwindows-skip-p): Rename to
8389         window--resize-subwindows-skip-p.
8390         (resize-subwindows-normal): Rename to
8391         window--resize-subwindows-normal.
8392         (resize-subwindows): Rename to window--resize-subwindows.
8393         (resize-other-windows): Rename to window--resize-siblings.
8394         (resize-this-window): Rename to window--resize-this-window.
8395         (resize-root-window): Rename to window--resize-root-window.
8396         (resize-root-window-vertically): Rename to
8397         window--resize-root-window-vertically.
8398         (normalize-buffer-to-display): Rename to
8399         window-normalize-buffer-to-display.
8400         (normalize-buffer-to-switch-to): Rename to
8401         window-normalize-buffer-to-switch-to.
8402         Correspondingly update all callers of the functions listed
8403         above.
8404         (display-buffer-alist, display-buffer-normalize-arguments)
8405         (display-buffer-normalize-options, display-buffer)
8406         (display-buffer-alist-set): Use "function" instead of
8407         "fun-with-args".
8409 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
8411         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8412         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
8413         debbugs.gnu.org.  Mention acknowledgment email.
8415 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8417         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8418         buffer multibyteness, since it shouldn't matter.
8420 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
8422         * window.el (display-buffer-in-side-window): Handle dedicated
8423         windows as in display-buffer-reuse-window.
8424         (display-buffer-normalize-alist): Use value of override
8425         specifier.
8426         (display-buffer-normalize-specifiers): Use value of
8427         other-window-means-other-frame specifier.
8428         (display-buffer-alist): Rewrite some texts in widgets.
8429         (display-buffer): Spread arguments when calling function
8430         specified by fun-with-args.
8432 2011-06-28  Deniz Dogan  <deniz@dogan.se>
8434         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8435         Unnest `let'.
8437         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8438         selectors (Bug#5732).
8439         (css-proprietary-nmstart-re): Use `regexp-opt'.
8441 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
8443         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8444         (eshell-ls-date-format): New defcustom.
8445         (eshell-ls-file): Use it.
8447 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         * help-fns.el (describe-variable): Fix message for terminal-local vars.
8451 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
8453         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8454         (ange-ftp-make-tmp-name): New arg.
8455         (ange-ftp-file-local-copy): Use it.
8457 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
8459         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8460         no-conversion (Bug#8870).
8462 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
8464         * window.el (window-right, window-left, window-child)
8465         (window-child-count, window-last-child)
8466         (window-iso-combination-p, walk-window-tree-1)
8467         (window-atom-check-1, window-tree-1, delete-window)
8468         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8469         new naming conventions - window-vchild, window-hchild,
8470         window-next and window-prev are now called window-top-child,
8471         window-left-child, window-next-sibling and window-prev-sibling
8472         respectively.
8473         (resize-window-reset): Rename to window-resize-reset.
8474         (resize-window-reset-1): Rename to window-resize-reset-1.
8475         (resize-window): Rename to window-resize.
8476         (window-min-height, window-min-width)
8477         (resize-mini-window, resize-this-window, resize-root-window)
8478         (resize-root-window-vertically, adjust-window-trailing-edge)
8479         (enlarge-window, shrink-window, maximize-window)
8480         (minimize-window, delete-window, quit-restore-window)
8481         (split-window, balance-windows, balance-windows-area-adjust)
8482         (balance-windows-area, window-state-put-2)
8483         (display-buffer-even-window-sizes, display-buffer-set-height)
8484         (display-buffer-set-width, set-window-text-height)
8485         (fit-window-to-buffer): Rename all "resize-window" prefixed
8486         calls to use the "window-resize" prefix convention.
8487         (display-buffer-alist): Fix symbol for label specifier.
8488         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8489         corresponding specifier.
8490         Reported by Juanma Barranquero <lekktu@gmail.com>.
8492 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8494         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8495         convention.
8496         (ses-call-printer): Does not pass an empty string to formatter when the
8497         cell is empty to keep from barking printer Calc math-format-value.
8499 2011-06-27  Richard Stallman  <rms@gnu.org>
8501         * battery.el (battery-mode-line-limit): New variable.
8502         (battery-update): Handle it.
8504         * mail/rmailmm.el (rmail-mime-process-multipart):
8505         Handle truncated messages.
8507 2011-06-27  Glenn Morris  <rgm@gnu.org>
8509         * progmodes/flymake.el (flymake-err-line-patterns):
8510         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
8512 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8514         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8515         (ses--clean-!, ses--clean-_): New functions.
8516         (ses-range): Add configurability of readout order, and conversion
8517         to Calc vector.
8519         * ses.el (ses-repair-cell-reference-all): New function.
8520         (ses-cell-symbol): Set macro as safe, so that it can be used in
8521         formulas.
8523         * ses.el: Update cycle detection algorithm.
8524         (ses-localvars): Add ses--Dijkstra-attempt-nb and
8525         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8526         (ses-set-localvars): New function.
8527         (ses-make-cell): Add property-list as a cell element.
8528         (ses-cell-property-get-fun, ses-cell-property-get)
8529         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8530         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8531         New functions.
8532         (ses-cell-property-set, ses-cell-property-pop)
8533         (ses-cell-property-get-handle): New macro.
8534         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8535         New aliases, used for code readability.
8536         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8537         cycle detection.
8538         (ses-self-reference-early-detection): New defcustom.
8539         (ses-formula-references): Robustify against self-referring cells.
8540         (ses-mode): Use ses-set-localvars.
8541         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8542         before lauching the update processing.
8543         (ses-initialize-Dijkstra-attempt): New function.
8544         (ses-recalculate-cell): Update for cycle detection based on
8545         Dijkstra algorithm.
8547         * ses.el: Fix commenting and indenting convention.
8549 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8551         * bs.el (bs-cycle-next): Complete last change.
8553 2011-06-27  Drew Adams  <drew.adams@oracle.com>
8555         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8557 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8559         * net/network-stream.el (network-stream-open-starttls):
8560         Don't re-get capabilities unless we've reestablished connection.
8561         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8563         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8564         to binary to possibly avoid line encoding issues on Windows (among
8565         other things).
8567 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8569         * net/network-stream.el (open-network-stream): Return an :error
8570         saying what the problem was, if possible.
8572         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8573         server.
8575         * net/network-stream.el (network-stream-open-starttls): If we
8576         wanted to use STARTTLS, and the server offered it, but we weren't
8577         able to because we had no STARTTLS support, then close the connection.
8578         (open-network-stream): Return an :error element, if present.
8580 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8582         * hl-line.el (hl-line-sticky-flag): Doc fix.
8583         (global-hl-line-sticky-flag): New option (Bug#8323).
8584         (global-hl-line-highlight): Obey it.
8586         * vc/vc.el (vc-revert-show-diff): Default to t.
8588 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
8590         * allout-widgets.el (allout-widgets-post-command-business):
8591         Stop decorating intermediate isearch matches.  They're not being
8592         undecorated when an isearch is continued past, and isearch
8593         automatically collapses them.  This leads to "widget leaks", where
8594         decorated items accumulate in collapsed areas.  Lines with lots of
8595         hidden widgets can slow down cursor travel, substantially.
8596         Too much complicated machinery would be needed to ensure undecoration,
8597         so we're doing without this nicety.
8599         (allout-widgets-tally-string): Don't try to do a hash-table-count
8600         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
8601         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8602         *Messages* when allout-widgets-maintain-tally is t.
8604 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
8606         * window.el (display-buffer-normalize-argument): Rename to
8607         display-buffer-normalize-arguments.  Handle special meaning of
8608         LABEL argument.  Respect special-display-function when popping up
8609         a new frame.  Fix code searching for a window showing the buffer
8610         on another frame.
8611         (display-buffer-normalize-specifiers):
8612         Call display-buffer-normalize-arguments.
8613         (display-buffer-in-window): Don't undedicate the window if its
8614         buffer remains the same.
8615         Reported by Drew Adams <drew.adams@oracle.com>.
8616         (display-buffer-alist): Add choice for same-window macro
8617         specfier.
8618         (display-buffer): Mention special meaning of LABEL argument in
8619         doc-string.  Fix quoting.  Don't pop up a new frame even as
8620         fallback.
8622 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
8624         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8625         avoid deleting the current window in some cases (bug#8911).
8627 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
8629         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8630         (Bug#8934)
8632 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8634         * net/network-stream.el (network-stream-open-starttls):
8635         Use built-in TLS support if `gnutls-available-p' is true.
8636         (network-stream-open-tls): Ditto.
8638 2011-06-26  Leo Liu  <sdl.web@gmail.com>
8640         * register.el (registerv): New struct.
8641         (registerv-make): New function.
8642         (jump-to-register, describe-register-1, insert-register):
8643         Support the jump-func, print-func and insert-func slot of a registerv
8644         struct.  (Bug#8415)
8646 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8648         * vc/vc.el (vc-revert-show-diff): New defcustom.
8649         (vc-diff-internal): New arg specifying diff buffer.
8650         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
8651         reuse an existing *vc-diff* buffer (Bug#8927).
8653         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8655 2011-06-26  Glenn Morris  <rgm@gnu.org>
8657         * progmodes/f90.el (f90-critical-indent): New option.
8658         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8659         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8660         (f90-mode): Doc fix.
8661         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8662         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8663         (f90-beginning-of-block, f90-next-block, f90-indent-region)
8664         (f90-match-end): Handle block, critical.
8666 2011-06-25  Glenn Morris  <rgm@gnu.org>
8668         * calendar/diary-lib.el (diary-included-files): Doc fix.
8669         (diary-include-files): New function, extracted from
8670         diary-include-other-diary-files and diary-mark-included-diary-files.
8671         (diary-include-other-diary-files, diary-mark-included-diary-files):
8672         Just call diary-include-files.
8673         (diary-mark-entries): Reset diary-included-files on first call.
8675         * calendar/diary-lib.el (diary-mark-entries)
8676         (diary-mark-included-diary-files):
8677         Visit included diary-files in temp buffers.
8679         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8680         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8681         (f90-start-block-re, f90-imenu-generic-expression)
8682         (f90-looking-at-program-block-start, f90-no-block-limit):
8683         Add support for submodules.
8685         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8686         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8688 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
8690         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8691         buffer-file-type before setting its value, to avoid disastrous
8692         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
8694 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8696         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8698         * ses.el (ses-unload-function):
8699         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8701         * proced.el (proced-unload-function):
8702         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8704 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8706         * server.el (server-create-window-system-frame): Add parameters arg.
8707         (server-process-filter): Doc fix.  Handle frame-parameters.
8709 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8711         Fix bug#8730, bug#8781.
8713         * loadhist.el (unload--set-major-mode): New function.
8714         (unload-feature): Use it.
8716         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8717         (python-unload-function): New function.
8719 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8723 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8725         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8726         the candidates list.
8728 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8730         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8732 2011-06-23  Richard Stallman  <rms@gnu.org>
8734         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8735         (rmail-variables): Set next-error-move-function.
8736         (rmail-what-message): Take argument POS.
8737         (rmail-next-error-move): New function.
8739 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8741         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8742         messages for adjacent non-terminals.
8744 2011-06-23  Richard Stallman  <rms@gnu.org>
8746         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8747         (rmail-show-message-1): Preserve buffer modified flag.
8748         (rmail-start-mail): Don't specify use of rmail-mail-return;
8749         that's done by mail-bury now.
8750         (rmail-mail-return): Handle arg NEWBUF.
8752 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8754         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8755         SIZE is a number.
8757 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8759         * window.el (get-lru-window, get-mru-window)
8760         (get-largest-window): Never return a minibuffer window.
8761         (display-buffer-pop-up-window): Fix a bug that could lead to
8762         reusing the minibuffer window.
8763         (display-buffer): Pass original specifier argument to
8764         display-buffer-function instead of the normalized one.
8765         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8767 2011-06-22  Leo Liu  <sdl.web@gmail.com>
8769         * minibuffer.el (completing-read-function)
8770         (completing-read-default): Move from minibuf.c
8772 2011-06-22  Richard Stallman  <rms@gnu.org>
8774         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8775         to Rmail even if not started by a special Rmail command.
8777         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8778         Copy the buffer currently showing just one message.
8780 2011-06-22  Roland Winkler  <winkler@gnu.org>
8782         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8783         (bibtex-clean-entry): First delete the old key so that a
8784         customized algorithm for generating the new key does not get
8785         confused by the old key.
8786         (bibtex-url): Obey regexp of first step.
8787         (bibtex-search-entries): Do not use add-to-list with local
8788         list-var.
8790 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8792         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8793         stored a user name, then query for the password first, instead of
8794         waiting for SMTP to give an error message and the trying again.
8796 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8798         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8799         BUFFER in call-process.
8801 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8803         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8804         QUIT twice.
8805         (smtpmail-try-auth-methods): Require user name and password from
8806         auth-source.
8808 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8810         * window.el (display-buffer-default-specifiers)
8811         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8812         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8813         (split-window): Normalize SIDE argument (Bug#8916).
8815         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8816         (special-display-frame-alist, special-display-popup-frame):
8817         Remove duplicate declarations.  These are now in window.el.
8819 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8821         * mail/smtpmail.el (smtpmail-via-smtp):
8822         Set :use-starttls-if-possible so that we always use STARTTLS if the
8823         server supports it.  SMTP servers that support STARTTLS commonly
8824         require it.
8826         * net/network-stream.el (network-stream-open-starttls): Support
8827         upgrading to STARTTLS always, even if we don't have built-in support.
8828         (open-network-stream): Add the :always-query-capabilities keyword.
8830         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8831         upgrades with `open-network-stream', and rely solely on
8832         auth-source for all credentials.  Big changes throughout the file,
8833         but in particular:
8834         (smtpmail-auth-credentials): Remove.
8835         (smtpmail-starttls-credentials): Remove.
8836         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8837         MAIL FROM, too.
8839         * net/network-stream.el (network-stream-open-starttls):
8840         Provide support for client certificates both for external and built-in
8841         STARTTLS.
8842         (auth-source): Require.
8843         (open-network-stream): Document the :client-certificate keyword.
8844         (network-stream-certificate): Change cert-cert to cert and
8845         cert-key to key.
8847 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8849         * net/tramp-cache.el (top): Don't load the persistency file when
8850         "emacs -Q" has been called.
8852 2011-06-21  Tim Harper  <timcharper@gmail.com>
8854         * term/ns-win.el (ns-initialize-window-system):
8855         Set application-specific `ApplePressAndHoldEnabled' system
8856         resource to NO as it is not yet supported by the NS port.
8858 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8860         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8861         (list-dynamic-libraries): ...not here.
8863 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8865         * subr.el (sha1): Implement sha1 using secure-hash.
8867 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8869         * window.el (display-buffer-alist): In default value do not
8870         enforce searching a window on any but the selected frame.
8871         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8872         (display-buffer-select-window): Remove function.
8873         (display-buffer-in-window): When a window on another frame gets
8874         reused, do not select it any more but just raise its frame if
8875         necessary (Bug#8851) and (Bug#8856).
8876         (display-buffer-normalize-options): Handle pop-up-frames related
8877         options more faithfully.
8878         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8879         window if it is on another frame.
8880         (display-buffer-alist, display-buffer-default-specifiers):
8881         Don't make new frame unsplittable by default.
8882         (display-buffer-normalize-argument): Fix doc-string typo and use
8883         'same-frame-other-window instead of 'other-window when associating
8884         with display-buffer-macro-specifiers.
8886 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8888         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8889         New functions.
8890         (5x5-mode-map, 5x5-mode-menu): Bind them.
8891         (5x5-draw-grid): Tweak the solver's rendering.
8893 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8895         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8896         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8898 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8900         * menu-bar.el: Use function variable instead of switch-to-buffer.
8901         (menu-bar-select-buffer-function): New variable.
8902         (menu-bar-update-buffers): Use it (bug#8876).
8904 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8906         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8907         variable's status.
8909 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8911         * x-dnd.el (x-dnd-version-from-flags)
8912         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8913         and long as number (Bug#8899).
8914         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8916 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8918         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8919         (completion-try-completion, completion-all-completions): Compute the
8920         metadata argument if it's missing; make it optional (bug#8795).
8922         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8923         (widget-complete): Use new :completion-function property.
8924         (widget-completions-at-point): New function.
8925         (default): Use :completion-function instead of :complete.
8926         (widget-default-completions): Rename from widget-default-complete;
8927         Rewrite.
8928         (widget-string-complete, widget-file-complete, widget-color-complete):
8929         Remove functions.
8930         (file, symbol, function, variable, coding-system, color):
8931         * international/mule-cmds.el (default-input-method, charset)
8932         (language-info-custom-alist):
8933         * cus-edit.el (face): Use new property :completions.
8935         * progmodes/pascal.el (pascal-completions-at-point): New function.
8936         (pascal-mode): Use it.
8937         (pascal-mode-map): Use completion-at-point.
8938         (pascal-toggle-completions): Make obsolete.
8939         (pascal-complete-word, pascal-show-completions):
8940         * progmodes/octave-mod.el (octave-complete-symbol):
8941         Redefine as obsolete alias.
8942         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8943         Signal absence of completion info for old Octave,
8944         (inferior-octave-complete): Redefine as obsolete alias.
8945         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8946         (meta-completions-at-point): Rename from meta-complete-symbol and
8947         adapt it for use on completion-at-point-functions.
8948         (meta-common-mode): Use it.
8949         (meta-looking-at-backward, meta-match-buffer): Remove.
8950         (meta-complete-symbol): Redefine as obsolete alias.
8951         (meta-common-mode-map): Use completion-at-point.
8952         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8953         (makefile-mode-map): Use completion-at-point.
8954         (makefile-completions-at-point): Rename from makefile-complete and
8955         adapt it for use on completion-at-point-functions.
8956         (makefile-mode): Use it.
8957         (makefile-complete): Redefine as obsolete alias.
8959 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8961         * net/rcirc.el: Delete trailing whitespaces once and for all.
8963 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8965         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8967 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8969         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8971         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8973 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8975         * window.el (display-buffer-other-window-means-other-frame):
8976         Call display-buffer-normalize-alist.
8977         (display-buffer-normalize-specifiers-1): Rename to
8978         display-buffer-normalize-argument.  New argument other-frame.
8979         Rewrite.
8980         (display-buffer-normalize-specifiers-2): Rename to
8981         display-buffer-normalize-options.
8982         (display-buffer-normalize-alist-1): New function.
8983         (display-buffer-normalize-specifiers-3): Rename to
8984         display-buffer-normalize-alist.
8985         Call display-buffer-normalize-alist-1.
8986         (display-buffer-normalize-options-inhibit): New variable.
8987         (display-buffer-normalize-specifiers): Rewrite calling
8988         display-buffer-normalize-alist,
8989         display-buffer-normalize-argument, and
8990         display-buffer-normalize-options.  Don't call the latter if
8991         display-buffer-normalize-options-inhibit is non-nil.
8992         (frame-auto-delete): New option.
8993         (window-deletable-p): Use frame-auto-delete.
8994         (window-list-no-nils, window-state-ignored-parameters)
8995         (window-state-get-1, window-state-get, window-state-put-list)
8996         (window-state-put-1, window-state-put-2, window-state-put):
8997         New functions.
8998         (display-buffer-normalize-options): Move special-display-p group
8999         after pop-up-frame group (Bug#8851) and (Bug#8856).
9001 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9003         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9004         groups (Bug#8776).
9005         (rx-submatch-n): New function.
9006         (rx): Document it.
9008         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9009         (Bug#8768).
9011         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9013         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9015         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9016         anytime existing face settings are present (Bug#8889).
9018         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9019         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9020         Remove unused argument.
9022 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9024         * window.el (display-buffer-default-specifiers):
9025         Remove pop-up-frame.  Add pop-up-window-min-height,
9026         pop-up-window-min-width, and another reuse-window specifier
9027         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9028         (display-buffer-normalize-specifiers-2):
9029         Handle split-height-threshold and split-width-threshold also when
9030         pop-up-windows is unset.  Add a reuse-window specifier for the
9031         case popping up a new window fails.
9032         (special-display-popup-frame): Remove double quoting.
9033         (display-buffer-normalize-specifiers-1): Fix thinko.
9035 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9037         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9038         according to comint-completion-addsuffix.
9040         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9041         (pcomplete-suffix-list): Mark as obsolete.
9042         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9043         pcomplete-seen in the closure.
9044         (pcomplete-comint-setup): Setup completion-at-point as well.
9045         (pcomplete--entries): New function.
9046         (pcomplete--env-regexp): New var.
9047         (pcomplete-entries): Rewrite to work with partial-completion and
9048         without relying on pcomplete-suffix-list.
9049         (pcomplete-pare-list): Remove, unused.
9051 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9053         * window.el (display-buffer-alist): Set pop-up-window-min-height
9054         and pop-up-window-min-width in default value.  Reported by
9055         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9056         other-window-means-other-frame.
9057         (display-buffer-macro-specifiers): Comment out entry for
9058         other-window specifier.
9059         (display-buffer-other-window-means-other-frame): New function.
9060         (display-buffer-normalize-specifiers-1): New arguments
9061         buffer-name and label.  Treat other-window case specially.
9062         (display-buffer-normalize-specifiers-2): Treat other-window case
9063         specially.
9064         (display-buffer-normalize-specifiers-3): New function.
9065         (display-buffer-normalize-specifiers):
9066         Call display-buffer-normalize-specifiers-3.
9068 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9070         * window.el (same-window-p): Fix two typos introduced when
9071         adding with-no-warnings.
9072         (display-buffer-normalize-specifiers-1): Don't check
9073         pop-up-frames for 'unset initialization.
9074         (display-buffer-normalize-specifiers-2): Major rewrite using
9075         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9076         (pop-up-frames, display-buffer-reuse-frames)
9077         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9078         Suggested by David Engster <deng@randomsample.de>.
9079         (even-window-heights): Initialize to 'unset.
9080         (display-buffer-alist-set): Handle new 'unset initializations.
9081         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9082         other window case.
9084 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9086         * window.el (display-buffer-normalize-specifiers-1):
9087         Respect current value of pop-up-frames for most reasonable values of
9088         second argument of display-buffer (Bug#8865).
9089         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9090         (switch-to-buffer-other-window-same-frame)
9091         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9092         Adams (Bug#8875).
9093         (display-buffer): Don't check noninteractive when calling
9094         display-buffer-pop-up-frame.
9095         (display-buffer-pop-up-frame): Never pop up a frame in
9096         noninteractive mode (Bug#8857).
9097         (enlarge-window, shrink-window): Don't report an error when the
9098         window can't be resized as requested (Bug#8862).
9100 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9102         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9104         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9106         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9108 2011-06-15  Alan Mackenzie  <acm@muc.de>
9110         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9111         for declarators, disable knr checking to speed up for normal files.
9112         2: Refactor, replacing a sequence of nested if forms by a cond form.
9114 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9116         * net/network-stream.el (open-network-stream): Add the keyword
9117         :always-query-capabilities for the case where you want to force a
9118         `plain' network connection, but the protocol still requires the
9119         capabilitiy command (i.e., SMTP and EHLO).
9121         * subr.el (process-live-p): Rename from `process-alive-p' for
9122         consistency with other `-live-p' functions.
9124 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9126         * window.el (same-window-buffer-names, same-window-regexps)
9127         (special-display-frame-alist, special-display-popup-frame)
9128         (special-display-function, special-display-buffer-names)
9129         (special-display-regexps, pop-up-frame-alist)
9130         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9131         (pop-up-windows, split-window-preferred-function)
9132         (split-height-threshold, split-width-threshold, even-window-heights)
9133         (display-buffer-mark-dedicated): Don't encourage the use of
9134         display-buffer-alist from Elisp code.
9136 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
9138         * progmodes/python.el (python-mode): Derive from prog-mode.
9139         * progmodes/ps-mode.el (ps-mode):
9140         * progmodes/mixal-mode.el (mixal-mode):
9141         * progmodes/cfengine.el (cfengine-mode):
9142         * progmodes/ld-script.el (ld-script-mode): Likewise.
9144 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
9146         * window.el (display-buffer-alist): Trim default value to avoid
9147         popping up a new frame (Bug#8857) or reusing an arbitrary window
9148         on another frame.
9149         (display-buffer): Do not fall back on popping up a new frame in
9150         batch mode (Bug#8857).
9152 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
9154         * cus-theme.el (describe-theme-1): Use custom-theme-p.
9155         (custom-theme-summary): New function.
9156         (customize-themes): Use it.
9158 2011-06-13  Glenn Morris  <rgm@gnu.org>
9160         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9162 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
9164         * help.el (help-window): Remove variable.
9165         (help-window-point-marker, temp-buffer-max-height)
9166         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9167         (help-print-return-message): Don't set help-window.
9168         (resize-temp-buffer-window): Rewrite cod eand doc-string.
9169         (help-window-setup-finish): Remove.
9170         (help-window-display-message, help-window-setup)
9171         (with-help-window): Major rewrite based on new
9172         display-buffer-window variable.
9174         * help-mode.el (help-mode-finish): Remove help-window related
9175         code.
9177         * view.el (view-exits-all-viewing-windows): Remove reference to
9178         view-return-to-alist in doc-string.
9179         (view-return-to-alist): Make obsolete.
9180         (view-buffer): Call pop-to-buffer-same-window and remove
9181         undo-window code.
9182         (view-buffer-other-window): Call pop-to-buffer-other-window and
9183         simplify code.  Ignore second argument.
9184         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9185         simplify code.  Ignore second argument.
9186         (view-return-to-alist-update): Make obsolete.
9187         (view-mode-enter): Rename second argument to QUIT-RESTORE.
9188         Rewrite using quit-restore window parameters.
9189         (view-mode-exit): Rename second argument to EXIT-ONLY.
9190         Rewrite using quit-restore-window.
9191         (View-exit, View-exit-and-edit, View-leave, View-quit)
9192         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9193         appropriate arguments.
9194         (view-end-message): Use quit-restore window parameter.
9196         * window.el (display-buffer-function): Rewrite doc-string.
9197         (display-buffer-window, display-buffer-alist): New variables.
9198         (display-buffer-split-specifiers)
9199         (display-buffer-side-specifiers)
9200         (display-buffer-macro-specifiers): New constants.
9201         (display-buffer-even-window-sizes, display-buffer-set-height)
9202         (display-buffer-set-width, display-buffer-select-window)
9203         (display-buffer-in-window, display-buffer-reuse-window)
9204         (display-buffer-split-window-1, display-buffer-split-window)
9205         (display-buffer-split-atom-window, display-buffer-pop-up-window)
9206         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9207         (display-buffer-in-side-window, normalize-buffer-to-display)
9208         (display-buffer-normalize-specifiers-1)
9209         (display-buffer-normalize-specifiers-2)
9210         (display-buffer-normalize-specifiers, display-buffer-frame):
9211         New functions.
9212         (display-buffer): Major rewrite.
9213         (display-buffer-other-window, display-buffer-other-frame)
9214         (pop-to-buffer, switch-to-buffer-other-window)
9215         (switch-to-buffer-other-frame): Rewrite.
9216         (display-buffer-same-window, display-buffer-same-frame)
9217         (display-buffer-same-frame-other-window)
9218         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9219         (pop-to-buffer-other-window)
9220         (pop-to-buffer-same-frame-other-window)
9221         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9222         (switch-to-buffer-other-window-same-frame): New functions.
9223         (same-window-p, special-display-p): Rewrite disabling warnings.
9224         Make obsolete.
9225         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9226         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9227         Make obsolete
9228         (same-window-buffer-names, same-window-regexps)
9229         (special-display-frame-alist, special-display-popup-frame)
9230         (special-display-function, special-display-buffer-names)
9231         (special-display-regexps, pop-up-frame-alist)
9232         (pop-up-frame-function, split-window-preferred-function)
9233         (split-height-threshold, split-width-threshold)
9234         (even-window-heights): Make obsolete.
9236 2011-06-12  Glenn Morris  <rgm@gnu.org>
9238         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
9239         Misc simplifications.
9241 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
9243         * window.el (window-safely-shrinkable-p): Restore function which
9244         was inadvertently removed in change from 2011-06-11.  Declare as
9245         obsolete.
9247         * calendar/calendar.el (calendar-generate-window):
9248         Use window-iso-combined-p instead of combination of one-window-p and
9249         window-safely-shrinkable-p.
9251 2011-06-12  Glenn Morris  <rgm@gnu.org>
9253         * progmodes/fortran.el (fortran-mode-syntax-table):
9254         * progmodes/f90.el (f90-mode-syntax-table):
9255         Set % to punctuation.  (Bug#8820)
9256         (f90-find-tag-default): Remove, no longer needed.
9258 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
9260         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9262 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
9264         * image.el (image-animated-p): Return animation delay in seconds.
9265         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9266         (image-animate-timeout): Remove DELAY argument.  Don't assume
9267         every subimage has the same delay; get it from image-animated-p.
9268         (image-animate): Caller changed.
9270 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
9272         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9273         to ignored backtrace functions.
9275 2011-06-11  Glenn Morris  <rgm@gnu.org>
9277         * calendar/appt.el (appt-disp-window-function): Doc fix.
9278         (appt-check): Handle overlapping appointments.  (Bug#8337)
9280 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
9282         * window.el (window-tree-1, window-tree): New functions, moving
9283         the latter to window.el.
9284         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9285         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9286         (bw-refresh-edges): Remove.
9287         (balance-windows-1, balance-windows-2): New functions.
9288         (balance-windows): Rewrite in terms of window tree functions,
9289         balance-windows-1 and balance-windows-2.
9290         (bw-adjust-window): Remove.
9291         (balance-windows-area-adjust): New function with functionality of
9292         bw-adjust-window but using resize-window.
9293         (set-window-text-height): Rewrite doc-string.
9294         Use normalize-live-window and resize-window.
9295         (enlarge-window-horizontally, shrink-window-horizontally):
9296         Rename argument to DELTA.
9297         (window-buffer-height): New function.
9298         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9299         Rewrite using new window resize routines.
9300         (kill-buffer-and-window, mouse-autoselect-window-select):
9301         Use ignore-errors instead of condition-case.
9302         (quit-window): Call delete-frame instead of delete-windows-on
9303         for the only buffer on frame.
9305 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9307         * loadup.el (top-level): Load window before files for the sake
9308         of replace-buffer-in-windows.
9310         * files.el (read-buffer-to-switch)
9311         (switch-to-buffer-other-window)
9312         (switch-to-buffer-other-frame, display-buffer-other-frame):
9313         Move to window.el.
9315         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9316         (previous-buffer): Move to window.el.
9318         * bindings.el (unbury-buffer): Move to window.el.
9320         * window.el (delete-other-windows-vertically): Move after
9321         definition of delete-other-windows.
9322         (other-window, delete-windows-on, replace-buffer-in-windows):
9323         Move here from window.c.
9324         (record-window-buffer, unrecord-window-buffer)
9325         (set-window-buffer-start-and-point, switch-to-prev-buffer)
9326         (switch-to-next-buffer): New functions.
9327         (get-next-valid-buffer, last-buffer, next-buffer): Move here
9328         from simple.el.  Call switch-to-next-buffer.
9329         (previous-buffer): Move here from simple.el.
9330         Call switch-to-prev-buffer.
9331         (bury-buffer): Move here from buffer.c.  Switch to previous
9332         buffer when window cannot be deleted.
9333         (unbury-buffer): Move here from bindings.el.
9334         (ctl-x-map): Move binding for other-window from window.c to
9335         here.
9336         (read-buffer-to-switch, switch-to-buffer-other-window)
9337         (switch-to-buffer-other-frame): Move here from files.el.
9338         (normalize-buffer-to-switch-to): New functions.
9339         (switch-to-buffer): Move here from buffer.c.
9340         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9342 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9344         * window.el (window-min-height, window-min-width): Move here
9345         from window.c.  Add defcustoms and rewrite doc-strings.
9346         (resize-mini-window, resize-window): New functions.
9347         (adjust-window-trailing-edge, enlarge-window, shrink-window):
9348         Move here from window.c.
9349         (maximize-window, minimize-window): New functions.
9350         (delete-window, delete-other-windows, split-window): Move here
9351         from window.c.
9352         (window-split-min-size): New function.
9353         (split-window-keep-point): Mention split-window-above-each-other
9354         instead of split-window-vertically.
9355         (split-window-above-each-other, split-window-vertically):
9356         Rename split-window-vertically to split-window-above-each-other
9357         and provide defalias for old definition.
9358         (split-window-side-by-side, split-window-horizontally):
9359         Rename split-window-horizontally to split-window-side-by-side
9360         and provide defalias for the old definition.
9361         (ctl-x-map): Move bindings for delete-window,
9362         delete-other-windows and enlarge-window here from window.c.
9363         Replace bindings for split-window-vertically and
9364         split-window-horizontally by bindings for
9365         split-window-above-each-other and split-window-side-by-side.
9367         * cus-start.el (all): Remove entries for window-min-height and
9368         window-min-width.  Add entries for window-splits and
9369         window-nest.
9371 2011-06-09  Glenn Morris  <rgm@gnu.org>
9373         * calendar/appt.el (appt-mode-line): New function.
9374         (appt-check, appt-disp-window): Use it.
9376         * files.el (hack-one-local-variable-eval-safep):
9377         Allow minor-modes with explicit +/-1 arguments.
9379 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
9381         * term/xterm.el (xterm): Add defgroup.
9382         (xterm-extra-capabilities): Add defcustom to supply known xterm
9383         capabilities, skip querying them, or query them (default).
9384         (terminal-init-xterm): Use it.
9385         (terminal-init-xterm-modify-other-keys): New function to set up
9386         modifyOtherKeys support to simplify `terminal-init-xterm'.
9388 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
9390         * window.el (resize-window-reset, resize-window-reset-1)
9391         (resize-subwindows-skip-p, resize-subwindows-normal)
9392         (resize-subwindows, resize-other-windows, resize-this-window)
9393         (resize-root-window, resize-root-window-vertically)
9394         (window-deletable-p, window-or-subwindow-p)
9395         (frame-root-window-p): New functions.
9397 2011-06-09  Glenn Morris  <rgm@gnu.org>
9399         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9400         (ange-ftp-get-files): Use it.
9402 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9404         * mail/sendmail.el (mail-recover-1, mail-recover):
9405         * files.el (recover-file, recover-session):
9406         Handle dired-listing-switches not being just a single short option.
9408 2011-06-09  Glenn Morris  <rgm@gnu.org>
9410         * calendar/appt.el (appt-display-message, appt-disp-window):
9411         Handle lists of appointments.
9413 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9415         * window.el (one-window-p): Move down in code.
9416         Rewrite doc-string.
9417         (window-current-scroll-bars): Rewrite doc-string.
9418         Normalize live window argument.
9419         (walk-windows, get-window-with-predicate, count-windows):
9420         Rewrite doc-string.  Use window-list-1.
9421         (window-in-direction-2, window-in-direction, get-mru-window):
9422         New functions.
9424 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
9426         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9427         Doc fix (Bug#8713).
9429 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
9431         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9433 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
9435         * loadhist.el (unload-feature-special-hooks):
9436         Add `comint-output-filter-functions'.
9438 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
9440         * calendar/appt.el (appt-check): Move some initializations into the let.
9442 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9444         * window.el (window-height): Defalias to window-total-height.
9445         (window-width): Defalias to window-body-width.
9447 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
9449         * image-mode.el (image-toggle-animation): New command.
9450         (image-mode-map): Bind it to RET.
9451         (image-mode): Update message.
9452         (image-toggle-display-image): Avoid a spurious cache flush.
9453         (image-transform-rotation): Doc fix.
9454         (image-transform-properties): Return quickly in the normal case.
9455         (image-animate-loop): Rename from image-animate-max-time.
9457         * image.el (image-animate-max-time): Move to image-mode.el.
9458         (create-animated-image): Remove unnecessary function.
9459         (image-animate): Rename from image-animate-start.  New arg.
9460         (image-animate-stop): Remove; just use image-animate-timer.
9461         (image-animate-timer): Use car-safe.
9462         (image-animate-timeout): Rename argument.
9464 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
9466         * window.el (get-lru-window, get-largest-window): Move here from
9467         window.c.  Rename first argument to ALL-FRAMES.
9468         Rephrase doc-strings.
9469         (get-buffer-window-list): Rewrite using window-list-1.
9470         Rephrase doc-string.
9471         (window-safe-min-height, window-safe-min-width): New constants.
9472         (window-size-ignore, window-min-size, window-min-size-1)
9473         (window-sizable, window-sizable-p, window-size-fixed-1)
9474         (window-size-fixed-p, window-min-delta-1, window-min-delta)
9475         (window-max-delta-1, window-max-delta, window-resizable)
9476         (window-resizable-p, window-total-height, window-total-width)
9477         (window-body-width): New functions.
9478         (window-full-height-p, window-full-width-p): Rewrite using
9479         window-total-size.
9480         (window-body-height): Rewrite using window-body-size.
9482 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
9484         * window.el (window-right, window-left, window-child)
9485         (window-child-count, window-last-child, window-any-p)
9486         (normalize-live-buffer, normalize-live-frame)
9487         (normalize-any-window, normalize-live-window)
9488         (window-iso-combination-p, window-iso-combined-p)
9489         (window-iso-combinations)
9490         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9491         (windows-with-parameter, window-with-parameter)
9492         (window-atom-root, make-window-atom, window-atom-check-1)
9493         (window-atom-check, window-side-check, window-check):
9494         New functions.
9495         (ignore-window-parameters, window-sides, window-sides-vertical)
9496         (window-sides-slots): New variables.
9497         (window-size-fixed): Move down in code.  Minor doc-string fix.
9499 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
9501         * comint.el (comint-dynamic-complete-as-filename)
9502         (comint-dynamic-complete-filename): Correctly call
9503         completion-in-region.
9505 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9507         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9508         in last change.
9510 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9512         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9513         (rcirc): Use it to prompt for encryption.
9515 2011-06-05  Roland Winkler  <winkler@gnu.org>
9517         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9518         (bibtex-search-entries): New command bound to C-c C-a.
9519         (bibtex-display-entries): New function.
9521 2011-06-05  Roland Winkler  <winkler@gnu.org>
9523         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9524         (bibtex-insert-kill): After yanking insert newline if necessary.
9525         (bibtex-initialize): Call bibtex-string-files-init only once.
9526         (bibtex-mode): Do not call easy-menu-add.
9527         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9528         (bibtex-yank): Set arg properly if nil.
9530 2011-06-05  Roland Winkler  <winkler@gnu.org>
9532         * textmodes/bibtex.el (bibtex-search-entry-globally):
9533         New variable.
9534         (bibtex-search-entry): Use it.
9536 2011-06-05  Roland Winkler  <winkler@gnu.org>
9538         * textmodes/bibtex.el (bibtex-entry-format): New option
9539         sort-fields.
9540         (bibtex-format-entry, bibtex-reformat): Honor this option.
9541         (bibtex-parse-entry): Return fields in proper order.
9543 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
9545         * doc-view.el (doc-view-remove-if): Move computation of result out
9546         of `dolist' to silence misleading lexical-binding warning.
9548 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
9550         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9551         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9553 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9555         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9556         "SunOS 5.10".
9558 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9560         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9561         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9562         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9563         (tramp-parse-putty):
9564         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9565         (tramp-completion-function-alist-ssh)
9566         (tramp-completion-function-alist-telnet)
9567         (tramp-completion-function-alist-su)
9568         (tramp-completion-function-alist-putty): Set `tramp-autoload'
9569         cookie.
9571         * net/tramp-ftp.el:
9572         * net/tramp-sh.el:
9573         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9574         load "tramp.el" `tramp-set-completion-function'.
9576 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9578         * shell.el: Require and use pcomplete.
9579         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9580         (shell-completion-vars): Set pcomplete-default-completion-function.
9582 2011-06-04  Deniz Dogan  <deniz@dogan.se>
9584         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9585         `memq' (Bug#8799).
9587 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9589         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9591 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
9593         * bs.el (bs--mark-unmark, bs--nth-wrapper):
9594         * mpc.el (mpc-select-extend, mpc-songpointer-context):
9595         * vc/log-view.el (log-view-beginning-of-defun):
9596         * vc/smerge-mode.el (smerge-apply-resolution-patch)
9597         (smerge-refine-forward, smerge-refine-chopup-region):
9598         Silence warning for unused `dotimes' counter variables.
9600 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9602         * net/tramp.el (tramp-with-progress-reporter): Rename from
9603         with-progress-reporter.  Use `declare'.
9604         * net/tramp-smb.el:
9605         * net/tramp-sh.el:
9606         * net/tramp-gvfs.el: Update all uses.
9608 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
9610         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9611         buffer isn't killed before making it current.
9613 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9615         Silence various byte-compiler warnings.
9616         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9617         `access-type' and new obsolescence format.
9618         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9619         new format.
9620         (byte-compile-check-variable): New `access-type' argument.
9621         Only warn if the access-type is obsolete.
9622         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9623         (byte-compile-variable-set): Adjust callers.
9624         * help-fns.el (describe-variable): Adjust to new obsolescence format.
9625         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9626         setting it as obsolete.
9627         * simple.el (minibuffer-completing-symbol):
9628         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9629         access as obsolete.
9630         * minibuffer.el (minibuffer-completing-file-name): Don't make it
9631         obsolete yet.
9632         * international/quail.el (quail-mouse-choose-completion): Remove unused
9633         code referring to obsolete var.
9634         (quail-choose-completion-string): Remove.
9635         * server.el (server-clients-with, server-kill-buffer-query-function)
9636         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9637         * proced.el (proced-send-signal):
9638         * emacs-lisp/lisp.el (lisp-complete-symbol):
9639         Replace completion-annotate-function with completion-extra-properties.
9641 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9643         * simple.el (goto-line): Use read-number.
9644         (overriding-map-is-bound): Remove.
9645         (saved-overriding-map): Change default.
9646         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9647         Take the map as argument.
9648         (universal-argument, negative-argument, digit-argument): Use it.
9649         (restore-overriding-map): Adjust.
9650         (do-auto-fill): Use fill-forward-paragraph.
9651         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9653         * minibuffer.el (minibuffer-inactive-mode-map): New var.
9654         (minibuffer-inactive-mode): New major mode.
9655         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9656         the *Messages* buffer" hack.
9657         (mouse-popup-menubar): Don't burp if the event is a normal key.
9659         Miscellaneous tweaks.
9660         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9661         lexical scoping as in subr.el's dolist and dotimes.
9662         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9663         Silence compiler warning.
9664         * thingatpt.el (forward-whitespace): Trivial coding style fix.
9665         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9666         * international/ccl.el (ccl-compile): Trivial simplification.
9667         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9668         * emacs-lisp/testcover.el (testcover-end): Remove spurious
9669         `printflag' argument.
9670         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9671         Purecopy the whole obsolescence data.
9673 2011-06-01  Leo Liu  <sdl.web@gmail.com>
9675         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9676         improve doc-string as suggested by Marco Pessotto
9677         <melmothx@gmail.com>.
9678         (rcirc-print): Fix last change.
9680 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9682         * minibuffer.el (complete-with-action): Return nil for the metadata and
9683         boundaries of non-functional tables.
9684         (completion-table-dynamic): Return nil for the metadata.
9685         (completion-table-with-terminator): Add default case, using
9686         complete-with-action.
9687         (completion--metadata): New function.
9688         (completion-all-sorted-completions, minibuffer-completion-help): Use it
9689         to try and avoid pathological performance problems.
9690         (completion--embedded-envvar-table): Return `category' metadata.
9692 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9694         * subr.el (process-alive-p): New tiny convenience function.
9696 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9698         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9699         content but also its previous major mode.
9701 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
9703         * emacs-lisp/debug.el (debug): Restore the previous content of the
9704         *Backtrace* buffer when we exit with C-M-c.
9706 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9708         * minibuffer.el: Add metadata method to completion tables.
9709         (completion-category-overrides): New defcustom.
9710         (completion-metadata, completion--field-metadata)
9711         (completion-metadata-get, completion--styles)
9712         (completion--cycle-threshold): New functions.
9713         (completion-try-completion, completion-all-completions):
9714         Add `metadata' argument to choose completion-styles.
9715         (completion--do-completion): Use metadata to choose cycling.
9716         (completion-all-sorted-completions): Use metadata for sorting.
9717         Remove :completion-cycle-penalty which is not needed any more.
9718         (completion--try-word-completion): Add `metadata' argument.
9719         (minibuffer-completion-help): Check metadata for annotation function
9720         and sorting.
9721         (completion-file-name-table): Return `category' metadata.
9722         (minibuffer-completing-file-name): Make obsolete.
9723         * simple.el (minibuffer-completing-symbol): Make obsolete.
9724         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9725         completion-try-completion.
9727 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9729         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9731 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9733         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9734         (rcirc-print): Decode all incoming messages (bug#8744).
9735         (rcirc-decode-coding-system): Allow value nil for automatic coding
9736         system detection.
9738 2011-06-01  Glenn Morris  <rgm@gnu.org>
9740         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9742 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9744         * image.el (image-animate-max-time): Allow nil and t values.
9745         Default to nil.
9746         (create-animated-image): Doc fix.
9747         (image-animate-start): Remove second arg; just use
9748         image-animate-max-time.
9749         (image-animate-timeout): Doc fix.  Args changed.
9751         * image-mode.el (image-toggle-display-image): Ensure that the
9752         image spec passed to the animate timer is the same object as in
9753         the buffer's display property (Bug#6981).
9754         (image-transform-properties): Doc fix.
9756         * image.el (image-animate-max-time): Default to nil.
9758 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9760         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9761         entire buffer list (Bug#8184).
9763 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9765         * image.el (imagemagick-types-inhibit)
9766         (imagemagick-register-types): Doc fix.
9768 2011-05-29  Deniz Dogan  <deniz@dogan.se>
9770         * net/rcirc.el (rcirc): Use the user's stored encryption method by
9771         default.
9773 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9775         * select.el: Don't perform clipboard-manager saving in hooks;
9776         leave the hooks empty.
9778 2011-05-28  Leo Liu  <sdl.web@gmail.com>
9780         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9781         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9782         (occur-edit-mode): New major mode (Bug#8463).
9783         (occur-after-change-function): New function.
9784         (occur-engine): Give Occur tags a read-only property.
9786 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9788         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9790 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9792         * bindings.el (help-echo): Make the initial non-indicator dash
9793         empty on graphical terminals (Bug#7295).
9795         * files.el (auto-mode-alist): Move config rule after the
9796         in-stripping one (Bug#8547).
9798         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9800         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9801         setting (Bug#8740).
9803 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9805         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9806         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9807         (Bug#8539).
9809 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9811         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9813 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9815         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9816         (hs-hide-block-at-point, hs-find-block-beginning)
9817         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9818         (Bug#8279).
9820 2011-05-28  Glenn Morris  <rgm@gnu.org>
9822         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9824 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9826         * help-fns.el (describe-function-1): If the function is a derived
9827         major mode, print the parent mode.
9829         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9830         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9832 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9834         * minibuffer.el (completion--capf-wrapper): Check applicability before
9835         returning non-nil for non-exclusive completion data.
9836         * progmodes/etags.el (tags-completion-at-point-function):
9837         * info-look.el (info-lookup-completions-at-point): Mark as
9838         non-exclusive.
9839         (info-complete): Adjust accordingly.
9841         * info-look.el: Convert to lexical-binding and completion-at-point.
9842         (info-lookup-completions-at-point): New function.
9843         (info-complete): Use it and completion-in-region.
9845 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9847         * isearch.el: Let M-e start with point at the first mismatched char.
9848         (isearch-fail-pos): New function.
9849         (isearch-edit-string): Use it.
9851 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9853         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9855 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9857         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9858         traversal functions for avl-trees.
9859         (avl-tree--stack): New struct.
9860         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9861         (avl-tree-enter): Add optional `updatefun' arg.
9862         (avl-tree--do-enter): Add optional `updatefun' arg.
9863         Change return value.
9864         (avl-tree-delete): Add optional `test' and `nilflag' args.
9865         (avl-tree--do-delete): Add `test' and `nilflag' args.
9866         Change return value.
9867         (avl-tree-member): Add optional `nilflag'
9868         (avl-tree-member-p): New function.
9869         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9870         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9871         (avl-tree-stack-empty-p): New functions.
9873         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9874         avl-tree--del-balance1 and make it work both ways.
9875         (avl-tree--del-balance2): Remove.
9876         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9877         make it work both ways.
9878         (avl-tree--enter-balance2): Remove.
9879         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9880         New macros.
9881         (avl-tree--mapc, avl-tree-map): Add direction argument.
9883 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9885         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9887 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9889         * select.el: Support clipboard managers with built-in function
9890         x-clipboard-manager-save, via delete-frame-functions and
9891         kill-emacs-hook.
9892         (xselect-convert-to-targets): Add MULTIPLE target to list.
9893         (xselect-convert-to-save-targets): New function.
9895 2011-05-27  Kenichi Handa  <handa@m17n.org>
9897         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9898         let-binding rfc2047-encode-encoded-words to nil.
9900 2011-05-27  Glenn Morris  <rgm@gnu.org>
9902         * mail/emacsbug.el: Don't require url-util.
9904         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9906         * files.el (set-auto-mode):
9907         Also respect mode: entries at the end of the file.  (Bug#8586)
9909 2011-05-26  Glenn Morris  <rgm@gnu.org>
9911         * files.el (hack-local-variables-prop-line, hack-local-variables):
9912         Downcase mode names, as seems to be traditional.
9913         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9915         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9916         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9918 2011-05-25  Julien Danjou  <julien@danjou.info>
9920         * textmodes/rst.el (rst-define-level-faces): Do not define face
9921         symbol if it is already defined.
9923 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9925         * play/5x5.el (5x5-new-game, 5x5-randomize):
9926         Reset 5x5-solver-output to nil when a new grid is cast.
9927         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9928         these debugging traces, as defmacro breaks the compiled code.
9930 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9932         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9934 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9936         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9937         (vc-bzr-sha1): Adapt.
9939         * sha1.el: Remove.  Function `sha1' is now builtin.
9941         * bindings.el: Provide sha1 feature.
9943 2011-05-24  Kenichi Handa  <handa@m17n.org>
9945         * mail/sendmail.el: Require `rfc2047'.
9946         (mail-insert-from-field): Do not perform RFC2047 encoding.
9947         (mail-encode-header): New function.
9948         (sendmail-send-it): Set buffer-file-coding-system of the work
9949         buffer to the return value of select-message-coding-system.
9950         Call mail-encode-header.
9952         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9954 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9956         * mail/supercite.el (sc-default-cite-frame):
9957         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9959 2011-05-24  Glenn Morris  <rgm@gnu.org>
9961         * progmodes/python.el (brm-menu): Declare.
9963         * emulation/viper.el (viper-set-hooks): Declare.
9965         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9966         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9967         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9968         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9969         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9970         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9972 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9974         Add an :exit-function for completion-at-point.
9976         * minibuffer.el (completion--done): New fun.
9977         (completion--do-completion): Use it.  New arg `expect-exact'.
9978         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9979         since completion--do-completion does it for us now.
9980         (minibuffer-force-complete): Use completion--done and
9981         completion--replace.  Handle sole-completion case with more care.
9982         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9983         (completion-extra-properties): New var.
9984         (completion-annotate-function): Make obsolete.
9985         (minibuffer-completion-help): Adjust accordingly.
9986         Use completion-list-insert-choice-function.
9987         (completion-at-point, completion-help-at-point):
9988         Bind completion-extra-properties.
9989         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9990         * simple.el (completion-list-insert-choice-function): New var.
9991         (completion-setup-function): Preserve it.
9992         (choose-completion): Pay attention to it, shuffle the code a bit.
9993         (choose-completion-string): New arg `insert-function'.
9995         * textmodes/bibtex.el: Convert to lexical binding.
9996         (bibtex-mode-map): Use completion-at-point.
9997         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9998         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9999         (bibtex-complete): Define as obsolete alias.
10000         (bibtex-complete-internal): Remove.
10001         (bibtex-format-entry): Remove unused sub-group in regexp.
10002         * shell.el (shell--command-completion-data)
10003         (shell-environment-variable-completion):
10004         * pcomplete.el (pcomplete-completions-at-point):
10005         * comint.el (comint--complete-file-name-data): Use :exit-function
10006         instead of completion-table-with-terminator so it also works for
10007         choose-completion.
10009 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10011         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10013         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10014         (bug#8710).
10016         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10018 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10020         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10021         customization variable and implement: If non-nil, auto-fill will
10022         be inhibited while on topic's header line.
10024 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10026         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10027         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10028         always have a solution in grid size = 5 cases.
10029         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10030         (5x5-solver-output, 5x5-log-buffer): New vars.
10031         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10032         Make these variables buffer local to achieve 5x5 multi-session-ness.
10033         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10034         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10035         (5x5-solve-suggest): New funs.
10036         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10037         randomize a grid so that we ensure that there is always a solution.
10038         (5x5-make-random-grid): Allow other movement than flipping.
10040 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10042         * emacs-lisp/advice.el (ad-read-advised-function):
10043         Use `function-called-at-point' as the default, if it has
10044         advice and passes PREDICATE.
10046 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10048         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10049         byte-compile-lambda if it's actually a lambda.
10051         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10052         Fix function quoting.  Use backquote better.
10054 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10056         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10057         matching (Bug#8516).
10059 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10061         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10062         different face (Bug#8178).
10064 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10066         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10067         defface (Bug#8144).
10069 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10071         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10072         funcall as well (bug#8712).  Warn when performing those conversions.
10073         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10075         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10077 2011-05-22  Glenn Morris  <rgm@gnu.org>
10079         * files.el (hack-local-variables-prop-line): Small simplifications.
10080         (hack-local-variables, hack-local-variables-prop-line):
10081         If MODE-ONLY, return the mode, rather than just `t'.
10083 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10085         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10087 2011-05-21  Glenn Morris  <rgm@gnu.org>
10089         * files.el (hack-local-variables-prop-line, hack-local-variables):
10090         If only interested in the mode, don't bother doing the other stuff.
10092         * image-mode.el (image-after-revert-hook):
10093         Redraw all frames on which the image is visible.  (Bug#8567)
10095         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10097         * wid-edit.el (widget-checklist-match-inline):
10098         Fix 2011-04-19 change.  (Bug#8649)
10100 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10102         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10103         Also allow singlespace after single-letter capitals followed by a dot.
10105         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10106         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10108 2011-05-20  Nix  <nix@esperi.org.uk>
10110         * files.el (basic-save-buffer-2):
10111         Fix handling of break-hardlink-on-save with non-existent files.
10113 2011-05-19  Deniz Dogan  <deniz@dogan.se>
10115         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10116         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10118 2011-05-19  Glenn Morris  <rgm@gnu.org>
10120         * progmodes/f90.el (f90-type-def-re):
10121         Handle "type, bind(c)".  (Bug#8691)
10123         * emacs-lisp/autoload.el (batch-update-autoloads):
10124         Set autoload-excludes by parsing loadup.el rather than Makefiles.
10126 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
10128         * net/tramp.el (tramp-process-actions): Set "first-password-request"
10129         property for the correct connection in case of multihops.
10131 2011-05-18  Glenn Morris  <rgm@gnu.org>
10133         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10134         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10136         Rationalize calendar handling of day and month abbrev-arrays.
10137         * calendar/calendar.el (calendar-customized-p): New function.
10138         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10139         (calendar-day-name-array, calendar-month-name-array): Doc fix.
10140         Add :set function.
10141         (calendar-abbrev-length, calendar-day-abbrev-array)
10142         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10143         (calendar-day-abbrev-array, calendar-month-abbrev-array):
10144         Elements may no longer be nil.
10145         (calendar-day-name, calendar-month-name):
10146         Update for changed nature of abbrev arrays.
10147         * calendar/diary-lib.el (diary-name-pattern):
10148         Update for changed nature of abbrev arrays.
10149         (diary-mark-entries-1): Update calendar-make-alist calls.
10150         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10151         * calendar/cal-html.el (cal-html-day-abbrev-array):
10152         Simply inherit from calendar-day-abbrev-array.
10154 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10156         * progmodes/grep.el (grep-mode): Disable default
10157         compilation-directory-matcher setting (bug#8684).
10159 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
10161         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10162         instead of "head" and "tail".  There were problems with SunOS 5.9,
10163         and it performs better.
10165 2011-05-17  Glenn Morris  <rgm@gnu.org>
10167         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10169         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10170         Replace obsolete function.
10172         * shell.el (pcomplete-parse-arguments-function): Declare.
10174         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10175         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10176         (appt-check): Doc fixes.
10177         (appt-disp-window-function, appt-delete-window-function):
10178         Remove needless special case in custom :type.
10179         (appt-display-count): Default to 0, not nil.
10180         (appt-check): Reset appt-display-count to 0, not nil.
10182 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
10184         * progmodes/python.el (python-font-lock-keywords):
10185         Add the Python 3.X keyword "nonlocal" (bug#8639).
10187 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10191 2011-05-16  Kevin Ryde  <user42@zip.com.au>
10193         * info-look.el (makefile-automake-mode): New setups, looking in
10194         automake manual, then makefile-mode.
10195         (makefile-mode): Remove automake manual, have it just in
10196         makefile-automake-mode since there's various things different or
10197         not relevant to plain make.
10198         (makefile-mode): Remove "other-modes" non-existent automake-mode,
10199         believe a hypothetical automake-mode would go to makefile-mode,
10200         not the other way around.
10202 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
10204         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10205         hunk-end tags (Bug#8672).
10207         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10208         vc-annotate-show-diff-revision-at-line (Bug#8671).
10210 2011-05-14  Glenn Morris  <rgm@gnu.org>
10212         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10213         in the middle of an existing one with multiple authors.  (Bug#8645)
10214         (change-log-font-lock-keywords): Also handle multiple author lines
10215         with leading tabs.  (Bug#8644)
10217         * calendar/appt.el (appt-check): Rename some local variables.
10218         Some simplification/reordering.
10220         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10221         (feedmail-sendmail-f-doesnt-sell-me-out)
10222         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10223         (feedmail-debug-sit-for, feedmail-queue-express-hook)
10224         (feedmail-queue-runner-message-sender): Set :version.
10225         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10226         (bbdb-dwim-net-address, vm-mail): Declare.
10227         (feedmail-binmail-gnulinuxish-template):
10228         Rename from feedmail-binmail-linuxish-template.
10229         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10230         Use insert-buffer-substring.
10232 2011-05-14  Bill Carpenter  <bill@carpenter.org>
10234         * mail/feedmail.el (feedmail-patch-level): Increase.
10235         (feedmail-debug): New custom group.
10236         (feedmail-confirm-outgoing-timeout)
10237         (feedmail-sendmail-f-doesnt-sell-me-out)
10238         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10239         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10240         (feedmail-sender-line, feedmail-from-line)
10241         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10242         (feedmail-spray-this-address)
10243         (feedmail-spray-address-fiddle-plex-list)
10244         (feedmail-queue-use-send-time-for-date)
10245         (feedmail-queue-use-send-time-for-message-id)
10246         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10247         (feedmail-buffer-eating-function):
10248         Doc fixes.
10249         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10250         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10251         (feedmail-message-action-scroll-down): New functions.
10252         (feedmail-queue-directory, feedmail-queue-draft-directory):
10253         Use expand-file-name.
10254         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10255         Remove C-v help entry.
10256         (feedmail-queue-buffer-file-name): New variable.
10257         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10258         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10259         (feedmail-message-action-send-strong, feedmail-message-action-edit)
10260         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10261         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10262         (feedmail-message-action-toggle-spray)
10263         (feedmail-run-the-queue-no-prompts)
10264         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10265         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10266         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10267         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10268         (feedmail-envelope-deducer, feedmail-fiddle-from)
10269         (feedmail-fiddle-sender, feedmail-default-date-generator)
10270         (feedmail-fiddle-date, feedmail-fiddle-message-id)
10271         (feedmail-fiddle-spray-address)
10272         (feedmail-fiddle-list-of-spray-fiddle-plexes)
10273         (feedmail-fiddle-list-of-fiddle-plexes)
10274         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10275         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10276         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10277         Change default.  Doc fix.
10278         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10279         (feedmail-binmail-linuxish-template): New constant.
10280         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
10281         Respect feedmail-sendmail-f-doesnt-sell-me-out.
10282         (feedmail-send-it): Add debug call.
10283         Use feedmail-queue-buffer-file-name, and
10284         feedmail-send-it-immediately-wrapper.
10285         (feedmail-message-action-send): Add debug call.
10286         Use feedmail-send-it-immediately-wrapper.
10287         (feedmail-queue-express-to-queue): Add debug call.
10288         Run feedmail-queue-express-hook.
10289         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
10290         (feedmail-message-action-help-blat):
10291         Rename from feedmail-queue-send-edit-prompt-help-first.
10292         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
10293         Check line-endings.  Handle errors better.
10294         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10295         Doc fix.  Add debug call.
10296         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
10297         Use feedmail-queue-send-edit-prompt-inner.
10298         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10299         (feedmail-queue-send-edit-prompt-inner): New function, extracted
10300         from feedmail-queue-send-edit-prompt.
10301         (feedmail-queue-send-edit-prompt-help)
10302         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10303         (feedmail-tidy-up-slug): Add debug call.
10304         Respect feedmail-queue-slug-suspect-regexp.
10305         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10306         (feedmail-dump-message-to-queue): Add debug call.
10307         Expand queue-directory.
10308         (feedmail-dump-message-to-queue): Change message slightly.
10309         Use feedmail-say-chatter.
10310         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
10311         (feedmail-send-it-immediately-wrapper): New function.
10312         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
10313         Insert empty string rather than newline.  Handle full-frame case.
10314         Use catch/throw.  Use feedmail-say-chatter.
10315         (feedmail-fiddle-from): Try mail-host-address.
10316         (feedmail-default-message-id-generator): Doc fix.
10317         Bind system-time-locale.  Handle missing end.
10318         (feedmail-fiddle-x-mailer): Add debug call.
10319         Handle feedmail-x-mailer-line being nil.
10320         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10321         Add debug call.  Use buffer-substring-no-properties.
10322         (feedmail-say-debug, feedmail-say-chatter): New functions.
10323         (feedmail-find-eoh): Give an explicit error.
10325 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
10327         * net/newst-treeview.el (newsticker-treeview-face): Change default
10328         family from helvetica to sans.
10329         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10330         etc/images/newsticker.
10332         * net/newst-reader.el (newsticker-feed-face): Change default
10333         family from helvetica to sans.
10335         * net/newst-plainview.el (newsticker-new-item-face)
10336         (newsticker-old-item-face, newsticker-immortal-item-face)
10337         (newsticker-obsolete-item-face, newsticker-date-face)
10338         (newsticker-statistics-face): Change default family from
10339         helvetica to sans.
10340         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10341         etc/images/newsticker.
10343         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10344         (newsticker--process-auto-mark-filter-match): : Tell user about
10345         auto-marking.
10347 2011-05-13  Didier Verna  <didier@xemacs.org>
10349         Common Lisp indentation improvements on defmethod and lambda-lists.
10350         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10351         TODO entries.
10352         (lisp-lambda-list-keyword-parameter-indentation)
10353         (lisp-lambda-list-keyword-parameter-alignment)
10354         (lisp-lambda-list-keyword-alignment): New customizable user options.
10355         (lisp-indent-defun-method): Improve docstring.
10356         (extended-loop-p): Fix comment.
10357         (lisp-indent-lambda-list-keywords-regexp): New variable.
10358         (lisp-indent-lambda-list): New function.
10359         (lisp-indent-259): Use it.
10360         (lisp-indent-defmethod): Support for more than one
10361         method qualifier and properly indent methods lambda-lists.
10362         (defgeneric): Provide a missing common-lisp-indent-function property.
10364 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10366         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10367         bounds for the empty string (bug#8667).
10369 2011-05-13  Glenn Morris  <rgm@gnu.org>
10371         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10373         * mail/sendmail.el (sendmail-program): Try executable-find first.
10374         (sendmail-send-it): `sendmail-program' cannot be unbound.
10376         * calendar/appt.el (appt-make-list): Simplify.
10377         (appt-time-msg-list): Doc fix.
10378         (appt-check): Change mode-line message at the time of the appointment.
10380 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10382         * progmodes/ld-script.el (ld-script-keywords)
10383         (ld-script-builtins): Update keywords list.
10385 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10387         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10389         * shell.el (shell-completion-vars): New function.
10390         (shell-mode):
10391         * simple.el (read-shell-command): Use it.
10392         (blink-matching-open): No need for " [...]" in minibuffer-message.
10394 2011-05-12  Glenn Morris  <rgm@gnu.org>
10396         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10397         (appt-check): Simplify.
10399 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
10401         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10402         literal "/dev/null".
10404 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10406         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10407         Fix typo.
10409 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
10411         * progmodes/which-func.el (which-function):
10412         Use add-log-current-defun instead of add-log-current-defun-function,
10413         which might not be defined (Bug#8260).
10415 2011-05-12  Glenn Morris  <rgm@gnu.org>
10417         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10418         Let byte-compile-initial-macro-environment always take precedence.
10420 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10422         * net/rcirc.el: Add support for SSL/TLS connections.
10423         (rcirc-server-alist): New field `encryption'.
10424         (rcirc): Check `encryption' settings.
10425         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
10426         Merge make-local-variable into `set'.
10427         (rcirc--connection-open-p): New function.
10428         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10429         the process is not a network process (e.g. running gnutls-cli).
10430         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10431         Make rcirc-(en|de)code-coding-system local here.
10432         (rcirc-mode): Merge make-local-variable into `set'.
10433         (rcirc-parent-buffer): Make permanent buffer-local.
10434         (rcirc-multiline-minor-mode): Don't do it here.
10435         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10436         there's no server buffer.
10438 2011-05-11  Glenn Morris  <rgm@gnu.org>
10440         * newcomment.el (comment-kill): Prefix "unused" local.
10442         * term/w32console.el (get-screen-color): Declare.
10444         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10445         Handle symbol elements of byte-compile-initial-macro-environment.
10447 2011-05-10  Leo Liu  <sdl.web@gmail.com>
10449         * bookmark.el (bookmark-bmenu-mode-map):
10450         Bind bookmark-bmenu-search to `/'.
10452         * mail/footnote.el: Convert to utf-8 encoding.
10453         (footnote-unicode-string, footnote-unicode-regexp): New variable.
10454         (Footnote-unicode): New function.
10455         (footnote-style-alist): Add unicode style to the list.
10456         (footnote-style): Doc fix.
10458 2011-05-10  Jim Meyering  <meyering@redhat.com>
10460         Fix doubled-word typos.
10461         * international/quail.el (quail-insert-kbd-layout): and and -> and
10462         * kermit.el: and and -> and
10463         * net/ldap.el (ldap-search-internal): to to -> to
10464         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10465         * progmodes/js.el (js-mode): and and -> and
10466         * textmodes/artist.el (artist-move-to-xy): at at -> at
10467         (artist-draw-region-trim-line-endings): if if -> if
10468         And Safetyc -> Safety.
10469         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10471 2011-05-10  Glenn Morris  <rgm@gnu.org>
10472             Stefan Monnier  <monnier@iro.umontreal.ca>
10474         * files.el (hack-one-local-variable-eval-safep):
10475         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
10477 2011-05-10  Glenn Morris  <rgm@gnu.org>
10479         * calendar/diary-lib.el (diary-list-entries-hook)
10480         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10481         (diary-nongregorian-marking-hook, diary-list-entries)
10482         (diary-include-other-diary-files, diary-mark-entries)
10483         (diary-mark-included-diary-files): Doc fixes.
10485 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10487         * misc.el: Require tabulated-list.el during compilation.
10489 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10491         * progmodes/compile.el (compilation-start):
10492         Run compilation-filter-hook for the async case too.
10493         (compilation-filter-hook): Doc fix.
10495 2011-05-09  Deniz Dogan  <deniz@dogan.se>
10497         * wdired.el: Remove outdated installation comment.  Fix usage
10498         comment.
10500 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10502         * misc.el: Implement new command `list-dynamic-libraries'.
10503         (list-dynamic-libraries--loaded-only-p): New variable.
10504         (list-dynamic-libraries--refresh): New function.
10505         (list-dynamic-libraries): New command.
10507 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10509         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10510         Fix the ant regexp to handle end-line and end-column info from jikes.
10511         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
10512         higher priority to avoid clobbering by gnu.
10514 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10516         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10517         if the face has existing theme settings (Bug#8454).
10519 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
10521         * progmodes/perl-mode.el (perl-imenu-generic-expression):
10522         Only match variables declared via `my' or `our' (Bug#8261).
10524         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10525         special file names `.' and `..' (Bug#8259).
10527 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10529         * progmodes/grep.el (grep-mode-font-lock-keywords):
10530         Remove buffer-changing entries.
10531         (grep-filter): New function.
10532         (grep-mode): Add it to compilation-filter-hook.
10534         * progmodes/compile.el (compilation-filter-hook)
10535         (compilation-filter-start): New defvars.
10536         (compilation-filter): Call compilation-filter-hook prior to
10537         updating the process mark.
10539 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10541         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10543 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
10545         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10546         mailclient-send-it even if window-system is nil.  (Bug#8595)
10548         * term/w32console.el (terminal-init-w32console):
10549         Call get-screen-color and use its output to set the frame
10550         background-mode.  (Bug#8597)
10552 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10554         Make bytecomp.el understand that defmethod defines funs (bug#8631).
10555         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10556         New functions.
10557         (defgeneric, eieio--defmethod): Use them.
10558         (eieio-defgeneric): Remove.
10559         (defmethod): Call defgeneric in a way visible to the byte-compiler.
10561 2011-05-07  Glenn Morris  <rgm@gnu.org>
10563         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10564         Use let rather than let*.
10565         (timeclock-find-discrep): Remove unused local.
10567         * calendar/diary-lib.el (diary-comment-start): Doc fix.
10569         * calendar/appt.el (appt-time-msg-list): Doc fix.
10571 2011-05-06  Noah Friedman  <friedman@splode.com>
10573         * apropos.el (apropos-print-doc): Only use
10574         emacs-lisp-docstring-fill-column when it is bound to an integer,
10575         per that variable's documentation.
10577 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10579         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10580         and warnings are not silently discarded (e.g. use -d instead of -P).
10582 2011-05-06  Glenn Morris  <rgm@gnu.org>
10584         * calendar/appt.el (appt-message-warning-time): Doc fix.
10585         (appt-warning-time-regexp): New option.
10586         (appt-make-list): Respect appt-message-warning-time.
10588         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10589         New options.
10590         (diary-add-to-list): Strip comments from the displayed string.
10591         (diary-mode): Set comment-start and comment-end.
10593         * vc/diff-mode.el (smerge-refine-subst): Declare.
10594         (diff-refine-hunk): Don't require smerge-mode when compiling.
10596 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
10598         * simple.el (list-processes): Return nil as the docstring says.
10600 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10602         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10603         to "".
10604         (ange-ftp-write-region, ange-ftp-insert-file-contents)
10605         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10606         determining of binary transfer.  (Bug#7383)
10608 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10610         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10611         Fix port computation bug.  (Bug#8618)
10613 2011-05-05  Glenn Morris  <rgm@gnu.org>
10615         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10617         * simple.el (shell-dynamic-complete-functions)
10618         (comint-dynamic-complete-functions): Declare.
10620         * net/network-stream.el (gnutls-negotiate):
10621         * simple.el (tabulated-list-print): Fix declarations.
10623         * progmodes/gud.el (syntax-symbol, syntax-point):
10624         Remove unnecessary and incorrect declarations.
10626         * emacs-lisp/check-declare.el (check-declare-scan):
10627         Handle byte-compile-initial-macro-environment in bytecomp.el
10629 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10631         Fix earlier half-done eieio-defmethod change (bug#8338).
10632         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10633         Streamline and change calling convention.
10634         (defmethod): Adjust accordingly and simplify.
10635         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10636         new eieio--defmethod.
10637         (slot-boundp): Minor CSE simplification.
10639 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
10641         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10642         (glasses-make-readable): Use glasses-separate-capital-groups.
10644 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
10646         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10647         (warning-series): Doc fix.
10648         (display-warning): Don't try to create the buffer if we just found it.
10650 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
10652         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10653         (autoload-find-generated-file): New function.
10654         (generate-file-autoloads): Bind generated-autoload-file to
10655         buffer-file-name.
10656         (update-file-autoloads, update-directory-autoloads):
10657         Use autoload-find-generated-file.  If called interactively, prompt for
10658         output file (Bug#7989).
10659         (batch-update-autoloads): Doc fix.
10661 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
10663         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10665 2011-05-04  Glenn Morris  <rgm@gnu.org>
10667         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10668         function, so it follows changes in calendar-date-style.
10669         (diary-fancy-date-matcher): New function.
10670         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10671         (diary-fancy-font-lock-fontify-region-function):
10672         Use diary-fancy-date-pattern as a function.
10674         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10675         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
10677 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
10679         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10680         instead of positional arguments.  Allow :keylist and :crlfiles
10681         arguments.
10682         (open-gnutls-stream): Call it.
10684         * net/network-stream.el (network-stream-open-starttls): Adjust to
10685         call `gnutls-negotiate' with :process and :hostname arguments.
10687 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10689         * minibuffer.el (completion--message): New function.
10690         (completion--do-completion, minibuffer-complete)
10691         (minibuffer-force-complete, minibuffer-complete-word): Use it.
10692         (completion--do-completion): Don't ignore completion-auto-help when in
10693         icomplete-mode.
10695         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10696         internal encoding (e.g. tibetan zero is not whitespace).
10697         (global-whitespace-mode): Prefer save-current-buffer.
10698         (whitespace-trailing-regexp): Remove useless save-match-data.
10699         (whitespace-empty-at-bob-regexp): Minor simplification.
10701 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
10703         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10705 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10707         * textmodes/ispell.el (ispell-add-per-file-word-list):
10708         Use `concat' to create string for insertion.
10710 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10712         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10713         Avoid open-line which runs post-self-insert-hook.
10714         (bibtex-fill-entry): Remove unused `end' var.
10716 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10718         * textmodes/ispell.el (ispell-add-per-file-word-list):
10719         Protect against `nil' value of `comment-start' (Bug#8579).
10721 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10723         * isearch.el (isearch-yank-pop): New command.
10724         (isearch-mode-map): Bind it to `M-y'.
10725         (isearch-forward): Mention it.
10727 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10729         * simple.el (minibuffer-complete-shell-command): Remove.
10730         (minibuffer-local-shell-command-map): Use completion-at-point.
10731         (read-shell-command): Setup completion vars here instead.
10732         (read-expression-map): Bind TAB to symbol completion.
10734         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10735         error directly rather via storing it into `results'.
10737 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10739         * vc/diff.el: Fix description.
10741 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10743         * server.el (server-eval-at): New function.
10745 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10747         * net/network-stream.el (open-network-stream): Take a :nowait
10748         parameter and pass it on to `make-network-process'.
10749         (network-stream-open-plain): Ditto.
10751 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10753         * faces.el (face-spec-set-match-display): Don't match toolkit
10754         options on terminal frames.
10756 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * progmodes/pascal.el: Use lexical binding.
10759         (pascal-mode-map): Remove author preferences.
10761         * pcomplete.el (pcomplete-std-complete): Don't abuse
10762         completion-at-point.
10764 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10766         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10767         removing code that has been dead since 1991 or so.
10769         * startup.el (command-line): When warning about "_emacs", use a
10770         delayed warning to allow the user to filter it out.
10772 2011-04-28  Deniz Dogan  <deniz@dogan.se>
10774         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10775         user has not joined.
10777 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10779         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10780         aren't any completions at point.
10782 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10784         * subr.el (display-delayed-warnings): New function.
10785         (delayed-warnings-hook): New variable.
10787 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10789         * minibuffer.el (completion-at-point, completion-help-at-point):
10790         Don't presume that a given completion-at-point-function will always
10791         use the same calling convention.
10793         * pcomplete.el (pcomplete-completions-at-point):
10794         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10795         pcomplete-seen is non-nil.
10796         (pcomplete-comint-setup): Also recognize the new comint/shell
10797         completion functions.
10798         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10799         pcomplete-seen is non-nil.
10801 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10803         * calendar/icalendar.el (diary-lib): Add require statement.
10804         (icalendar--create-uid): Read out a uid from a text-property on
10805         the first character in the entry.  This allows for code to add its
10806         own uid to the entry.
10807         (icalendar--convert-float-to-ical): Add export of
10808         `diary-float'-entries save for those with the optional DAY
10809         argument.
10811 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10813         * subr.el (shell-quote-argument): Use alternate escaping strategy
10814         when we spot a variable reference in a string.
10816 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10818         * cus-start.el (all): Define customization for debug-on-event.
10820 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10822         * subr.el (shell-quote-argument): Escape correctly under Windows.
10824 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10826         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10828 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10830         * net/tramp.el (tramp-process-actions): Add POS argument.
10831         Delete region between POS and (pos).
10833         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10834         Use `nil' position in `tramp-process-actions' call.
10835         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10837         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10838         position in `tramp-process-actions' call.
10840         * net/trampver.el: Update release number.
10842 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10844         * custom.el (defcustom): Obey lexical-binding.
10846         Fix octave-inf completion problems reported by Alexander Klimov.
10847         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10848         Inherit from octave-mode-syntax-table.
10849         (inferior-octave-mode): Set info-lookup-mode.
10850         (inferior-octave-completion-at-point): New function.
10851         (inferior-octave-complete): Use it and completion-in-region.
10852         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10853         comint-filename-completion.
10854         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10855         symbol elements which shouldn't be word elements.
10856         (octave-font-lock-keywords, octave-beginning-of-defun)
10857         (octave-function-header-regexp): Adjust regexps accordingly.
10858         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10860 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10862         * net/gnutls.el (gnutls-errorp): Declare before first use.
10864 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10866         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10867         verify-error, and verify-hostname-error parameters.  Check whether
10868         default trustfile exists before going to use it.  Add missing
10869         argument to gnutls-message-maybe call.  Return value.
10870         Reported by Claudio Bley <claudio.bley@gmail.com>.
10871         (open-gnutls-stream): Add usage example.
10873         * net/network-stream.el (network-stream-open-starttls): Give host
10874         parameter to `gnutls-negotiate'.
10875         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10876         * subr.el (shell-quote-argument): Escape correctly under Windows.
10878 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10880         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10881         Use correct match group (bug#8438).
10883 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10885         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10886         (package-menu--generate): New arg specifying packages to show.
10887         (package-menu-refresh, package-menu-execute, list-packages):
10888         Callers changed.
10889         (package-show-package-list): New function, replacing deleted
10890         package--list-packages (renamed because it is non-internal).
10892         * finder.el (finder-list-matches): Use package-show-package-list
10893         instead of deleted package--list-packages.
10895         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10896         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10897         (vc-annotate-mode-map): Bind it to RET.
10899 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10901         * progmodes/etags.el (next-file): Don't use set-buffer to change
10902         buffers (Bug#8478).
10904 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10906         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10908         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10909         (apropos-accumulator): Doc fix.
10910         (apropos-function, apropos-macro, apropos-command)
10911         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10912         (apropos-plist): Add face property.
10913         (apropos-symbols-internal): Fix indentation.
10914         (apropos-print): Simplify help, and recognize apropos-multi-type.
10915         (apropos-print-doc): Use button-type-get to extract the button's
10916         face property.  Fill docstring (Bug#8352).
10918 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10920         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10922         * play/mpuz.el (mpuz-silent): Doc fix.
10923         (mpuz-mode-map): Use mapc.
10924         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10925         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10926         Fix typos in docstrings.
10928         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10929         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10931         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10933 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10935         * minibuffer.el (completion--do-completion): Avoid the "Next char
10936         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10938         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10939         mouse-2 into unread-command-events, it is interpreted correctly.
10941         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10942         (image-toggle-display): Doc fix.
10944 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10946         * textmodes/page.el (what-page): Use line-number-at-pos to
10947         calculate line number (Bug#6825).
10949 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10951         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10952         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10953         Pass argument NO-DEFAULT to `find-tag-interactive'.
10955 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10957         Lexical-binding cleanup.
10959         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10960         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10961         * progmodes/ada-prj.el (ada-prj-initialize-values)
10962         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10963         (ada-prj-show-value):
10964         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10965         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10966         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10967         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10968         * progmodes/bug-reference.el (bug-reference-push-button):
10969         * progmodes/fortran.el (fortran-line-length):
10970         * progmodes/glasses.el (glasses-change):
10971         * progmodes/octave-mod.el (octave-fill-paragraph):
10972         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10973         (python-pdbtrack-grub-for-buffer, python-sentinel):
10974         * progmodes/sql.el (sql-save-connection):
10975         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10976         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10977         Mark unused parameters.
10979         * progmodes/compile.el (compilation--flush-directory-cache)
10980         (compilation--flush-parse, compile-internal): Mark unused parameters.
10981         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10982         (compilation-next-error-function): Remove unused variable `timestamp'.
10984         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10985         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10987         * progmodes/dcl-mode.el (dcl-end-of-command):
10988         Remove unused variable `start'.
10989         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10990         (dcl-option-value-basic, dcl-option-value-offset)
10991         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10992         Mark unused parameters.
10993         (dcl-save-local-variable): Remove unused variable `val'.
10994         (mode): Declare.
10996         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10997         Mark unused parameters.
10998         (delphi-ignore-changes): Move before first use.
10999         (delphi-charset-token-at): Remove unused variable `start'.
11000         (delphi-else-start): Remove unused variable `if-count'.
11001         (delphi-comment-block-start, delphi-comment-block-end):
11002         Remove unused variable `kind'.
11003         (delphi-indent-line): Remove unused variable `new-point'.
11005         * progmodes/ebrowse.el (ebrowse-files-list)
11006         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11007         Mark unused parameters.  Don't quote `lambda'.
11008         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11009         Don't quote `lambda'.
11010         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11011         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11012         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11013         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11014         Use `ignore-errors'.
11015         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11016         (ebrowse-view/find-file-and-search-pattern)
11017         (ebrowse-view/find-member-declaration/definition):
11018         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11019         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11020         Rename parameter PREFIX-ARG to PREFIX.
11021         (ebrowse-tags-read-name): Remove unused variables `start' and
11022         `member-info'.
11023         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11024         to `tags-file'.
11026         * progmodes/etags.el (local-find-tag-hook): Declare.
11027         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11028         Mark unused parameters.
11030         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11031         (executable-interpret): Mark unused parameter.
11033         * progmodes/flymake.el (flymake-process-sentinel)
11034         (flymake-after-change-function)
11035         (flymake-create-temp-with-folder-structure)
11036         (flymake-get-include-dirs-dot): Mark unused parameters.
11037         (flymake-safe-delete-directory): Remove unused variable `err'.
11039         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11040         (speedbar-timer-fn, speedbar-line-text)
11041         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11042         (speedbar-center-buffer-smartly): Declare functions.
11043         (gdb-find-watch-expression): Remove unused variable `array'.
11044         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11045         (gdb-starting): Mark unused parameters.
11046         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11047         (gdb-table-string): Remove unused variable `res'.
11048         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11049         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11050         (gdb-display-buffer): Remove unused variable `cur-size'.
11052         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11053         allow lexical-binding compilation.
11054         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11055         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11056         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11057         Mark unused parameters.
11058         (gud-gdb-marker-filter): Remove unused variable `match'.
11059         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11060         lambda expressions and funcall them, instead of using `fset'.
11062         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11063         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11065         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11066         variable `header-beg'; use `let'.
11068         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11069         `restart', `last-sexp' and `at-do'.
11071         * progmodes/js.el (js--debug): Mark unused parameter.
11072         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11073         (js--splice-into-items): Remove unused variable `item'.
11074         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11076         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11077         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11078         (makefile-complete): Remove unused variable `try'.
11079         (makefile-fill-paragraph, makefile-match-function-end):
11080         Mark unused parameters.
11082         * progmodes/octave-inf.el (inferior-octave-complete):
11083         Remove unused variable `proc'.
11084         (inferior-octave-output-digest): Mark unused parameter.
11086         * progmodes/perl-mode.el (perl-calculate-indent):
11087         Remove unused variable `err'.
11089         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11090         (prolog-indent-line): Mark unused parameters.
11091         (prolog-indent-line): Remove unused variable `beg'.
11093         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11094         (reporter-dont-compact-list): Declare.
11096         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11097         Remove unused variable `char'.
11098         (sh-debug): Mark unused parameter.
11099         (sh-get-indent-info): Remove unused variable `start'.
11100         (sh-calculate-indent): Remove unused variable `var'.
11102         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11103         (simula-electric-keyword): Remove unused variable `null'.
11104         (simula-search-backward, simula-search-forward): Remove unused
11105         variables `begin' and `end'.
11107         * progmodes/vera-mode.el (vera-guess-basic-syntax):
11108         Remove unused variable `pos'.
11109         (vera-electric-tab, vera-comment-uncomment-region):
11110         Mark unused parameters.
11111         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11113 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
11115         * emacs-lisp/package.el (package--builtins, package-alist)
11116         (package-load-descriptor, package-built-in-p, package-activate)
11117         (define-package, package-installed-p)
11118         (package-compute-transaction, package-buffer-info)
11119         (package--push): Doc fix.  Distinguish more clearly between
11120         version strings and version lists.
11122 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
11124         Lexical-binding cleanup.
11126         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11127         (5x5-make-mutate-best):
11128         * play/fortune.el (fortune-in-buffer):
11129         * play/gomoku.el (gomoku-init-display):
11130         * play/solitaire.el (solitaire, solitaire-do-check):
11131         * play/tetris.el (tetris-default-update-speed-function):
11132         Mark unused parameters.
11134         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11135         (bubbles--shift): Remove unused variable `char-org'.
11136         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
11137         (bubbles--show-images): Remove unused variable `char'.
11139         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11140         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11141         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11142         (decipher-analyze-buffer): Use ?\s.
11143         (decipher-make-checkpoint): Remove unused variable `mapping'.
11145         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11147         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11148         Remove unused variable `result'; use `let'.
11150         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11151         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11152         (gametree-children-shown-p, gametree-compute-reduced-score):
11153         Use `ignore-errors'.
11155         * play/handwrite.el (ps-lpr-switches): Declare.
11156         (handwrite): Remove unused variables `pmin' and `lastp'.
11158         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11160         * play/landmark.el (landmark-init-display)
11161         (landmark-update-naught-weights): Mark unused parameters.
11162         (landmark-y): Remove unused variable `noise'.  Simplify.
11163         (landmark-human-plays): Remove unused variable `score'.
11165         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11166         (mpuz-try-proposal): Remove unused variable `game'.
11168         * play/zone.el (life-patterns): Declare.
11170 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
11172         * vc/vc.el (ediff-vc-internal): Declare function.
11174 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11176         * shell.el: Use lexical-binding and std completion UI.
11177         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11178         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11179         comint-preoutput-filter-functions rather than on
11180         comint-output-filter-functions.
11181         (shell-command-completion, shell--command-completion-data)
11182         (shell-filename-completion, shell-environment-variable-completion)
11183         (shell-c-a-p-replace-by-expanded-directory): New functions.
11184         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11185         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11186         (shell-dynamic-complete-environment-variable): Use them.
11187         (shell-dynamic-complete-as-environment-variable)
11188         (shell-dynamic-complete-as-command): Remove.
11189         (shell-match-partial-variable): Match past point.
11190         * comint.el: Clean up use of completion-at-point-functions.
11191         (comint-completion-at-point): New function.
11192         (comint-mode): Use it completion-at-point-functions.
11193         (comint-dynamic-complete): Make it obsolete.
11194         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11195         (comint-c-a-p-replace-by-expanded-history): New function.
11196         (comint-dynamic-complete-functions)
11197         (comint-replace-by-expanded-history): Use it.
11198         * minibuffer.el (completion-table-with-terminator): Allow dynamic
11199         termination strings.  Try harder to avoid second try-completion.
11200         (completion-in-region-mode-map): Disable bindings that don't work yet.
11202         * comint.el: Use lexical-binding.  Require CL.
11203         (comint-dynamic-complete-functions): Use comint-filename-completion.
11204         (comint-completion-addsuffix): Tweak custom type.
11205         (comint-filename-completion, comint--common-suffix)
11206         (comint--common-quoted-suffix, comint--table-subvert)
11207         (comint--complete-file-name-data): New functions.
11208         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11209         (comint-dynamic-list-filename-completions): Use them.
11210         (comint-dynamic-simple-complete): Make obsolete.
11212         * minibuffer.el (completion-in-region-mode):
11213         Keep completion-in-region-mode--predicate global.
11214         (completion-in-region--postch):
11215         Assume completion-in-region-mode--predicate is not null.
11217         * progmodes/flymake.el (flymake-start-syntax-check-process):
11218         Obey `dir'.  Simplify.
11220         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11221         we're in VC after all.
11223 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
11225         * vc/vc.el (vc-diff-build-argument-list-internal)
11226         (vc-version-ediff, vc-ediff): New commands.
11227         (vc-version-diff): Use vc-diff-build-argument-list-internal.
11229 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11231         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11232         add sanity check.
11234         * obsolete/erc-hecomplete.el: Make obsolete.
11235         * obsolete/: Standardize obsolescence info in the header.
11237 2011-04-20  Glenn Morris  <rgm@gnu.org>
11239         * calendar/solar.el (solar-horizontal-coordinates):
11240         Use the longitude argument rather than `calendar-longitude'.
11241         (solar-date-next-longitude): Remove unused locals.
11243 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11245         * whitespace.el: New version 13.2.1.
11247 2011-04-20  felix  <EmacsWiki>  (tiny change)
11249         * whitespace.el (global-whitespace-mode): Keep highlight when
11250         switching between major modes on a file.
11252 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11254         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11255         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11256         multi-line comments as well.
11258 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
11260         Lexical-binding cleanup.
11262         * arc-mode.el (archive-mode-revert):
11263         * cmuscheme.el (scheme-interactively-start-process):
11264         * custom.el (custom-initialize-delay):
11265         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11266         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11267         * emacs-lock.el (emacs-lock-clear-sentinel):
11268         * ezimage.el (defezimage):
11269         * follow.el (follow-avoid-tail-recenter):
11270         * fringe.el (set-fringe-mode-1):
11271         * generic-x.el (bat-generic-mode-compile):
11272         * help-mode.el (help-info-variable, help-do-xref)
11273         (help-mode-revert-buffer):
11274         * help.el (view-emacs-todo):
11275         * iswitchb.el (iswitchb-completion-help):
11276         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11277         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11278         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11279         * locate.el (locate-update):
11280         * longlines.el (longlines-encode-region)
11281         (longlines-after-change-function):
11282         * outline.el (outline-isearch-open-invisible):
11283         * ps-def.el (declare-function, charset-dimension, char-width)
11284         (encode-char):
11285         * ps-mule.el (ps-mule-plot-string):
11286         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11287         (recentf-edit-list-select, recentf-edit-list-validate)
11288         (recentf-open-files-action):
11289         * rect.el (delete-whitespace-rectangle-line)
11290         (rectangle-number-line-callback):
11291         * register.el (window-configuration-to-register)
11292         (frame-configuration-to-register):
11293         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11294         * select.el (xselect-convert-to-string, xselect-convert-to-length)
11295         (xselect-convert-to-targets, xselect-convert-to-delete)
11296         (xselect-convert-to-filename, xselect-convert-to-charpos)
11297         (xselect-convert-to-lineno, xselect-convert-to-colno)
11298         (xselect-convert-to-os, xselect-convert-to-host)
11299         (xselect-convert-to-user, xselect-convert-to-class)
11300         (xselect-convert-to-name, xselect-convert-to-integer)
11301         (xselect-convert-to-atom, xselect-convert-to-identity):
11302         * subr.el (declare, ignore, process-kill-without-query)
11303         (text-clone-maintain):
11304         * terminal.el (te-get-char, te-tic-sentinel):
11305         * tool-bar.el (tool-bar-make-keymap):
11306         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11307         * type-break.el (type-break-mode, type-break-noninteractive-query):
11308         * view.el (View-back-to-mark):
11309         * wid-browse.el (widget-browse-action, widget-browse-widget)
11310         (widget-browse-widgets, widget-browse-sexp):
11311         * widget.el (define-widget-keywords):
11312         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11313         Mark unused parameters.
11315         * align.el (align-adjust-col-for-rule): Mark unused parameter.
11316         (align-areas): Remove unused variable `look'.
11317         (align-region): Remove unused variables `real-end' and `pos-list'.
11319         * apropos.el (apropos-score-doc): Remove unused variable `i'.
11321         * bindings.el (mode-line-modified, mode-line-remote):
11322         Mark unused parameters.
11323         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11325         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11326         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11328         * comint.el (comint-history-isearch-pop-state)
11329         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11330         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11331         (comint-substitute-in-file-name): Doc fix.
11333         * completion.el (cmpl-statistics-block): Mark unused parameter.
11334         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11335         (save-completions-to-file, load-completions-from-file):
11336         Remove unused local variable `e'.
11338         * composite.el (compose-chars): Remove unused variable `len'.
11339         (lgstring-insert-glyph): Remove unused variable `g'.
11340         (compose-glyph-string): Remove unused variables `ascent',
11341         `descent', `lbearing' and `rbearing'.
11342         (compose-glyph-string-relative): Remove unused variables
11343         `lbearing', `rbearing' and `wadjust'.
11344         (compose-gstring-for-graphic): Remove unused variables `header',
11345         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
11346         (compose-gstring-for-terminal): Remove unused variables `header'
11347         and `nchars'.  Use `let', not `let*'.
11349         * cus-edit.el (Custom-set, Custom-save, custom-reset)
11350         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11351         (Custom-buffer-done, custom-buffer-create-internal)
11352         (custom-browse-visibility-action, custom-browse-group-tag-action)
11353         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11354         (widget-magic-mouse-down-action, custom-toggle-parent)
11355         (custom-add-parent-links, custom-toggle-hide-variable)
11356         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11357         (custom-toggle-hide-face, face, hook, custom-group-link-action)
11358         (custom-face-menu-create, custom-variable-menu-create, get)
11359         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11360         (custom-reset-standard-save-and-update): Remove unused variable `value'.
11361         (customize-apropos): Remove unused variable `tests'.
11362         (custom-group-value-create): Remove unused variable `hidden-p'.
11363         (sort-fold-case): Declare.
11365         * cus-theme.el (custom-reset-standard-faces-list)
11366         (custom-reset-standard-variables-list): Declare.
11367         (customize-create-theme, custom-theme-revert, custom-theme-write)
11368         (custom-theme-choose-mode, customize-themes, custom-theme-save):
11369         Mark unused parameters.
11371         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11373         * delim-col.el (delimit-columns-max): Move defvar before first use.
11375         * descr-text.el (describe-char-categories): Don't quote `lambda'.
11376         (describe-char): Don't quote `lambda'.  Mark unused parameter.
11378         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11379         (auto-insert): Declare.
11380         (desktop-restore-file-buffer): Rename desktop-* parameters;
11381         mark unused ones.
11382         (desktop-create-buffer): Rename desktop-* parameters and bind them.
11383         (desktop-buffer): Rename desktop-* parameters.
11385         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11386         (dframe-reposition-frame-xemacs, dframe-help-echo)
11387         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11388         Mark unused parameters.
11390         * dired-aux.el (backup-extract-version-start, overwrite-query)
11391         (overwrite-backup-query, rename-regexp-query)
11392         (rename-non-directory-query): Declare.
11393         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11394         (dired-add-entry): Remove unused variable `orig-file-name'.
11395         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11396         Use parameter PRESERVE-TIME instead of accessing dynamic variable
11397         `dired-copy-preserve-time' directly.
11398         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11399         (dired-insert-subdir-newpos): Rename unused variable `pos'.
11401         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11402         (dired-virtual-revert, dired-make-relative-symlink):
11403         Mark unused parameters.
11404         (manual-program): Declare.
11405         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11406         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11407         wrapped in `with-no-warnings' to avoid replacing one warning by another.
11409         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11411         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11413         * echistory.el (electric-history-in-progress, Helper-return-blurb):
11414         Declare.
11416         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11418         * electric.el (Electric-command-loop): Rename parameter
11419         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11421         * expand.el (expand-in-literal): Remove unused variable `here'.
11423         * facemenu.el (facemenu-add-new-color):
11424         Remove unused variable `docstring'.
11426         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11427         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11428         (face-attr-construct): Mark unused parameter.  Doc fix.
11429         (read-color): Remove unused variable `hex-string'.
11431         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11432         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11433         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11434         (display-buffer-other-frame): Remove unused variable `old-window'.
11435         (kill-buffer-hook): Declare.
11436         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11437         Mark unused parameters.
11438         (after-find-file): Pass 1 to `auto-save-mode', not t.
11440         * files-x.el (auto-insert): Declare.
11441         (modify-file-local-variable-prop-line): Remove unused variable `val'.
11443         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11444         variable `buf'.  Mark unused parameter.
11445         (find-lisp-insert-directory): Mark unused parameter.
11447         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11448         (format-encode-region): Remove unused variables `cur-buf' and `result'.
11449         (format-common-tail): Remove, unused.
11450         (format-deannotate-region): Remove unused variable `loc'.
11451         (format-annotate-region): Remove unused variable `p'.
11452         (format-annotate-single-property-change): Remove unused variables
11453         `default' and `tail'.
11455         * forms.el (read-file-filter): Declare.
11456         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11458         * frame.el (frame-creation-function-alist): Mark unused parameter.
11459         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11461         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11462         Remove unused parameters.
11463         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11464         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11466         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11467         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11468         (hfy-prepare-tag-map): Mark unused parameters.
11469         (htmlfontify-buffer): Use `called-interactively-p'.
11471         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11472         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11473         (ibuffer-do-occur): Mark unused parameters.
11474         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11475         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11477         * ibuffer.el: Don't quote `lambda'.
11478         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11479         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11480         Mark unused parameters.
11482         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11483         (ido-completing-read): Mark unused parameters.
11484         (ido-copy-current-word): Mark unused parameters;
11485         remove unused variable `name'.
11486         (ido-sort-merged-list): Remove unused parameter `dirs'.
11488         * ielm.el (ielm-input-sender): Mark unused parameter.
11489         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11490         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11491         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11492         `ielm-string' as a dynamic variable accessible from the IELM prompt.
11493         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
11495         * image-dired.el (image-dired-display-thumbs): Remove unused
11496         variables `curr-file' and `count'.
11497         (image-dired-remove-tag): Remove unused variable `start'.
11498         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11499         variable `curr-file'
11500         (image-dired-rotate-original): Remove unused variable `temp-file'.
11501         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11502         Remove unused variable `file'.
11503         (image-dired-gallery-generate): Remove unused variable `curr'.
11504         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11506         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11508         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11510         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11512         * isearch.el (minibuffer-history-symbol): Declare.
11513         (isearch-edit-string): Remove unused variable `err'.
11514         (isearch-message-prefix, isearch-message-suffix):
11515         Mark unused parameters.
11517         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11519         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11521         * makesum.el (double-column): Remove unused variable `cnt'.
11523         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11524         (ido-ignore-item-temp-list): Declare.
11526         * mouse-drag.el (mouse-drag-throw): Remove unused variables
11527         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11528         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11529         (mouse-drag-drag): Remove unused variables `mouse-delta' and
11530         `mouse-col-delta'.
11532         * mouse-sel.el (mouse-extend-internal):
11533         Remove unused variable `orig-window-frame'.
11535         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11536         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11537         Move declarations before first use.
11538         (pcomplete-opt): Mark unused parameters; doc fix.
11540         * proced.el (proced-revert): Mark unused parameter.
11541         (proced-send-signal): Remove unused variable `err'.
11543         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11544         Rename parameter PREFIX-ARG to ARG.
11545         (ps-basic-plot-string, ps-basic-plot-whitespace):
11546         Mark unused parameters.
11548         * replace.el (replace-count): Define.
11549         (occur-revert-function): Mark unused parameters.
11550         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11551         (isearch-case-fold-search, isearch-string): Declare.
11552         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11553         bind `case-fold-search'.  Remove unused variables `beg' and `end',
11554         and simplify.
11555         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11556         COUNT and bind `replace-count'.
11557         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11558         to COUNT.
11560         * savehist.el (print-readably, print-string-length): Declare.
11562         * shadowfile.el (shadow-expand-cluster-in-file-name):
11563         Remove unused variable `cluster'.
11564         (shadow-copy-file): Remove unused variable `i'.
11565         (shadow-noquery, shadow-clusters, shadow-site-cluster)
11566         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11567         (shadow-define-literal-group, shadow-define-regexp-group)
11568         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11570         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11571         (shell): Use `called-interactively-p'.
11572         (shell-directory-tracker): Remove unused variable `chdir-failure'.
11574         * simple.el (compilation-context-lines, comint-file-name-quote-list)
11575         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11576         (delete-backward-char): Remove unused variable `ocol'.
11577         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11578         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11579         (event-apply-hyper-modifier, event-apply-shift-modifier)
11580         (event-apply-control-modifier, event-apply-meta-modifier):
11581         Mark unused parameters.
11582         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11583         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11585         * speedbar.el (speedbar-ignored-directory-expressions)
11586         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11587         (speedbar-find-file, speedbar-dir-follow)
11588         (speedbar-directory-buttons-follow, speedbar-tag-find)
11589         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11590         (speedbar-buffers-line-directory, speedbar-buffer-click):
11591         Mark unused parameters.
11592         (speedbar-tag-file): Remove unused variable `mode'.
11593         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11595         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11597         * talk.el (talk): Remove unused variable `display'.
11599         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11600         (tar-write-region-annotate): Mark unused parameter.
11602         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11603         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11604         Declare them, wrapped in `with-no-warnings' to avoid replacing one
11605         warning by another.
11607         * time-stamp.el (time-stamp-string-preprocess):
11608         Remove unused variable `require-padding'.
11610         * tree-widget.el (widget-glyph-enable): Declare.
11611         (tree-widget-action): Mark unused parameter.
11613         * w32-fns.el (x-get-selection): Mark unused parameter.
11614         (autoload-make-program, generated-autoload-file): Declare.
11616         * wdired.el (wdired-revert): Mark unused parameters.
11617         (wdired-xcase-word): Remove unused variable `err'.
11619         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11620         (whitespace-help-scroll): Remove unused variable `data-help'.
11622         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11623         (widget-image-insert, widget-after-change, default)
11624         (widget-default-format-handler, widget-default-notify)
11625         (widget-default-prompt-value, widget-info-link-action)
11626         (widget-url-link-action, widget-function-link-action)
11627         (widget-variable-link-action, widget-file-link-action)
11628         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11629         (widget-field-prompt-internal, widget-field-action, widget-field-match)
11630         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11631         (widget-insert-button-action, widget-delete-button-action, visibility)
11632         (widget-documentation-link-action, widget-documentation-string-action)
11633         (widget-const-prompt-value, widget-regexp-match, symbol)
11634         (widget-coding-system-prompt-value)
11635         (widget-key-sequence-value-to-external, sexp)
11636         (widget-sexp-value-to-internal, character, vector, cons)
11637         (widget-choice-prompt-value, widget-boolean-prompt-value)
11638         (widget-color--choose-action): Mark unused parameters.
11639         (widget-item-match-inline, widget-choice-match-inline)
11640         (widget-checklist-match, widget-checklist-match-inline)
11641         (widget-group-match): Rename parameter VALUES to VALS.
11642         (widget-field-value-set): Remove unused variable `size'.
11643         (widget-color-action): Remove unused variables `value' and `start'.
11645         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11646         variable `dir'.  Doc fix.
11647         (windmove-find-other-window): Don't pass it.
11649         * window.el (count-windows): Mark unused parameter.
11650         (bw-adjust-window): Remove unused variable `err'.
11652         * woman.el (woman-file-name): Remove unused variable `default'.
11653         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11654         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11655         (global-font-lock-mode): Declare.
11656         (woman-decode-region): Mark unused parameter.
11657         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11659         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11660         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11661         (x-dnd-handle-moz-url): Remove unused variable `title'.
11662         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11664         * xml.el (xml-parse-tag, xml-parse-attlist):
11665         Remove unused variable `pos'.
11667 2011-04-19  Glenn Morris  <rgm@gnu.org>
11669         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11670         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11671         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11672         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11673         * calendar/cal-html.el (cal-html-insert-minical):
11674         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11675         (calendar-mark-date-pattern):
11676         Prefix "unused" locals.
11678         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11679         optional argument `style'.
11681         * calendar/appt.el (appt-make-list):
11682         * calendar/cal-china.el (calendar-chinese-date-string):
11683         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11684         (diary-hebrew-yahrzeit):
11685         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11686         * calendar/calendar.el (calendar-generate-window):
11687         * calendar/time-date.el (time-to-days):
11688         Remove unused local variables.
11690 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
11692         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11693         glyphless-char-display table.
11694         (tabulated-list-glyphless-char-display): New var.
11696 2011-04-18  Sam Steingold  <sds@gnu.org>
11698         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11699         to acknowledgments.
11701 2011-04-17  Glenn Morris  <rgm@gnu.org>
11703         * calendar/diary-lib.el (diary-sexp-entry):
11704         * calendar/holidays.el (holiday-sexp):
11705         Set debug-on-error rather than the removed stack-trace-on-error.
11707 2011-04-16  Glenn Morris  <rgm@gnu.org>
11709         * progmodes/f90.el: Use lexical-binding.
11710         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11712 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11714         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11715         (mail-mode): Setup mailalias completion here instead.
11716         * mail/mailalias.el: Use lexical-binding.
11717         (pattern, mailalias-done): Declare dynamic.
11718         (mail-completion-at-point-function): New function, from mail-complete.
11719         (mail-complete): Use it.
11720         (mail-completion-expand): New function.
11721         (mail-get-names): Use it.
11722         (mail-directory, mail-directory-process, mail-directory-stream):
11723         Don't use `pattern' for lexically bound arg.
11725         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11727         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11728         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11729         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11731         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11732         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11733         (byte-interactive-p): Define them again, for use when inlining
11734         old code.
11736 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11738         * loadup.el: Use `string-to-number', not `string-to-int'.
11740 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11742         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11743         gud-gdb-complete-command.
11744         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11745         (gud-gdb-completion-at-point): New function.
11746         (gud-gdb-completions): Remove.
11748 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11750         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11751         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11752         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11753         whether `executable-find' is bound.
11755         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11757 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11759         * minibuffer.el (completion-in-region-mode-predicate)
11760         (completion-in-region-mode--predicate): New vars.
11761         (completion-in-region, completion-in-region--postch)
11762         (completion-in-region-mode): Use them.
11763         (completion--capf-wrapper): Also return the hook function.
11764         (completion-at-point, completion-help-at-point):
11765         Adjust and provide a predicate.
11767         Preserve arg names for advice of subr and lexical functions (bug#8457).
11768         * help-fns.el (help-function-arglist): Consolidate the subr and
11769         new-byte-code cases.  Add argument `preserve-names' to extract names
11770         from the docstring when needed.
11771         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11772         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11773         (ad-arglist): Use help-function-arglist's new arg.
11774         (ad-definition-type): Use cond.
11776 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
11778         * autorevert.el (auto-revert-handler):
11779         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11780         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11781         Don't quote lambda.
11783         * image-mode.el (image-transform-set-scale):
11784         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11786 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11788         * net/network-stream.el (network-stream-open-starttls): Only do
11789         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11790         Upgrades via gnutls-cli are too slow to be done opportunistically.
11792 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11794         * dframe.el (dframe-current-frame): Remove spurious quote.
11796 2011-04-12  Glenn Morris  <rgm@gnu.org>
11798         * calendar/cal-tex.el (cal-tex-end-document):
11799         Try to automatically use latin1 input if needed.
11801         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11802         Don't try to cons a mark onto an empty element.
11804 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11806         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11807         buffers.
11808         (ido-kill-buffer-at-head): Support killing virtual buffers.
11810 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11812         * minibuffer.el (completion-show-inline-help): New var.
11813         (completion--do-completion, minibuffer-complete)
11814         (minibuffer-force-complete, minibuffer-complete-word):
11815         Inhibit minibuffer messages if completion-show-inline-help is nil.
11817         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11818         to avoid interference from inline help (Bug#5849).
11820 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11822         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11823         Fix typo.
11825 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11827         * image-mode.el (image-toggle-display-image): Signal an error if
11828         not in Image mode.
11829         (image-transform-mode, image-transform-resize)
11830         (image-transform-set-rotation): Doc fix.
11831         (image-transform-set-resize): Delete.
11832         (image-transform-set-scale, image-transform-fit-to-height)
11833         (image-transform-fit-to-width): Handle image-toggle-display-image
11834         and image-transform-resize directly.
11836 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11838         * doc-view.el (doc-view-fit-width-to-window)
11839         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11840         New functions for fitting the shown image to the Emacs window size.
11841         (doc-view-mode-map): Add bindings for the new functions.
11843 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11845         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11846         Fix typo in docstring.
11848 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11850         * files.el (file-size-human-readable): Produce one digit after
11851         decimal, like "ls -lh" does.
11853         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11854         the file size representation.
11856         * simple.el (list-processes): If async subprocesses are not
11857         available, error out with a clear error message.
11859 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11861         * help.el (help-form-show): New function, to be called from C.
11862         Put help-form output in a buffer named differently than *Help*.
11864 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11866         * files.el (file-size-human-readable): New function.
11868         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11869         computing the representation inline.  Don't require `cl'.
11871 2011-04-08  Glenn Morris  <rgm@gnu.org>
11873         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11875         * net/browse-url.el (browse-url-firefox):
11876         Test system-type, not system-configuration.
11878         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11879         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11880         Use log-edit-empty-buffer-p.  (Bug#7598)
11882         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11883         (rlogin-mode-map): Initialize in the defvar.
11884         (rlogin): Use ignore-errors.
11886         * replace.el (occur-mode-map): Some fixes for menu items.
11888 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11890         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11892 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11894         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11895         issuing unused warnings.
11897         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11898         macro directly.
11900         * simple.el: Lisp reimplement of list-processes.  Based on an
11901         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11902         (process-menu-mode): New major mode.
11903         (list-processes--refresh, list-processes):
11904         (process-menu-visit-buffer): New functions.
11906         * files.el (save-buffers-kill-emacs): Don't assume any return
11907         value of list-processes, which is undocumented anyway.
11909 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11911         * emacs-lisp/tabulated-list.el: New file.
11913         * emacs-lisp/package.el: Use Tabulated List mode.
11914         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11915         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11916         table format using Tabulated List mode variables.
11917         (package--push): New macro, replacing package-list-maybe-add.
11918         (package-menu--generate): Use package--push.  Renamed from
11919         package--generate-package-list.
11920         (package-menu-refresh, list-packages): Use it.
11921         (package-menu--print-info): Rename from package-print-package.
11922         Return insertion data instead of inserting it directly.
11923         (package-menu-describe-package, package-menu-execute):
11924         Use tabulated-list-get-id.
11925         (package-menu-mark-delete, package-menu-mark-install)
11926         (package-menu-mark-unmark, package-menu-backup-unmark)
11927         (package-menu-mark-obsolete-for-deletion):
11928         Use tabulated-list-put-tag.
11929         (package--list-packages, package-menu-revert)
11930         (package-menu-get-package, package-menu-get-version)
11931         (package-menu-sort-by-column): Functions deleted.
11932         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11933         (package-menu--status-predicate, package-menu--version-predicate)
11934         (package-menu--name-predicate)
11935         (package-menu--description-predicate): Handle arguments in the
11936         Tabulated List format.
11937         (package-list-packages-no-fetch): Call list-packages.
11939 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11941         * files.el (after-find-file-from-revert-buffer): Remove variable.
11942         (after-find-file): Don't bind it.
11943         (revert-buffer-in-progress-p): New variable.
11944         (revert-buffer): Bind it.
11945         Pass nil for `after-find-file-from-revert-buffer'.
11947         * saveplace.el (save-place-find-file-hook): Use new variable
11948         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11950 2011-04-06  Glenn Morris  <rgm@gnu.org>
11952         * Makefile.in (AUTOGEN_VCS): New variable.
11953         (autoloads): Use $AUTOGEN_VCS.
11955         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11956         * calendar/calendar.el (calendar-mode-map):
11957         Check for toolkit scroll bars.  (Bug#8305)
11959 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11961         * minibuffer.el (completion-in-region--postch)
11962         (completion-in-region-mode): Remove unnecessary messages.
11964 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11966         * font-lock.el (font-lock-refresh-defaults):
11967         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11968         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11970         * info.el (Info-directory-list, Info-read-node-name-2)
11971         (Info-split-parameter-string): Doc fixes.
11972         (Info-virtual-nodes): Reflow docstring.
11973         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11974         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11975         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11976         Fix typos in docstrings.
11977         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11978         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11979         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11980         (Info-restore-desktop-buffer): Mark unused parameters.
11981         (Info-directory-find-file, Info-directory-find-node)
11982         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11983         (Info-virtual-index-find-node, Info-apropos-find-file)
11984         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11985         Mark unused parameters; fix typos in docstrings.
11986         (Info-virtual-index): Remove unused local variable `nodename'.
11988 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11990         * net/rcirc.el: Update my e-mail address.
11991         (rcirc-mode-map): Remove M-o binding.
11993 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11995         * startup.el (command-line): Save the cursor's theme-face
11996         directly, instead of using face-override-spec.
11998         * custom.el (load-theme): Minor optimization in assigning faces.
12000 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12002         * help-fns.el (describe-variable): Complete all variables having
12003         documentation, including keywords.
12004         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12006 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12008         Convert to lexical-binding.
12010         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12011         (bs--get-marked-string, bs--get-modified-string)
12012         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12013         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12014         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12016         * ehelp.el (electric-help-execute-extended)
12017         (electric-help-ctrl-x-prefix):
12018         * hexl.el (hexl-revert-buffer-function):
12019         * linum.el (linum-after-change, linum-after-scroll):
12020         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12022         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12024 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12026         * epa-dired.el:
12027         * epa-mail.el:
12028         * epa-hook.el:
12029         * epa-file.el:
12030         * epa.el:
12031         * epg.el: Use lexical binding.
12033 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12035         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12037         * textmodes/flyspell.el (flyspell-word): Recognize default
12038         dictionary case for flyspell-mark-duplications-exceptions.
12039         Use regexp matching for languages.
12040         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12041         default dictionary (Bug#7926).
12043 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12045         * emacs-lisp/package.el (package--with-work-buffer):
12046         Recognize https URLs.
12048         * net/network-stream.el: Move from gnus/proto-stream.el.
12049         Change prefix to network-stream throughout.
12050         (open-protocol-stream): Merge into open-network-stream, leaving
12051         open-protocol-stream as an alias.  Handle nil BUFFER args.
12053         * subr.el (open-network-stream): Move to net/network-stream.el.
12055 2011-04-02  Glenn Morris  <rgm@gnu.org>
12057         * find-dired.el (find-exec-terminator): New option.
12058         (find-ls-option): Test for -ls support.
12059         (find-ls-subdir-switches): Test for -b in find-ls-option.
12060         (find-dired, find-grep-dired): Doc fixes.
12061         (find-dired): Use find-exec-terminator.
12063         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12064         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12065         (find-name-arg): Remove purecopy.
12067         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12068         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12069         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12070         accordingly.  Don't add the null-device if not needed.
12072         * files.el (save-some-buffers): Doc fix.
12074 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12076         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12078 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12080         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12081         Use `dolist' rather than `mapcar'.
12083 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12085         Add lexical binding.
12087         * subr.el (apply-partially): Use new closures rather than CL.
12088         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12089         (dolist, dotimes): Use slightly different expansion for lexical code.
12090         (functionp): Move to C.
12091         (letrec): New macro.
12092         (with-wrapper-hook): Use it and apply-partially instead of CL.
12093         (eval-after-load): Preserve lexical-binding.
12094         (save-window-excursion, with-output-to-temp-buffer): Turn them
12095         into macros.
12097         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12099         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12100         than the arglist.
12101         (help-add-fundoc-usage): Don't add `Not documented'.
12102         (help-function-arglist): Handle closures, subroutines, and new
12103         byte-code-functions.
12104         (help-make-usage): Remove leading underscores.
12105         (describe-function-1): Handle closures.
12106         (describe-variable): Use special-variable-p for completion.
12108         * files.el (lexical-binding): Declare safe.
12110         * emacs-lisp/pcase.el: Don't use destructuring-bind.
12111         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
12112         (pcase): Add `let' pattern.
12113         Change memoization so it actually works.
12114         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12115         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12116         <let>: New case.
12118         * emacs-lisp/macroexp.el: Use lexical binding.
12119         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
12120         Don't convert ' to #' without checking that it's indeed quoting
12121         a lambda.
12123         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12124         Use eval-sexp-add-defvars.
12125         (eval-sexp-add-defvars): New fun.
12127         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12129         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12130         Don't autoload.
12131         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12132         than the internal `byte-compile-lambda'.
12133         (defmethod): Don't hide code under quotes.
12134         (eieio-defmethod): New `code' argument.
12136         * emacs-lisp/eieio-comp.el: Remove.
12138         * emacs-lisp/edebug.el (edebug-eval-defun)
12139         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12140         (edebug-toggle): Avoid `eval'.
12142         * emacs-lisp/disass.el (disassemble-internal): Handle new
12143         `closure' objects.
12144         (disassemble-1): Handle new byte codes.
12146         * emacs-lisp/cl.el (pushnew): Silence warning.
12148         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12149         (cl-byte-compile-throw): Remove.
12150         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12152         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12153         closures.
12155         * emacs-lisp/cconv.el: New file.
12157         * emacs-lisp/bytecomp.el: Use lexical binding instead of
12158         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
12159         (byte-compile-initial-macro-environment):
12160         Handle declare-function here.
12161         (byte-compile--lexical-environment): New var.
12162         (byte-stack-ref, byte-stack-set, byte-discardN)
12163         (byte-discardN-preserve-tos): New lap codes.
12164         (byte-interactive-p): Don't use any more.
12165         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12166         New macros.
12167         (byte-compile-lapcode): Use them and handle new lap codes.
12168         (byte-compile-obsolete): Remove.
12169         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12170         (byte-compile-arglist-warn): Check late def of inlinable funs.
12171         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12172         since they should have been expanded by now.
12173         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12174         (byte-compile-from-buffer): Remove unused second arg.
12175         (byte-compile-preprocess): New function.
12176         (byte-compile-toplevel-file-form): New function to distinguish
12177         file-form calls from outside from file-form calls from hunk-handlers.
12178         (byte-compile-file-form): Simplify.
12179         (byte-compile-file-form-defsubst): Remove.
12180         (byte-compile-file-form-defmumble): Simplify now that
12181         byte-compile-lambda always returns a byte-code-function.
12182         (byte-compile): Preprocess.
12183         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12184         Remove, not used any more.
12185         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12186         (byte-compile-make-args-desc): New funs.
12187         (byte-compile-lambda): Handle lexical functions.  Always return
12188         a byte-code-function.
12189         (byte-compile-reserved-constants): New var, to make up room for
12190         closed-over variables.
12191         (byte-compile-constants-vector): Obey it.
12192         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12193         (byte-compile-macroexpand-declare-function): New function.
12194         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12195         byte-code-functions.
12196         (byte-compile-form): Check obsolescence here.
12197         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12198         (byte-compile-variable-ref): Remove.
12199         (byte-compile-dynamic-variable-op): New fun.
12200         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12201         (byte-compile-variable-set): New funs.
12202         (byte-compile-discard): Add 2 args.
12203         (byte-compile-stack-ref, byte-compile-stack-set)
12204         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12205         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12206         macroexpand-all instead.
12207         (byte-compile-quote-form): Remove.
12208         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12209         (byte-compile-bind, byte-compile-unbind): New funs.
12210         (byte-compile-let): Handle let* and lexical binding.
12211         (byte-compile-let*): Remove.
12212         (byte-compile-catch, byte-compile-unwind-protect)
12213         (byte-compile-track-mouse, byte-compile-condition-case):
12214         Handle a new :fun-body form, used for lexical scoping.
12215         (byte-compile-save-window-excursion)
12216         (byte-compile-with-output-to-temp-buffer): Remove.
12217         (byte-compile-defun): Simplify.
12218         (byte-compile-stack-adjustment): New fun.
12219         (byte-compile-out): Use it.
12220         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12222         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12223         handler any more.
12225         * emacs-lisp/byte-opt.el: Use lexical binding.
12226         (byte-inline-lapcode): Remove (to bytecomp).
12227         (byte-compile-inline-expand): Pay attention to inlining to/from
12228         lexically bound code.
12229         (byte-compile-unfold-lambda): Don't handle byte-code-functions
12230         any more.
12231         (byte-optimize-form-code-walker): Don't handle save-window-excursion
12232         any more and don't call compiler-macros.
12233         (byte-compile-splice-in-already-compiled-code): Remove.
12234         (byte-code): Don't inline any more.
12235         (disassemble-offset): Receive `bytes' as argument rather than via
12236         dynamic scoping.
12237         (byte-compile-tag-number): Declare before first use.
12238         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12239         `return' even if make-spliceable.
12240         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12241         obsolete interactive-p.
12242         (byte-optimize-lapcode): Optimize new lap-codes.
12243         Don't trip up on new form of `byte-constant' lap code.
12245         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12247         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12249         * custom.el (custom-initialize-default, custom-declare-variable):
12250         Use `defvar'.
12252         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12253         New variables.
12254         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12255         (COMPILE_FIRST): Add macroexp and cconv.
12256         * makefile.w32-in: Mirror changes in Makefile.in.
12258         * vc/cvs-status.el:
12259         * vc/diff-mode.el:
12260         * vc/log-edit.el:
12261         * vc/log-view.el:
12262         * vc/smerge-mode.el:
12263         * textmodes/bibtex-style.el:
12264         * textmodes/css.el:
12265         * startup.el:
12266         * uniquify.el:
12267         * minibuffer.el:
12268         * newcomment.el:
12269         * reveal.el:
12270         * server.el:
12271         * mpc.el:
12272         * emacs-lisp/smie.el:
12273         * doc-view.el:
12274         * dired.el:
12275         * abbrev.el: Use lexical binding.
12277 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
12279         * info.el (info-display-manual): New function.
12281 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12283         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12285 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
12287         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12288         an entry for that server in rcirc-authinfo.  (Bug#8385)
12290 2011-03-31  Glenn Morris  <rgm@gnu.org>
12292         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12294         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12296 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
12298         * progmodes/python.el (python-default-interpreter)
12299         (python-python-command-args, python-jython-command-args)
12300         (python-which-shell, python-which-args, python-which-bufname)
12301         (python-file-queue, python-comint-output-filter-function)
12302         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12303         variables and functions.
12305 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12308         (completion-in-region-mode): New minor mode.
12309         (completion-in-region): Use it.
12310         (completion-in-region--data, completion-in-region-mode-map): New vars.
12311         (completion-in-region--postch): New function.
12312         (completion--capf-misbehave-funs, completion--capf-safe-funs):
12313         New vars.
12314         (completion--capf-wrapper): New function.
12315         (completion-at-point): Use it to track well-behavedness of
12316         hook functions.
12317         (completion-help-at-point): New command.
12319 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
12321         * vc/add-log.el (add-change-log-entry): Don't use whitespace
12322         syntax class to search for whitespace on a single line
12323         (Message-ID: <4D938140.4030905@redhat.com>).
12325 2011-03-30  Leo Liu  <sdl.web@gmail.com>
12327         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12328         New commands.
12329         (edit-abbrevs-map): Bind them here.
12330         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
12332 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
12334         * allout.el (allout-hide-by-annotation, allout-flag-region):
12335         Reduce possibility of overlay leakage by making them volatile.
12337         * allout-widgets.el (allout-widgets-tally): Define as nil so the
12338         hash is not shared between buffers.  Mode initialization is
12339         responsible for giving it a useful starting value.
12340         (allout-item-span): Reduce possibility of overlay leakage by
12341         making them volatile.
12342         (allout-widgets-count-buttons-in-region): Add diagnostic function
12343         for tracking down button overlay leaks.
12345 2011-03-29  Leo Liu  <sdl.web@gmail.com>
12347         * ido.el (ido-read-internal): Use the default history var
12348         minibuffer-history if no HISTORY is specified.
12350 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
12352         * net/imap.el (imap-shell-open, imap-process-connection-type):
12353         Use imap-process-connection-type for 'shell' streams as well as
12354         Kerberos, SSL, other subprocesses.
12356 2011-03-28  Leo Liu  <sdl.web@gmail.com>
12358         * abbrev.el (abbrev-table-empty-p): New function.
12359         (prepare-abbrev-list-buffer): Place empty abbrev tables after
12360         nonempty ones.  (Bug#5937)
12362 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
12364         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12366 2011-03-27  Leo Liu  <sdl.web@gmail.com>
12368         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12369         for foreground and background colors.
12370         (ansi-color-make-color-map): Adapt.
12372 2011-03-25  Leo Liu  <sdl.web@gmail.com>
12374         * midnight.el (midnight-time-float): Remove.  Note it calculates
12375         the microsecond component incorrectly and seconds-to-time does the
12376         same job.
12377         Remove redundant (require 'timer).
12379         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12380         (ido-completions): Remove unused arguments.  (Bug#8329)
12382 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12384         * minibuffer.el (completion--flush-all-sorted-completions):
12385         Remove itself from hook.
12386         (completion-at-point): Let the functions perform the completion
12387         immediately and return nil or t.
12388         * comint.el (comint-dynamic-complete-functions): Now identical to
12389         completion-at-point-functions.
12390         (comint-dynamic-list-input-ring): Remove unused var `index'.
12391         (comint--match-partial-filename, comint--unquote&expand-filename):
12392         New funs, split from comint-match-partial-filename.
12393         (comint-dynamic-complete): Use completion-at-point.
12394         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12396 2011-03-24  Drew Adams  <drew.adams@oracle.com>
12398         * thingatpt.el: Support `defun'.
12400 2011-03-23  Leo Liu  <sdl.web@gmail.com>
12402         * abbrevlist.el: Move to obsolete/abbrevlist.el.
12404         * help-mode.el (help-mode-finish): Tweak regexp.
12406 2011-03-23  Glenn Morris  <rgm@gnu.org>
12408         * eshell/esh-opt.el (eshell-eval-using-options):
12409         Do not bind unused local variable `eshell-option-stub'.
12411         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12413 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12415         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12416         keymap variable in `with-no-warnings' to avoid a warning when the
12417         keymap has been already `defconst'ed.
12419 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12421         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12422         encode all chars in abbrevs; otherwise use emacs-mule or
12423         utf-8-emacs.  (Bug#8308)
12425 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12427         * simple.el (backward-delete-char-untabify):
12428         Avoid warning about using `delete-backward-char'.
12430         * image.el (image-type-file-name-regexps): Make it variable.
12431         `imagemagick-register-types' modifies it, and the user may want
12432         to add new extensions for known image types.
12433         (imagemagick-register-types): Throw error if not using ImageMagick.
12435 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12437         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12438         located before rcirc-prompt-end-marker.
12439         (rcirc-complete): Error if point is not after rcirc prompt.
12440         Handle the case when table is nil.
12441         (rcirc-user-authenticated): Define to fix compiler warning.
12443 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
12445         * custom.el (custom--inhibit-theme-enable): Make it affect only
12446         custom-theme-set-variables and custom-theme-set-faces.
12447         (provide-theme): Ignore custom--inhibit-theme-enable.
12448         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12449         (custom-enabling-themes): Delete variable.
12450         (enable-theme): Accept only loaded themes as arguments.
12451         Ignore the special custom-enabled-themes variable.
12452         (custom-enabled-themes): Forbid themes from setting this.
12453         Eliminate use of custom-enabling-themes.
12454         (custom-push-theme): Quote "changed" custom var entry.
12456 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12458         * ido.el (ido-read-internal): Add ido-selected to history instead
12459         of user input.
12461 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12463         * subr.el (deferred-action-list, deferred-action-function):
12464         Mark obsolete.
12466 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12468         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12469         change on 2011-02-13 (bug#8309).
12471         * minibuffer.el (read-file-name-function): Change default value.
12472         (read-file-name--defaults): Rename from read-file-name-defaults.
12473         (read-file-name-default): Rename from read-file-name.
12474         (read-file-name): Call read-file-name-function.
12476 2011-03-21  Glenn Morris  <rgm@gnu.org>
12478         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12479         Doc fixes.
12481 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
12483         * cus-theme.el: Add missing provide statement.
12484         (customize-create-theme): Extract theme value correctly.
12485         (custom-theme-visit-theme): Autoload.
12486         (customize-create-theme): Prompt before inserting default faces.
12488 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
12490         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12491         units and musical notes.
12493 2011-03-20  Leo Liu  <sdl.web@gmail.com>
12495         * ido.el (ido-read-internal): Use completing-read-default.
12496         (ido-completing-read): Fix compatibility with completing-read.
12498 2011-03-20  Christian Ohler  <ohler@gnu.org>
12500         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12501         (ert-delete-all-tests): Use `called-interactively-p' rather than
12502         `interactive-p'.
12503         (ert--make-xrefs-region): Respect END.
12505 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12507         * dired-aux.el (dired-create-directory): Signal an error if the
12508         directory already exists (Bug#8246).
12510         * facemenu.el (list-colors-display): Call list-faces-display
12511         inside with-help-window.
12512         (list-colors-print): Use display property to align the final
12513         column, instead of checking window-width.
12515 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
12517         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12518         windows-nt systems.
12519         (emerge-protect-metachars): Quote correctly for ms-dos and
12520         windows-nt systems.
12522 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
12524         * info.el (info-initialize): Replace all uses of `:' with
12525         path-separator for compatibility with non-Unix systems.
12526         Cache quoting of path-separator.  (Bug#8258)
12528 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
12530         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12531         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12532         (mouse-avoidance-mode): Fix typos in docstrings.
12534 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12536         * startup.el (package-subdirectory-regexp): Move from package.el.
12537         Omit \\` and \\', and let callers add them.
12539         * emacs-lisp/package.el (package-strip-version)
12540         (package-load-all-descriptors): Add \\` and \\' to
12541         package-subdirectory-regexp before using it.
12542         (package-untar-buffer): New arg DIR; ensure that file untars only
12543         into this expected directory.  Remove superfluous delete-region.
12544         (package-unpack): Caller changed.
12545         (package-tar-file-info): Use package-subdirectory-regexp.
12547 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12549         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12550         diff-mode-shared-map (bug#8284).
12551         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12553 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12555         * calendar/time-date.el (format-seconds): Use assoc instead of
12556         assoc-string, since assoc-string doesn't exist in XEmacs.
12558 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
12560         * custom.el (custom-known-themes): Reflow docstring.
12561         (custom-theme-load-path): Fix typo in docstring.
12562         (load-theme): Fix typo in error message.
12563         (custom-available-themes, custom-variable-theme-value):
12564         Use `let', not `let*'.
12566 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12568         * calc/README: Mention inclusion of musical notes.
12570         * calc/calc-units.el (calc-lu-quant): Rename from
12571         `calc-logunits-quantity'.
12572         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12573         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12574         (calc-db): Rename from `calc-dblevel'.
12575         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12576         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12577         (calc-np): Rename from `calc-nplevel'.
12578         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12579         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12580         (calc-lu-plus): Rename from `calc-logunits-add'.
12581         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12582         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12583         (calc-lu-minus): Rename from `calc-logunits-sub'.
12584         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12585         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12586         (calc-lu-times): Rename from `calc-logunits-mul'.
12587         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12588         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12589         (calc-lu-divide): Rename from `calc-logunits-div'.
12590         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12591         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12593         * calc/calc-ext.el (calc-init-extensions): Update the names of the
12594         functions being autoloaded.
12596         * calc/calc.el (calc-lu-power-reference): Rename from
12597         `calc-logunits-power-reference'.
12598         (calc-lu-field-reference): Rename from
12599         `calc-logunits-field-reference'.
12601         * calc/calc-help.el (calc-l-prefix-help):
12602         Mention musical note functions.
12604 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12606         * minibuffer.el (completion-all-sorted-completions):
12607         Use :completion-cycle-penalty text property if present.
12609 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
12611         * allout.el (allout-yank-processing): Adjust for new rebulleting
12612         regime so bullet being yanked is used without prompting the user
12613         for a choice.
12615 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12617         * startup.el (command-line): Warn the user that _emacs is deprecated.
12619 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12621         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12622         (delphi-verbose, delphi-comment-face, delphi-string-face)
12623         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12624         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12625         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12626         (delphi-new-comment-line, delphi-font-lock-defaults)
12627         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12628         Fix typos in docstrings.
12630 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
12632         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12633         Invert the roles of character and string values for INSTEAD, so a
12634         string is used for the more common case of a defaulting prompt.
12636 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12638         * progmodes/ruby-mode.el (ruby-backward-sexp):
12639         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12640         * play/gamegrid.el (gamegrid-make-face):
12641         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12642         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12643         * notifications.el (notifications-notify):
12644         * net/xesam.el (xesam-search-engines):
12645         * net/quickurl.el (quickurl-list-insert):
12646         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12648 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
12650         * startup.el (command-line): Update package subdirectory regexp.
12652 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12654         * allout.el (allout-abbreviate-flattened-numbering)
12655         (allout-mode-deactivate-hook): Fix up obsolescence "date".
12657         * subr.el (read-char-choice): Only show the cursor after the prompt,
12658         not after the answer.
12660 2011-03-15  Kevin Ryde  <user42@zip.com.au>
12662         * help-fns.el (variable-at-point): Skip leading quotes, if any
12663         (bug#8253).
12665 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12667         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12668         warning message.
12670 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
12672         * shell.el (shell): When called interactively, offer to change the
12673         shell file name on remote hosts.
12675 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
12677         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12678         integration for LDAP parameters.  The host, base, user or binddn,
12679         and secret tokens can be specified in a netrc file, for instance.
12680         This is optional because an `auth-source' parameter must be
12681         specified in the search attributes.
12683 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
12685         * help.el (describe-mode): Link to the mode's definition (bug#8185).
12687 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12689         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12690         into declaration.  Remove redundant and harmful binding.
12692 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12694         * files.el (file-ownership-preserved-p): Pass `integer' as an
12695         explicit 2nd argument to `file-attributes'.  If the file's owner
12696         is the Administrators group on Windows, and the current user is
12697         Administrator, consider that a match.
12699         * server.el (server-ensure-safe-dir): Consider server directory
12700         safe on MS-Windows if its owner is the Administrators group while
12701         the current Emacs user is Administrator.  Use `=' to compare
12702         numerical UIDs, since they could be integers or floats.
12704 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12706         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12708 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12710         Sync with Tramp 2.2.1.
12712         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12714         * net/trampver.el: Update release number.
12716 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * progmodes/compile.el (compilation--previous-directory): Fix up
12719         various nil/dead-marker mismatches (bug#8014).
12720         (compilation-directory-properties, compilation-error-properties):
12721         Don't call it at a position past the one we're about to change.
12723         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12724         Disable obsolescence warnings in the file that declares it.
12726 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12728         * allout-widgets.el (allout-widgets-tally):
12729         Initialize allout-widgets-tally as a hash table rather than nil to
12730         prevent mode-line redisplay warnings.  Also, clarify the module
12731         description and fix a comment typo.
12733 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12735         * help-fns.el (describe-variable): Don't complete keywords.
12736         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12738 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12740         * emacs-lisp/package.el (package-version-join): Impose a standard
12741         string representation for pre/alpha/beta version lists.
12742         (package-unpack-single): Standardize the directory name by passing
12743         it through package-version-join.
12744         (package-strip-rcs-id): Accept any version string that does not
12745         signal an error in version-to-list.
12747 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12749         * simple.el (delete-trailing-whitespace): Return nil for the
12750         benefit of `write-file-functions'.
12752 2011-03-10  Glenn Morris  <rgm@gnu.org>
12754         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12756         * vc/vc-git.el (vc-git-program): New option.
12757         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12758         (vc-git--call): Use it.
12760         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12762         * cus-edit.el (Custom-newline): If no button at point, look
12763         for a subgroup button at start-of-line.  (Bug#2298)
12765         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12767 2011-03-10  Julien Danjou  <julien@danjou.info>
12769         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12770         `cursor-type' is nil.
12772 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
12774         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12776 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
12778         * allout.el: Change so yank of distinctive-bullet items
12779         preserves the existing header prefix, rebulleting it if necessary,
12780         rather than replacing it.  This is necessary for proper operation
12781         of cooperative addons like allout-widgets.
12782         (allout-make-topic-prefix, allout-rebullet-heading):
12783         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12784         value as alternate bullet to be used, instead of prompting the user
12785         for a bullet character.
12787 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12789         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12790         Do not use `tramp-file-name-port', because this returns also
12791         `tramp-default-port'.
12793 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12795         * net/rcirc.el (rcirc-handler-001): Remove useless
12796         with-rcirc-process-buffer.
12797         (rcirc-check-auth-status): Swap arguments to string-match.
12799 2011-03-09  Glenn Morris  <rgm@gnu.org>
12801         * shell.el (shell-mode):
12802         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12804         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12805         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12807 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12809         * emacs-lisp/package.el (package-refresh-contents)
12810         (package-menu-execute): Use condition-case-no-debug.
12812 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12814         * simple.el (shell-command-to-string): Use `process-file'.
12816         * emacs-lisp/package.el (package-tar-file-info): Handle also
12817         remote files.
12819         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12820         Use `equal' for upload base check.
12822 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12824         * textmodes/texinfo.el (texinfo-environments):
12825         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12827 2011-03-08  Glenn Morris  <rgm@gnu.org>
12829         * cus-start.el (cursor-in-non-selected-windows):
12830         Fix :set quoting oddness.  (Bug#8192)
12832         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12833         in some setf expressions.  (Bug#2159)
12835 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12837         * custom.el (custom-available-themes): Return themes in
12838         alphabetical order.
12840 See ChangeLog.15 for earlier changes.
12842 ;; Local Variables:
12843 ;; coding: utf-8
12844 ;; End:
12846   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12848   This file is part of GNU Emacs.
12850   GNU Emacs is free software: you can redistribute it and/or modify
12851   it under the terms of the GNU General Public License as published by
12852   the Free Software Foundation, either version 3 of the License, or
12853   (at your option) any later version.
12855   GNU Emacs is distributed in the hope that it will be useful,
12856   but WITHOUT ANY WARRANTY; without even the implied warranty of
12857   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12858   GNU General Public License for more details.
12860   You should have received a copy of the GNU General Public License
12861   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.