* cus-edit.el (custom-buffer-create-internal): Update header text.
[emacs.git] / lisp / ChangeLog
blob76b855e6bc99c69a57eb7ac1b44795d09cd712c4
1 2012-04-25  Chong Yidong  <cyd@gnu.org>
3         * cus-edit.el (custom-buffer-create-internal): Update header text.
5 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9         set interactive-mode on in GDB.
11 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14         (ruby-syntax-propertize-regexp): Remove.
15         (ruby-syntax-propertize-function): Split regexp into chunks.
16         Match following code directly.
18 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
20         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
21         (ruby-syntax-propertize-regexp): New function.
22         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
23         by a special keyword.
25         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
26         (ruby-syntax-general-delimiters-goto-beg)
27         (ruby-syntax-propertize-general-delimiters): New functions.
28         (ruby-syntax-propertize-function): Use them to handle GDL.
29         (ruby-font-lock-keywords): Move old handling of GDL...
30         (ruby-font-lock-syntactic-keywords): .. to here.
31         (ruby-calculate-indent): Adjust indentation for GDL.
33 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
35         * notifications.el (top): Remove unneeded declarations.
36         (notifications-specification-version): Change to "1.2".
37         (notifications-interface, notifications-notify-method)
38         (notifications-close-notification-method): Fix docstring.
39         (notifications-get-capabilities-method): New defconst.
40         (notifications-notify): Add :action-items, :resident and
41         :transient hints.  Change "image_data" to "image-data" and
42         "image_path" to "image-path".
43         (notifications-get-capabilities): New defun.
45 2012-04-24  Leo Liu  <sdl.web@gmail.com>
47         * progmodes/python.el: Move hideshow setup to the end.
49 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
51         * window.el (handle-select-window): Clear echo area since this is
52         no more done by read_char (Bug#11304).
54 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
56         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
57         and `/ M' to filter-derived-mode.
58         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
59         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
60         (ibuffer-mark-by-mode): Use default rather than initial-input.
61         (ibuffer-filter-by-derived-mode): Autoload and require-match.
63 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
65         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
66         (ibuffer-filter-by-derived-mode): New filter.
67         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
69 2012-04-23  Andreas Politz  <politza@fh-trier.de>
71         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
73 2012-04-23  Chong Yidong  <cyd@gnu.org>
75         * cus-edit.el (customize-apropos, customize-apropos-options):
76         Disable matching of non-option variables (Bug#11176).
77         (customize-option, customize-option-other-window)
78         (customize-changed-options): Doc fix.
79         (customize-apropos-options, customize-apropos-faces)
80         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
82         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
83         Fix word list splitting (Bug#11132).
84         (apropos-symbol, apropos-keybinding, apropos-label)
85         (apropos-property, apropos-function-button)
86         (apropos-variable-button, apropos-misc-button): New faces.
87         (apropos-symbol-face, apropos-keybinding-face)
88         (apropos-label-face, apropos-property-face, apropos-match-face):
89         Variables removed (Bug#8396).
90         (apropos-library-button, apropos-format-plist, apropos-print)
91         (apropos-print-doc, apropos-describe-plist): Callers changed.
93 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
95         * net/xesam.el (xesam-mode-map): Use let-bound map in
96         initialization.  (Bug#11292)
98 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
100         Preserve ispell session localwords when switching back to
101         original buffer.
103         * ispell.el (ispell-buffer-session-localwords): New buffer-local
104         variable to hold buffer session localwords.
105         (ispell-kill-ispell): add option 'clear to delete session
106         localwords.
107         (ispell-command-loop, ispell-change-dictionary)
108         (ispell-buffer-local-words): Preserve session localwords when
109         needed.
111         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
112         Preserve session localwords when needed.
114 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
116         * ispell.el (ispell-insert-word) Remove unneeded function using
117         obsolete `translation-table-for-input'.
118         (ispell-word, ispell-process-line, ispell-complete-word): Use
119         plain `insert' instead of removed `ispell-insert-word'.
121 2012-04-22  Chong Yidong  <cyd@gnu.org>
123         * cus-edit.el (custom-variable-menu)
124         (custom-variable-reset-saved, custom-face-menu)
125         (custom-face-reset-saved): If there is no saved value, make the
126         "reset-saved" operation bring back the default (Bug#9509).
127         (custom-face-state): Properly detect themed faces.
129         * faces.el (face-spec-set): Stop supporting deprecated form of
130         third arg.
132 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
134         Move functions from C to Lisp.  Make non-blocking method calls
135         the default.  Implement further D-Bus standard interfaces.
137         * net/dbus.el (dbus-message-internal): Declare function.  Remove
138         unneeded function declarations.
139         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
140         (dbus-message-type-method-return, dbus-message-type-error)
141         (dbus-message-type-signal): Declare variables.  Remove local
142         definitions.
143         (dbus-interface-dbus, dbus-interface-peer)
144         (dbus-interface-introspectable, dbus-interface-properties)
145         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
146         Adapt docstring.
147         (dbus-interface-objectmanager): New defconst.
148         (dbus-call-method, dbus-call-method-asynchronously)
149         (dbus-send-signal, dbus-method-return-internal)
150         (dbus-method-error-internal, dbus-register-service)
151         (dbus-register-signal, dbus-register-method): New defuns, moved
152         from dbusbind.c
153         (dbus-call-method-handler, dbus-setenv)
154         (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
155         defuns.
156         (dbus-call-method-non-blocking): Make it an obsolete function.
157         (dbus-unregister-object, dbus-unregister-service)
158         (dbus-handle-event, dbus-register-property)
159         (dbus-property-handler): Obey the new structure of
160         `bus-registered-objects'.
161         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
162         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
163         Use `dbus-call-method'.
165 2012-04-22  Chong Yidong  <cyd@gnu.org>
167         * cus-edit.el (custom-commands, custom-reset-menu)
168         (Custom-reset-standard): Tweak labels.
169         (custom-reset-button-menu): Change default to t.
170         (custom-buffer-create-internal): For the custom-reset-button-menu
171         case, put the revert button first.
172         (custom-group-subtitle): New face.
173         (custom-group-value-create): Align docstring to a specific column.
175         * wid-edit.el (widget-documentation-link-add): Don't handle
176         indentation in this function.
177         (widget-documentation-string-indent-to): New function.
178         (widget-documentation-string-value-create): Use it.
180         * autorevert.el (auto-revert):
181         * epg-config.el (epg):
182         * ibuffer.el (ibuffer):
183         * mpc.el (mpc):
184         * ses.el (ses):
185         * eshell/eshell.el (eshell):
186         * net/ange-ftp.el (ange-ftp):
187         * progmodes/ebnf2ps.el (postscript):
188         * progmodes/flymake.el (flymake):
189         * progmodes/prolog.el (prolog):
190         * progmodes/verilog-mode.el (verilog-mode):
191         * progmodes/which-func.el (which-func):
192         * term/xterm.el (xterm):
193         * textmodes/picture.el (picture):
194         * textmodes/tildify.el (tildify):
195         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
196         customization buffers.
198 2012-04-22  Alan Mackenzie  <acm@muc.de>
200         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
201         Adding a ) can hide the resulting (..) from searches.  Fix it.
202         Bound the backward search to the position of the existing (.
204 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
206         * progmodes/verilog-mode.el (verilog-mode): Check whether
207         which-func-modes is t before adding verilog-mode.
208         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
210 2012-04-21  Leo Liu  <sdl.web@gmail.com>
212         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
214 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
216         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
217         filling of the last column of a table (Bug#5635).
218         (woman-find-next-control-line): New arg, specifying an additional
219         regexp component for the control line.
220         (woman2-roff-buffer): Use it.
221         (woman-break-table): New function.
222         (woman2-TS): Use it.
224 2012-04-21  Chong Yidong  <cyd@gnu.org>
226         * woman.el (woman-set-buffer-display-table, woman-decode-region)
227         (woman-horizontal-escapes, woman-negative-vertical-space)
228         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
229         (WoMan-warn-ignored): Use ?\s instead of ?\ .
231 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
233         * minibuffer.el (completion-file-name-table): Complete user names.
235 2012-04-20  Leo Liu  <sdl.web@gmail.com>
237         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
238         and pcase-let*.
240 2012-04-20  Chong Yidong  <cyd@gnu.org>
242         * server.el (server-execute): Respect initial-buffer-choice if it
243         is a string and there are no files to open (Bug#2825).
244         (server-create-window-system-frame, server-create-tty-frame):
245         Don't switch buffers here.
246         (server-process-filter): Only try to open a window system frame if
247         compiled with graphical support (Bug#8314).
249 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
251         * battery.el (battery-echo-area-format): Display remaining time
252         for sysfs backend too (Bug#11269).
253         (battery-linux-sysfs): Fix conditional for the charge.
255 2012-04-20  Chong Yidong  <cyd@gnu.org>
257         * progmodes/gdb-mi.el (gdb): Revert previous change.
258         (gdb-inferior-io--init-proc): New function.
259         (gdb-init-1): Use it.
260         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
261         responsible for allocating a new pty and hooking it to gdb when
262         the old pty gets an EIO due to process exit.
263         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
264         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
265         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
267 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
269         * window.el (window-min-size, window-sizable, window-min-delta)
270         (window-max-delta, window--resizable, window-resizable)
271         (window-total-size, window-full-height-p, window-full-width-p)
272         (window-in-direction, window--resize-mini-window, window-resize)
273         (window--resize-child-windows-normal)
274         (window--resize-child-windows, window--resize-siblings)
275         (window--resize-this-window, adjust-window-trailing-edge)
276         (enlarge-window, shrink-window): Doc fixes.
278 2012-04-20  Chong Yidong  <cyd@gnu.org>
280         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
281         function to call delete-process on the gdb-inferior buffer's pty.
282         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
283         pty process (Bug#11273).
284         (gdb-update): New arg to suppress talking to the gdb process.
285         (gdb-done-or-error): Use it.
286         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
287         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
288         sentinel not being called.
290         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
292         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
294 2012-04-20  Glenn Morris  <rgm@gnu.org>
296         * net/network-stream.el (open-network-stream): Doc fix.
298 2012-04-20  Chong Yidong  <cyd@gnu.org>
300         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
302 2012-04-20  Alan Mackenzie  <acm@muc.de>
304         Ensure searching for keywords is case sensitive.
306         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
307         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
308         (c-defun-name, c-mark-function, c-cpp-define-name)
309         (c-comment-indent, c-scan-conditionals, c-indent-defun)
310         (c-context-line-break): Bind case-fold-search to nil.
312         * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
313         case-fold-search to nil.
315 2012-04-20  Chong Yidong  <cyd@gnu.org>
317         * mail/sendmail.el (mail-bury): Call return action with the right
318         Rmail buffer (Bug#11242).
320         * server.el (server-process-filter): Handle corner case where both
321         tty and nowait options are present (Bug#11102).
323 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
325         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
326         (top level): Put into the executable the ident-style '$Id:' tag on
327         windows-nt as well.
329 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
331         * electric.el (electric-indent-post-self-insert-function): Check that
332         electric-indent-mode is enabled in current buffer.
334 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
336         * imenu.el (imenu-progress-message): Restore; it is "used" in
337         erc/erc-imenu.el and net/snmp-mode.el.
339 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
341         * avoid.el (mouse-avoidance-mode): Mark unused arg.
342         (mouse-avoidance-nudge-mouse): Remove unused binding.
344         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
346         * descr-text.el (describe-char):
347         * progmodes/python.el (python-describe-symbol):
348         Don't call `toggle-read-only', set `buffer-read-only'.
350         * imenu.el (imenu-default-goto-function): Mark unused args.
351         (imenu-progress-message): Remove obsolete macro; all callers changed.
353         * subr.el (keymap-canonicalize): Remove unused binding.
354         (read-passwd): Mark unused arg.
356         * tutorial.el (tutorial--display-changes): Remove unused binding.
357         (tutorial--save-tutorial-to): Remove unused variable.
359         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
360         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
361         (package-generate-autoloads, package-menu--generate)
362         (package-menu--find-upgrades): Remove unused bindings.
364         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
365         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
366         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
367         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
368         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
369         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
370         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
371         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
372         (cua-delete-char-rectangle): Mark unused args.
373         (cua-align-rectangle): Remove unused binding.
375         * mail/rmail.el (compilation--message->loc)
376         (epa--find-coding-system-for-mime-charset): Declare.
378         * net/dbus.el (dbus-register-service): Declare.
379         (dbus-name-owner-changed-handler): Remove unused binding.
381         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
382         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
383         (nxml-scan-backward-within): Mark unused arg.
384         (nxml-dynamic-markup-word): Remove unused binding.
386         * mouse.el (mouse-menu-major-mode-map):
387         * emacs-lisp/authors.el (authors-scan-change-log)
388         (authors-add-to-author-list):
389         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
390         * emacs-lisp/smie.el (smie-auto-fill):
391         * mail/sendmail.el (mail-bury):
392         * mail/unrmail.el (unrmail):
393         * net/tls.el (open-tls-stream):
394         * textmodes/picture.el (picture-mouse-set-point):
395         Remove unused bindings.
397 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
399         * net/tramp.el (tramp-action-password): Let-bind
400         `enable-recursive-minibuffers' to t.
402 2012-04-18  Sam Steingold  <sds@gnu.org>
404         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
405         instead of 'string to accommodate values like [f11].
406         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
407         * progmodes/gdb-mi.el: Likewise.
409 2012-04-18  Leo Liu  <sdl.web@gmail.com>
411         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
412         current buffer.
413         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
414         LOCAL is nil.
416 2012-04-18  Chong Yidong  <cyd@gnu.org>
418         * simple.el (line-move): Use forward-line if in batch mode
419         (Bug#11053).
421 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
423         * files.el (after-find-file): Do not try to add a final newline if
424         the buffer is read-only (Bug#11156).
426 2012-04-17  Richard Stallman  <rms@gnu.org>
428         * mail/rmail.el (rmail-start-mail):
429         Pass (rmail-mail-return...) for the return-action.
430         Pass (rmail-yank-current-message...) for the yank-action.
431         (rmail-yank-current-message): New function.
432         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
433         (rmail-reply): Likewise.
434         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
436         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
437         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
438         buffer, not newbuf.
440 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
442         * server.el (server-ensure-safe-dir): Simplify.
444 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
446         * emacs-lisp/smie.el: Provide smarter auto-filling.
447         (smie-auto-fill): New function.
448         (smie-setup): Use it.
450         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
452 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
454         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
455         (comment-indent): Use it.
457 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
459         * ses.el: The overall change is to add cell renaming, that is
460         setting fancy names for cell symbols other than name matching
461         "\\`[A-Z]+[0-9]+\\'" regexp .
462         (ses-localvars): Add ses--renamed-cell-symb-list.
463         (ses-create-cell-variable): New defun.
464         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
465         (ses-relocate-formula): Relocate formulas only for cells the
466         symbols of which are not renamed, i.e. symbols whose names do not
467         match regexp "\\`[A-Z]+[0-9]+\\'".
468         (ses-relocate-all): Relocate values only for cells the symbols of
469         which are not renamed.
470         (ses-load): Create cells variables as the (ses-cell ...) are read,
471         in order to check row col consistency with cell symbol name only
472         for cells that are not renamed.
473         (ses-replace-name-in-formula): New defun.
474         (ses-rename-cell): New defun.
476 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
478         * progmodes/perl-mode.el (perl-indent-parens-as-block):
479         New option (bug#11118).
480         (perl-calculate-indent): Respect it.
482 2012-04-17  Glenn Morris  <rgm@gnu.org>
484         * dired-aux.el (dired-mark-read-string): Doc fix.
486 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
488         * dired-aux.el (dired-mark-read-string): Offer optional completion.
489         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
491 2012-04-17  Glenn Morris  <rgm@gnu.org>
493         * mouse.el (mouse-drag-track):
494         * speedbar.el (speedbar-frame-mode):
495         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
497 2012-04-16  Leo Liu  <sdl.web@gmail.com>
499         * progmodes/python.el: Trivial cleanup.
501 2012-04-16  Glenn Morris  <rgm@gnu.org>
503         * vc/vc.el (vc-string-prefix-p):
504         * vc/pcvs-util.el (cvs-string-prefix-p):
505         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
506         * mpc.el (mpc-string-prefix-p):
507         Make all of these into obsolete aliases for string-prefix-p.
508         Update callers.
509         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
511         * textmodes/two-column.el: Move custom options to the start.
512         (frame-width): Remove compat definition.
513         (2C-associate-buffer, 2C-dissociate):
514         Use with-current-buffer rather than save-excursion.
515         (2C-dissociate): Force a mode-line update.
516         (2C-autoscroll): Use ignore-errors.
518         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
519         Autoload trivia.
521         * emacs-lisp/cl-extra.el (*random-state*):
522         Remove unnecessary declaration.
524         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
526         * play/cookie1.el (cookie-snarf):
527         Give an explicit error if input file cannot be read.
529         * play/yow.el (yow-file): Use expand-file-name rather than concat.
531         * progmodes/perl-mode.el (c-macro-expand):
532         Remove unnecessary autoload (it is in loaddefs.el).
534         * textmodes/picture.el (picture-desired-column)
535         (picture-update-desired-column): Convert comments to doc-strings.
536         (picture-substitute): Remove function.
537         (picture-mode-map): Initialize in the defvar.
539         * woman.el: Remove eval-after-load for tar-mode.
540         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
541         (woman-tar-extract-file): Autoload it.
543         * frame.el (automatic-hscrolling): Make this alias obsolete.
545 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
547         * ispell.el (ispell-set-spellchecker-params): Post-process
548         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
549         (ispell-dictionary-base-alist): Revert to original XEmacs
550         friendly version for default.  [:alpha:] will be added in
551         `ispell-set-spellchecker-params' if needed
553 2012-04-16  Chong Yidong  <cyd@gnu.org>
555         * image.el (imagemagick--extension-regexp): New variable.
556         (imagemagick-register-types): Use it.
557         (imagemagick-types-inhibit): Add :set function.  Allow new value
558         of t to inhibit all types.
560         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
561         so we can preload it.
563         * loadup.el (fboundp): Preload regexp-opt, needed by
564         imagemagick-register-types.
566 2012-04-15  Chong Yidong  <cyd@gnu.org>
568         * frame.el (scrolling): Remove nearly unused customization group.
570         * scroll-all.el (scroll-all-mode): Move to windows group.
572 2012-04-15  Chong Yidong  <cyd@gnu.org>
574         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
576 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
578         Avoid the use of ((lambda ...) ...) in lexical-binding code.
579         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
581 2012-04-15  Glenn Morris  <rgm@gnu.org>
583         * simple.el (process-file-side-effects): Doc fix.
585 2012-04-15  Glenn Morris  <rgm@gnu.org>
587         * international/mule-cmds.el (set-language-environment): Doc fix.
589 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
591         * server.el (server-auth-key, server-generate-key): Doc fixes.
592         (server-get-auth-key): Doc fix.  Use `string-match-p'.
593         (server-start): Reflow docstring.
595 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
597         * server.el (server-generate-key): `called-interactively-p'
598         requires a parameter.
600 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
602         * server.el (server-auth-key): New variable.
603         (server-generate-key, server-get-auth-key): New function.
604         (server-start): Use the new variable and functions to allow
605         setting a permanent server key (bug#9423).
607 2012-04-14  Leo Liu  <sdl.web@gmail.com>
609         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
611 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
613         Spelling fixes.
614         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
615         Emacs uses American spelling.
617 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
619         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
620         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
621         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
622         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
624 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
626         * progmodes/which-func.el (which-func-modes): Change default.
628 2012-04-14  Kim F. Storm  <storm@cua.dk>
630         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
631         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
633 2012-04-14  Chong Yidong  <cyd@gnu.org>
635         * custom.el (custom-theme-set-variables): Doc fix.
637 2012-04-14  Glenn Morris  <rgm@gnu.org>
639         * international/mule.el (set-auto-coding-for-load): Doc fix.
641 2012-04-14  Alan Mackenzie  <acm@muc.de>
643         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
644         imenu work again for Objective C Mode.  Correct the *-index values,
645         these having been disturbed by a previous change in 2011-08.
647         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
648         Correct two search limits.
650 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
652         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
654 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
656         * international/characters.el: Fix sorting.
658 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
660         * international/characters.el: Add more missing Latin case pairs.
662 2012-04-14  Glenn Morris  <rgm@gnu.org>
664         * files.el (dir-locals-set-class-variables): Doc fix.
666 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
668         * international/characters.el: Add set-case-syntax-pair call for
669         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
670         counterpart.  (Bug#11209)
672         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
674 2012-04-14  Glenn Morris  <rgm@gnu.org>
676         * calendar/holidays.el (calendar-check-holidays): Doc fix.
678 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
680         * textmodes/ispell.el (ispell-dictionary-base-alist):
681         Add data for Hebrew.
683 2012-04-14  Chong Yidong  <cyd@gnu.org>
685         * net/rcirc.el (rcirc-cmd-quit):
686         Revert 2012-03-18 change (Bug#11192).
688 2012-04-14  Glenn Morris  <rgm@gnu.org>
690         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
692 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
694         * minibuffer.el (completion-in-region-mode-map):
695         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
697 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
699         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
701 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
703         * minibuffer.el (minibuffer-local-filename-syntax): New variable
704         to allow `C-M-f' and `C-M-b' to move to the nearest path
705         separator (bug#9511).
707 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
709         * avoid.el: Require cl when compiling.  And also move the
710         `provide' to the end.
712 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
714         * avoid.el (mouse-avoidance-banish-position): New variable.
715         (mouse-avoidance-banish-destination): Use it (bug#10165).
717 2012-04-13  Leo Liu  <sdl.web@gmail.com>
719         * progmodes/which-func.el (which-func-modes): Add objc-mode.
721 2012-04-13  Ken Brown  <kbrown@cornell.edu>
723         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
724         this is no longer needed now that cygstart understands file:// URLs.
725         (browse-url-filename-alist): For the same reason, don't modify
726         file:// URLs on Cygwin.
728 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
730         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
731         the region on shift if the binding is already shifted (bug#11221).
733 2012-04-12  Glenn Morris  <rgm@gnu.org>
735         * mail/mailpost.el: Move to obsolete/.
737 2012-04-12  Drew Adams  <drew.adams@oracle.com>
739         * imenu.el (imenu--generic-function): Ignore invisible definitions
740         (bug#10123).
742 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
744         * hexl.el (hexl-bits): New variable.
745         (hexl-options): Mention the variable in the doc string.
746         (hexl-rulerise, hexl-line-displen): New functions.
747         (hexl-mode): Mention the new variable.
748         (hexl-mode, hexl-current-address, hexl-current-address):
749         Use the displen.
750         (hexl-ascii-start-column): New function.
751         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
752         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
754 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
756         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
757         '("-i" ENCODING), in 2 separate command-line arguments, to specify
758         the encoding, as expected by hunspell.
760 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
762         * battery.el (battery--linux-sysfs-regexp): New const.
763         (battery-status-function): Use it.  Remove yeeloong special case.
764         (battery-yeeloong-sysfs): Remove.
765         (battery-echo-area-format): Remove yeeloong special case.
767 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
769         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
770         Reported by Noah Friedman.
772         * subr.el (read-passwd): Use read-string.
774 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
776         * vcursor.el (vcursor-move): Increase the priority of the overlay
777         (bug#9663).
779 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
781         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
782         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
784 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
786         * textmodes/artist.el (artist-mode): Convert artist-mode to use
787         define-minor-mode (bug#10760).
789 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
791         * progmodes/grep.el (rgrep): Tweak the find command line so
792         that directories matching `grep-find-ignored-files' won't be
793         pruned (bug#10351).
795 2012-04-11  Chong Yidong  <cyd@gnu.org>
797         * startup.el (command-line): Remove support for long-obsolete
798         variable font-lock-face-attributes.
800 2012-04-11  Glenn Morris  <rgm@gnu.org>
802         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
804 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
806         * window.el (window--state-get-1): Obey window-point-insertion-type.
808 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
810         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
811         to previous function when point is on the first character of a
812         function.  Take care of that in `narrow-to-defun' (bug#6157).
814 2012-04-11  Glenn Morris  <rgm@gnu.org>
816         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
817         not just file-errors.
819         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
820         (vc-bzr-sha1): Use internal sha1.
822 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
824         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
826 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
828         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
829         that start in the middle of the line (bug#10496).
831 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
833         * battery.el (battery-linux-proc-acpi): Only one battery is
834         discharged at a time, but that seems to confuse battery.el when
835         computing `rate-type' for the battery not being discharged
836         (bug#10332).
838 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
840         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
842         * international/quail.el: Use dolist and simplify.
843         (quail-define-package, quail-update-keyboard-layout)
844         (quail-define-rules): Use dolist.
845         (quail-insert-kbd-layout, quail-get-translation): CSE.
847         * tmm.el: Use dolist, remove left over hook.
848         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
849         Use dolist.
850         (calendar-load-hook): Don't mess with it.
852         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
853         Use derived-mode-p.  Run the diff asynchronously.
855 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
857         * obsolete/mouse-sel.el: Add an Obsolete-since header.
859 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
861         * misc.el: Display absolute path of loaded DLLs (bug#10424).
862         (list-dynamic-libraries--loaded): New function.
863         (list-dynamic-libraries--refresh): Use it.
865 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
867         * progmodes/python.el (python-fill-paragraph):
868         Make python-fill-region in a multiline string work when font-lock is
869         disabled (bug#7018).
871 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
873         * language/european.el (cp775): Add oem/legacy (en)coding on
874         DOS/MS Windows for the Baltic languages.  There are still plenty
875         of texts written in this encoding/codepage (bug#6519).
877 2012-04-10  Glenn Morris  <rgm@gnu.org>
879         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
880         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
882 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
884         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
885         next-line "n" and previous-line "p" in order to make recentf more
886         consistent with ibuffer, dired or org-mode (bug#9387).
888 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
890         * image.el (put-image): Return the overlay created instead of the
891         optional input string (bug#7834).  Note that this may break code
892         that is (for some reason or other) depending on `put-image'
893         returning the string.
895         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
897         * simple.el (zap-to-char): Allow zapping using input methods
898         (bug#1580).
900         * textmodes/fill.el (fill-region): Leave point and mark where they
901         were before filling (bug#5399).
903 2012-04-09  Glenn Morris  <rgm@gnu.org>
905         * version.el (emacs-bzr-get-version):
906         Handle lightweight checkouts of local branches.
908 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
910         * international/characters.el: Recover lost case pairs.  (Bug#11209)
912 2012-04-09  Chong Yidong  <cyd@gnu.org>
914         * custom.el (custom-variable-p): Return nil for non-symbol
915         arguments instead of signaling an error.
916         (user-variable-p): Obsolete alias for custom-variable-p.
918         * apropos.el (apropos-variable):
919         * files-x.el (read-file-local-variable):
920         * simple.el (set-variable):
921         * woman.el (woman-mini-help):
922         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
924 2012-04-09  Glenn Morris  <rgm@gnu.org>
926         * startup.el (normal-top-level): Don't look for leim-list.el
927         in places where it will not be found.  (Bug#910)
929         * international/mule-cmds.el (set-default-coding-systems):
930         * files.el (normal-mode):
931         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
932         This function was removed with ucs-tables.el in 2008.
934 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
936         * textmodes/ispell.el (ispell-check-version): For hunspell, set
937         ispell-encoding8-command to "-i", without a trailing space.
938         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
939         separate command-line arguments, to specify the encoding, since
940         that's how hunspell expects it.
942 2012-04-08  Glenn Morris  <rgm@gnu.org>
944         * loadup.el: Load bindings before cus-start.
945         This reduces somewhat the number of "rogue" settings in emacs -Q.
947 2012-04-07  Glenn Morris  <rgm@gnu.org>
949         * version.el (emacs-bzr-get-version): New function.
950         (emacs-bzr-version): New variable.
951         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
952         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
954 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
956         * international/uni-bidi.el, international/uni-category.el:
957         * international/uni-combining.el, international/uni-decimal.el:
958         * international/uni-decomposition.el, international/uni-digit.el:
959         * international/uni-lowercase.el, international/uni-mirrored.el:
960         * international/uni-name.el, international/uni-numeric.el:
961         * international/uni-titlecase.el, international/uni-uppercase.el:
962         Update for Unicode 6.1.
964 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
966         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
968 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
970         * window.el (shrink-window): Mention the `window-min-height'
971         variable in the doc string.
973 2012-04-05  Bastien Guerry  <bzg@altern.org>
975         * color.el (color-lighten-name): Fix typo.
977 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * server.el (server--on-display-p): New function.
980         (server--on-display-p): Use it.
982 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
984         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
985         (bug#11145).
987 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
989         * comint.el (comint--common-quoted-suffix): Check string boundary
990         before comparing (bug#11158).
991         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
993 2012-04-04  Chong Yidong  <cyd@gnu.org>
995         * minibuffer.el (completion-extra-properties): Doc fix.
997         * subr.el (delayed-warnings-hook): Doc fix.
999 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
1001         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1002         selection (Bug#11159).
1003         (epa-insert-keys): Inform that the default public key will be
1004         exported if no key is selected.
1006 2012-04-04  Richard Stallman  <rms@gnu.org>
1008         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1010 2012-04-03  Chong Yidong  <cyd@gnu.org>
1012         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1013         mail-insert-file, not its obsolete alias mail-attach-file.
1015 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
1017         * notifications.el (notifications-notify): Fix docstring.
1019 2012-04-02  Glenn Morris  <rgm@gnu.org>
1021         * emacs-lisp/authors.el (authors-aliases): Another addition.
1023 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
1025         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1026         `tramp-compat-call-process' instead of `tramp-local-call-process'.
1027         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1029 2012-04-01  Chong Yidong  <cyd@gnu.org>
1031         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1032         Handle root directory properly.
1033         (copy-directory): Caller changed.
1035         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1036         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1038 2012-03-31  Glenn Morris  <rgm@gnu.org>
1040         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1042         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1044         * calendar/calendar.el (calendar-window-list)
1045         (calendar-hide-window): Restore.  (Bug#11140)
1046         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1048         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1050 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1052         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1053         Check if file is a symlink (Bug#10489).
1055         * files.el (copy-directory): Likewise.
1057 2012-03-30  Chong Yidong  <cyd@gnu.org>
1059         * image.el (imagemagick-types-inhibit)
1060         (imagemagick-register-types): Doc fix.
1062 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1064         * ispell.el (ispell-get-extended-character-mode): Disable
1065         extended-char-mode for hunspell.  hunspell does not support it
1066         and treats ~word as ordinary words in pipe mode.
1068 2012-03-30  Glenn Morris  <rgm@gnu.org>
1070         * tutorial.el (help-with-tutorial): Ensure local variables don't
1071         happen to make the buffer read-only.  (Bug#11127)
1073 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1075         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1076         (perl-calculate-indent): Return `noindent' in strings.
1078 2012-03-28  Sam Steingold  <sds@gnu.org>
1080         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1081         instead of the broken adhockery which does not prevent calendar
1082         buffers from being displayed at random after exit.
1083         (calendar-window-list, calendar-hide-window): Remove the broken
1084         adhockery.
1086 2012-03-28  Glenn Morris  <rgm@gnu.org>
1088         * replace.el (query-replace-map): Doc fix.
1090 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1092         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1093         contents.  (Bug#11109)
1095 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1097         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1098         (bug#11077).
1099         (avl-tree--check, avl-tree--check-node): New funs.
1101 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1103         * window.el (switch-to-visible-buffer): New option.
1104         (switch-to-prev-buffer, switch-to-next-buffer):
1105         Observe switch-to-visible-buffer.  Make sure that checking for a window
1106         showing a buffer already is done on the same frame.
1108 2012-03-27  Glenn Morris  <rgm@gnu.org>
1110         * startup.el (mail-host-address): Doc fix.
1112 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1114         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1115         than 197 variables.
1117 2012-03-26  Ami Fischman  <ami@fischman.org>
1119         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1121 2012-03-26  Glenn Morris  <rgm@gnu.org>
1123         * files.el (save-buffers-kill-emacs): Doc fix.
1125         * startup.el (normal-top-level, command-line, command-line-1):
1126         Give them doc strings.
1128 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1130         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1131         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1133 2012-03-25  Chong Yidong  <cyd@gnu.org>
1135         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1136         theme if it was previously enabled before (Bug#11031).
1138         * cus-theme.el (custom-theme-write-faces): Retrieve current face
1139         spec with custom-face-get-current-spec if its :shown-value is not
1140         determined yet (Bug#9337).
1141         (customize-create-theme, custom-theme-revert): Doc fixes.
1143         * button.el (button-at): Minor addition to docstring.
1145 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
1147         * vc/vc.el (vc-merge): Fix a prompt.
1149 2012-03-24  Chong Yidong  <cyd@gnu.org>
1151         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1152         point (Bug#9623).
1154         * button.el (button-at): Minor addition to docstring.
1156 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1158         * newcomment.el (comment-choose-indent): No space after BOL.
1160 2012-03-22  Sam Steingold  <sds@gnu.org>
1162         * window.el (switch-to-prev-buffer): Revert last patch because the
1163         bug turned out to be an advertised feature (Elisp manual 28.14).
1165 2012-03-22  Glenn Morris  <rgm@gnu.org>
1167         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
1168         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1170 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1172         * net/network-stream.el (network-stream-open-starttls): Make error
1173         message under Windows be less misleading.
1175 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
1177         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1178         understands (bug#9942).
1180 2012-03-22  Chong Yidong  <cyd@gnu.org>
1182         * simple.el (end-of-visible-line): Handle return value of
1183         next-single-property-change properly (Bug#9371).
1185 2012-03-22  Kenichi Handa  <handa@m17n.org>
1187         * international/quail.el (quail-insert-kbd-layout): Fix previous
1188         change.  To avoid unwanted bidi reordering, use
1189         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1191 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1193         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1194         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1195         (ruby-beginning-of-indent): Be more careful with the difference
1196         between word-boundary and symbol boundary.
1197         (ruby-mode-syntax-table): Make : a symbol constituent.
1199 2012-03-21  Andreas Politz  <politza@fh-trier.de>
1201         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1203 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1205         * progmodes/etags.el (tags-completion-at-point-function):
1206         Improve last fix.
1208         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1210 2012-03-21  Sam Steingold  <sds@gnu.org>
1212         * progmodes/etags.el (tags-completion-at-point-function):
1213         Avoid the error when point is inside the pattern.
1215 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
1217         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1218         line (Bug#10855).
1220 2012-03-21  Drew Adams  <drew.adams@oracle.com>
1222         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1224 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
1226         * ido.el (ido-set-current-directory, ido-read-internal)
1227         (ido-choose-completion-string, ido-completion-help): Handle nil
1228         value of ido-completion-buffer (Bug#11008).
1230 2012-03-21  Sam Steingold  <sds@gnu.org>
1232         * window.el (switch-to-prev-buffer): Do not switch to a visible
1233         window previous buffer, just like with the frame previous buffers.
1235 2012-03-21  Chong Yidong  <cyd@gnu.org>
1237         * faces.el (make-face, make-empty-face, copy-face):
1238         * face-remap.el (face-remap-add-relative, face-remap-set-base):
1239         Doc fixes.
1241 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1243         * wid-edit.el (widget-complete-field): Remove (bug#11051).
1244         (widget-complete): Remove broken use of it.
1246 2012-03-20  Chong Yidong  <cyd@gnu.org>
1248         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1249         Use string-width and truncate-string-width to handle arbitrary
1250         characters.
1252 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
1254         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1255         to draw rectangles, not squares.  (Regression introduced by revno
1256         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1258 2012-03-18  Chong Yidong  <cyd@gnu.org>
1260         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1261         it is not yet defined (for temacs).
1263 2012-03-18  Leo Liu  <sdl.web@gmail.com>
1265         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1267 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1269         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1270         (ispell-choices-win-default-height, ispell-silently-savep)
1271         (ispell-dictionary-alist, ispell-encoding8-command)
1272         (ispell-check-version, ispell-aspell-find-dictionary)
1273         (ispell-valid-dictionary-list, ispell-words-keyword)
1274         (ispell-get-word, ispell-internal-change-dictionary)
1275         (ispell-region, ispell-skip-region-list)
1276         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1277         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1278         (ispell-message-text-end, ispell-message)
1279         (ispell-buffer-local-parsing): Doc fix.
1281 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
1283         * htmlfontify.el: Add support for code block fontification for ODT
1284         export (Bug #9914).
1285         (hfy-optimisations): Define new option
1286         `body-text-only'
1287         (hfy-fontify-buffer): Honor above setting.
1288         (hfy-begin-span, hfy-end-span): New routines factored out form
1289         `hfy-fontify-buffer'.
1290         (hfy-begin-span-handler, hfy-end-span-handler): New variables
1291         that permit insertion of custom tags.
1292         (hfy-fontify-buffer): Use above handlers.
1293         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1294         (hfy-face-to-css): Re-defined to be a variable.
1295         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
1296         over multiple runs.  This is made possible by having the caller let
1297         bind a special variable `hfy-user-sheet-assoc'.
1298         (htmlfontify-string): New defun.
1299         (hfy-compile-face-map): Make sure that the last char in the
1300         buffer is correctly fontified.
1301         (hfy-face-resolve-face): Whitespace only change.
1303 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1305         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1306         message more clear.
1308 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1310         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1312 2012-03-16  Alan Mackenzie  <acm@muc.de>
1314         Further optimise the handling of large macros.
1316         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1317         limit to a call of `c-literal-limits'.
1318         (c-determine-+ve-limit): New function.
1319         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1320         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1321         In CASE 5B, restrict a search limit to 500.
1322         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1324         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1325         Restrict macro bounds to +-500 from after-change's BEG END.
1327 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1329         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1331 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
1333         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1334         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
1336 2012-03-16  Glenn Morris  <rgm@gnu.org>
1338         * view.el (view-buffer, view-buffer-other-window)
1339         (view-buffer-other-frame): Doc fixes re special mode-class.
1341         * subr.el (eval-after-load): If named feature is provided not from
1342         a file, run after-load forms.  (Bug#10946)
1344         * calendar/calendar.el (calendar-insert-at-column):
1345         Handle non-unit-width characters a bit better.  (Bug#10978)
1347 2012-03-15  Chong Yidong  <cyd@gnu.org>
1349         * emacs-lisp/ring.el (ring-extend): New function.
1350         (ring-insert+extend): Extend the ring correctly (Bug#11019).
1352         * comint.el (comint-read-input-ring)
1353         (comint-add-to-input-history): Grow comint-input-ring lazily.
1355 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1357         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1358         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1360         * imenu.el: Fix multiple inheritance breakage (bug#9199).
1361         (imenu-add-to-menubar): Don't add a redundant index.
1362         (imenu-update-menubar): Handle a dynamically composed keymap.
1364 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1366         * mail/sendmail.el (mail-encode-header):
1367         Bind rfc2047-encode-encoded-words to nil.
1369 2012-03-13  Glenn Morris  <rgm@gnu.org>
1371         * calendar/calendar.el (calendar-string-spread):
1372         Handle non-unit-width characters a bit better.  (Bug#10978)
1374 2012-03-13  Leo Liu  <sdl.web@gmail.com>
1376         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1377         directory and file as argument (Bug#10822).
1379 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1381         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1382         For dynamically generated code, follow $PC.
1383         (gdb-disassembly-handler-custom): Handle no function name case.
1385 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
1387         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1388         * emulation/ws-mode.el (ws-query-replace):
1389         * sort.el (sort-regexp-fields):
1390         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
1392 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1394         * dabbrev.el: Fix cycle completion order (bug#10963).
1395         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1396         (dabbrev-completion): Don't use an obarray; provide
1397         a cycle-sort-function.
1399 2012-03-12  Leo Liu  <sdl.web@gmail.com>
1401         * simple.el (kill-new): Use equal-including-properties for comparison.
1402         (kill-do-not-save-duplicates): Doc fix.
1404 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1406         * dabbrev.el: Fix cycle completion (bug#10963).
1407         Use lexical binding and wrap to 80 columns.
1408         (dabbrev-completion): Delay computing the list of completions.
1410 2012-03-12  Kenichi Handa  <handa@m17n.org>
1412         * international/quail.el (quail-insert-kbd-layout): Surround each
1413         row by LRO and PDF instead of inserting many LRMs.  Pad the left
1414         and right of each non-spacing marks.  Insert invisible space
1415         between lower and upper characters to prevent composition.
1417 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * minibuffer.el (minibuffer-complete): Don't get confused when the
1420         function is run twice via different commands (bug#10958).
1421         (complete-with-action): Fix docstring.
1423 2012-03-12  Chong Yidong  <cyd@gnu.org>
1425         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1426         (nxml-completion-at-point-function): New function.
1427         (nxml-mode): Use it.
1428         (nxml-bind-meta-tab-to-complete-flag): Default to t.
1430         * emacs-lisp/package.el (package-unpack, package-unpack-single):
1431         Load generated autoloads file before byte compiling (Bug#10970).
1432         (package--make-autoloads-and-compile): New helper fun.
1434 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
1436         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1438 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
1440         * autorevert.el (auto-revert-handler): Ensure, that
1441         file-readable-p is applied only for local files or in
1442         auto-revert-tail-mode.
1444 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1446         * server.el (server-eval-at): Handle non-tcp connections.
1447         Decode result string.
1449         * server.el (server-msg-size): New constant.
1450         (server-reply-print): New function.
1451         (server-eval-and-print): Use it.
1452         (server-eval-at): Use server-quote-arg and server-unquote-arg.
1453         Handle -print-nonl.
1455 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
1457         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1458         (Bug#10987).
1460 2012-03-11  Chong Yidong  <cyd@gnu.org>
1462         * simple.el (goto-line): Doc fix (Bug#9938).
1464         * subr.el (save-window-excursion): Doc fix (Bug#9979).
1466         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1467         when finished (Bug#10963).
1469 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
1471         * window.el (split-window-below): Fix bug in case where
1472         split-window-keep-point is nil (Bug#10971).
1474 2012-03-11  Juri Linkov  <juri@jurta.org>
1476         * replace.el (replace-highlight): Set isearch-word to nil
1477         unconditionally.  (Bug#10887)
1479 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
1481         * net/mairix.el (mairix-replace-invalid-chars): Rename from
1482         mairix-replace-illegal-chars; all callers changed.  Don't remove
1483         ^, ~, and = characters: they are meaningful in mairix search specs.
1484         (mairix-widget-create-query): Add usage information about mairix
1485         search forms: negating words, searching for substrings, etc.
1487 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
1489         * international/fontset.el (font-encoding-alist): Add an entry for
1490         ksx1001 (Bug#5667).
1492 2012-03-10  Richard Stallman  <rms@gnu.org>
1494         * mail/sendmail.el (mail-encode-header):
1495         Set rfc2047-encode-encoded-words.
1497         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1499         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1500         view buffer means not swapped.
1501         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1502         (rmail-write-region-annotate): Error if real text has disappeared.
1504         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1506 2012-03-10  Chong Yidong  <cyd@gnu.org>
1508         * emulation/cua-rect.el (cua--init-rectangles):
1509         * emulation/cua-base.el (cua--init-keymaps):
1510         Add delete-forward-char to remappings (Bug#9666).
1512 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
1514         * speedbar.el (speedbar-unhighlight-one-tag-line):
1515         Avoid unhighlighting due to frame switching (Bug#10275).
1517 2012-03-10  Chong Yidong  <cyd@gnu.org>
1519         * minibuffer.el (completion-in-region, completion-help-at-point):
1520         Give the completion field overlay a high priority (Bug#6830).
1522         * dired.el (dired-goto-file): Recognize absolute file name
1523         listings (Bug#7126).
1524         (dired-goto-file-1): New helper function.
1525         (dired-toggle-read-only): Inhibit warnings.
1527 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
1529         * net/dbus.el (dbus-property-handler): Return empty array if
1530         there are no properties.
1532 2012-03-09  Leo Liu  <sdl.web@gmail.com>
1534         * savehist.el (savehist-printable): Stricter check for string
1535         value (Bug#10937).
1537 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
1539         * mail/smtpmail.el (smtpmail-send-it):
1540         Bind coding-system-for-write to *-unix, so that FCC files are kept in
1541         valid mbox format.
1543 2012-03-09  Glenn Morris  <rgm@gnu.org>
1545         * files.el (dir-locals-find-file):
1546         Don't check result is regular, readable.
1547         (dir-locals-read-from-file): Demote errors.
1549 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
1551         * international/quail.el (quail-insert-kbd-layout):
1552         Insert invisible LRM characters before each character in a keyboard
1553         layout cell, to prevent their reordering by bidi display engine.
1554         For details, see the discussion in
1555         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1557 2012-03-08  Alan Mackenzie  <acm@muc.de>
1559         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1560         the starting position; make it extend the marked region when
1561         invoked repeatedly - all under appropriate circumstances.
1562         Fixes bugs #5525, #10906.
1564 2012-03-08  Glenn Morris  <rgm@gnu.org>
1566         * files.el (locate-dominating-file, dir-locals-find-file):
1567         Undo 2012-03-06 change.
1569 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
1571         * international/quail.el (quail-help):
1572         Force bidi-paragraph-direction be left-to-right.  See discussion in
1573         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1574         for the reason.
1576 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
1578         Avoid superfluous registering of signals.  (Bug#10807)
1580         * notifications.el (notifications-on-action-object)
1581         (notifications-on-close-object): New defvars.
1582         (notifications-on-action-signal, notifications-on-closed-signal):
1583         Unregister the signal if not needed any longer.
1584         (notifications-notify): Register `notifications-action-signal' or
1585         `notifications-closed-signal', if :on-action or :on-close has been
1586         passed as argument.
1588 2012-03-07  Chong Yidong  <cyd@gnu.org>
1590         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1591         non-X platforms.
1593 2012-03-06  Glenn Morris  <rgm@gnu.org>
1595         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1596         (x-disown-selection-internal, x-get-selection-internal):
1597         Doc fix (add arglist signatures).  (Bug#10783)
1599 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1601         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1602         Handle breakpoints with no "type".
1604 2012-03-06  Glenn Morris  <rgm@gnu.org>
1606         * files.el (locate-dominating-file): Add optional predicate argument.
1607         (dir-locals-find-file): Make use of above change.
1609 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
1611         * info.el (Info-insert-dir): Also try "dir.gz".
1613 2012-03-06  Glenn Morris  <rgm@gnu.org>
1615         * files.el (dir-locals-find-file):
1616         Ignore non-readable or non-regular files.  (Bug#10928)
1618         * files.el (locate-dominating-file): Doc fix.
1620 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
1622         * calendar/calendar.el (calendar-set-mode-line):
1623         `getenv' returns a string.  (Bug#10951)
1625 2012-03-05  Leo Liu  <sdl.web@gmail.com>
1627         * simple.el (backward-delete-char-untabify): Constrain point to
1628         field (Bug#10939).
1630         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1632 2012-03-05  Chong Yidong  <cyd@gnu.org>
1634         * simple.el (count-words): If called from Lisp, return the word
1635         count, for symmetry with `count-lines'.  Arglist changed.
1636         (count-words--message): Args changed.  Consolidate counting code
1637         from count-words and count-words-region.
1638         (count-words-region): Caller changed.
1639         (count-lines-region): Make it an obsolete alias.
1641 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
1643         * saveplace.el (save-place-to-alist)
1644         (save-place-ignore-files-regexp): Allow value nil to disable this
1645         feature.
1647 2012-03-04  Chong Yidong  <cyd@gnu.org>
1649         * faces.el (face-spec-reset-face): For the default face, reset the
1650         attributes to default values (Bug#10748).
1652 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1654         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1655         previous patch: Check `message-send-mail-function', and not the
1656         default function (bug#10897).
1658 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
1660         * notifications.el (notifications-on-action-signal)
1661         (notifications-on-closed-signal): Check for unique service name of
1662         incoming event.  Fix error in removing entry.
1663         (top): Register for signals with wildcard service name.
1664         (notifications-notify): Use daemon unique service name for map entries.
1666 2012-03-04  Chong Yidong  <cyd@gnu.org>
1668         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1670 2012-03-04  Glenn Morris  <rgm@gnu.org>
1672         * abbrev.el (copy-abbrev-table, abbrev-table-p)
1673         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1674         (expand-abbrev, define-abbrev-table): Doc fixes.
1676 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1678         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1679         `message-default-send-mail-function' and not `send-mail-function'
1680         when doing the prompting for `sendmail-query-once' before sending
1681         in Message buffers (bug#10897).
1683         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1684         This is inconsistent with all the other stream functions, which leave
1685         the setting up to the higher levels (if so wanted) (bug#10931).
1687 2012-03-02  Alan Mackenzie  <acm@muc.de>
1689         Depessimize the handling of very large macros.
1691         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1692         (c-macro-cache-syntactic): New variables to implement a one
1693         element macro cache.
1694         (c-invalidate-macro-cache): New function.
1695         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1696         Adapt to use the new cache.
1697         (c-state-safe-place): Use better the cache of safe positions.
1698         (c-state-semi-nonlit-pos-cache)
1699         (c-state-semi-nonlit-pos-cache-limit):
1700         New variables for...
1701         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
1702         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1703         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1704         Use c-state-semi-safe-place.
1706         * progmodes/cc-langs.el (c-get-state-before-change-functions):
1707         Add c-invalidate-macro-cache to the C, C++, Obj entries.
1709 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
1711         * jka-compr.el (jka-compr-call-process):
1712         Apply `file-accessible-directory-p' only when the default directory is
1713         not remote.
1715 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
1717         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
1718         access of FILE2, if FILE1 does not exist.
1720         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1721         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1723         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1724         Add "PAGER=" to `process-environment'.
1726 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
1728         * progmodes/sql.el: Bug fix
1729         (sql-get-login-ext): Save login values in globals.
1730         (sql-get-login): Use new version of `sql-get-login-ext'.
1731         (sql-interactive-mode): Set global `sql-connection' to nil.
1732         (sql-connect): Set global values for connection.
1733         (sql-product-interactive): Save global values as buffer local.
1735 2012-02-29  Leo Liu  <sdl.web@gmail.com>
1737         * abbrev.el (define-abbrevs): Reset sys to nil.
1739 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1741         * files.el (file-equal-p): Rename from `files-equal-p'.
1742         Return nil when one or both files don't exist.
1743         (file-subdir-of-p): Now only top directory must exists,
1744         return nil if it doesn't.
1745         (copy-directory): No need to test with `file-subdir-of-p' after
1746         creating dir.
1747         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1748         to `file-equal-p'.
1750 2012-02-28  Glenn Morris  <rgm@gnu.org>
1752         * shell.el (shell-mode):
1753         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1754         * play/landmark.el (landmark-font-lock-face-O):
1755         * play/handwrite.el (handwrite):
1756         * play/gomoku.el (gomoku-O):
1757         * net/browse-url.el (browse-url-browser-display):
1758         * international/mule.el (define-charset):
1759         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1760         * filesets.el (filesets-find-file-delay):
1761         * eshell/em-xtra.el (eshell-xtra):
1762         * eshell/em-unix.el (eshell-grep):
1763         * emulation/viper.el (viper-mode):
1764         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1765         * emacs-lisp/easymenu.el (easy-menu-define):
1766         * calendar/timeclock.el (timeclock-use-display-time):
1767         * bs.el (bs-mode):
1768         * bookmark.el (bookmark-save-flag):
1769         Doc fix (standardize possessive apostrophe usage).
1771 2012-02-27  Chong Yidong  <cyd@gnu.org>
1773         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1774         Fix key-binding lookup for ESC key (Bug#9146).
1776         * font-lock.el (font-lock-specified-p): Rename from
1777         font-lock-spec-present.  Callers changed.
1779 2012-02-27  Daniel Hackney  <dan@haxney.org>
1781         * emacs-lisp/package.el (package-compute-transaction):
1782         Handle holding a package version to t in package-load-list.
1784 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1786         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1787         (tramp-get-inode, tramp-get-device): Use cached values.
1789 2012-02-26  Alan Mackenzie  <acm@muc.de>
1791         Check there is a font-lock specification before doing initial
1792         fontification.
1794         * font-core.el (font-lock-mode): Move the conditional from
1795         :after-hook to font-lock-initial-fontify.
1796         (font-lock-default-function): Move the check for a specification
1797         to font-lock-spec-present.
1799         * font-lock.el (font-lock-initial-fontify): Call ...
1800         (font-lock-spec-present): New function.
1802 2012-02-26  Jim Blandy  <jimb@red-bean.com>
1804         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1805         (gdb-send): Apply it to the operand of the '-interpreter-exec
1806         console' command, so that we can pass arguments with (say) quotes
1807         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
1809 2012-02-26  Chong Yidong  <cyd@gnu.org>
1811         * help-fns.el (describe-function-1): Clarify description of
1812         remapping (Bug#10844).
1814         * files.el (files-equal-p): Doc fix.
1815         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1816         and quit the loop once a mismatch is found.
1818 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1820         * bs.el (bs--show-with-configuration): Don't throw an error
1821         if the window cannot be split; otherwise, subsequent calls to
1822         bs-show fail, restoring a stale window config.  (Bug#10882)
1824 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1826         * term/ns-win.el (global-map): Bind ns-drag-file to
1827         ns-find-file (Bug#5855, Bug#10050).
1829 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1831         * calendar/parse-time.el (parse-time-string): Allow extractor to
1832         return nil.
1834 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1836         * net/tramp.el (tramp-file-name-for-operation):
1837         Add `files-equal-p' and `file-subdir-of-p'.
1839         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1840         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1841         Add COPY-CONTENTS argument.
1843 2012-02-25  Chong Yidong  <cyd@gnu.org>
1845         Add custom groups for VC backends, for consistency with vc-bzr.
1847         * vc/vc-arch.el (vc-arch):
1848         * vc/vc-cvs.el (vc-cvs):
1849         * vc/vc-git.el (vc-git):
1850         * vc/vc-hg.el (vc-hg):
1851         * vc/vc-mtn.el (vc-mtn):
1852         * vc/vc-rcs.el (vc-rcs):
1853         * vc/vc-sccs.el (vc-sccs):
1854         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1855         All relevant defcustoms reassigned.
1857 2012-02-25  Chong Yidong  <cyd@gnu.org>
1859         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1861         * term/x-win.el (x-initialize-window-system): Reduce default for
1862         x-selection-timeout to 5 seconds (Bug#8869).
1864 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1866         * files.el (files-equal-p, file-subdir-of-p): New functions.
1867         (copy-directory): Error when trying to copy a directory on itself.
1868         Add missing copy-contents arg to tramp handler.
1869         * dired-aux.el (dired-copy-file-recursive): Same.
1870         (dired-create-files): Modify destination when source is equal to
1871         dest when copying files.
1872         Return also when dest is a subdir of source.  (Bug#10489)
1874 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1876         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1877         (Bug#10874)
1879 2012-02-23  Alan Mackenzie  <acm@muc.de>
1881         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1882         parameter "after-hook:" to allow the expansion to run code after
1883         the execution of the mode hooks.
1885         * font-lock.el (font-lock-initial-fontify): New function extracted
1886         from font-lock-mode-internal.
1888         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1889         :after-hook.
1891 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1893         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1894         (completion--cache-all-sorted-completions): New function.
1895         (completion-all-sorted-completions): Use it.
1896         (completion--do-completion, minibuffer-force-complete):
1897         Use it to re-instate the flush hook.
1899         * icomplete.el (icomplete-completions): Replace last fix with a better
1900         one (bug#10850).
1902 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1904         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1905         when it might call us back infinitely (bug#10797).
1907 2012-02-23  Glenn Morris  <rgm@gnu.org>
1909         * minibuffer.el (completion-category-overrides): Doc fix.
1911 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1913         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1914         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1916 2012-02-23  Glenn Morris  <rgm@gnu.org>
1918         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1919         (authors-obsolete-files-regexps, authors-ignored-files)
1920         (authors-ambiguous-files, authors-renamed-files-alist):
1921         Add more entries.
1923 2012-02-23  Juri Linkov  <juri@jurta.org>
1925         * isearch.el (isearch-occur): Sync interactive spec with occur's
1926         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1928         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1930 2012-02-22  Juri Linkov  <juri@jurta.org>
1932         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1933         (ucs-insert): Doc fix.  Check for hex digits in the string.
1934         Don't display `nil' in the error message.  (Bug#10857)
1936 2012-02-22  Alan Mackenzie  <acm@muc.de>
1938         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1940 2012-02-22  Glenn Morris  <rgm@gnu.org>
1942         * ffap.el (ffap-c-path):
1943         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1945 2012-02-22  Chong Yidong  <cyd@gnu.org>
1947         * custom.el (load-theme): Doc fix.
1949 2012-02-22  Glenn Morris  <rgm@gnu.org>
1951         * dired-x.el (dired-guess-shell-alist-default):
1952         Remove escape sequences from nroff output.  (Bug#172)
1954 2012-02-21  Glenn Morris  <rgm@gnu.org>
1956         * vc/emerge.el (emerge-defvar-local):
1957         Set `permanent-local' property rather than unused `preserved'.
1959         * textmodes/picture.el (picture-delete-char): New alias.
1960         (picture-mode-map): Use it.  (Bug#10860)
1961         (picture-mode): Doc fix.
1963 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1965         * newcomment.el (uncomment-region-default): Remove unused binding.
1967 2012-02-21  Glenn Morris  <rgm@gnu.org>
1969         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1970         (picture-self-insert, picture-tab-chars): Doc fix.
1971         (picture-mode-map): Fix C-a, C-e.
1973 2012-02-20  Glenn Morris  <rgm@gnu.org>
1975         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1977 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1979         * icomplete.el (icomplete-completions): Check FROM arg before
1980         passing to substring (Bug#10850).
1982 2012-02-19  Chong Yidong  <cyd@gnu.org>
1984         * comint.el: Require ansi-color.
1985         (comint-output-filter-functions): Add ansi-color-process-output.
1987         * ansi-color.el: Don't set comint-output-filter-functions; it is
1988         now in the initial value defined in comint.el.
1989         (ansi-color-apply-face-function): New variable.
1990         (ansi-color-apply-on-region): Use it.
1991         (ansi-color-apply-overlay-face): New function.
1993         * shell.el (shell): No need to require ansi-color.
1994         (shell-mode): Use ansi-color-apply-face-function to highlight
1995         color escapes using font-lock-face property (Bug#10835).
1997 2012-02-19  Chong Yidong  <cyd@gnu.org>
1999         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2000         mode-line formats (Bug#10839).
2002 2012-02-18  Glenn Morris  <rgm@gnu.org>
2004         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2006         * mail/undigest.el (unforward-rmail-message): Doc fix.
2008         * saveplace.el (save-place-ignore-files-regexp): Add :version.
2010 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
2012         * international/characters.el (script-list): Sync with the latest
2013         Unicode Character Database.
2015 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
2017         * international/titdic-cnv.el: Remove duplicate coding tag.
2018         * language/cham.el: Likewise.
2019         * language/tai-viet.el: Likewise.
2021 2012-02-18  Glenn Morris  <rgm@gnu.org>
2023         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2024         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2025         (calendar-bahai-all-holidays-flag, calendar-other-dates):
2026         * calendar/diary-lib.el (diary-abbreviated-year-flag):
2027         * calendar/holidays.el (holiday-bahai-holidays)
2028         (calendar-holidays, list-holidays):
2029         Use utf-8 Bahá'í in doc-strings, menus, etc.
2031 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2033         * saveplace.el (save-place-ignore-files-regexp): New variable
2034         allowing for excluding files from saving their location of point.
2035         The default value matches the temporary commit message editing
2036         files from Git, SVN, Bazaar, and Mercurial.
2037         (save-place-to-alist): Use it.
2039 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2040             Stefan Monnier  <monnier@iro.umontreal.ca>
2042         * newcomment.el (uncomment-region-default): Don't leave extra space
2043         when an arg is provided (bug#8150).
2045 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2047         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2049 2012-02-17  Glenn Morris  <rgm@gnu.org>
2051         * net/socks.el: Require network-stream.  (Bug#10599)
2053 2012-02-17  Kenichi Handa  <handa@m17n.org>
2055         * international/charprop.el:
2056         * international/uni-name.el:
2057         * international/uni-old-name.el:
2058         * international/uni-comment.el: Regenerate.
2060 2012-02-16  Glenn Morris  <rgm@gnu.org>
2062         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2063         Interactively in calendar buffer, give an error if not on a date.
2065 2012-02-15  Glenn Morris  <rgm@gnu.org>
2067         * shell.el (shell-delimiter-argument-list):
2068         Revert 2011-02-17 change.  (Bug#8027)
2070 2012-02-15  Chong Yidong  <cyd@gnu.org>
2072         * minibuffer.el (completion-at-point-functions): Doc fix.
2074         * custom.el (defcustom): Doc fix; note use of defvar.
2076 2012-02-15  Glenn Morris  <rgm@gnu.org>
2078         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2079         Doc fixes.
2081 2012-02-14  Glenn Morris  <rgm@gnu.org>
2083         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2085 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2087         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2088         way the ports list is computed.
2089         (smtpmail-query-smtp-server): Prompt the user for a port number if
2090         we can't connect to any of the standard ports (bug#10810).
2092 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2094         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2096 2012-02-13  Glenn Morris  <rgm@gnu.org>
2098         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2100 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2102         * net/gnutls.el (gnutls-trustfiles): New variable.
2103         (gnutls-negotiate): Use it.
2105 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2107         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2108         does its stuff if Gnus is running.
2110 2012-02-13  Alan Mackenzie  <acm@muc.de>
2112         Fix a loop in c-set-fl-decl-start.
2114         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2115         c-backward-syntactic-ws actually moves backwards.
2117 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2119         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2120         beginning so that all \C-o chars are removed.
2122 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2124         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2126 2012-02-12  Alan Mackenzie  <acm@muc.de>
2128         Fix infinite loop with long macros.
2129         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2131 2012-02-12  Chong Yidong  <cyd@gnu.org>
2133         * window.el (display-buffer): Doc fix (Bug#10785).
2135 2012-02-12  Glenn Morris  <rgm@gnu.org>
2137         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2138         (x-disown-selection-internal, x-get-selection-internal):
2139         Sync docs with the xselect.c versions.
2141         * allout-widgets.el: Add missing license notice.
2143 2012-02-11  Glenn Morris  <rgm@gnu.org>
2145         * select.el (x-get-selection-internal, x-own-selection-internal)
2146         (x-disown-selection-internal):
2147         * x-dnd.el (x-get-selection-internal): Update declarations.
2149         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2151         * window.el (window-sides-slots):
2152         * tool-bar.el (tool-bar-position):
2153         * term/xterm.el (xterm-extra-capabilities):
2154         * ses.el (ses-self-reference-early-detection):
2155         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2156         (verilog-auto-wire-type)
2157         (verilog-auto-delete-trailing-whitespace)
2158         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2159         (verilog-auto-tieoff-declaration):
2160         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2161         (sql-oracle-statement-starters, sql-oracle-scan-on):
2162         * progmodes/prolog.el (prolog-align-comments-flag)
2163         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2164         (prolog-left-indent-regexp, prolog-paren-indent-p)
2165         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2166         (prolog-types, prolog-mode-specificators)
2167         (prolog-determinism-specificators, prolog-directives)
2168         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2169         (prolog-electric-dot-flag)
2170         (prolog-electric-dot-full-predicate-template)
2171         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2172         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2173         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2174         (prolog-program-switches, prolog-prompt-regexp)
2175         (prolog-debug-on-string, prolog-debug-off-string)
2176         (prolog-trace-on-string, prolog-trace-off-string)
2177         (prolog-zip-on-string, prolog-zip-off-string)
2178         (prolog-use-standard-consult-compile-method-flag)
2179         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2180         (prolog-imenu-max-lines, prolog-info-predicate-index)
2181         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2182         (prolog-char-quote-workaround):
2183         * progmodes/cc-vars.el (c-defun-tactic):
2184         * net/tramp.el (tramp-encoding-command-interactive)
2185         (tramp-local-end-of-line):
2186         * net/soap-client.el (soap-client):
2187         * net/netrc.el (netrc-file):
2188         * net/gnutls.el (gnutls):
2189         * minibuffer.el (completion-category-overrides)
2190         (completion-cycle-threshold)
2191         (completion-pcm-complete-word-inserts-delimiters):
2192         * man.el (Man-name-local-regexp):
2193         * mail/feedmail.el (feedmail-display-full-frame):
2194         * international/characters.el (glyphless-char-display-control):
2195         * eshell/em-ls.el (eshell-ls-date-format):
2196         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2197         (lisp-lambda-list-keyword-parameter-indentation)
2198         (lisp-lambda-list-keyword-parameter-alignment):
2199         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2200         * dired-x.el (dired-omit-verbose):
2201         * cus-theme.el (custom-theme-allow-multiple-selections):
2202         * calc/calc.el (calc-highlight-selections-with-faces)
2203         (calc-lu-field-reference, calc-lu-power-reference)
2204         (calc-note-threshold):
2205         * battery.el (battery-mode-line-limit):
2206         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2207         (archive-7z-update):
2208         * allout.el (allout-prefixed-keybindings)
2209         (allout-unprefixed-keybindings)
2210         (allout-inhibit-auto-fill-on-headline)
2211         (allout-flattened-numbering-abbreviation):
2212         * allout-widgets.el (allout-widgets-auto-activation)
2213         (allout-widgets-icons-dark-subdir)
2214         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2215         (allout-widgets-theme-dark-background)
2216         (allout-widgets-theme-light-background)
2217         (allout-widgets-item-image-properties-emacs)
2218         (allout-widgets-item-image-properties-xemacs)
2219         (allout-widgets-run-unit-tests-on-load)
2220         (allout-widgets-time-decoration-activity)
2221         (allout-widgets-hook-error-post-time)
2222         (allout-widgets-track-decoration):
2223         Add missing :version tags to new defcustoms and defgroups.
2225         * progmodes/sql.el (sql-ansi-statement-starters)
2226         (sql-oracle-statement-starters): Add custom type.
2228         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2229         (prolog-system-version): Give it a type.
2231 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
2233         * term/pc-win.el (x-select-text, x-selection-owner-p)
2234         (x-own-selection-internal, x-disown-selection-internal)
2235         (x-get-selection-internal): Sync doc strings and argument lists
2236         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
2238 2012-02-11  Leo Liu  <sdl.web@gmail.com>
2240         * progmodes/python.el (python-end-of-statement): Fix infinite
2241         loop.  (Bug#10788)
2243 2012-02-10  Glenn Morris  <rgm@gnu.org>
2245         * international/mule-cmds.el (unify-8859-on-encoding-mode)
2246         (unify-8859-on-decoding-mode): Properly mark as obsolete.
2248 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2250         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2251         about SMTP before checking the From header.
2253         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2254         into own function for reuse by emacsbug.el.
2256 2012-02-10  Leo Liu  <sdl.web@gmail.com>
2258         * subr.el (condition-case-unless-debug): Rename from
2259         condition-case-no-debug.  All callers changed.
2260         (with-demoted-errors): Fix caller.
2262         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2263         * nxml/rng-valid.el (rng-do-some-validation):
2264         * emacs-lisp/package.el (package-refresh-contents)
2265         (package-menu-execute):
2266         * desktop.el (desktop-create-buffer):
2267         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2269 2012-02-10  Glenn Morris  <rgm@gnu.org>
2271         * textmodes/bibtex.el:
2272         Add missing :version tags for new/changed defcustoms.
2274         * files.el (remote-file-name-inhibit-cache): Doc fixes.
2276 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
2278         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2279         (smtpmail-via-smtp): Use it, or fall back on the From address.
2280         (smtpmail-send-it): Ditto.
2282 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2285         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
2286         (byte-compile-tmp-var): New const.
2287         (byte-compile-defvar): Use it to minimize .elc size.
2288         Just use `defvar' rather than simulate it (bug#10761).
2290 2012-02-09  Glenn Morris  <rgm@gnu.org>
2292         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
2294         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2295         Add :version tags.
2297         * progmodes/compile.el (compilation-error-screen-columns)
2298         (compilation-first-column, compilation-filter-start): Doc fixes.
2300         * vc/log-view.el (log-view-toggle-entry-display):
2301         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2303         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2304         (report-emacs-bug-can-use-xdg-email):
2305         (report-emacs-bug-insert-to-mailer): Doc fixes.
2306         (report-emacs-bug): Message fix.
2308         * net/browse-url.el (browse-url-can-use-xdg-open)
2309         (browse-url-xdg-open): Doc fixes.
2311         * electric.el (electric-indent-mode, electric-pair-mode)
2312         (electric-layout-rules, electric-layout-mode): Doc fixes.
2313         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2315 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
2317         * server.el (server-unselect-display): Don't inadvertently kill
2318         the current buffer.  (Bug#10729)
2320 2012-02-08  Glenn Morris  <rgm@gnu.org>
2322         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2323         (sql-list-table): Doc fixes.
2325         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2326         Comment out (does nothing).
2328         * completion.el (dynamic-completion-mode):
2329         * dirtrack.el (dirtrack-debug-mode):
2330         * electric.el (electric-layout-mode):
2331         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2332         * face-remap.el (text-scale-mode, buffer-face-mode):
2333         * iimage.el (iimage-mode):
2334         * image-mode.el (image-transform-mode):
2335         * minibuffer.el (completion-in-region-mode):
2336         * scroll-lock.el (scroll-lock-mode):
2337         * simple.el (next-error-follow-minor-mode):
2338         * tar-mode.el (tar-subfile-mode):
2339         * tooltip.el (tooltip-mode):
2340         * vcursor.el (vcursor-use-vcursor-map):
2341         * wid-browse.el (widget-minor-mode):
2342         * emulation/tpu-edt.el (tpu-edt-mode):
2343         * emulation/tpu-extras.el (tpu-cursor-free-mode):
2344         * international/iso-ascii.el (iso-ascii-mode):
2345         * language/thai-util.el (thai-word-mode):
2346         * mail/supercite.el (sc-minor-mode):
2347         * net/goto-addr.el (goto-address-mode):
2348         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2349         * progmodes/cwarn.el (cwarn-mode):
2350         * progmodes/flymake.el (flymake-mode):
2351         * progmodes/glasses.el (glasses-mode):
2352         * progmodes/hideshow.el (hs-minor-mode):
2353         * progmodes/pascal.el (pascal-outline-mode):
2354         * textmodes/enriched.el (enriched-mode):
2355         * vc/smerge-mode.el (smerge-mode):
2356         Doc fixes (minor mode argument).
2358 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
2360         * ls-lisp.el (ls-lisp-sanitize): New function.
2361         (ls-lisp-insert-directory): Use it to fix or remove any elements
2362         in file-alist with missing attributes.  (Bug#4673)
2364 2012-02-07  Alan Mackenzie  <acm@muc.de>
2366         Fix spurious recognition of c-in-knr-argdecl.
2368         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2369         putative K&R region.
2371 2012-02-07  Alan Mackenzie  <acm@muc.de>
2373         * progmodes/cc-engine.el (c-forward-objc-directive):
2374         Prevent looping in "#pragma mark @implementation".
2376 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
2378         * notifications.el (notifications-on-closed-signal): Make `reason'
2379         optional.  (Bug#10744)
2381 2012-02-07  Glenn Morris  <rgm@gnu.org>
2383         * emacs-lisp/easy-mmode.el (define-minor-mode):
2384         Doc fixes for the macro and the mode it defines.
2386         * image.el (imagemagick-types-inhibit): Doc fix.
2388         * cus-start.el (imagemagick-render-type): Add it.
2390 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
2392         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2393         Set the default at load time, too, so that `font-lock-fontify-buffer'
2394         can be called without setting up the entire mode first.  This fixes
2395         a bug in `mm-inline-text' with C MIME parts.
2397 2012-02-06  Chong Yidong  <cyd@gnu.org>
2399         * simple.el (list-processes--refresh): Delete exited processes
2400         (Bug#8094).
2402         * comint.el (comint-next-prompt): next-single-char-property-change
2403         and prev-single-char-property-change never return nil (Bug#8657).
2405         * custom.el (defcustom): Doc fix (Bug#9711).
2407 2012-02-05  Chong Yidong  <cyd@gnu.org>
2409         * cus-edit.el (custom-variable-reset-backup): Quote the value
2410         before storing it in the customized-value property (Bug#6712).
2411         (custom-display): Add a customization type tag.
2412         (custom-buffer-create-internal): Improve tooltip message.
2414         * wid-edit.el (widget-field-value-get): New optional arg to
2415         suppress trailing whitespace truncation.
2416         (character): Use it (Bug#2689).
2418 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
2420         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2421         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2423 2012-02-05  Chong Yidong  <cyd@gnu.org>
2425         * cus-edit.el (custom-variable-value-create): For mismatched
2426         types, show the current value (Bug#7600).
2428         * custom.el (defcustom): Doc fix.
2430 2012-02-05  Glenn Morris  <rgm@gnu.org>
2432         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2434 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
2436         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2437         (pp-buffer): Use `ignore-errors', `looking-at-p'.
2438         (pp-last-sexp): Use `looking-at-p'.
2440 2012-02-04  Glenn Morris  <rgm@gnu.org>
2442         * files.el (revert-buffer):
2443         Doc fix (mention revert-buffer-in-progress-p).
2445         * emacs-lisp/ert-x.el (ert-simulate-command):
2446         Check deferred-action-list (which is obsolete) is bound.
2448         * subr.el (with-wrapper-hook): Doc fixes.
2450         * simple.el (filter-buffer-substring-functions)
2451         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2453 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
2455         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2456         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
2458 2012-02-04  Leo Liu  <sdl.web@gmail.com>
2460         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2462 2012-02-04  Glenn Morris  <rgm@gnu.org>
2464         * image.el (image-extension-data): Add obsolete alias.
2466         * isearch.el (isearch-update): Doc fix.
2468         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2470         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2472 2012-02-03  Glenn Morris  <rgm@gnu.org>
2474         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
2475         (image-animate-timeout): Doc fix.
2477         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2479 2012-02-02  Glenn Morris  <rgm@gnu.org>
2481         * server.el (server-auth-dir): Doc fix.
2482         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
2484         * subr.el (run-mode-hooks): Doc fix.
2486 2012-02-02  Juri Linkov  <juri@jurta.org>
2488         * image-mode.el (image-toggle-display-image): Remove tautological
2489         `major-mode' from the `derived-mode-p' test.
2491 2012-02-02  Kenichi Handa  <handa@m17n.org>
2493         * composite.el (compose-region): Cancel previous change.
2495 2012-02-02  Kenichi Handa  <handa@m17n.org>
2497         * composite.el (compose-region, compose-string): Signal error for
2498         a null string component (Bug#6988).
2500 2012-02-01  Chong Yidong  <cyd@gnu.org>
2502         * view.el (view-buffer-other-window, view-buffer-other-frame):
2503         Handle special modes like view-buffer (Bug#10650).
2504         (view-buffer): Simplify.
2506         * frame.el (set-frame-font): Tweak meaning of third argument.
2508         * dynamic-setting.el (font-setting-change-default-font):
2509         Use set-frame-font (Bug#9982).
2511 2012-02-01  Glenn Morris  <rgm@gnu.org>
2513         * progmodes/compile.el (compilation-internal-error-properties):
2514         Respect compilation-first-column in the "*compilation*" buffer.
2516         * emacs-lisp/easy-mmode.el (define-minor-mode):
2517         Relax :variable's test for a named function.
2519 2012-01-31  Alan Mackenzie  <acm@muc.de>
2521         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2522         off by one error.
2524 2012-01-31  Chong Yidong  <cyd@gnu.org>
2526         * frame.el (set-frame-font): New arg ALL-FRAMES.
2528         * menu-bar.el (menu-set-font): Use set-frame-font.
2530         * faces.el (face-spec-reset-face): Don't apply unspecified
2531         attribute values to the default face.
2533 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
2535         * progmodes/cwarn.el (cwarn): Remove dead link.
2536         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2537         Remove * from defcustom docstrings.
2538         (turn-on-cwarn-mode): Make obsolete.
2539         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2540         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2542 2012-01-31  Glenn Morris  <rgm@gnu.org>
2544         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2545         Fix :variable handling of mode a symbol not equal to modefun.
2546         Allow named functions to be used as the cdr of :variable.
2548 2012-01-30  Glenn Morris  <rgm@gnu.org>
2550         * emacs-lisp/authors.el (authors-fixed-entries):
2551         Remove reference to deleted file rnewspost.el.
2553 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
2555         * window.el (window-with-parameter): Remove unused variable `windows'.
2556         (window--side-check): Remove unused variable `code'.
2557         (window--resize-siblings): Remove unused variable `first'.
2558         (adjust-window-trailing-edge): Remove unused variable `failed'.
2559         (window-deletable-p, window--delete): Remove unused variable `buffer'.
2560         Use `let', not `let*'.
2561         (balance-windows-2): Remove unused variable `found'.
2562         (window--state-put-2): Remove unused variable `splits'.
2563         (window-state-put): Remove unused variable `selected'.
2564         (same-window-p): Use `string-match-p'.
2565         (display-buffer-assq-regexp): Remove unused variable `value'.
2566         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2567         Mark argument ALIST as ignored.
2568         (pop-to-buffer): Remove unused variable `old-window'.
2570 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
2572         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2573         and .lzma compressed files.
2575 2012-01-29  Chong Yidong  <cyd@gnu.org>
2577         * frame.el (window-system-default-frame-alist): Doc fix.
2579         * dynamic-setting.el (font-setting-change-default-font): Don't
2580         change the default face if SET-FONT argument is non-nil (Bug#9982).
2582 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
2584         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2586 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
2588         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2589         breakpoints in files outside current directory (Bug#6098).
2591 2012-01-29  Chong Yidong  <cyd@gnu.org>
2593         * progmodes/python.el: Require ansi-color at top-level.
2595         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2596         Define and use in Emacs Lisp mode (Bug#9360).
2597         (lisp-mode-abbrev-table): Add doc.
2598         (lisp-mode-variables): Don't set local-abbrev-table.
2599         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2601 2012-01-28  Roland Winkler  <winkler@gnu.org>
2603         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2605 2012-01-28  Roland Winkler  <winkler@gnu.org>
2607         * textmodes/bibtex.el (bibtex-entry-alist): New function.
2608         (bibtex-set-dialect): Use it.  Either set global values of
2609         dialect-dependent variables or bind these variables buffer-locally
2610         (Bug#10254).
2611         (bibtex-mode): Call bibtex-set-dialect via
2612         hack-local-variables-hook.
2613         (bibtex-dialect): Update docstring.
2614         Add safe-local-variable predicate.
2615         (bibtex-entry-alist, bibtex-field-alist): Initialize via
2616         bibtex-set-dialect.
2617         (bibtex-mode-map): Define menu for each dialect.
2618         (bibtex-entry): Fix docstring.
2620 2012-01-28  Chong Yidong  <cyd@gnu.org>
2622         * eshell/esh-arg.el (eshell-quote-argument): New function.
2624         * eshell/esh-ext.el (eshell-invoke-batch-file):
2625         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2626         first arg to eshell-parse-command (Bug#10523).
2628 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2630         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2631         `default-directory' is non-nil.
2633 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2635         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2636         line that displays system-configuration-options.  (Bug#9924)
2638 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2640         * descr-text.el (describe-char): Show information about POS, in
2641         addition to information about the character at POS.  Improve and
2642         update the doc string.  Change "code point" to "code point in
2643         charset", to avoid confusion with the character's Unicode code
2644         point shown above that.  (Bug#10129)
2646 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2648         * descr-text.el (describe-char): Show the raw character, not only
2649         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
2650         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2651         for the reasons.
2653 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
2655         * emacs-lisp/package.el (package-install):
2656         Run package-refresh-contents if there is no archive yet (Bug#9798).
2658 2012-01-28  Chong Yidong  <cyd@gnu.org>
2660         * emacs-lisp/package.el (package-maybe-load-descriptor):
2661         New function, split from package-maybe-load-descriptor.
2662         (package-maybe-load-descriptor): Use it.
2663         (package-download-transaction): Fully load required packages
2664         inside the loop, so that `require' calls work (Bug#10593).
2665         (package-install): No need to call package-initialize now.
2667 2012-01-28  Chong Yidong  <cyd@gnu.org>
2669         * simple.el (deactivate-mark): Doc fix (Bug#8614).
2671         * tooltip.el (tooltip-mode): Doc fix.
2672         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2674         * frame.el (set-cursor-color): Doc fix (Bug#352).
2676         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2677         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2679         * cus-edit.el (custom-buffer-create-internal): Fix search button
2680         action (Bug#10542).
2681         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2683 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
2685         * dired.el (dired-mark-files-regexp):
2686         Include any subdirectory components.  (Bug#10445)
2688 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2690         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2691         Handle [host]:port syntax.  (Bug#10533)
2693 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
2695         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2697 2012-01-26  Glenn Morris  <rgm@gnu.org>
2699         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2700         * term.el (term-raw-escape-map): Use Control-X-prefix.
2701         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
2703 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
2705         * window.el (window-state-get, window--state-get-1): Don't deal
2706         with fixed-sizeness of windows.  Simplify code.
2708 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
2710         * window.el (window--state-get-1, window--state-put-2):
2711         Don't save and restore the mark.
2713 2012-01-25  Chong Yidong  <cyd@gnu.org>
2715         * custom.el (custom-variable-p): Doc fix.
2717 2012-01-25  Glenn Morris  <rgm@gnu.org>
2719         * dired.el (dired-goto-file): Handle some of the more common
2720         characters that `ls -b' escapes.  (Bug#10596)
2722         * progmodes/compile.el (compilation-next-error-function):
2723         Respect compilation-first-column in the "*compilation*" buffer.
2724         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
2726         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
2728 2012-01-24  Glenn Morris  <rgm@gnu.org>
2730         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
2732 2012-01-24  Julien Danjou  <julien@danjou.info>
2734         * color.el (color-rgb-to-hsl): Fix value computing.
2735         (color-hue-to-rgb): New function.
2736         (color-hsl-to-rgb): New function.
2737         (color-clamp, color-saturate-hsl, color-saturate-name)
2738         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2739         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2741 2012-01-24  Glenn Morris  <rgm@gnu.org>
2743         * vc/vc-rcs.el (vc-rcs-create-tag):
2744         * vc/vc-sccs.el (vc-sccs-create-tag):
2745         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2747 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2749         * eshell/esh-util.el (eshell-read-hosts-file):
2750         Skip comment lines.  (Bug#10549)
2752         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2754 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2756         * subr.el (display-delayed-warnings): Doc fix.
2757         (collapse-delayed-warnings): New function to collapse identical
2758         adjacent warnings.
2759         (delayed-warnings-hook): Add it.
2761 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2763         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2765         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2766         properties, when "login-as" is set.
2768         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2769         (tramp-default-user-alist): Don't add "pscp".
2770         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2771         property "login-as", if set.  (Bug#10530)
2773 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2775         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2776         "plink1" and "psftp".  (Bug#10530)
2778 2012-01-21  Kenichi Handa  <handa@m17n.org>
2780         * international/mule-cmds.el (prefer-coding-system): Show a
2781         warning message if the default value of file-name-coding-system
2782         was not changed.
2784 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2786         * windmove.el (windmove-reference-loc):
2787         Fix windmove-reference-loc miscalculation.
2789 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2791         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2792         default unit.
2794 2012-01-21  Glenn Morris  <rgm@gnu.org>
2796         * international/mule.el (auto-coding-alist): Add .tbz.
2798         * files.el (local-enable-local-variables): Doc fix.
2799         (inhibit-local-variables-regexps): Rename from
2800         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
2801         Doc fix.  Add some extensions from auto-coding-alist.
2802         (inhibit-local-variables-suffixes):
2803         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
2804         (inhibit-local-variables-p):
2805         New function, extracted from set-auto-mode-1.
2806         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
2807         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
2808         (hack-local-variables): Doc fix.  Make the mode-only case
2809         respect enable-local-variables and friends.
2810         Respect inhibit-local-variables-regexps for file-locals, but
2811         not for directory-locals.
2812         (set-visited-file-name):
2813         Take account of inhibit-local-variables-regexps.
2814         Whether it applies may change as the file name is changed.
2815         * jka-cmpr-hook.el (jka-compr-install):
2816         * jka-compr.el (jka-compr-uninstall):
2817         Update for inhibit-first-line-modes-suffixes name change.
2819 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2821         * help-macro.el (make-help-screen): Temporarily restore original
2822         binding for minor-mode-map-alist (Bug#10454).
2824 2012-01-19  Julien Danjou  <julien@danjou.info>
2826         * color.el (color-name-to-rgb): Use the white color to find the max
2827         color component value and return correctly computed values.
2828         (color-name-to-rgb): Add missing float conversion for max value.
2830 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2832         * window.el (window--state-get-1, window-state-get): Do not use
2833         special state value for window-persistent-parameters.
2834         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2835         (window--state-put-2): Reset all window parameters to nil before
2836         assigning values of persistent parameters.
2838 2012-01-18  Alan Mackenzie  <acm@muc.de>
2840         Eliminate sluggishness and hangs in fontification of "semicolon
2841         deserts".
2843         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2844         Change value 10000 -> 3000.
2845         (c-state-safe-place): Reformulate so it doesn't stack up an
2846         infinite number of wrong entries in c-state-nonlit-pos-cache.
2847         (c-determine-limit-get-base, c-determine-limit): New functions to
2848         determine backward search limits disregarding literals.
2849         (c-find-decl-spots): Amend commenting.
2850         (c-cheap-inside-bracelist-p): New function which detects "={".
2852         * progmodes/cc-fonts.el
2853         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2854         backward search.
2855         (c-font-lock-declarations): Fix an occurrence of point being
2856         undefined.  Check additionally for point being in a bracelist or
2857         near a macro invocation without a semicolon so as to avoid a
2858         fruitless time consuming search for a declarator.  Give a more
2859         precise search limit for declarators using the new
2860         c-determine-limit.
2862 2012-01-18  Glenn Morris  <rgm@gnu.org>
2864         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2865         (set-auto-mode): Doc fixes.
2867 2012-01-17  Glenn Morris  <rgm@gnu.org>
2869         * isearch.el (search-nonincremental-instead): Fix doc typo.
2871         * dired.el (dired-insert-directory): Handle newlines in directory name.
2872         (dired-build-subdir-alist): Unescape newlines in directory name.
2874 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2876         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2877         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2878         (tramp-action-terminal): Use it.  (Bug#10530)
2880 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2882         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2884 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2886         * window.el (window-state-ignored-parameters): Remove variable.
2887         (window--state-get-1): Rename argument MARKERS to IGNORE.
2888         Handle persistent window parameters.  Make copy of clone-of
2889         parameter only if requested.  (Bug#10348)
2890         (window--state-put-2): Install a window parameter only if it has
2891         a non-nil value or an existing parameter shall be overwritten.
2893 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2895         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2897 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2899         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2900         don't pass the (nil) value of `upnode' to string-match.
2902 2012-01-14  Chong Yidong  <cyd@gnu.org>
2904         * startup.el (command-line): Fix X resource class for cursorColor.
2905         Fix values recognized by the cursorBlink resource.
2907 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2909         * epg.el (epg--make-temp-file): Avoid permission race condition
2910         when running on old Emacs versions (bug#10403).
2912 2012-01-14  Glenn Morris  <rgm@gnu.org>
2914         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2916 2012-01-13  Alan Mackenzie  <acm@muc.de>
2918         Fix filling for when filladapt mode is enabled.
2920         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2921         c-mask-paragraph, pass in `fill-paragraph' rather than
2922         `fill-region-as-paragraph'.  (This is a reversion of a previous
2923         change.)
2924         * progmodes/cc-mode.el (c-basic-common-init):
2925         Make fill-paragraph-handle-comment buffer local and set it to nil.
2927 2012-01-13  Glenn Morris  <rgm@gnu.org>
2929         * dired.el (dired-switches-escape-p): New function.
2930         (dired-insert-directory): Use dired-switches-escape-p.
2931         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2933         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2935 2012-01-12  Glenn Morris  <rgm@gnu.org>
2937         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2938         changes in adaptive-fill-regexp.  (Bug#10276)
2940 2012-01-11  Alan Mackenzie  <acm@muc.de>
2942         Fix Emacs bug #10463 - put `widen's around the critical spots.
2944         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2945         widen around each invocation of c-state-pp-to-literal.  Remove an
2946         unused let variable.
2948 2012-01-11  Glenn Morris  <rgm@gnu.org>
2950         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2951         Doc fix.
2953 2012-01-10  Chong Yidong  <cyd@gnu.org>
2955         * net/network-stream.el (network-stream-open-starttls):
2956         Avoid emitting a confusing error message when the server gives a bad
2957         response to the capability command.
2959 2012-01-10  Glenn Morris  <rgm@gnu.org>
2961         * mail/unrmail.el (unrmail): Tweak previous change.
2963 2012-01-09  Chong Yidong  <cyd@gnu.org>
2965         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2967 2012-01-08  Alan Mackenzie  <acm@muc.de>
2969         Optimise font locking in long enum definitions.
2971         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2972         arm to a cond form to handle enums.
2973         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2974         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2976 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2978         * files.el (move-file-to-trash): Preserve default file modes on error.
2979         (Bug#10401)
2981 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2983         * faces.el (set-face-attribute): Clarify the meaning of the nil
2984         frame (bug#10294).
2986         * subr.el (with-selected-frame): Mention that the selected frame
2987         is restored (bug#9980).
2989         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2990         (bug#9759).
2992         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2993         (password-read): Don't autoload unused function.
2995 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2997         * progmodes/which-func.el (which-func-mode): Turn into a
2998         non-interactive function and mark as obsolete (bug#10428).
3000 2012-01-06  Chong Yidong  <cyd@gnu.org>
3002         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3003         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3004         functions, along with 1 and -1.
3006 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
3008         * time.el (display-time-load-average)
3009         (display-time-default-load-average): Doc fixes.  See the thread
3010         starting at
3011         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3012         for the details.
3014 2012-01-06  Glenn Morris  <rgm@gnu.org>
3016         * mail/unrmail.el (unrmail): Give an explicit error if the input file
3017         has no messages.  (Bug#10377)
3019         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3020         than Info-edit.  (Bug#10385)
3022         * time.el (display-time-load-average, display-time-next-load-average):
3023         Doc fixes.
3025         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3026         local setting of buffer-read-only to the input buffer.  (Bug#10419)
3028         * calendar/calendar.el (calendar-mode):
3029         Locally set scroll-margin to 0.  (Bug#10379)
3031 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3033         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3035 2012-01-05  Glenn Morris  <rgm@gnu.org>
3037         * eshell/em-unix.el (diff-no-select): Autoload it.
3038         (eshell/diff): Use diff-no-select.  (Bug#10420)
3040 2012-01-05  Chong Yidong  <cyd@gnu.org>
3042         * shell.el (shell-dynamic-complete-functions): Revert last change.
3043         (shell-command-completion-function): New function.
3044         (shell-completion-vars): Use it to implement
3045         shell-completion-execonly (Bug#10417).
3047         * custom.el (enable-theme): Don't set custom-safe-themes.
3049         * cus-theme.el (custom-theme-merge-theme):
3050         Ignore custom-enabled-themes and custom-safe-themes.
3052 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3054         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3055         first prompt in `sql-interacive-mode'.
3056         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3057         keywords.
3058         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3059         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3060         context of original buffer.  Invoke `sql-login-hook'.
3062 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3064         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3065         letters in cite-prefix.
3067 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3069         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3071 2012-01-03  Chong Yidong  <cyd@gnu.org>
3073         * shell.el (shell-dynamic-complete-functions):
3074         Put pcomplete-completions-at-point, so as to try
3075         comint-filename-completion first (Bug#10417).
3077 2012-01-02  Richard Stallman  <rms@gnu.org>
3079         * battery.el (battery-status-function):
3080         Detect when to use battery-yeeloong-sysfs.
3081         (battery-echo-area-format): Add string for Yeeloong.
3082         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3083         (battery-yeeloong-sysfs): New function.
3085 2012-01-02  Chong Yidong  <cyd@gnu.org>
3087         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3088         (dirtrack): Merge code for handling relative filenames in prompt
3089         from shell-dir-cookie-watcher.
3090         (dirtrack-debug-message): New arg to avoid excess format calls.
3092         * shell.el (shell-dir-cookie-re): Variable deleted.
3093         (shell-dir-cookie-watcher): Function deleted.
3094         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3095         with dirtrack-mode.
3097 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3099         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3100         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3101         libgnutls-26.dll.
3103 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3105         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3107 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3109         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3110         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3112 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3114         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3115         also for alternative shells.
3116         (tramp-open-connection-setup-interactive-shell): Check, whether
3117         the shell is a busybox.
3118         (tramp-send-command): Don't suppress multiple prompts for
3119         busyboxes, it hurts.
3121 2011-12-28  Chong Yidong  <cyd@gnu.org>
3123         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3124         (gdb-get-source-file): Move mode line update to
3125         gdb-get-source-file (Bug#10087).
3127 2011-12-25  Chong Yidong  <cyd@gnu.org>
3129         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3130         gud-gdb-marker-filter without taking it as an argument.
3131         (gud-gdb-run-command-fetch-lines): Caller changed.
3132         (gud-gdb-completion-function): New variable.
3133         (gud-gdb-completion-at-point): Use it.
3134         (gud-gdb-completions-1): Split from gud-gdb-completions.
3136         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3137         function as separate arguments.
3138         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3139         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3140         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3141         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3142         (gdb-stopped, def-gdb-auto-update-trigger)
3143         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3144         (gdb-get-changed-registers, gdb-get-main-selected-frame):
3145         Callers changed.
3146         (gud-gdbmi-completions): New function.
3147         (gdb): Use it for generating the completion table.
3149 2011-12-24  Alan Mackenzie  <acm@muc.de>
3151         Introduce a mechanism to widen the region used in context font
3152         locking.  Use this to protect declarations from losing their contexts.
3154         * progmodes/cc-langs.el (c-before-font-lock-functions):
3155         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3156         (c-before-context-fontification-functions): New defvar, a list of
3157         functions to be run just before context (etc.) font locking.
3159         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3160         New, functionality extracted from
3161         c-neutralize-syntax-in-and-mark-CPP.
3162         (c-in-after-change-fontification): New variable.
3163         (c-after-change): Set c-in-after-change-fontification.
3164         (c-set-fl-decl-start): Rejig its interface, so it can be called
3165         from both after-change and context fontifying.
3166         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3167         New functions.
3168         (c-standard-font-lock-fontify-region-function): New variable.
3169         (c-font-lock-fontify-region): New function.
3171 2011-12-24  Juri Linkov  <juri@jurta.org>
3173         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3174         (Bug#10348)
3176 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
3178         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3179         existence of source file.  (Bug#10325)
3181 2011-12-23  Alan Mackenzie  <acm@muc.de>
3183         Fix unstable fontification inside templates.
3185         * progmodes/cc-langs.el (c-before-font-lock-functions):
3186         Newly created from the singular version.  The (c c++ objc) entry now
3187         additionally has c-set-fl-decl-start.  The other languages (apart
3188         from AWK) have that as a single entry.
3190         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3191         The functionality for "local" declarations has been extracted to
3192         c-set-fl-decl-start.
3194         * progmodes/cc-mode.el (c-common-init, c-after-change):
3195         Changes due to pluralisation of c-before-font-lock-functions.
3196         (c-set-fl-decl-start): New function, extracted from
3197         c-font-lock-enclosing-decls and enhanced.
3199 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
3201         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3203 2011-12-22  Juri Linkov  <juri@jurta.org>
3205         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
3207 2011-12-22  Chong Yidong  <cyd@gnu.org>
3209         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3211 2011-12-21  Drew Adams  <drew.adams@oracle.com>
3213         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
3215 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3217         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3219 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
3221         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
3222         highlighting and support.  Fix up comments for capitalization.
3223         (cfengine-mode-debug): New var.
3224         (cfengine3-mode): Change the modeline indicator to "CFE3".
3225         (cfengine3-font-lock-keywords): Improve defun highlighting.
3226         (cfengine2-actions): Rename from `cfengine-actions'.
3227         (cfengine2-font-lock-keywords): Rename from
3228         `cfengine-font-lock-keywords'.
3229         (cfengine2-imenu-expression): Rename from
3230         `cfengine-imenu-expression'.
3231         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3232         (cfengine2-beginning-of-defun): Rename from
3233         `cfengine-beginning-of-defun'.
3234         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3235         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3236         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
3237         modeline indicator to "CFE2".
3238         (cfengine-mode): Defalias to `cfengine-auto-mode'.
3239         (cfengine-mode-abbrevs): Mark obsolete.
3241 2011-12-21  Chong Yidong  <cyd@gnu.org>
3243         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3244         filename argument.
3246 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
3248         * window.el (window-normalize-buffer-to-display): Remove.
3249         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3251 2011-12-19  Chong Yidong  <cyd@gnu.org>
3253         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3254         Don't signal an error in a predicate function; return non-nil.
3255         (vc-dir-mark-file): Move the error here.
3256         (vc-dir-mark-unmark): If acting on the region, keep going if one
3257         of the entries cannot be marked/unmarked.
3258         (vc-dir-mark-all-files): If current entry is a directory, mark
3259         only child files, as documented.
3261 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3263         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3264         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3265         addition.
3267 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
3269         * term/ns-win.el (ns-get-selection-internal)
3270         (ns-store-selection-internal): Declare.
3271         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3272         Declare as obsolete.
3273         (ns-get-pasteboard, ns-paste-secondary):
3274         Use ns-get-selection-internal.
3275         (ns-set-pasteboard,  ns-copy-including-secondary):
3276         Use ns-store-selection-internal.
3278 2011-12-17  Chong Yidong  <cyd@gnu.org>
3280         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3281         (vc-deduce-fileset): Doc fix.
3283 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
3285         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3287 2011-12-13  Sam Steingold  <sds@gnu.org>
3289         * man.el (Man-getpage-in-background): When running under a
3290         window-system, ignore $MANWIDTH and $COLUMNS.
3292 2011-12-15  Kenichi Handa  <handa@m17n.org>
3294         * language/ethio-util.el: Change coding tag to utf-8-emacs.
3295         (setup-ethiopic-environment-internal): Comment out key-binding for
3296         ethio-toggle-punctuation.
3298 2011-12-13  Alan Mackenzie  <acm@muc.de>
3300         Add the switch statement to AWK Mode.
3302         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3303         "default" to the keywords regexp.
3305         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3306         expression as the rest.
3307         (c-nonlabel-token-key): Allow string literals for AWK.
3308         Refactor for the other modes.
3310         Large brace-block initialisation makes CC Mode slow: Fix.
3311         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3312         routines.  Limit backward searching in c-font-lock-enclosing.decl.
3314         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3315         pp-state and literal type in addition to the limits.
3316         (c-state-safe-place): New defun, extracted from c-state-literal-at.
3317         (c-state-literal-at): Use the above new defun.
3318         (c-slow-in-literal, c-fast-in-literal): Remove.
3319         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3321         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3322         being in a literal.  Add a limit for backward searching.
3324         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3325         c-slow-in-literal.
3327 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3331 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
3333         * window.el (delete-other-windows): Use correct frame in call to
3334         window-with-parameter.
3336 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
3338         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3339         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3340         (makefile-gmake-statements, makefile-makepp-statements):
3341         Use it and add new makepp keywords.
3342         (makefile-makepp-font-lock-keywords): Add new patterns.
3343         (makefile-match-function-end): Match new [...] and [[...]].
3345 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
3347         * ses.el (ses-call-printer-return, ses-cell-property-get)
3348         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3349         (ses-create-cell-variable, ses-reset-header-string)
3350         (ses-cell-set-formula, ses-repair-cell-reference-all)
3351         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3352         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3353         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3354         (ses-aset-with-undo, ses-load, ses-truncate-cell)
3355         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3356         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3357         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3358         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3359         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3360         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3361         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3362         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3364 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3366         * ses.el: The overall change is to add cell renaming, that is
3367         setting fancy names for cell symbols other than name matching
3368         "\\`[A-Z]+[0-9]+\\'" regexp .
3369         (ses-create-cell-variable): New defun.
3370         (ses-relocate-formula): Relocate formulas only for cells the
3371         symbols of which are not renamed, i.e. symbols whose names do not
3372         match regexp "\\`[A-Z]+[0-9]+\\'".
3373         (ses-relocate-all): Relocate values only for cells the symbols of
3374         which are not renamed.
3375         (ses-load): Create cells variables as the (ses-cell ...) are read,
3376         in order to check row col consistency with cell symbol name only
3377         for cells that are not renamed.
3378         (ses-replace-name-in-formula): New defun.
3379         (ses-rename-cell): New defun.
3381 2011-12-11  Chong Yidong  <cyd@gnu.org>
3383         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3384         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3386 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
3388         * window.el (other-window): Fix docstring.
3390 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3392         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3393         `from' or `to' address before taking its substring.
3394         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3395         encoded name is chopped in the middle of the encoded string, and
3396         thus displayed encoded.
3398 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
3400         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3402 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3404         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
3405         to use texinfo-update-node and commands that call it if the
3406         Texinfo file uses @node lines without next/prev/up pointers.
3407         Correct outdated description about texinfo-master-menu.
3408         (texinfo-all-menus-update, texinfo-master-menu)
3409         (texinfo-update-node, texinfo-every-node-update)
3410         (texinfo-multiple-files-update): Doc fix.  Warn against updating
3411         all the @node lines.
3412         (texinfo-master-menu): Only call texinfo-update-node if the prefix
3413         argument is numeric.  Explain better in the doc string what the
3414         function really does.
3415         (texinfo-insert-master-menu-list): Improve the error message
3416         displayed if there's no menu in the Top node.
3417         (Bug#2975)  See also this thread:
3418         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3420 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
3422         * speedbar.el (speedbar-supported-extension-expressions):
3423         Add .adb and .ads, commonly used for Ada source code (bug#10256).
3425 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
3427         * printing.el (pr-mode-alist):
3428         * simple.el (filter-buffer-substring-functions)
3429         (completion-list-insert-choice-function):
3430         * window.el (window-with-parameter, window-atom-root)
3431         (window-sides-slots, window-size-fixed, window-min-delta)
3432         (window-max-delta, window--resize-mini-window)
3433         (window--resize-child-windows-normal, window-tree)
3434         (delete-other-windows, quit-window, split-window)
3435         (display-buffer-record-window, special-display-buffer-names)
3436         (special-display-regexps, special-display-popup-frame)
3437         (same-window-p, split-window-sensibly)
3438         (display-buffer-overriding-action, display-buffer-alist)
3439         (display-buffer-base-action, display-buffer, switch-to-buffer)
3440         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3441         (fit-window-to-buffer, recenter-positions)
3442         (mouse-autoselect-window-state, mouse-autoselect-window-select):
3443         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3444         and remove unneeded backslashes in docstrings.
3446 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3448         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3450         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3451         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3452         end in ".mk".
3453         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3454         when reading the makefile (bug#10116).
3456 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3458         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3459         (bug#10116).
3461 2011-12-06  Glenn Morris  <rgm@gnu.org>
3463         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3465 2011-12-06  Chong Yidong  <cyd@gnu.org>
3467         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3469 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
3471         * textmodes/table.el (table-shorten-cell): Fix typo.
3473 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
3475         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3477 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
3479         * descr-text.el (describe-char): Fix display of strong
3480         right-to-left characters and directional embeddings and overrides.
3482         * simple.el (what-cursor-position): Fix display of codepoints of
3483         strong right-to-left characters.
3485 2011-12-05  Chong Yidong  <cyd@gnu.org>
3487         * faces.el (read-color): Doc fix.
3489 2011-12-05  Glenn Morris  <rgm@gnu.org>
3491         * align.el (align--set-marker): Add doc-string.
3492         Don't try to move something that is not a marker.  (Bug#10216)
3494 2011-12-04  Glenn Morris  <rgm@gnu.org>
3496         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3497         overly zealous deletion of trailing whitespace.
3499 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
3501         * server.el (server-delete-client): On Windows, do not try to delete
3502         the only terminal.
3503         (server-process-filter): On Windows, treat requests for a tty frame as
3504         if they were for a GUI frame if the running server is in GUI mode.
3506 2011-12-03  Glenn Morris  <rgm@gnu.org>
3508         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
3510 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3512         * electric.el: Streamline electric-indent's hook.
3513         (electric-indent-chars): Revert to simple list.
3514         (electric-indent-functions): New var.
3515         (electric-indent-post-self-insert-function): Use it.
3517         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3518         there's no inferior buffer (bug#10196).
3519         (prolog-consult-compile): Don't use toggle-read-only.
3521 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
3523         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3524         interrupt.  (Bug#10187)
3526 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3529         (bug#9160).
3531         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3532         (bug#10191).
3534 2011-12-02  Juri Linkov  <juri@jurta.org>
3536         * info.el (Info-search): Display "end of manual" when Isearch
3537         reaches the end of single-file Info manual.  (Bug#9918)
3539 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
3541         * isearch.el (isearch-message-prefix): Run the input method part
3542         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
3544 2011-12-02  Juri Linkov  <juri@jurta.org>
3546         * isearch.el (isearch-occur): Use `word-search-regexp' for
3547         `isearch-word'.
3548         (isearch-search-and-update): Add condition for `isearch-word' and
3549         call `word-search-regexp'.  (Bug#10145)
3551 2011-12-01  Glenn Morris  <rgm@gnu.org>
3553         * eshell/em-hist.el (eshell-hist-initialize):
3554         Handle eshell-history-size nil and HISTSIZE set or unset.
3555         (eshell-history-file-name, eshell-history-size): Fix custom type.
3557 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3559         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3561 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
3563         * progmodes/verilog-mode.el (verilog-pretty-expr):
3564         Rework verilog-pretty-expr to handle new assignment operators in system
3565         verilog, such as += *= and the like.
3566         (verilog-assignment-operator-re): Regular expression to find the
3567         assigment operator in a verilog assignment.
3568         (verilog-assignment-operation-re): Regular expression to find an
3569         assignment statement for pretty-expr.
3570         (verilog-in-attribute-p): Query returns true if point is in an
3571         attribute context; used to skip these for expression line up from
3572         pretty-expr.
3573         (verilog-in-parameter-p): Query returns true if point is in an
3574         parameter definition context; used to skip these for expression
3575         line up from pretty-expr.
3576         (verilog-in-parenthesis-p): Query returns true if point is in a
3577         parenthetical expression, specifically ( ) but not [ ] or { };
3578         used by pretty-expr.
3579         (verilog-just-one-space): If there is no space, don't add one.
3580         (verilog-get-lineup-indent-2): Specifically skip just attribute
3581         contexts for expression lineup, rather than skipping all
3582         parenthetical expressions.
3583         (verilog-calculate-indent): Fix comment, and fix indent.
3584         (verilog-do-indent): Indent declarations in lists (suggested by
3585         Joachim Lechner).
3586         (verilog-mode-abbrev-table): Populate abbrev mode with the various
3587         skeleton items.
3588         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3589         by Alain Mellan).
3591 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
3593         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3594         parameters with embedded comments.  Reported by Ray Stevens.
3595         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3596         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3597         Reported by Tim Holt.
3598         (verilog-auto): Fix AUTOing a upper module then AUTOing module
3599         instantiated by upper module causing wrong expansion until AUTOed a
3600         second time.  Reported by K C Buckenmaier.
3601         (verilog-diff-auto): Fix showing .* as a difference when
3602         `verilog-auto-star-save' off.  Reported by Dan Dever.
3603         (verilog-auto-reset, verilog-read-always-signals)
3604         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3605         temporary signals in reset list if
3606         verilog-auto-reset-blocking-in-non is nil, and match assignment
3607         style to each signal's assignment type, bug381.
3608         Reported by Thomas Esposito.
3609         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3610         (verilog-uvm-statement-re): Support UVM indentation and
3611         highlighting, with old OVM keywords only.
3612         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3613         Support AUTOTIEOFF creating non-wire data types.
3614         Suggested by Jonathan Greenlaw.
3615         (verilog-auto-insert-lisp, verilog-delete-to-paren)
3616         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3617         (verilog-inject-sense, verilog-read-inst-pins)
3618         (verilog-read-sub-decls, verilog-read-sub-decls-line):
3619         Fix mismatching parenthesis inside commented out code when deleting
3620         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
3621         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3622         non-numeric vector width.  Reported by Alex Reed.
3623         (verilog-auto-ascii-enum): Add "onehot" option to work around not
3624         detecting signals with parameter widths.  Reported by Alex Reed.
3625         (verilog-auto-delete-trailing-whitespace):
3626         With `verilog-auto-delete-trailing-whitespace' remove trailing
3627         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
3628         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3629         Fix verilog-scan-cache corruption when running user AUTO expansion
3630         hooks that call indentation routines.
3631         (verilog-simplify-range-expression): Fix typo ignoring lower case
3632         identifiers.
3633         (verilog-delete-auto): Fix delete-autos to also remove user created
3634         automatics, as long as they start with AUTO.
3635         (verilog-batch-diff-auto, verilog-diff-auto)
3636         (verilog-diff-function): Add `verilog-diff-auto' and bind to
3637         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
3638         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3639         (verilog-in-paren-quick, verilog-re-search-backward-quick)
3640         (verilog-re-search-forward-quick, verilog-syntax-ppss):
3641         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3642         is disabled and its cache will get corrupt, causing AUTOS not to
3643         expand.  Instead use only -quick functions.
3644         (verilog-scan-region): Fix scanning over escaped quotes.
3645         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3646         (verilog-re-search-backward-quick)
3647         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3648         related functions now ignore strings, to fix misparsing of strings
3649         with magic comments embedded in them.
3650         (verilog-read-auto-template):
3651         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3652         Reported by Brad Dobbie.
3653         (verilog-read-auto-template):
3654         Fix 'verilog-auto-inst-template-numbers' with comments.
3655         Reported by Brad Dobbie.
3656         (verilog-auto-inst, verilog-auto-inst-param)
3657         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3658         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
3659         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3660         debugging templates without merge conflicts, bug357.
3661         Reported by Brad Dobbie.
3662         (verilog-read-auto-template):
3663         Fix verilog-auto-inst-template-numbers with multiple templates.
3664         Reported by Brad Dobbie.
3665         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3666         abbrevs so user won't be asked to save.
3667         (verilog-read-auto-lisp-present): Fix to start at beginning of
3668         buffer in case called outside of verilog-auto.
3669         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3670         to "X-2".  Reported by Matthew Myers.
3671         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3672         all inputs from module templates.  Reported by Leith Johnson.
3673         (verilog-module-inside-filename-p): Fix locating programs as with
3674         modules.
3675         (verilog-auto-inst-port): Fix vl-width expressions when using
3676         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
3677         (verilog-decls-get-regs, verilog-decls-get-signals,
3678         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3679         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3680         verilog-read-decls): Combine reg and wire structures into one var
3681         structure to represent SystemVerilog concepts.
3682         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3683         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3684         (verilog-auto-wire-type, verilog-insert-definition):
3685         Add verilog-auto-wire-type and AUTOLOGIC to support using
3686         SystemVerilog "logic" keyword instead of "wire"/"reg".
3687         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3688         to declares outputs that also have assignments (presumably in an
3689         ifdef or generate if so there's not a driver conflict).
3690         Reported by Matthew Myers.
3691         (verilog-auto-declare-nettype, verilog-insert-definition):
3692         Add verilog-auto-declare-nettype to fix declarations using
3693         `default_nettype none.  Reported by Julian Gorfajn.
3694         (verilog-read-always-signals-recurse, verilog-read-decls)
3695         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3696         malformed end statement, bug325.  Reported by Joshua Wise and
3697         Andrew Drake.
3698         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3699         (verilog-inst-comment-re): Fix not deleting Interfaced comment
3700         when expanding .* in interfaces, bug320.
3701         Reported by Pierre-David Pfister.
3702         (verilog-read-module-name): Fix import statements between module
3703         name and open parenthesis, bug317.
3704         Reported by Pierre-David Pfister.
3705         (verilog-simplify-range-expression): Fix simplification of
3706         multiplications inside AUTOWIRE connections, bug303.
3707         (verilog-auto-inst-port): Support parameter expansion in
3708         multidimensional arrays.
3709         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3710         after "assert property".  Reported by Julian Gorfajn.
3711         (verilog-simplify-range-expression): Fix "couldn't merge" errors
3712         with multiplication, bug303.
3713         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3714         Reported by Jan Frode Lonnum.
3716 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
3718         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3719         (hfy-shell-file-name, hfy-shell):
3720         * international/fontset.el (x-decompose-font-name): Fix typos.
3722 2011-11-29  Ken Brown  <kbrown@cornell.edu>
3724         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3725         (gdb-version): Remove defvar.
3726         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3727         (gdb-gud-context-command, gdb-non-stop-handler)
3728         (gdb-current-context-command, gdb-stopped): Use it.
3729         (gdb-init-1): Enable pretty printing here.
3730         (gdb-non-stop-handler): Don't enable pretty-printing here.
3731         Check to see if the target supports non-stop mode; if not, turn off
3732         non-stop mode.  Use the following.
3733         (gdb-check-target-async): New defun.
3734         (gud-watch, gdb-stopped): Fix whitespace.
3735         (gdb-get-source-file): Don't try to display the source file if
3736         `gdb-main-file' is nil.
3738 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3740         * align.el: Try to generate fewer markers (bug#10047).
3741         (align--set-marker): New macro.
3742         (align-region): Use it.
3744 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3746         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3748 2011-11-29  Chong Yidong  <cyd@gnu.org>
3750         * indent.el (indent-for-tab-command, indent-according-to-mode):
3751         Doc fix.
3752         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3754 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3756         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3757         aware of remote file names.  (Bug#10124)
3759 2011-11-29  Chong Yidong  <cyd@gnu.org>
3761         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3763 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3765         * files.el (find-file): Don't use force-same-window (bug#10144).
3766         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3767         use pop-to-buffer if the selected window can't be used.
3768         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3770 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3772         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3773         special-mode-map.
3775 2011-11-28  Chong Yidong  <cyd@gnu.org>
3777         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3779 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3781         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3782           gdb-get-source-file-list on gdb-create-source-file-list.
3784 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3786         * whitespace.el (whitespace-newline): Use a different foreground
3787         color for 16-color light-background displays.
3789 2011-11-24  Chong Yidong  <cyd@gnu.org>
3791         * window.el (display-buffer--special-action): Doc fix.
3793 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
3795         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3796         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3797         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3798         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3799         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3800         (avl-tree-stack-first):
3801         * emacs-lisp/cconv.el (cconv--analyse-use):
3802         * net/gnutls.el (gnutls-negotiate): Fix typos.
3804 2011-11-24  Glenn Morris  <rgm@gnu.org>
3806         * lpr.el (lpr-windows-system, lpr-lp-system):
3807         * mail/binhex.el (binhex-begin-line):
3808         * progmodes/grep.el (grep-history, grep-find-history):
3809         * textmodes/flyspell.el:
3810         * vc/pcvs-defs.el (cvs-global-menu):
3811         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3812         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3813         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3815         * net/tls.el: Fix case of "GnuTLS".
3817         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3819         * version.el (emacs-build-system): Give it a doc-string.
3821 2011-11-24  Juri Linkov  <juri@jurta.org>
3823         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3825 2011-11-24  Glenn Morris  <rgm@gnu.org>
3827         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3828         if called on a non-mime message just toggle the headers.  (Bug#8006)
3830 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3832         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3833         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3834         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3835         (allout-rebullet-heading, allout-open-sibtopic)
3836         (allout-toggle-current-subtree-encryption)
3837         (allout-toggle-subtree-encryption, allout-encrypt-string)
3838         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3839         (allout-distinctive-bullets-string, allout-auto-activation):
3840         * window.el (window-normalize-buffer-to-display):
3841         * progmodes/verilog-mode.el (verilog-batch-indent):
3842         * textmodes/bibtex.el (bibtex-field-braces-opt)
3843         (bibtex-field-strings-opt):
3844         * vc/cvs-status.el (cvs-tree-merge):
3845         Fix typos.
3847 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3849         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3850         `non-essential' to t, in order to avoid remote connections.
3852 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3854         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3855         On MS-DOS and MS-Windows, compare with loaddefs.el
3856         case-insensitively.
3858 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3860         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3862 2011-11-23  Glenn Morris  <rgm@gnu.org>
3864         * paths.el (rmail-file-name): Reformat the doc-string so that it
3865         is picked up.
3867         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3868         (rmail-auto-file): Ignore case in the "special" field names,
3869         as mail-fetch-field does for all others.
3871         * mail/rmail.el (rmail-forward):
3872         * mail/rmailkwd.el (rmail-set-label):
3873         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3874         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3876         * mail/rmail.el (rmail-current-message): Doc fix.
3878         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3880 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3882         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3884 2011-11-22  Glenn Morris  <rgm@gnu.org>
3886         * mail/rmailmm.el (test-rmail-mime-handler)
3887         (test-rmail-mime-bulk-handler)
3888         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3890 2011-11-21  Juri Linkov  <juri@jurta.org>
3892         * calc/calc.el (calc-read-key-sequence):
3893         Let-bind `input-method-function' to nil.  (Bug#10018)
3895 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3897         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3898         Tell the caller that the next line needs recomputation, even
3899         though it doesn't start a sexp (bug#10094).
3901 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3903         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3905 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3908         Use force-same-window.
3910 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3912         * descr-text.el (describe-char-unicode-data):
3913         * json.el (json-string-escape):
3914         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3915         (Footnote-unicode, Footnote-style-p):
3916         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3918 2011-11-20  Chong Yidong  <cyd@gnu.org>
3920         * window.el (replace-buffer-in-windows): Restore interactive spec.
3922 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3924         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3926         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3927         (byte-compile-global-not-obsolete-vars): New var.
3928         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3929         Use it.
3930         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3932 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3934         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3935         * progmodes/pascal.el (electric-pascal-equal):
3936         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3937         * xml.el (xml-substitute-special): Fix typos.
3939 2011-11-20  Glenn Morris  <rgm@gnu.org>
3941         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3942         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3943         Doc fixes.
3944         (rmail-decode-mime-charset): Mark as obsolete.
3946         * mail/rmailsum.el (rmail-message-regexp-p-1):
3947         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3948         Before using mime functions, check they are set.  (Bug#10077)
3950 2011-11-19  Juri Linkov  <juri@jurta.org>
3952         * info.el (Info-finder-find-node): Use `package--builtins' instead
3953         of `package-alist'.  Use node names formed by the pattern "Keyword "
3954         and the keyword name.
3956 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3958         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3960 2011-11-19  Juri Linkov  <juri@jurta.org>
3962         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3963         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3964         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3965         `old-history', `old-history-forward'.  Add let-binding
3966         `window-selected'.  Remove calls to `kill-buffer',
3967         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3968         before calling `Info-find-node', so `Info-find-node-2' will reread
3969         the Info file.  Restore window positions only when `window-selected'
3970         is non-nil.
3972 2011-11-19  Juri Linkov  <juri@jurta.org>
3974         * isearch.el (isearch-lazy-highlight-new-loop):
3975         Remove condition `(not isearch-error)'.  (Bug#9918)
3977         * misearch.el (multi-isearch-search-fun): Add condition
3978         `(not bound)' to ignore lazy-highlighting search.
3979         Add the search-failed message "end of multi" when the end of
3980         multi-sequence is reached.  Uncapitalize the search-failed
3981         message "Repeat for next buffer".
3983         * info.el (Info-search): Add the search-failed message
3984         "end of the manual" when the end of the manual is reached
3985         in Isearch mode.
3987 2011-11-19  Juri Linkov  <juri@jurta.org>
3989         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3990         Use non-destructive `remove' instead of `delete' because
3991         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3992         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3994 2011-11-19  Juri Linkov  <juri@jurta.org>
3996         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3997         to nil instead of binding `search-ring' and `regexp-search-ring'.
3998         (Bug#9185)
4000 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4002         * simple.el (line-move): Force movement by logical lines for any
4003         hscrolled window, not only when auto-hscroll-mode is on.
4004         (line-move-visual): Update doc string to that effect.  (Bug#10076)
4006 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4008         * language/european.el (macintosh): Define as alias for mac-roman.
4010 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4012         * mail/rmailmm.el (rmail-mime-display-header)
4013         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4014         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4015         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4016         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4017         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4018         of a raw aref.
4019         (rmail-mime-entity-segment): To get past the tagline, move forward
4020         2 more lines, to account for the 2 empty lines that precede and
4021         follow the line with the buttons.
4022         (rmail-mime-update-tagline): Move one more line, to get past the
4023         empty line that follows the buttons in the tagline.  (Bug#9520)
4025 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
4027         * window.el (window-max-delta-1, window-min-delta-1)
4028         (window-min-size-1, window-state-get-1, window-state-put-1)
4029         (window-state-put-2): Use "window--" prefix.
4031 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4033         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4034         (smie-warning-count): New var.
4035         (smie-set-prec2tab): Use it.
4036         (smie-bnf->prec2): Improve warnings.  Add docstring.
4037         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4038         (smie-bnf--set-class): New function.
4039         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4040         corner case.
4042         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4043         (compilation-error-properties, compilation-move-to-column):
4044         Handle compilation-first-column while in the target buffer.
4046         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4047         Don't hardcode point-min==1.
4049         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4050         (eshell-rewrite-for-command): Remove workaround.
4051         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4052         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4053         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4055         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4057 2011-11-17  Glenn Morris  <rgm@gnu.org>
4059         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4060         Ignore buffer-local generated-autoload-file if it is the same
4061         as the global value.  (Bug#10049)
4063 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4065         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4066         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4067         (reftex-toc-previous-heading, reftex-toc-max-level)
4068         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4069         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4070         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4071         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4072         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4073         (reftex-toc-rename-label, reftex-toc-visit-location)
4074         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4075         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4076         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4077         leaving "*toc*" only for references to the buffer.
4079 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4081         * window.el (window-resize, delete-window, split-window):
4082         Replace window-splits by window-combination-resize.
4083         * cus-start.el (window-splits): Replace by window-combination-resize.
4085 2011-11-17  Glenn Morris  <rgm@gnu.org>
4087         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4088         Make bash entry derive from sh entry, not shell entry.
4090 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4092         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4093         properties of linked files.  (Bug#9879)
4095         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4096         local file name.
4098 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4100         * menu-bar.el (menu-bar-file-menu):
4101         * printing.el (pr-ps-utility):
4102         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4103         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4104         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4105         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4106         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4107         (icalendar--convert-cyclic-to-ical)
4108         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4109         (icalendar--convert-ical-to-diary)
4110         (icalendar--convert-recurring-to-diary)
4111         (icalendar--convert-non-recurring-all-day-to-diary)
4112         (icalendar-import-format-sample):
4113         * progmodes/idlw-shell.el (idlwave-shell-mode):
4114         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4115         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4116         (vhdl-ps-print-init): Fix typos.
4118 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4120         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4121         FSF and collapse date sequence, obscure author/maintainer email address
4122         better, remove extra version line, track relocation of author's webpage.
4124         * progmodes/python.el (python-pdbtrack-input-prompt)
4125         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4126         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4127         suggested in EmacsWiki page (tiny change):
4128         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4130 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4132         * expand.el (expand-pos, expand-index, expand-point):
4133         Remove redundant info from docstring.
4134         (expand-add-abbrevs): Doc fix.
4135         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4136         (expand-sample-perl-mode-expand-list): Fix typos.
4138         * net/dbus.el (dbus-event-member-name):
4139         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4140         * term/pc-win.el (msdos-create-frame-with-faces):
4141         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4143 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
4145         * window.el (split-window, window-state-get-1)
4146         (window-state-put-1, window-state-put-2): Rename occurrences of
4147         window-nest to window-combination-limit.
4148         * cus-start.el (window-nest): Rename to window-combination-limit.
4150 2011-11-16  Chong Yidong  <cyd@gnu.org>
4152         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4153         regexp (Bug#10033).
4155 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4157         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4158         `completing-read' will remove *Completions* and will preserve
4159         current-buffer for us.
4160         (tmm-add-prompt): Users of *Completions* will always (re)set its
4161         major mode.
4162         (tmm-old-comp-map): Remove.
4164 2011-11-16  Glenn Morris  <rgm@gnu.org>
4166         * mail/rmailedit.el: Require rmailmm when compiling.
4167         (rmail-old-mime-state): New declaration.
4168         (rmail-edit-current-message): If editing a mime message,
4169         edit the "raw" message from the mbox buffer.
4170         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
4172 2011-11-15  Glenn Morris  <rgm@gnu.org>
4174         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4175         which wasn't being used.  Add optional arg to force given state.
4176         (rmail-mime): Add optional arg to force given state.
4178 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4180         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4181         * frame.el (display-mm-dimensions-alist):
4182         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4183         (outline-move-subtree-down):
4184         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4185         (newsticker--treeview-do-get-node):
4186         * net/quickurl.el (quickurl-list-buffer-name):
4187         * progmodes/dcl-mode.el (dcl-mode):
4188         * progmodes/gdb-mi.el (gdb-mapcar*):
4189         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4191 2011-11-15  Glenn Morris  <rgm@gnu.org>
4193         * mail/rmail.el (rmail-file-coding-system): It's only ever used
4194         in a boolean sense, so just make it a boolean, and fix the doc.
4195         (rmail-show-mime-function, rmail-mime-feature)
4196         (rmail-require-mime-maybe): Doc fixes.
4197         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4199         * mail/rmailmm.el (rmail-show-mime): Doc fix.
4201 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4203         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4204         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4205         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4206         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4208 2011-11-15  Glenn Morris  <rgm@gnu.org>
4210         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4211         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4212         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4213         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4214         (rmail-mime, rmail-show-mime): Doc fixes.
4216         * term/ns-win.el (mode-line-frame-identification):
4217         Leave it alone.  (Bug#10051)
4219         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
4221         * mail/rmailout.el (rmail-output-to-rmail-buffer):
4222         Handle empty buffers.  (Bug#9978)
4224 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
4226         * international/mule.el (define-charset):
4227         * mail/rmailmm.el (rmail-mime-find-header-encoding):
4228         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4229         * progmodes/verilog-mode.el (verilog-backward-token):
4230         * textmodes/ispell.el (lookup-words):
4231         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4233 2011-11-14  Glenn Morris  <rgm@gnu.org>
4235         * progmodes/executable.el
4236         (executable-make-buffer-file-executable-if-script-p):
4237         Handle file-modes returning nil.
4239         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4240         message - not necessary, and causes problems.  (Bug#9831)
4242         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4244         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4246         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4247         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
4248         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4250 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
4252         * window.el (window-resize, delete-window): Use window-splits
4253         variable instead of function.
4254         (window-state-get-1, window-state-put-2, window-state-put):
4255         Don't deal with windows' splits status.
4257 2011-11-12  Glenn Morris  <rgm@gnu.org>
4259         * apropos.el (apropos-do-all, apropos-library, apropos-value)
4260         (apropos-documentation): Doc fixes.
4262 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
4264         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4265         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4267 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4269         * electric.el (electric-indent-post-self-insert-function): Make it
4270         possible for a char to only indent in some circumstances.
4271         (electric-indent-mode): Simplify.
4273 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
4275         * window.el (windows-with-parameter): Remove unused function.
4276         (windows-at-side): Rename to window-at-side-list.
4277         (window-check, window-atom-check, window-atom-check-1)
4278         (window-side-check, window-size-ignore, window-size-fixed-1)
4279         (window-in-direction-2): Prefix with "window--".
4280         (window-tree-1): Rename to window--subtree, fix doc-string.
4282 2011-11-11  Glenn Morris  <rgm@gnu.org>
4284         * subr.el (eval-after-load): If FILE is already loaded,
4285         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
4287 2011-11-10  Glenn Morris  <rgm@gnu.org>
4289         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4290         Call svn via vc-svn-command rather than vc-do-command.
4291         (vc-svn-command): Add --non-interactive.  (Bug#9993)
4292         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4294         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4295         Add toggle-read-only.  (Bug#7292)
4296         * files.el (toggle-read-only): Mention that it should only
4297         be used interactively.  (Bug#10006)
4299 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4301         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4302         Adjust regexp for OCaml warnings.
4304         * electric.el (electric-pair-post-self-insert-function): Let user
4305         turn it off buffer-locally (bug#9932).
4307         * progmodes/python.el (python-beginning-of-statement):
4308         Rewrite (bug#2703).
4310         * progmodes/compile.el: Better handle TABs (bug#9749).
4311         (compilation-internal-error-properties)
4312         (compilation-next-error-function): Obey the target buffer's
4313         compilation-error-screen-columns.
4315 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
4317         * progmodes/meta-mode.el: Remove obsolete comments.
4318         (meta-right-comment-regexp, meta-ignore-comment-regexp):
4319         Fix typos in docstrings.
4321 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
4323         * window.el (window-size-fixed-p): Rewrite doc-string.
4324         (window-resizable-p): Rename to window--resizable-p.  Update callers.
4325         (window--resizable): New function.  Make all callers of
4326         window-resizable call window--resizable instead.
4327         (window-resizable): Rewrite in terms of window--resizable.
4329 2011-11-08  Glenn Morris  <rgm@gnu.org>
4331         * progmodes/delphi.el (delphi-mode-syntax-table):
4332         Let define-derived-mode define a proper syntax table.  (Bug#9994)
4334 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4336         * window.el: Stay away from defsubst.
4337         (window-list-no-nils): Remove.
4338         (window-state-get-1, window-state-get): Use backquote instead.
4340 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4342         * emacs-lisp/find-func.el (find-function-read):
4343         Fix incorrect use of default argument in `completing-read'.
4345 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
4347         * window.el (display-buffer-function, special-display-function):
4348         Mention display-buffer-record-window but do not mention
4349         help-setup parameter in doc-strings.
4350         (window-min-delta): Fix doc-string typo.
4352 2011-11-08  Chong Yidong  <cyd@gnu.org>
4354         * window.el (window-total-height, window-total-width): Doc fix.
4355         (window-body-size): Move from C.
4356         (window-body-height, window-body-width): Move to C.
4358 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4360         * window.el: Make special-display like display-buffer-alist (bug#9532).
4361         (display-buffer--special-action): New function, morphed
4362         from display-buffer--special.
4363         (display-buffer): Use it to handle special-display-buffers at higher
4364         priority (just after display-buffer-alist).
4365         (display-buffer-fallback-action, display-buffer--other-frame-action)
4366         (pop-to-buffer-same-window): Remove display-buffer--special.
4368 2011-11-07  Glenn Morris  <rgm@gnu.org>
4370         * calendar/cal-menu.el (cal-menu-set-date-title):
4371         Do nothing if not in a calendar.  (Bug#9976)
4373 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4375         * files.el (find-file): Always use selected-window.
4377 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
4379         * window.el (window-combinations): Make WINDOW argument
4380         mandatory.  Rewrite doc-string.
4381         (walk-window-subtree, window-atom-check, window-min-delta)
4382         (window-max-delta, window--resize-this-window)
4383         (window--resize-root-window-vertically, window-tree)
4384         (balance-windows, window-state-put): Rewrite doc-strings as to
4385         not mention the term "subwindow".
4386         (window--resize-subwindows-skip-p): Rename to
4387         window--resize-child-windows-skip-p.
4388         (window--resize-subwindows-normal): Rename to
4389         window--resize-child-windows-normal.
4390         (window--resize-subwindows): Rename to
4391         window--resize-child-windows.
4392         (window-or-subwindow-p): Rename to window--in-subtree-p.
4394 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4396         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4397         Ensure that mbox format messages end in two newlines (Bug#9974).
4399 2011-11-06  Chong Yidong  <cyd@gnu.org>
4401         * window.el (window-combination-p): Function deleted; its
4402         side-effect is not used in any existing code.
4403         (window-combinations, window-combined-p): Call window-*-child
4404         directly.
4406 2011-11-05  Chong Yidong  <cyd@gnu.org>
4408         * window.el (window-valid-p): Rename from window-any-p.
4409         (window-size-ignore, window-state-get): Callers changed.
4410         (window-normalize-window): Rename from window-normalize-any-window.
4411         New arg LIVE-ONLY, replacing window-normalize-live-window.
4412         (window-normalize-live-window): Delete.
4413         (window-combination-p, window-combined-p, window-combinations)
4414         (walk-window-subtree, window-atom-root, window-min-size)
4415         (window-sizable, window-sizable-p, window-size-fixed-p)
4416         (window-min-delta, window-max-delta, window-resizable)
4417         (window-resizable-p, window-full-height-p, window-full-width-p)
4418         (window-current-scroll-bars, window-point-1, set-window-point-1)
4419         (window-at-side-p, window-in-direction, window-resize)
4420         (adjust-window-trailing-edge, maximize-window, minimize-window)
4421         (window-deletable-p, delete-window, delete-other-windows)
4422         (record-window-buffer, unrecord-window-buffer)
4423         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4424         (quit-window, split-window, window-state-put)
4425         (set-window-text-height, fit-window-to-buffer)
4426         (shrink-window-if-larger-than-buffer): Callers changed.
4428 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
4430         * mail/rmail.el (rmail-simplified-subject): Decode subject with
4431         rfc2047-decode-string.
4432         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4433         warnings.
4435         * window.el (window-body-height, window-body-width): Mention in
4436         the doc string that the return values are in frame's canonical
4437         units.  (Bug#9949)
4439 2011-11-03  Alan Mackenzie  <acm@muc.de>
4441         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4442         change in cc-engine.el.
4444 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4446         * window.el (switch-to-buffer): Use `force-same-window' interactively.
4448 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
4450         * window.el (quit-window): Call unrecord-window-buffer after
4451         showing another buffer in the window.  (Bug#9937)
4452         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4454 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
4456         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4457         Accept status with more than 9 shelves.  (Bug#9935)
4458         Reported by Colin D Bennett <colin@gibibit.com>.
4460 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
4462         * help.el (with-help-window): Don't reference
4463         temp-buffer-show-specifiers in doc-string.
4465 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4467         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4468         menu-item.
4470 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4472         * whitespace.el: New version 13.2.2.
4473         (whitespace-newline-mode): Disable properly.  Reported by Sarah
4474         <EmacsWiki>.
4476 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
4478         * net/newst-treeview.el: Remove "Time-stamp".
4479         (newsticker--group-manage-orphan-feeds): Do not call
4480         newsticker--treeview-tree-update.
4481         (newsticker-treeview-update, newsticker-treeview):
4482         Call newsticker--treeview-tree-update if necessary.
4484 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
4486         * window.el (window-iso-combination-p, window-iso-combined-p)
4487         (window-iso-combinations): Remove "iso-" infix.
4488         Suggested by Chong Yidong.
4489         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4490         (window-max-delta-1, window-resize, window--resize-siblings)
4491         (window--resize-this-window, adjust-window-trailing-edge)
4492         (split-window, balance-windows-1)
4493         (shrink-window-if-larger-than-buffer):
4494         * calendar/calendar.el (calendar-generate-window):
4495         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4497 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4499         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4500         in place (bug#9907).
4501         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4502         (eshell-rewrite-if-command, eshell-rewrite-for-command)
4503         (eshell-structure-basic-command, eshell-rewrite-while-command)
4504         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4505         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4506         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4507         (eshell-do-pipelines-synchronously, eshell-eval-command):
4508         Use backquotes and prefer setq to set.
4509         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4510         (eshell-macrop): Use functionp.
4511         (eshell-do-eval): Handle multiple expressions in `while' body.
4513 2011-10-30  Chong Yidong  <cyd@gnu.org>
4515         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4516         instead of set-mark (Bug#9810).
4518 2011-10-30  Chong Yidong  <cyd@gnu.org>
4520         * window.el (split-window-below, split-window-right): Rename from
4521         split-window-above-each-other and split-window-side-by-side
4522         respectively.  All callers changed.
4523         (split-window-sensibly, split-window-sensibly): Use them.
4524         (split-window-keep-point): Doc fix.
4526         * isearch.el: Add isearch-scroll property to split-window-below
4527         and split-window-right.
4529         * follow.el (follow-mode):
4530         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4531         * progmodes/ada-xref.el (ada-gdb-application):
4532         * emulation/vip.el (vip-buffer-in-two-windows):
4533         * image-dired.el (image-dired-dired-with-window-configuration):
4534         * dired-x.el (dired-do-find-marked-files):
4535         * dired.el (dired-pop-to-buffer):
4536         * bs.el (bs--show-with-configuration):
4537         * vc/emerge.el (emerge-setup-windows):
4538         * textmodes/two-column.el (2C-two-columns):
4539         * textmodes/reftex-toc.el (reftex-toc):
4540         * progmodes/gdb-mi.el (gdb-setup-windows):
4541         * progmodes/fortran.el (fortran-window-create):
4542         * net/newst-treeview.el (newsticker--treeview-window-init):
4543         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4544         * emulation/tpu-edt.el (tpu-gold-map):
4545         * emulation/crisp.el (crisp-mode-map):
4546         * calendar/calendar.el (calendar-basic-setup): Callers changed.
4548 2011-10-29  Chong Yidong  <cyd@gnu.org>
4550         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4552         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4554         * textmodes/flyspell.el (flyspell-word): Fix char offset for
4555         forged Ispell output (Bug#7904).
4557         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4559 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4561         * doc-view.el: Avoid ugly errors about not finding nil.
4562         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4563         (doc-view-dvipdf-program, doc-view-unoconv-program)
4564         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4565         Avoid nil or absolute file name as default value.
4566         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4568 2011-10-28  Alan Mackenzie  <acm@muc.de>
4570         * progmodes/cc-defs.el (c-version): -> 5.32.2.
4572 2011-10-28  Alan Mackenzie  <acm@muc.de>
4574         Amend the handling of c-beginning/end-of-defun in nested declaration
4575         scopes.
4577         * progmodes/cc-vars.el (c-defun-tactic): Move here from
4578         cc-langs.el.  Change it to a defcustom.
4580         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4581         cc-vars.el.
4583         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4584         Prevent "class foo : bar" being spuriously recognized as a label.
4586         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4587         Add parameter `inclusive' (to include enclosing braces in the region).
4588         (c-widen-to-enclosing-decl-scope): New function.
4589         (c-while-widening-to-decl-block): New macro.
4590         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4591         outward for defun boundaries, and correspondingly change symbol
4592         `respect-enclosure' to `go-outward'.
4593         (c-declaration-limits): Change algorithm to report only the "innermost"
4594         defun's boundaries.
4596 2011-10-28  Deniz Dogan  <deniz@dogan.se>
4598         * net/rcirc.el (rcirc-mode): Use hard newlines.
4600 2011-10-28  Alan Mackenzie  <acm@muc.de>
4602         Amend to indent and fontify macros "which include their own semicolon"
4603         correctly, using the "virtual semicolon" mechanism.
4605         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4607         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4608         Recode to scan one line at a time rather than having \n and \r
4609         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4610         (c-forward-label): Amend for virtual semicolons.
4611         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4613         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4614         of the new C macros.
4616         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4617         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4618         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4619         (c-opt-cpp-macro-define): Make into a full language variable.
4620         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4621         AWK Mode (including \n, \r) removed, no longer needed.
4623         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4624         Invoke c-make-macro-with-semi-re.
4626         * progmodes/cc-vars.el (c-macro-with-semi-re):
4627         (c-macro-names-with-semicolon): New variables.
4628         (c-make-macro-with-semi-re): New function.
4630 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4632         * vc/log-edit.el: Fill empty field rather than adding new one.
4633         (log-edit-add-field): New function.
4634         (log-edit-insert-changelog): Use it.
4636 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4638         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4640 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4642         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4643         (gdb--check-interpreter): New function.
4644         (gdb): Use it.
4646 2011-10-27  Glenn Morris  <rgm@gnu.org>
4648         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4649         (least-positive-float, least-negative-float)
4650         (least-positive-normalized-float, least-negative-normalized-float)
4651         (float-epsilon, float-negative-epsilon):
4652         Remove unnecessary declarations.
4654         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4655         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4656         (least-positive-float, least-negative-float)
4657         (least-positive-normalized-float, least-negative-normalized-float)
4658         (float-epsilon, float-negative-epsilon): Add doc-strings,
4659         based on those in cl.texi.
4661         * files.el (set-visited-file-name): If the major-mode changed,
4662         reload the local variables.  (Bug#9796)
4664 2011-10-27  Chong Yidong  <cyd@gnu.org>
4666         * subr.el (change-major-mode-after-body-hook): New hook.
4667         (run-mode-hooks): Run it.
4669         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4670         Use change-major-mode-before-body-hook.
4672         * simple.el (fundamental-mode):
4673         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4674         change introducing fundamental-mode-hook.
4676 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
4678         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4680 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
4682         * ido.el (ido-file-name-all-completions-1): Do not require
4683         tramp.el explicitly.  (Bug#7583)
4685 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4687         * progmodes/octave-mod.el:
4688         * progmodes/octave-inf.el: Update maintainer.
4690 2011-10-26  Chong Yidong  <cyd@gnu.org>
4692         * subr.el (with-wrapper-hook): Rewrite doc.
4694 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
4696         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4697         filenames "/method:foo:".  (Bug#9793)
4699 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4701         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4702         (bug#9865).
4704 2011-10-24  Glenn Morris  <rgm@gnu.org>
4706         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
4708 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
4710         * notifications.el: Add the requirement of a running D-Bus session
4711         bus to the Commentary.
4713 2011-10-24  Juri Linkov  <juri@jurta.org>
4715         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4716         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4717         (Bug#9364)
4719 2011-10-24  Juri Linkov  <juri@jurta.org>
4721         * info.el (Info-following-node-name-re): Add newline to the list
4722         of allowed characters for leading space.  (Bug#9824)
4724 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4726         * progmodes/octave-inf.el (inferior-octave-mode-map):
4727         Fix C-c C-h binding.
4728         * progmodes/octave-mod.el (octave-help): Remove.
4730 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
4732         Sync with Tramp 2.2.3.
4734         * net/tramp-cache.el (top): Pacify byte-compiler using
4735         `init-file-user' and `site-run-file'.
4737         * net/trampver.el: Update release number.
4739 2011-10-23  Chong Yidong  <cyd@gnu.org>
4741         * files.el (toggle-read-only): Remove obsolete comment about
4742         version control.
4744         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4745         for toggle-read-only.  Note that this hasn't called vc-next-action
4746         since 2008-05-02, though it wasn't documented at the time.
4748         * vc/ediff-init.el (ediff-toggle-read-only-function):
4749         Use toggle-read-only.
4751 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4753         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4754         of c-parse-state.
4756         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4757         correct faulty logical expression.
4758         (c-parse-state-state, c-record-parse-state-state):
4759         (c-replay-parse-state-state): New defvar/defuns.
4760         (c-debug-parse-state): Use new functions.
4762 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4764         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4765         last fix.  Use window-in-direction correctly.
4767 2011-10-21  Chong Yidong  <cyd@gnu.org>
4769         * progmodes/idlwave.el (idlwave-mode):
4770         * progmodes/vera-mode.el (vera-mode): No need to set
4771         require-final-newline; that's done in prog-mode.
4772         Suggested by Stefan Monnier.
4774 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4776         * mouse.el (mouse-drag-window-above)
4777         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4778         (mouse-drag-mode-line-1, mouse-drag-header-line)
4779         (mouse-drag-vertical-line-rightward-window): Remove.
4780         (mouse-drag-line): New function.
4781         (mouse-drag-mode-line, mouse-drag-header-line)
4782         (mouse-drag-vertical-line): Call mouse-drag-line.
4783         * window.el (window-at-side-p, windows-at-side): New functions.
4785 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4787         * tar-mode.el (tar-grind-file-mode):
4788         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4790 2011-10-21  Chong Yidong  <cyd@gnu.org>
4792         * progmodes/idlwave.el (idlwave-mode):
4793         * progmodes/vera-mode.el (vera-mode):
4794         Use mode-require-final-newline.
4796 2011-10-20  Glenn Morris  <rgm@gnu.org>
4798         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
4800 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
4802         * emulation/cua-base.el (cua-set-mark): Fix case of string.
4804 2011-10-20  Chong Yidong  <cyd@gnu.org>
4806         * emulation/cua-base.el (cua-mode):
4807         * mail/footnote.el (footnote-mode):
4808         * mail/mailabbrev.el (mail-abbrevs-mode):
4809         * net/xesam.el (xesam-minor-mode):
4810         * progmodes/bug-reference.el (bug-reference-mode):
4811         * progmodes/cap-words.el (capitalized-words-mode):
4812         * progmodes/compile.el (compilation-minor-mode)
4813         (compilation-shell-minor-mode):
4814         * progmodes/gud.el (gud-tooltip-mode):
4815         * progmodes/hideif.el (hide-ifdef-mode):
4816         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4817         * progmodes/subword.el (subword-mode):
4818         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4819         * progmodes/which-func.el (which-function-mode):
4820         * term/tvi970.el (tvi970-set-keypad-mode):
4821         * term/vt100.el (vt100-wide-mode):
4822         * textmodes/flyspell.el (flyspell-mode):
4823         * textmodes/ispell.el (ispell-minor-mode):
4824         * textmodes/nroff-mode.el (nroff-electric-mode):
4825         * textmodes/paragraphs.el (use-hard-newlines):
4826         * textmodes/refill.el (refill-mode):
4827         * textmodes/reftex.el (reftex-mode):
4828         * textmodes/rst.el (rst-minor-mode):
4829         * textmodes/sgml-mode.el (html-autoview-mode)
4830         (sgml-electric-tag-pair-mode):
4831         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4832         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4833         * emulation/crisp.el (crisp-mode):
4834         * emacs-lisp/eldoc.el (eldoc-mode):
4835         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4836         minor mode behavior.
4838 2011-10-19  Juri Linkov  <juri@jurta.org>
4840         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4841         the list of hard-coded chars with escape-glyph face.
4843 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4845         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4847 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4849         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4850         running process.
4852 2011-10-19  Glenn Morris  <rgm@gnu.org>
4854         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4855         Ignore ignored files.  (Bug#9726)
4857 2011-10-19  Chong Yidong  <cyd@gnu.org>
4859         Doc fix for minor modes, stating that an omitted argument enables
4860         the mode unconditionally when called from Lisp.
4862         * abbrev.el (abbrev-mode):
4863         * allout.el (allout-mode):
4864         * autoinsert.el (auto-insert-mode):
4865         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4866         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4867         (global-auto-revert-mode):
4868         * battery.el (display-battery-mode):
4869         * composite.el (global-auto-composition-mode)
4870         (auto-composition-mode):
4871         * delsel.el (delete-selection-mode):
4872         * desktop.el (desktop-save-mode):
4873         * dired-x.el (dired-omit-mode):
4874         * dirtrack.el (dirtrack-mode):
4875         * doc-view.el (doc-view-minor-mode):
4876         * double.el (double-mode):
4877         * electric.el (electric-indent-mode, electric-pair-mode):
4878         * emacs-lock.el (emacs-lock-mode):
4879         * epa-hook.el (auto-encryption-mode):
4880         * follow.el (follow-mode):
4881         * font-core.el (font-lock-mode):
4882         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4883         * help.el (temp-buffer-resize-mode):
4884         * hilit-chg.el (highlight-changes-mode)
4885         (highlight-changes-visible-mode):
4886         * hi-lock.el (hi-lock-mode):
4887         * hl-line.el (hl-line-mode, global-hl-line-mode):
4888         * icomplete.el (icomplete-mode):
4889         * ido.el (ido-everywhere):
4890         * image-file.el (auto-image-file-mode):
4891         * image-mode.el (image-minor-mode):
4892         * iswitchb.el (iswitchb-mode):
4893         * jka-cmpr-hook.el (auto-compression-mode):
4894         * linum.el (linum-mode):
4895         * longlines.el (longlines-mode):
4896         * master.el (master-mode):
4897         * mb-depth.el (minibuffer-depth-indicate-mode):
4898         * menu-bar.el (menu-bar-mode):
4899         * minibuf-eldef.el (minibuffer-electric-default-mode):
4900         * mouse-sel.el (mouse-sel-mode):
4901         * msb.el (msb-mode):
4902         * mwheel.el (mouse-wheel-mode):
4903         * outline.el (outline-minor-mode):
4904         * paren.el (show-paren-mode):
4905         * recentf.el (recentf-mode):
4906         * reveal.el (reveal-mode, global-reveal-mode):
4907         * rfn-eshadow.el (file-name-shadow-mode):
4908         * ruler-mode.el (ruler-mode):
4909         * savehist.el (savehist-mode):
4910         * scroll-all.el (scroll-all-mode):
4911         * scroll-bar.el (scroll-bar-mode):
4912         * server.el (server-mode):
4913         * shell.el (shell-dirtrack-mode):
4914         * simple.el (auto-fill-mode, transient-mark-mode)
4915         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4916         (line-number-mode, column-number-mode, size-indication-mode)
4917         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4918         * strokes.el (strokes-mode):
4919         * time.el (display-time-mode):
4920         * t-mouse.el (gpm-mouse-mode):
4921         * tool-bar.el (tool-bar-mode):
4922         * tooltip.el (tooltip-mode):
4923         * type-break.el (type-break-mode-line-message-mode)
4924         (type-break-query-mode):
4925         * view.el (view-mode):
4926         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4927         (global-whitespace-mode, global-whitespace-newline-mode):
4928         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4930         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4931         Fix autogenerated docstring.
4933 2011-10-19  Juri Linkov  <juri@jurta.org>
4935         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4936         by checking environment variables "DESKTOP_SESSION" and
4937         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4939 2011-10-19  Juri Linkov  <juri@jurta.org>
4941         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4942         (browse-url-chromium-program, browse-url-chromium-arguments):
4943         New defcustoms.
4944         (browse-url-default-browser): Check for `browse-url-chromium' and
4945         call `browse-url-chromium-program'.
4946         (browse-url-chromium): New command.  (Bug#9779)
4948 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4950         * facemenu.el (list-colors-duplicates): On Windows, detect more
4951         duplicates by assuming that only colors matching "^System" are
4952         special "system colors".  (Bug#9722)
4954 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4956         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4957         to distinguish the author from the committer.
4959 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4961         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4963 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4965         * international/mule.el (sgml-html-meta-auto-coding-function):
4966         Add support for detecting encoding in HTML5 specified only as
4967         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4968         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4970 2011-10-18  Glenn Morris  <rgm@gnu.org>
4972         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4974 2011-10-18  Chong Yidong  <cyd@gnu.org>
4976         * faces.el (cursor): Doc fix.
4978 2011-10-17  Chong Yidong  <cyd@gnu.org>
4980         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4982 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4984         * dirtrack.el (dirtrack): Support shell buffers with path
4985         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4987 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4989         * json.el: Bump version to 1.3 and note change in History.
4990         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4992 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * comint.el (comint-insert-input, comint-send-input)
4995         (comint-get-old-input-default, comint-backward-matching-input)
4996         (comint-next-prompt): Use nil instead of `input' for field property of
4997         past user input (bug#114).
4999         * minibuffer.el (completion--replace): Inherit surrounding properties
5000         (bug#114).
5001         (minibuffer-complete-and-exit): Use it.
5003         * comint.el (comint--table-subvert): Quote the all-completions output
5004         (bug#9160).
5006 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
5008         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5010         * menu-bar.el (menu-bar-file-menu): Add entry for making new
5011         window on right of selected.  (Bug#9350) Reword other window
5012         entries and separate them from frame entries.
5014 2011-10-15  Glenn Morris  <rgm@gnu.org>
5016         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5017         Doc fixes.
5019 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
5021         * net/network-stream.el (network-stream-open-starttls):
5022         Improve detection of failure due to lack of TLS support.
5024         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5025         putting the input text in front and in bold.
5027 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5029         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5031         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5032         empty buffer.
5034         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5035         unread-command-events rather than pushing yet-another event.
5037 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5039         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5040         the explanation of the possible choices.  Make the options passed
5041         to completing-read shorter.
5043 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5045         * textmodes/flyspell.el (flyspell-large-region): Make sure
5046         extended character mode is used if defined (Bug#1339).
5048 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5050         * simple.el (what-cursor-position): Fix the display of the
5051         character info for LRE, LRO, RLE, and RLO characters by appending
5052         an invisible PDF.
5054 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5056         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5057         even in case of error; add debug spec; simplify data flow.
5058         (with-timeout-handler): Remove.
5060 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5062         Fix Bug#6019, Bug#9315.
5064         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5065         complete `buffer-file-name', the local file name part could look
5066         remotely (for example on VMS).
5068         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5069         `tramp-run-real-handler'.
5070         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5071         already quoted by '"'.
5073         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5074         Let `file-name-handler-alist' be nil, the local file name part
5075         could look remotely (for example on VMS).
5077 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5079         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5080         from here...
5081         (flyspell-post-command-hook): ...to here.
5083 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5085         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5086         if not needed.
5087         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5088         using completion.  Protect against "slow" callers.
5089         Remove the "message hack".
5091 2011-10-11  Juri Linkov  <juri@jurta.org>
5093         * isearch.el (isearch-lazy-highlight-word): New variable.
5094         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5095         Use it.  (Bug#9727)
5097 2011-10-11  Glenn Morris  <rgm@gnu.org>
5099         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5100         like f90-previous-statement does.
5102 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5104         * eshell/eshell.el (eshell-command): History should be saved
5105         only in interactive use, to avoid error.
5107 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5109         * minibuffer.el (completion-file-name-table): Fix last change,
5110         i.e. ignore normal errors but not the other ones.
5112 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5114         * window.el (special-display-buffer-names)
5115         (special-display-regexps): Remove some remnants of earlier
5116         changes from doc-strings.
5117         (quit-windows-on): New function.
5119         * vc/vc.el (vc-revert, vc-rollback):
5120         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5121         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5122         (Bug#6183) (Bug#7074) (Bug#7447)
5124 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5126         * window.el (frame-auto-hide-function): Add version tag.
5127         (Bug#9699)
5129 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5131         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5132         condition.
5134 2011-10-09  Leo Liu  <sdl.web@gmail.com>
5136         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5137         (Bug#9701)
5139 2011-10-08  Glenn Morris  <rgm@gnu.org>
5141         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5142         before the first code statement zero indent.  (Bug#9690)
5144 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
5146         * simple.el (count-words-region): Always count in the region.
5147         Report the number of lines and characters too.
5148         (count-words): New command, which counts in the buffer if the
5149         region is inactive, as count-words-region used to.
5150         (count-words--message): New function.  Handle plurals.
5151         (count-lines-region): Make it an alias for count-words-region.
5153         * bindings.el (esc-map): Replace count-lines-region with
5154         count-words-region.
5156 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
5158         * window.el (window--delete): Delete dedicated frame
5159         unconditionally when argument KILL is non-nil.  (Bug#9699)
5160         (switch-to-buffer): Fix doc-string typo.
5162 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5164         * eshell/eshell.el (eshell-command): Avoid using hooks.
5166 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
5168         * bindings.el ([M-left],[M-right]): Bind to left-word and
5169         right-word respectively.
5171 2011-10-07  Glenn Morris  <rgm@gnu.org>
5173         * cus-start.el (debug-on-quit): Fix custom type.
5175 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5177         * subr.el (define-key-after): Clarify that the function is not
5178         useful for non-menu keymaps.
5180         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5182 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5184         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5185         in current minibuffer (Fix bug with recursive minibuffers).
5187 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
5189         * progmodes/gdb-mi.el (gdb): Doc fix.
5191 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
5193         * window.el (frame-auto-hide-function): New option replacing
5194         frame-auto-delete.  Suggested by Stefan Monnier.
5195         (window--delete): Call frame-auto-hide-function instead of
5196         investigating frame-auto-delete.
5197         (window-point-1, set-window-point-1): New functions.
5198         (window-in-direction, record-window-buffer, window-state-get-1)
5199         (display-buffer-record-window): Use window-point-1 instead of
5200         window-point.
5201         (set-window-buffer-start-and-point): Use set-window-point-1.
5203 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5205         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5207 2011-10-05  Glenn Morris  <rgm@gnu.org>
5209         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5210         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
5212 2011-10-05  Leo Liu  <sdl.web@gmail.com>
5214         * subr.el (read-char-choice): Fix argument to buffer-live-p which
5215         works with buffer object.
5217 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5219         * mpc.el (mpc-tool-bar-map): Add labels.
5221 2011-10-04  Glenn Morris  <rgm@gnu.org>
5223         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5225 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
5227         * window.el (window--delete): New function.
5228         (frame-auto-delete): Resuscitate option.
5229         (bury-buffer, replace-buffer-in-windows)
5230         (quit-window): Rewrite using window--delete.
5231         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5232         Pass display-buffer-mark-dedicated to window--display-buffer-2
5233         (Bug#9639).
5235 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5238         returns a list (bug#9554).  Add remote file name completion.
5239         * comint.el (comint--table-subvert): Curry and get quote&unquote
5240         functions as arguments.
5241         (comint--complete-file-name-data): Adjust call accordingly.
5242         * pcomplete.el (pcomplete--table-subvert): Remove.
5243         (pcomplete-completions-at-point): Use comint--table-subvert instead.
5245         * minibuffer.el (completion-table-case-fold): Use currying.
5246         (completion--styles-type, completion--cycling-threshold-type):
5247         New constants.
5248         (completion-styles, completion-category-overrides)
5249         (completion-cycle-threshold): Use them.
5250         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5251         completion-table-case-fold.
5253 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
5255         * minibuffer.el (completion-category-overrides): Fix type of styles
5256         and add more user friendly tags (bug#9660).
5258 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5260         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5261         (mule-input-method-string): New widget.
5262         (default-input-method, language-info-custom-alist): Use it.
5264 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5266         * pcomplete.el: Require comint.
5267         (pcomplete--common-suffix): Remove.
5268         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5269         (pcomplete--table-subvert): Sync with comint--table-subvert.
5270         (pcomplete--entries): Use comint-completion-file-name-table.
5271         * comint.el (comint-unquote-filename): Simplify.
5272         (comint-completion-file-name-table): New function (bug#9616).
5273         (comint--complete-file-name-data): Use it.
5275         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5276         (pcmpl-gnu-tar-buffer): Remove.
5277         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5278         around.  Make sure pcomplete-suffix-list is only changed temporarily.
5279         Don't look inside the tar's file if it's too large.
5281 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
5283         * cus-edit.el (custom-mode-map):
5284         * epa.el (epa-key-list-mode-map):
5285         * man.el (Man-mode-map):
5286         * startup.el (splash-screen-keymap):
5287         * simple.el (special-mode-map): Use scroll-up-command and
5288         scroll-down-command.
5290         * progmodes/idlw-help.el (idlwave-help-mode-map):
5291         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5292         * net/newst-plainview.el (newsticker-mode-map):
5293         * emulation/ws-mode.el (wordstar-mode-map):
5294         * emulation/vi.el (vi-com-map):
5295         * calc/calc-graph.el (calc-graph-show-dumb):
5296         * term/sun.el (terminal-init-sun):
5297         * term/ns-win.el (global-map):
5298         * progmodes/grep.el (grep-mode-map):
5299         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5300         * mail/rmail.el (rmail-mode-map):
5301         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5303         * custom.el (custom-safe-themes, load-theme): Treat value of t for
5304         custom-safe-themes as special.
5306 2011-10-01  Julien Danjou  <julien@danjou.info>
5308         * notifications.el (notifications-notify): Fix docstring.
5310 2011-10-01  Per Starbäck  <per@starback.se>
5312         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
5314 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
5316         * startup.el (command-line-1): Fix last fix by inserting
5317         initial-scratch-message into *scratch* before displaying it.
5318         (Bug#9605) and (Bug#9636)
5320 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
5322         * simple.el (line-move): If auto-hscroll-mode is disabled and the
5323         window is hscrolled, move by logical lines.  (Bug#9607)
5324         (line-move-visual): Update the doc string to the above effect.
5326 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
5328         * window.el (display-buffer-record-window): When WINDOW is the
5329         selected window use `point' instead of `window-point'.  (Bug#9626)
5331         * startup.el (command-line-1): Use insert-before-markers when
5332         inserting initial-scratch-message.  (Bug#9605)
5334         * help.el (help-window): Remove variable.
5336 2011-09-29  Glenn Morris  <rgm@gnu.org>
5338         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5340 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
5342         * descr-text.el (describe-char-categories): Accept category
5343         descriptions more than one line long.
5345 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5347         * simple.el (delete-trailing-whitespace): Fix last change.
5349         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5350         Don't confuse "y => 3" as the beginning of a `y' operation.
5352         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5353         object has more than 4 slots (bug#9613).
5355 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
5357         * subr.el (with-output-to-temp-buffer):
5358         * net/quickurl.el (quickurl, quickurl-browse-url):
5359         Fix typos in docstrings.
5361 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
5363         * minibuffer.el (completion-styles)
5364         (completion-category-overrides): Cross reference each other in doc
5365         strings.
5367 2011-09-27  Glenn Morris  <rgm@gnu.org>
5369         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5370         to split-string.  (Bug#9606)
5372 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5374         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5375         (bug#9615).
5377 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
5379         * emacs-lisp/package.el (list-packages): Fix echo area message.
5381 2011-09-27  Leo Liu  <sdl.web@gmail.com>
5383         * ido.el (ido-read-internal): Accept cons cell HIST arg.
5385 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
5387         * net/dbus.el (dbus-unregister-object): Don't release services for
5388         registered signals.  (Bug#9581)
5390 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
5392         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5393         function that picks between cfengine 2 and 3 support
5394         automatically.  Update docs accordingly.
5396 2011-09-22  Kenichi Handa  <handa@m17n.org>
5398         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5399         ZERO.
5400         (indian-itrans-v5-table-for-tamil): New variable.
5401         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5403 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
5405         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5406         that's true if the current command involved collapsing of text.
5407         It's reset to false at the beginning of the next command.
5408         (allout-post-command-business): Move the cursor to the beginning
5409         of entry if the cursor is hidden and collapsing activity just
5410         happened.
5412 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
5414         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5415         tracking (Bug#9541).
5417 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
5419         * net/newst-reader.el (newsticker-html-renderer)
5420         (newsticker-show-news): Automatically load html rendering package
5421         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
5422         because w3m-fill-column is let-bound" and the error "Symbol's value
5423         as variable is void: w3m-fill-column".
5425 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
5427         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5428         Release services only if they are defined.  (Bug#9581)
5430 2011-09-23  Richard Stallman  <rms@gnu.org>
5432         * textmodes/paragraphs.el (forward-sentence): For backwards case,
5433         distinguish start of paragraph from start of its text.
5435         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5437         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5438         (rmail-generate-viewer-buffer): Put that hook on view buffer.
5439         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5441 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
5443         * international/mule-diag.el (mule-diag): Insert a newline after
5444         each fontset description.
5446 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5448         * simple.el (delete-trailing-whitespace):
5449         Document last change; simplify.
5451 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
5453         * simple.el (delete-trailing-whitespace): Also delete
5454         extra newlines at the end of the buffer.
5456         * textmodes/picture.el: Make motion commands obey shift-select-mode.
5457         (picture-newline): Use forward-line so as to ignore fields.
5459 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5461         * subr.el (with-wrapper-hook): Fix edebug spec.
5463 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5465         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5466         (bug#4538).
5468 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
5470         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5471         Fix nasty bug using wrong cached values.
5473 2011-09-23  Alan Mackenzie  <acm@muc.de>
5475         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5477 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
5479         * window.el (pop-to-buffer): Ensure right window is selected if we
5480         chose another frame.
5482 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
5484         * simple.el (what-cursor-position): Use get-char-property-change
5485         and next-single-char-property-change, to be able to show display
5486         properties that come from overlays as well as text properties.
5488 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
5490         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5492         * cmuscheme.el (run-scheme, switch-to-scheme):
5493         * cus-edit.el (customize-group, custom-buffer-create)
5494         (customize-browse):
5495         * info.el (info):
5496         * shell.el (shell):
5497         * mail/sendmail.el (mail):
5498         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5500 2011-09-22  Richard Stallman  <rms@gnu.org>
5502         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5503         move back only to line beg, don't move back over blank lines.
5505 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
5507         * files.el (copy-directory): Set directory attributes only in case
5508         they could be retrieved from the source directory.  (Bug#9565)
5510 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
5512         * progmodes/hideshow.el (hs-looking-at-block-start-p)
5513         (hs-find-block-beginning, hs-hide-level-recursive):
5514         Ignore strings as well as comments.  (Bug#9502)
5516 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
5518         * progmodes/sql.el (sql-comint-postgres):
5519         Convert port number to a string.  (Bug#9566)
5521 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
5523         * window.el (quit-window): Undedicate window when switching to
5524         previous buffer.  Reported by Thierry Volpiatto
5525         <thierry.volpiatto@gmail.com>.
5526         (special-display-popup-frame): When popping up a new frame reset
5527         its previous buffers to nil.  Simplify code.
5529 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
5531         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5532         and process filter, as done also in `shell-command'.
5534 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
5536         * window.el (set-window-buffer-start-and-point):
5537         Call set-window-start with NOFORCE argument t.
5538         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5539         (quit-window): Reword doc-string.  Handle new format of
5540         quit-restore parameter.  Don't delete window if it has a
5541         previous buffer we can show instead of the present one.
5542         (display-buffer-record-window): Rewrite using a new format for
5543         the quit-restore window parameter
5544         (special-display-popup-frame, display-buffer-same-window)
5545         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5546         (display-buffer-pop-up-window, display-buffer-use-some-window):
5547         Adapt symbol passed to display-buffer-record-window.
5548         * help.el (help-window-setup): Handle new format of quit-restore
5549         parameter.
5551 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * faces.el (face-list): Fix docstring (bug#9564).
5555         * window.el (display-buffer--action-function-custom-type):
5556         Don't include internal functions in the Custom interface.
5558 2011-09-20  Juri Linkov  <juri@jurta.org>
5560         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5561         (Info-forward-node, Info-backward-node, Info-next-preorder)
5562         (Info-last-preorder): Use it.  (Bug#9528)
5564 2011-09-20  Juri Linkov  <juri@jurta.org>
5566         * info.el (Info-last-preorder): Visit last menu item only when
5567         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5569 2011-09-20  Julien Danjou  <julien@danjou.info>
5571         * password-cache.el (password-cache-remove): Remove entries even if the
5572         value is nil, so that password with a nil value (negative caching) is
5573         possible to invalidate.
5575 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
5577         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5578         all whitespace around breakpoint.  (Bug#9553)
5579         (f90-find-breakpoint): Only break at whitespace inside a comment.
5581 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * minibuffer.el (completion-file-name-table): Keep track of errors.
5584         (completion-table-with-predicate): Handle the case where pred1 is nil.
5585         * pcomplete.el (pcomplete-completions-at-point): Simplify.
5587 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5589         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5590         (debugger-return-value): Signal an error if the debugging context does
5591         not await any return value.
5593         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5594         * image-mode.el (image-toggle-display-text)
5595         (image-toggle-display-image): Stay away from evil `intangible'.
5597 2011-09-19  Leo Liu  <sdl.web@gmail.com>
5599         * replace.el (occur-revert-arguments): Make it permanent-local.
5600         (occur-mode): Don't call font-lock-defontify.
5602 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
5604         * net/ldap.el (ldap-search-internal): Don't push empty search
5605         result (Bug#9508).
5607 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5609         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5611 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
5613         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5614         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5616 2011-09-18  Juri Linkov  <juri@jurta.org>
5618         * buff-menu.el (Buffer-menu-mode-map):
5619         * dired.el (dired-mode-map):
5620         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5621         (lisp-interaction-mode-map):
5622         * emacs-lisp/package.el (package-menu-mode-map):
5623         * epa.el (epa-key-list-mode-map):
5624         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5625         (menu-bar-options-menu):
5626         * outline.el (outline-mode-menu-bar-map):
5627         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5628         * vc/vc-dir.el (vc-dir-menu-map):
5629         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5630         Capitalize non-function content words in menu item strings.
5632         * dired.el (dired-mode-map): Add menu item for
5633         `image-dired-dired-toggle-marked-thumbs'.
5635 2011-09-18  Juri Linkov  <juri@jurta.org>
5637         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5638         to `isearch-case-fold-search' and restore its original value
5639         after the `isearch-mode' call.
5641 2011-09-18  Juri Linkov  <juri@jurta.org>
5643         * progmodes/grep.el (grep-process-setup): Don't check code for 1
5644         because `zgrep' returns 1 for successful matches (bug#9226).
5646 2011-09-18  Juri Linkov  <juri@jurta.org>
5648         * info.el (Info-extract-menu-node-name): Check the second match
5649         for empty string (second test-case of bug#9528).
5650         (Info-last-preorder): Let-bind `Info-history' to nil to not add
5651         intermediate nodes to the history (first test-case of bug#9528).
5653 2011-09-18  Juri Linkov  <juri@jurta.org>
5655         * info.el (Info-mode-syntax-table): New variable.
5656         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5658 2011-09-18  Juri Linkov  <juri@jurta.org>
5660         * info.el (Info-file-supports-index-cookies):
5661         Increment line-beginning-position's arg from 3 to 4 because makeinfo
5662         outputs one more line for long file names (bug#4142).
5664 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5666         * newcomment.el (comment-normalize-vars): If prompting for
5667         comment-start, set comment-start-skip too (Bug#8424).
5669 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
5671         * icomplete.el: Fix previous fix of Bug#5849.
5672         (icomplete-mode): Don't set completion-show-inline-help.
5673         (icomplete-minibuffer-setup): Set completion-show-inline-help
5674         locally during icompletion.
5676 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5678         * woman.el (woman2-process-escapes): Don't delete unrecognized
5679         escapes (Bug#7843).
5681         * files.el (inhibit-first-line-modes-regexps): Add image files.
5682         (hack-local-variables-prop-line): Return nil for malformed
5683         prop-lines (Bug#9044).
5685 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
5687         * net/tramp.el (top): Don't require 'shell.
5688         (tramp-methods): Fix docstring.
5689         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5690         Return complete remote file name.  Handle "smb" case.
5691         Use `tramp-tmpdir', if defined for the respective method.
5692         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5694         * net/tramp-compat.el (top): Require 'shell.
5696         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5697         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5698         `tramp-current-host'.
5699         (tramp-get-remote-tmpdir): Remove.
5701         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5702         `tramp-tmpdir' entries.
5703         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5704         (tramp-smb-handle-file-attributes): Ignore errors.
5705         (tramp-smb-wait-for-output): Check also for process end.
5707 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5709         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5710         when sending QUIT (bug#9312).
5712 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
5714         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5715         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5716         occur-mode-display-occurrence.
5717         (occur-edit-mode): Add usage message.
5718         (occur-cease-edit): New command.
5719         (occur-after-change-function): Use text properties to find the
5720         position of the prefix text.
5721         (occur-engine): Set stickiness of prefix text properties.
5723 2011-09-17  Glenn Morris  <rgm@gnu.org>
5725         * progmodes/etags.el (complete-tag):
5726         Fix call to completion-in-region.  (Bug#9526)
5728 2011-09-17  Juri Linkov  <juri@jurta.org>
5730         * textmodes/ispell.el (ispell-word): Add to the error message
5731         the word, ispell program name and current dictionary (bug#9121).
5732         (ispell-tex-arg-end): Capitalize "error" in the error message.
5734 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5736         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5737         check.  (Bug#4251)
5739 2011-09-17  Juri Linkov  <juri@jurta.org>
5741         * window.el (window-safe-min-height, window-safe-min-width):
5742         Fix typos (followup to bug#9522).
5744 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5746         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5748 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5750         * simple.el (line-move): If goal-column is set, move by logical
5751         lines, not by display lines.  (Bug#971)
5752         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5753         to reflect the above change.
5755 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * image.el (imagemagick-register-types): Use regexp-opt.
5759 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5761         * window.el (display-buffer-base-action): Rename from
5762         display-buffer-default-action.  Make default value empty.
5763         (display-buffer-overriding-action): Convert to defvar.
5764         (display-buffer-fallback-action): New var.
5766 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5768         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5769         declaration.
5770         (package--add-to-archive-contents): If there is a duplicate entry
5771         with an older version, remove it.
5772         (package-menu-mark-delete, package-menu-mark-install)
5773         (package-menu-mark-unmark): Make unused args optional.
5774         (package-menu-mark-obsolete-for-deletion):
5775         Use package-menu-get-status instead of a regexp search.
5776         (package-menu-get-status): Use tabulated-list-entry.
5777         (package-menu-mark-upgrades): New command.
5778         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5779         (package-menu-execute): Do installation before deletion.
5780         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5781         instead of checking major-mode.
5782         (package-menu--find-upgrades): New function.
5784 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5786         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5787         passwords in the log buffer.
5788         (smtpmail-process-filter): Update the process marker so that the
5789         "broken by peer" status message is inserted in the right place.
5791 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5793         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5794         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5795         bibtex-completion-at-point-function.
5796         (bibtex-completion-at-point-function): Use them.
5798         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5800         * mpc.el (mpc-constraints-tag-lookup): New function.
5801         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5802         also to browser "album|playlist".
5804 2011-09-14  Juri Linkov  <juri@jurta.org>
5806         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
5807         (isearch-edit-string): Use length of `isearch-string' when
5808         `isearch-fail-pos' returns nil.
5809         (isearch-message): Remove duplicate code and call
5810         `isearch-fail-pos' with arg `t'.
5812 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5814         * replace.el (occur-mode-goto-occurrence): Don't force using other
5815         window (Bug#9499).
5817         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5819 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5821         * window.el (display-buffer-window): Remove.
5822         (display-buffer-record-window): Use help-setup window parameter
5823         instead of variable display-buffer-window.
5824         (display-buffer-function, special-display-buffer-names)
5825         (special-display-function): Mention help-setup parameter instead
5826         of display-buffer-window in doc-string.
5827         * help.el (help-window-setup): New argument help-window.
5828         Use help-window-setup parameter instead of display-buffer-window.
5829         Reword some messages.
5830         (with-help-window): Pass window used for displaying the buffer
5831         to help-window-setup.  Don't set display-buffer-window.
5833 2011-09-13  Glenn Morris  <rgm@gnu.org>
5835         * emacs-lisp/debug.el (debugger-make-xrefs):
5836         Preserve point.  (Bug#9462)
5838 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5840         * window.el (window-deletable-p): Use next-frame.
5842 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5844         * window.el (window-auto-delete): Remove.
5845         (window-deletable-p): Remove argument FORCE.  Don't deal with
5846         dedication and previous buffers.
5847         (switch-to-prev-buffer): Don't delete window.
5848         (delete-windows-on): Delete a window's frame if and only if the
5849         window is dedicated.
5850         (replace-buffer-in-windows): Delete buffer's window or frame if
5851         and only if window is dedicated.
5852         (quit-window): Handle quit-restore as before last change.
5853         (bury-buffer): Delete window only if window-deletable-p returns t.
5855 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5857         * window.el (window-deletable-p): Never delete the last frame on a
5858         given terminal.
5860 2011-09-13  Glenn Morris  <rgm@gnu.org>
5862         * help.el (describe-key-briefly): Copy previous standard-output change.
5864 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5866         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5868 2011-09-13  Glenn Morris  <rgm@gnu.org>
5870         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5871         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5873 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5875         * dired-aux.el (dired-mark-read-string): Don't return default
5876         value on empty input (Bug#9361).
5877         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5878         Omit initial minibuffer contents.
5879         (dired-do-chmod): Signal an error on empty input.
5880         (dired-mark-read-string): Don't return default on empty input.
5882         * files.el (file-modes-symbolic-to-number): Doc fix.
5884 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5886         * international/mule-cmds.el (ucs-completions): Remove.
5887         (read-char-by-name): Use complete-with-action instead; add metadata.
5889 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5891         * window.el (display-buffer--action-function-custom-type)
5892         (display-buffer--action-custom-type): New vars.
5893         (display-buffer-alist, display-buffer-default-action)
5894         (display-buffer-overriding-action): Add defcustom types.
5896         * frame.el (delete-other-frames): Doc fix (Bug#276).
5898 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5900         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5902 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5904         Change modes that used same-window-* vars to use switch-to-buffer.
5906         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5907         Use switch-to-buffer.
5909         * cus-edit.el (customize-group, custom-buffer-create)
5910         (customize-browse, custom-buffer-create-other-window):
5911         Use switch-to-buffer or switch-to-buffer-other-window.
5913         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5914         (Info-prev, Info-up, Info-speedbar-goto-node)
5915         (info-display-manual): Use switch-to-buffer.
5916         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5918         * mail/sendmail.el (mail): Use switch-to-buffer.
5919         (mail-recover): Use switch-to-buffer-other-window.
5921         * cmuscheme.el (run-scheme, switch-to-scheme):
5922         * ielm.el (ielm):
5923         * shell.el (shell):
5924         * net/rlogin.el (rlogin):
5925         * net/telnet.el (telnet, rsh):
5926         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5928 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5930         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5932 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5934         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5935         so don't mention it (bug#9301).
5936         (dired-sort-toggle-or-edit): Clarify string further.
5938         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5939         match `x', `w32' and `ns', like the manual says (bug#9029).
5941         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5942         (process-kill-buffer-query-function): Mention the buffer name in
5943         the query.
5945         * image-mode.el (image-next-line): The line parameter is mandatory
5946         (bug#9258).
5948         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5949         which can be useful (bug#9301).
5951         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5953         * subr.el (match-string): Mention that the current buffer should
5954         be the same as the search was done in (bug#9282).
5956         * facemenu.el: Disable the remove-* commands if the mark isn't
5957         active (bug#9162).
5959 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5961         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5962         of display-buffer.
5963         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5965         * replace.el (occur-mode-goto-occurrence)
5966         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5967         and display-buffer.
5969         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5970         display-buffer.
5972         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5973         special-display and same-window variables.
5974         (mail-other-window): Use switch-to-buffer-other-window.
5975         (mail-other-frame): USe switch-to-buffer-other-frame.
5977         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5978         Use display-buffer-other-frame.
5979         (gdb-display-gdb-buffer): Use pop-to-buffer.
5981         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5983         * progmodes/python.el: Don't set same-window-buffer-names.
5985         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5987         * window.el (display-buffer-alist): Add *Python*.
5989 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5991         * window.el (display-buffer-alist): Add entry for buffers
5992         previously handled same-window-*.
5993         (display-buffer-alist, display-buffer-default-action)
5994         (display-buffer-overriding-action): Mark as risky.
5995         (display-buffer-alist): Document action function changes.
5996         (display-buffer--same-window-action)
5997         (display-buffer--other-frame-action): New variables.
5998         (switch-to-buffer, display-buffer-other-frame): Use them.
5999         (display-buffer): Rename reuse-frame entry to reusable-frames.
6000         (display-buffer-reuse-selected-window): Function deleted.
6001         (display-buffer-reuse-window): Handle reusable-frames alist entry.
6002         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6003         (display-buffer-special): New function.
6004         (display-buffer--maybe-pop-up-frame-or-window): Rename from
6005         display-buffer-reuse-or-pop-window.  Split off special-display
6006         part into display-buffer-special.
6007         (display-buffer-use-some-window): Don't perform any special
6008         pop-up-frames handling.
6009         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6010         (display-buffer--maybe-same-window): Rename from
6011         display-buffer-maybe-same-window.
6013         * info.el: Don't set same-window-regexps.
6014         (info-setup): New function.
6015         (info-other-window, info): Call it.
6017         * cus-edit.el: Don't set same-window-regexps.
6018         (customize-group): New argument.
6019         (customize-group-other-window): Use it.
6020         (customize-face, customize-face-other-window): Likewise.
6021         (custom-buffer-create-other-window): Use pop-to-buffer directly.
6023         * net/rlogin.el:
6024         * net/telnet.el:
6025         * progmodes/gud.el: Don't set same-window-regexps.
6027         * cmuscheme.el:
6028         * ielm.el:
6029         * shell.el:
6030         * mail/sendmail.el:
6031         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6033 2011-09-10  Juri Linkov  <juri@jurta.org>
6035         * isearch.el (isearch-edit-string): Remove obsolete mention of
6036         `C-w' (`isearch-yank-word-or-char') from docstring.
6037         (isearch-query-replace): Fix typo in docstring (bug#9466).
6039 2011-09-10  Juri Linkov  <juri@jurta.org>
6041         * paren.el (show-paren-function): Don't show escaped parens.
6042         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6044 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6046         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6047         (mm-default-file-encoding): Remove autoload forms, they are
6048         replaced with autoload cookies in mml.el and mm-encode.el.
6049         (mail-add-attachment): New command.
6050         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6051         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6052         the doc string.
6053         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6055 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6057         * simple.el (count-words-region): Use buffer if there's no region
6058         (bug#9429).
6060 2011-09-09  Juri Linkov  <juri@jurta.org>
6062         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6063         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6064         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6066 2011-09-09  Alan Mackenzie  <acm@muc.de>
6068         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6069         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6071 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6073         Fix for Savannah bug#9392.
6074         * simple.el (mail-encode-mml): New defvar.
6076         * mail/rmail.el (mail-encode-mml): Add a defvar.
6077         (rmail-enable-mime-composing): Default to t.
6078         (rmail-forward): Use MIME method of forwarding only if both
6079         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6080         Set mail-encode-mml non-nil if the MIME method was used.
6082         * mail/sendmail.el (mml-to-mime): Add autoload form.
6083         (mail-encode-mml): Add a defvar.
6084         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6085         to nil.
6086         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6087         message through mml-to-mime, and reset mail-encode-mml to nil.
6089 2011-09-09  Glenn Morris  <rgm@gnu.org>
6091         * woman.el (woman-if-body): When processing an .el block,
6092         do not delete the next .el block as well.  (Bug#9447)
6093         (woman-special-characters): Add oq, cq, and hy characters.
6095 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6097         * window.el (window-deletable-p): Make sure window is live before
6098         invoking window-prev-buffers.
6100 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6102         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6104 2011-09-08  Juri Linkov  <juri@jurta.org>
6106         * progmodes/compile.el (compilation-environment): Make it
6107         a defcustom (bug#8340).
6109 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6111         * window.el (frame-auto-delete): Rename to window-auto-delete.
6112         Make it control auto-deletion of windows and/or frames.
6113         (window-deletable-p): New argument FORCE.  Rewrite conditions
6114         for deleting window/frame.  (Bug#9419)
6115         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6116         Rewrite handling of case when window/frame can be deleted.
6117         (delete-windows-on): Call window-deletable-p with new FORCE
6118         argument t.  (Bug#9456)
6120 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6122         * help-mode.el (help-mode): Restore autoload.
6124 2011-09-07  Juri Linkov  <juri@jurta.org>
6126         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6127         `compilation-environment'.  Set buffer-local
6128         `compilation-environment' to `thisenv' later after (funcall mode).
6129         (Bug#8340)
6131         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6132         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6133         instead of replacing its value.  (Bug#8340)
6135 2011-09-07  Juri Linkov  <juri@jurta.org>
6137         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6138         based on text properties put by `grep-filter' instead of matching
6139         escape sequences.
6140         (grep-mode): Set buffer-local `compilation-error-screen-columns'
6141         to the value of `grep-error-screen-columns' (bug#9438).
6143 2011-09-07  Juri Linkov  <juri@jurta.org>
6145         * simple.el (next-error-highlight, next-error-highlight-no-select):
6146         Doc fix (bug#9432).
6148 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6150         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6151         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
6153 2011-09-07  Leo Liu  <sdl.web@gmail.com>
6155         * net/rcirc.el (rcirc-mode): Conditionally initialize
6156         rcirc-input-ring.
6158 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6160         * emacs-lisp/find-func.el (find-function-C-source): Only set
6161         find-function-C-source-directory after checking that we found a source
6162         file there (bug#9440).
6164 2011-09-06  Alan Mackenzie  <acm@muc.de>
6166         * isearch.el (isearch-other-meta-char): Wherever a key list is
6167         unread, "unread" the prefix arg, too.  This fixes bug #8901.
6169 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6171         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6173 2011-09-05  Juri Linkov  <juri@jurta.org>
6175         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6177 2011-09-05  Juri Linkov  <juri@jurta.org>
6179         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6180         keeping point where processing of grep matches begins, and
6181         continue to delete remaining escape sequences from the same point.
6182         (grep-filter): Make leading zero optional in "0?1;31m" because
6183         git-grep emits "\033[1;31m" escape sequences unlike expected
6184         "\033[01;31m" as GNU Grep does (bug#9408).
6185         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6187 2011-09-05  Juri Linkov  <juri@jurta.org>
6189         * subr.el (y-or-n-p): Capitalize "yes".
6191 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
6193         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
6194         `tramp-cache-unload-hook' where appropriate.
6195         (tramp-methods): Rename `tramp-remote-sh' to
6196         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
6197         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6199         * net/tramp-sh.el (top): Don't require 'shell.
6200         (tramp-methods): Add `tramp-remote-shell' and
6201         `tramp-remote-shell-args' entries.
6202         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6203         (tramp-sh-handle-shell-command): Remove.
6204         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6205         Use `tramp-remote-shell'.
6207 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
6209         * mail/sendmail.el (sendmail-query-once-function): Delete.
6210         (sendmail-query-once): Save directly to send-mail-function.
6211         Update message-send-mail-function too.
6213         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6215 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6217         * progmodes/python.el (python-mode-map): Use correct function to
6218         start python interpreter from menu-bar (as reported by Geert
6219         Kloosterman).
6220         (inferior-python-mode-map): Fix typo.
6221         (python-shell-map): Remove.
6223 2011-09-03  Deniz Dogan  <deniz@dogan.se>
6225         * net/rcirc.el (rcirc-print): Simplify code for
6226         rcirc-scroll-show-maximum-output.  There is no need to walk
6227         through all windows to find the right one.
6229 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6231         * help.el (help-return-method): Doc fix.
6233 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
6235         * window.el (window-deletable-p): Don't return a non-nil value
6236         when there's a buffer that was shown in the window before.
6237         (Bug#9419)
6238         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6239         Set window's previous buffers to nil.
6241 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
6243         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6244         newline before and after the tag line, so it doesn't interfere
6245         with determining the paragraph direction of bidirectional text.
6247 2011-09-03  Leo Liu  <sdl.web@gmail.com>
6249         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
6251 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6253         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6254         (pop-to-buffer): Change interactive spec.  Pass second argument
6255         directly to display-buffer.
6256         (display-buffer): Fix interactive spec.  Use functionp to
6257         distinguish between a function and a list of functions.
6259         * abbrev.el (edit-abbrevs):
6260         * arc-mode.el (archive-extract):
6261         * autoinsert.el (auto-insert):
6262         * bookmark.el (bookmark-bmenu-list):
6263         * files.el (find-file):
6264         * view.el (view-buffer):
6265         * progmodes/compile.el (compilation-goto-locus):
6266         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6268 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6270         * window.el (display-buffer-alist): Doc fix.
6271         (display-buffer): Add docstring.  Don't treat
6272         display-buffer-default specially.
6273         (display-buffer-reuse-selected-window)
6274         (display-buffer-same-window, display-buffer-maybe-same-window)
6275         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6276         (display-buffer-pop-up-window)
6277         (display-buffer-reuse-or-pop-window)
6278         (display-buffer-use-some-window): New functions.
6279         (display-buffer-default-action): Use them.
6280         (display-buffer-default): Delete.
6281         (pop-to-buffer-1): Fix choice of actions.
6283 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * minibuffer.el (completion--insert-strings): Don't get confused by
6286         completion entries that end with an LF char.
6288 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
6290         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6292 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
6294         * window.el (display-buffer): Restore interactive spec.
6295         (display-buffer-same-window, display-buffer-other-window):
6296         New functions.
6297         (pop-to-buffer-1): New function.  Use the above.
6298         (pop-to-buffer, pop-to-buffer-same-window): Use it.
6299         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6301         * view.el (view-buffer-other-window, view-buffer-other-frame):
6302         Just use pop-to-buffer.
6304 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6306         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
6308 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
6310         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
6312 2011-08-31  Richard Stallman  <rms@gnu.org>
6314         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6315         of the separation of rmail-view-buffer from rmail-buffer.
6316         If you say no to "replace original", the decrypt is in the
6317         view buffer.  If you say yes, the decrypt goes into the
6318         rmail buffer also.
6320 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
6322         * window.el (display-buffer-window): Rewrite doc-string.
6323         (display-buffer-record-window): New function.
6324         (display-buffer-macro-specifiers)
6325         (display-buffer-even-window-sizes, display-buffer-set-height)
6326         (display-buffer-set-width, display-buffer-in-window)
6327         (display-buffer-reuse-window, display-buffer-split-specifiers)
6328         (display-buffer-side-specifiers, display-buffer-split-window-1)
6329         (display-buffer-split-window, display-buffer-split-atom-window)
6330         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6331         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6332         (display-buffer-other-window-means-other-frame)
6333         (display-buffer-normalize-special)
6334         (display-buffer-normalize-default)
6335         (display-buffer-normalize-argument)
6336         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6337         (display-buffer-normalize-specifiers, display-buffer-frame)
6338         (display-buffer-same-window, display-buffer-same-frame)
6339         (display-buffer-other-window)
6340         (display-buffer-same-frame-other-window)
6341         (display-buffer-other-frame, pop-to-buffer-same-window)
6342         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6343         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6344         (switch-to-buffer-same-frame)
6345         (switch-to-buffer-other-window-same-frame)
6346         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6347         (display-buffer-alist-set-1, display-buffer-alist-set-2)
6348         (display-buffer-alist-set): Remove.
6349         (display-buffer-function, special-display-buffer-names)
6350         (special-display-regexps, special-display-function):
6351         In doc-string refer to display-buffer-window and quit-restore
6352         parameter.
6353         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6354         (special-display-frame-alist, special-display-popup-frame)
6355         (same-window-buffer-names, same-window-regexps, same-window-p)
6356         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6357         (split-window-preferred-function, split-height-threshold)
6358         (split-width-threshold, window-splittable-p)
6359         (split-window-sensibly, window--try-to-split-window)
6360         (window--frame-usable-p, even-window-heights)
6361         (window--even-window-heights, window--display-buffer-1)
6362         (window--display-buffer-2, display-buffer-other-frame):
6363         Restore old Emacs 23 code, order and doc-strings where applicable.
6364         (display-buffer-default, display-buffer-assq-regexp): New functions.
6365         (display-buffer-alist): Rewrite doc-string.
6366         (display-buffer-default-action)
6367         (display-buffer-overriding-action): New variables.
6368         (display-buffer, switch-to-buffer): Rewrite.
6369         (pop-to-buffer): Restore Emacs 23 behavior but use
6370         window-normalize-buffer-to-display.
6371         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6372         Restore Emacs 23 behavior but use
6373         window-normalize-buffer-to-switch-to.
6374         (pop-to-buffer-same-window): Rewrite.
6375         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6376         Rewrite using Emacs 23 options.
6378 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
6380         * net/tramp.el (tramp-root-regexp): Remove.
6381         (tramp-completion-file-name-regexp-unified)
6382         (tramp-completion-file-name-regexp-separate)
6383         (tramp-completion-file-name-regexp-url): Don't use leading volume
6384         letter on win32 systems.  (Bug#5303, Bug#9311)
6385         (tramp-drop-volume-letter): Simplify definition.
6386         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6388 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6390         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6391         (bug#9356).
6393 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
6395         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6397 2011-08-29  Juri Linkov  <juri@jurta.org>
6399         * isearch.el (isearch-done): Don't display message "Mark saved"
6400         when arg `edit' is non-nil to prevent its flicker in the echo area.
6402 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6404         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6405         obsolete packages for deletion.
6407 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
6409         * help-mode.el (help-mode-map): Add special-mode-map to parent.
6410         (help-mode): Derive help-mode from special-mode.  Don't invoke
6411         view-mode from help-mode.
6412         (help-xref-override-view-map): Remove.
6413         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6414         view-mode is not used anymore.
6416 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6418         * server.el (server-port): Doc fix.
6420         * cus-theme.el (custom-theme-choose-mode): Inherit from
6421         special-mode (Bug#9124).
6422         (custom-theme-choose-mode-map): Add special-mode to parent.
6424 2011-08-28  Alan Mackenzie  <acm@muc.de>
6426         * progmodes/cc-fonts.el
6427         (c-make-font-lock-BO-decl-search-function): New function.
6428         (c-basic-matchers-after - "Fontify the clauses after various
6429         keywords"): Extract the three keyword lists for the 3 erroneous
6430         constructs from the list of four, and use the new function above
6431         in place of an old one.
6433 2011-08-28  Deniz Dogan  <deniz@dogan.se>
6435         * net/rcirc.el (rcirc-insert-prev-input)
6436         (rcirc-insert-next-input): Remove unused argument.
6438 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6440         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6442 2011-08-27  Alan Mackenzie  <acm@muc.de>
6444         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6445         handle function pointer parameters properly.
6447 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
6449         * window.el (display-buffer-reuse-window): Fix case where
6450         selected window was reused with non-nil OTHER-WINDOW argument.
6451         (Bug#9381)
6453 2011-08-27  Deniz Dogan  <deniz@dogan.se>
6455         * net/rcirc.el (rcirc-check-auth-status): Adding support for
6456         oftc's NickServ messages.
6458 2011-08-27  Glenn Morris  <rgm@gnu.org>
6460         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
6462 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
6464         * emacs-lisp/package.el (package-install): Call package-initialize
6465         if called interactively.
6467 2011-08-26  Leo Liu  <sdl.web@gmail.com>
6469         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
6471 2011-08-25  Juri Linkov  <juri@jurta.org>
6473         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6474         `search-whitespace-regexp' (bug#9364).
6476 2011-08-25  Juri Linkov  <juri@jurta.org>
6478         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6479         `regexp-search-ring' to their global values to protect from
6480         updating by `read-from-minibuffer' (bug#9185).
6482 2011-08-25  Juri Linkov  <juri@jurta.org>
6484         * textmodes/ispell.el (ispell-command-loop): Add newline
6485         at the end of the "Use option `i'..." line.
6487 2011-08-25  Juri Linkov  <juri@jurta.org>
6489         * battery.el (display-battery-mode): If `battery-status-function'
6490         or `battery-mode-line-format' is nil, display the message and set
6491         `display-battery-mode' to nil (bug#9363).
6493 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
6495         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6496         bidi-string-mark-left-to-right; they are unnecessary now.
6498 2011-08-25  Deniz Dogan  <deniz@dogan.se>
6500         * net/quickurl.el: Documentation typo fixes.
6502 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
6504         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6506 2011-08-25  Glenn Morris  <rgm@gnu.org>
6508         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6510         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6511         (smtpmail-via-smtp): Handle nil response from smtp.
6513 2011-08-24  Juri Linkov  <juri@jurta.org>
6515         * proced.el (proced-marked): Inherit from `error' instead of
6516         `font-lock-warning-face'.
6518         * ibuffer.el (ibuffer-marked-face): Change default face from
6519         `font-lock-warning-face' to `warning'.
6520         (ibuffer-deletion-face): Change default face from
6521         `font-lock-type-face' to `error'.
6523         * battery.el (battery-update): Use the face `error' instead of
6524         `font-lock-warning-face' (bug#6117).
6526 2011-08-24  Juri Linkov  <juri@jurta.org>
6528         * faces.el (success): Change face color from "Green3" to
6529         "ForestGreen" on light background (bug#9353).
6531 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
6533         * window.el (quit-window): Rename from quit-restore-window.
6534         Use same arglist as old quit-window.
6535         (frame-auto-delete): Doc fix.
6537         * view.el (view-mode-exit): Use quit-window.
6539 2011-08-24  Juri Linkov  <juri@jurta.org>
6541         * isearch.el (isearch-ring-adjust1): Start visiting previous
6542         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6543         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6544         for empty search string (when the last search string is reused
6545         automatically) to adjust the isearch ring to the last element and
6546         prepare the correct index for further M-p commands (bug#9185).
6548 2011-08-24  Kenichi Handa  <handa@m17n.org>
6550         * international/ucs-normalize.el: If decomposition property of
6551         CHAR is the default one (i.e. a list of CHAR itself), treat it as
6552         nil.
6553         (nfd, nfkd): Likewise.
6555 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6557         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6558         from process filters aren't reliably transmitted to the surrounding
6559         accept-process-output.
6560         (mpc-proc-check): New function.
6561         (mpc-proc-sync): Use it (bug#8293)
6563 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6565         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6566         Add compatibility functions (bug#9313).
6568 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
6570         * cus-start.el (all): Add entry for bidi-paragraph-direction.
6572         * international/uni-bidi.el: Regenerate.
6574 2011-08-23  Kenichi Handa  <handa@m17n.org>
6576         * international/charprop.el:
6577         * international/uni-bidi.el:
6578         * international/uni-category.el:
6579         * international/uni-combining.el:
6580         * international/uni-comment.el:
6581         * international/uni-decimal.el:
6582         * international/uni-decomposition.el:
6583         * international/uni-digit.el:
6584         * international/uni-lowercase.el:
6585         * international/uni-mirrored.el:
6586         * international/uni-name.el:
6587         * international/uni-numeric.el:
6588         * international/uni-old-name.el:
6589         * international/uni-titlecase.el:
6590         * international/uni-uppercase.el: Regenerate.
6592 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
6594         * help.el (help-window-setup): Fix message displayed when other
6595         window is reused.  (Bug#9341)
6597 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6599         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6600         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6602         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6603         Mark obsolete.
6604         * shell.el (shell-parse-pcomplete-arguments): New function.
6605         (shell-completion-vars): Use it instead (bug#9160).
6607 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6609         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6610         strings and comments (bug#9333).
6612         * emacs-lisp/debug.el (debug-arglist): New function.
6613         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
6614         (debug-on-entry-1): Handle interpreted closures (bug#9120).
6616 2011-08-22  Juri Linkov  <juri@jurta.org>
6618         * progmodes/compile.el (compilation-mode-font-lock-keywords):
6619         Revert regexp that highlights output switches to its old
6620         pre-2010-10-28 value and remove one `?' from it (bug#9319).
6622         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6623         to check for empty output (bug#9226).
6625 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
6627         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6628         symbol-constituent as the default, as that stops font-lock from
6629         working properly (Bug#8843).
6631 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6633         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6634         `coding-system-for-*' around the process open call to avoid
6635         auth-source side effects.
6636         (smtpmail-try-auth-methods): Expand the secret password.
6637         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6638         probe hangs.
6640 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6642         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6644         * emacs-lisp/find-func.el (find-function-noselect): New arg
6645         lisp-only.
6647         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6648         signal an error for built-in functions (Bug#6664).
6650 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6652         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6653         (smtpmail-try-auth-methods): Use it.
6655 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6657         * font-lock.el (font-lock-fontify-region)
6658         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6659         (font-lock-default-unfontify-buffer)
6660         (font-lock-default-fontify-region)
6661         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6663         * progmodes/compile.el (compilation-error-properties):
6664         Fix confusion between file struct and message struct (Bug#9319).
6665         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6666         `ant' regexp.
6668         * net/browse-url.el (browse-url-firefox): Don't call
6669         browse-url-firefox-sentinel unless using -remote (Bug#9328).
6671 2011-08-20  Glenn Morris  <rgm@gnu.org>
6673         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6675         * tutorial.el (tutorial--default-keys): Update some default bindings.
6677         * files.el (hack-local-variables): Fully ignore case for "mode:".
6679 2011-08-20  Alan Mackenzie  <acm@muc.de>
6681         Resolve invalid use of a regexp in regexp-opt.
6683         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6684         detection for a java annotation.
6686         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6687         detection for a java annotation.
6689         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6690         handling for java.
6691         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6693 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
6695         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6696         (Bug#9274).
6698 2011-08-20  Alan Mackenzie  <acm@muc.de>
6700         Fontify CPP expressions correctly when starting in the middle of
6701         such a construct.  Mainly for when jit-lock etc. starts a chunk
6702         here.
6704         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6705         variable.
6706         (c-make-font-lock-search-form): New function, extracted from
6707         c-make-font-lock-search-function.
6708         (c-make-font-lock-search-function): Use the above function.
6709         (c-make-font-lock-context-search-function): New function.
6710         (c-cpp-matchers): Enhance the preprocessor expression case with
6711         the above function
6712         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6713         which takes an expression.
6715         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6717 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
6719         * window.el (display-buffer-reuse-window)
6720         (display-buffer-pop-up-window): Don't reuse or split a side
6721         window.
6723 2011-08-19  Glenn Morris  <rgm@gnu.org>
6725         * files.el (hack-local-variables-prop-line, hack-local-variables):
6726         Downcase "Mode:".  (Bug#9331)
6728 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
6730         * international/characters.el: Add L and R categories.
6732         * subr.el (bidi-string-mark-left-to-right): Rename from
6733         string-mark-left-to-right.  Use category search.
6735         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6737 2011-08-18  Juri Linkov  <juri@jurta.org>
6739         * faces.el (error, warning, success): New faces with definitions
6740         copied from old default values of `font-lock-warning-face',
6741         `compilation-warning', `compilation-info' (bug#6117).
6743         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6745         * progmodes/compile.el (compilation-error): Inherit from `error'.
6746         (compilation-warning): Inherit from `warning'.
6747         (compilation-info): Inherit from `success'.
6749         * dired.el (dired-marked): Inherit from `warning'.
6750         (dired-flagged): Inherit from `error'.
6752 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6754         * mail/smtpmail.el (auth-source): Require to avoid problems with
6755         binding variables (bug#9298).  Also clean up some unused
6756         autoloads.
6758         * net/network-stream.el (network-stream-open-starttls):
6759         Support using starttls.el without using gnutls-cli.
6761 2011-08-17  Juri Linkov  <juri@jurta.org>
6763         * progmodes/grep.el (rgrep): Handle the case when
6764         `grep-find-command' is a cons cell (bug#9278).
6766 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6768         * window.el (display-buffer-pop-up-frame): Run frame creation
6769         function with BUFFER current (as special-display-popup-frame
6770         does).  Reported by Drew Adams.
6772 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6774         * epa-mail.el: Simplify GnuPG group expansion using
6775         epg-expand-group.
6776         (epa-mail-group-alist, epa-mail-group-modtime)
6777         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6778         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6779         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6780         Remove.
6782 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6784         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6786 2011-08-16  Alan Mackenzie  <acm@muc.de>
6788         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6789         Correct, to avoid the inside of macros.
6791 2011-08-16  Richard Stallman  <rms@gnu.org>
6793         * epa-mail.el: Handle GnuPG group definitions.
6794         (epa-mail-group-alist, epa-mail-group-modtime)
6795         (epa-mail-gnupg-conf-file): New variables.
6796         (epa-mail-parse-groups, epa-mail-sync-groups)
6797         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6798         (epa-mail-expand-recipients): New functions.
6799         (epa-mail-encrypt): Call epa-mail-expand-recipients.
6801         * mail/rmail.el (rmail-epa-decrypt): New command.
6803         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6804         Don't bind buffer-read-only, just inhibit-read-only.
6805         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6806         (epa-decrypt-armor-in-region): Make error message clearer.
6808 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6810         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6811         and "a2b" to "ab" for `prefix'.
6813 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6815         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6816         filter groups.
6817         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6818         Fourquet (Bug#8804).
6820 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6822         * startup.el (argi): Declare as global variable (bug#9275).
6824 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6826         * subr.el (string-mark-left-to-right): Search the entire string
6827         for RTL script, not just the terminating character.  Doc fix.
6829 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6831         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6832         New function.
6833         (js--regexp-literal, js-syntax-propertize-function): Remove.
6834         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6835         (js-mode-map): Don't rebind electric keys.
6836         (js-insert-and-indent): Remove.
6837         (js-mode): Setup electric-layout and electric-indent instead.
6839         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6841 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6843         * epa.el (epa-progress-callback-function): Fix the logic of
6844         displaying progress.
6845         * epa-file.el (epa-file-insert-file-contents): Make progress
6846         display more user-friendly.
6847         (epa-file-write-region): Ditto.
6849 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6851         * subr.el (string-mark-left-to-right): New function.
6853         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6854         Use string-mark-left-to-right.
6855         (list-buffers-noselect): Caller changed.
6857         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6858         Use string-mark-left-to-right.
6859         (tabulated-list-print): Recenter after moving point.
6861 2011-08-10  Juri Linkov  <juri@jurta.org>
6863         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6864         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6865         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6867 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6869         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6870         (Bug#7554).
6872 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6874         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6875         character.  (Bug#6594)
6877 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6879         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6880         (image-dired--with-db-file): New macro.
6881         (image-dired-write-tags, image-dired-remove-tag)
6882         (image-dired-create-gallery-lists, image-dired-write-comments)
6883         (image-dired-get-comment, image-dired-mark-tagged-files)
6884         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6885         (image-dired-gallery-generate): Use insert-file-contents.
6887         * time.el (display-time-world-list, display-time-world-display):
6888         * time-stamp.el (time-stamp-string):
6889         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6890         set-time-zone-rule (Bug#7337).
6892 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6894         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6895         (epg-error-to-string, epg-errors-to-string): New function.
6896         (epg-wait-for-completion): Reverse errors list.
6897         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6898         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6899         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6900         (epg-sign-keys, epg-generate-key-from-file)
6901         (epg-generate-key-from-string): Format errors by using
6902         epg-errors-to-string (bug#9255).
6903         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6905 2011-08-07  Juri Linkov  <juri@jurta.org>
6907         * faces.el (list-faces-display): Remove extra angle bracket
6908         from `help-mode-map'.
6910         * info.el (Info-history-toc-nodes): Doc fix.
6912         * longlines.el (longlines-mode): Doc fix.
6914 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6916         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6917         of statements and in a few more cases (bug#9183).
6919         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6920         New functions.
6921         (cl-transform-lambda): Use them (bug#9239).
6923 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6925         * window.el (display-buffer-same-window)
6926         (display-buffer-same-frame, display-buffer-other-window)
6927         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6928         (pop-to-buffer-other-window)
6929         (pop-to-buffer-same-frame-other-window)
6930         (pop-to-buffer-other-frame): Make them defuns.
6931         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6933 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6935         * subr.el (make-composed-keymap): Move from C.  Change calling
6936         convention, and improve docstring to bring attention to a subtle point.
6937         * minibuffer.el (completing-read-default): Adjust accordingly.
6939 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6941         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6942         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6944         * net/trampver.el: Update release number.
6946 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6948         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6949         "in" (bug#9190).
6951 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6953         * mail/sendmail.el (sendmail-query-once): Restore the current
6954         buffer after querying (bug#9074).
6956         * dired.el (dired-flagged): Use different faces for marked and
6957         flagged files (bug#6117).
6959         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6960         (bug#4433).
6962         * ido.el (ido-mode): Switch off the message if called
6963         non-interactively.
6965         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6966         before 587, since it appears that that's more likely to work for
6967         more people.
6969         * cus-edit.el (custom-file): When running under emacs -q, always
6970         refuse to save the customizations, even if the .emacs file doesn't
6971         exist.
6973         * info.el: Remove the `Info-beginning-of-buffer' function
6974         (bug#8325).
6976         * net/network-stream.el (network-stream-open-starttls):
6977         Use `starttls-available-p' to see whether starttls.el can be used.
6979 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6981         * window.el (display-buffer-in-window): Don't set dedicated status
6982         of window here (Bug#9215).
6983         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6984         (display-buffer-pop-up-side-window)
6985         (display-buffer-in-side-window): Set dedicated status of window here.
6987 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6989         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6990         before binding generated-autoload-file.
6992 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6994         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6996 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6998         Sync with Tramp 2.2.2.
7000         * net/trampver.el: Update release number.
7002 2011-07-30  Juri Linkov  <juri@jurta.org>
7004         * dired-aux.el (dired-touch-initial): Remove function.
7005         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7006         current time, and `default' to the last modification time of the
7007         current marked file (bug#6887).
7009 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
7011         * simple.el (goto-line): Use string-to-number to provide a
7012         numeric argument to read-number (bug#9163).
7014 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
7016         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7017         connection process, it could be nil.
7019 2011-07-27  Leo Liu  <sdl.web@gmail.com>
7021         Simplify url handling in rcirc-mode.
7023         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7024         (rcirc-browse-url-at-mouse): Remove.
7025         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7027 2011-07-26  Alan Mackenzie  <acm@muc.de>
7029         Fontify bitfield declarations properly.
7031         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7032         (c-symbol-chars): Now exported as a lang variable.
7033         (c-not-primitive-type-keywords): New lang variable.
7035         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7036         QT keyword "more" to prevent "more slots: ...." being spuriously
7037         parsed as a bitfield declaration.
7039         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7040         Refactor and enhance to handle bitfield declarations.
7041         (c-punctuation-in): New function.
7042         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7043         declarations properly.
7045 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7047         * calendar/icalendar.el (icalendar--all-events): Take care of
7048         multiple vcalendars in a single file.
7049         (icalendar--convert-float-to-ical): Checkdoc fixes.
7051 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7053         * image.el (insert-image): Clarifying docstring.
7055 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7057         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7058         `tramp-send-command-and-check' if there is no error.
7059         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7061 2011-07-22  Alan Mackenzie  <acm@muc.de>
7063         Prevent cc-langs.elc being loaded at run time.
7065         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7066         cc-langs.
7068         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7069         "(require 'cc-langs)".  Quote a form so it will evaluate at
7070         (cc-mode's) compilation time.
7072 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7074         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7075         loading.  (Bug#9114)
7077 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7079         * window.el (display-buffer-pop-up-window)
7080         (display-buffer-pop-up-side-window)
7081         (display-buffer-in-side-window): Call display-buffer-set-height
7082         and display-buffer-set-width after setting the new window's
7083         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7085 2011-07-20  Sam Steingold  <sds@gnu.org>
7087         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7088         (etags-tags-included-tables): Call `convert-standard-filename' on
7089         the file names contained in TAGS so that windows Emacs can handle
7090         TAGS files created by cygwin ctags.
7092 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7094         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7095         which apparently didn't work.
7097 2011-07-19  Roland Winkler  <winkler@gnu.org>
7099         * proced.el (proced-send-signal): For *Marked Processes* buffer
7100         put point at beginning of buffer.
7102 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7104         * proced.el (proced-format): Make header lines align with the text
7105         (bug#1779).
7107 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7109         * view.el (view-buffer): Allow running in `special' modes if we're
7110         visiting a file (bug#8615).
7112 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7114         * window.el (display-buffer-alist-of-strings-p)
7115         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7116         New functions.
7117         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7118         more accurately.
7120 2011-07-18  Alan Mackenzie  <acm@muc.de>
7122         Fontify declarators properly when, e.g., a jit-lock chunk begins
7123         inside a declaration.
7125         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7127         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7128         New function.
7129         (c-complex-decl-matchers): Insert reference to
7130         c-font-lock-enclosing-decls.
7132         * progmodes/cc-engine.el (c-backward-single-comment):
7133         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7134         to nil around calls to (forward-comment -1).
7136 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7138         * image.el (put-image): Doc typo fix.
7140         * progmodes/etags.el (tags-search): Doc typo fix.
7142         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7143         password if we get errors 550 to 554.
7145 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7147         * net/gnutls.el (gnutls-log-level): Remove.
7149         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7150         indentation character (bug#6380).
7152         * files.el (buffer-offer-save): Made permanently local (bug#6241).
7154         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7155         to clarify what the problem is (bug#4291).
7157         * simple.el (current-kill): Clarify what
7158         `interprogram-paste-function' does (bug#7500).
7159         (auto-fill-mode): Document `auto-fill-function' in relation to
7160         `auto-fill-mode' (bug#2470).
7162 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
7164         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7165         method if slot is read-only (bug#9035).
7167 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
7169         * frame.el (select-frame-set-input-focus): New argument NORECORD.
7170         * window.el (pop-to-buffer): Select window used even if it was
7171         selected before, see discussion of (Bug#8615), (Bug#6954).
7172         Pass argument NORECORD on to select-frame-set-input-focus.
7174 2011-07-15  Glenn Morris  <rgm@gnu.org>
7176         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
7177         Respect help-form.
7179 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
7181         * net/gnutls.el (gnutls-min-prime-bits): New variable.
7182         (gnutls-negotiate): Use it.
7184 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7186         * net/gnutls.el (gnutls-negotiate):
7187         Upcase `gnutls-algorithm-priority'.
7189 2011-07-15  Glenn Morris  <rgm@gnu.org>
7191         * jka-compr.el (jka-compr-verbose): Move from here...
7192         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
7193         Add missing :version tag.
7194         * info.el: No need to require jka-compr when compiling.
7196 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7198         * net/gnutls.el (gnutls-algorithm-priority): New variable.
7199         (gnutls-negotiate): Use it.
7201         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7203         * info.el (Info-beginning-of-buffer): New command.
7204         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7205         announcing `b' as the key (bug#8325).
7206         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7208         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7210         * international/mule-cmds.el
7211         (describe-specified-language-support): Make the error message
7212         clearer (bug#8905).
7214         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7216         * isearch.el (isearch-barrier): Add a doc string, since it's
7217         mentioned in a function doc string (bug#8678).
7219 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
7221         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7222         buffer argument (Bug#9083) and self-identifying label argument.
7224 2011-07-15  Glenn Morris  <rgm@gnu.org>
7226         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
7228 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7230         * man.el (Man-fontify-manpage): Fix message when formatting the
7231         man page (bug#7929).
7233 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7235         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7236         argument LRM; if non-nil, append an invisible LRM character to the
7237         buffer name.
7238         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7239         last argument non-nil, when formatting buffer names.
7240         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7241         paragraph direction.
7243 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7245         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7246         the man page name (bug#7929).
7248         * image.el (put-image): Mention the `put-image' overlay property
7249         (bug#7834).
7251         * scroll-bar.el (set-scroll-bar-mode): Mention that
7252         `scroll-bar-mode' lists the values (bug#7772).
7254         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7255         command (bug#7729).
7257         * rect.el (apply-on-rectangle): Return the point after the last
7258         operation.
7259         (string-rectangle): Go to the point after the last operation
7260         (bug#7522).
7262         * printing.el (pr-toggle-region): Clarify the documentation
7263         slightly (bug#7493).
7265         * time.el (display-time-update):
7266         Allow `display-time-mail-function' to return nil (bug#7158).
7267         Fix suggested by Detlev Zundel.
7269         * vc/diff.el (diff): Clarify the order the file names are read
7270         (bug#7111).
7272         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7273         the doc string (bug#7015).
7275         * font-lock.el (font-lock-maximum-decoration): Mention what
7276         numeric levels mean (bug#6935).
7278         * startup.el (initial-buffer-choice): Don't mention the `none'
7279         selection, which is against policy.
7281 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
7283         * window.el (display-buffer-normalize-special):
7284         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7286 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7288         * subr.el (version<, version<=, version=): Mention "-CVS" and
7289         "-12345" alpha version numbers.
7291 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7293         * bindings.el: Add advertised binding for set-mark-command
7294         (Bug#5772).
7296 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7298         * bindings.el (mode-line-other-buffer):
7299         * bookmark.el (bookmark-bmenu-2-window):
7300         * bs.el (bs-cycle-next, bs-cycle-previous):
7301         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7302         switch-to-buffer.
7304         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7305         Delete.
7307 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
7309         * follow.el (follow-debug-message, follow-redisplay):
7310         * jka-cmpr-hook.el (with-auto-compression-mode):
7311         Fix typos in docstrings.
7313 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7315         * subr.el (with-silent-modifications): Clarify somewhat what the
7316         macro inhibits (bug#6525).
7318         * simple.el (eval-expression): Note what it does if called
7319         interactively (bug#6495).
7321 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7323         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7324         Use pop-to-buffer buffer-or-name if it is nil.
7326         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7327         Remove switch-to-buffer.
7329 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7331         * files.el (make-directory): Clarify that an error will be raised
7332         if there's an error (bug#6397).
7334         * startup.el (initial-buffer-choice): Add `none' as a choice
7335         (bug#6234).
7337         * subr.el (add-hook): Clarify section about buffer-local hooks
7338         (bug#6218).
7340         * dired.el (dired-flagged): Clarify doc string (bug#6117).
7342 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7344         * tabify.el (untabify): Preserve the current column so that point
7345         doesn't move (bug#6032).
7347 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7349         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7350         Rewrite to avoid awkward possessive "s" (bug#5986).
7352 2011-07-13  Glenn Morris  <rgm@gnu.org>
7354         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
7355         (dired-insert-directory): Give a message the first time
7356         if ls is found not to support --dired.
7358 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7360         * simple.el (toggle-truncate-lines): Clarify what is toggled
7361         (bug#5580).  Text by Drew Adams.
7363 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7365         * simple.el (blink-matching-open): Make the error message from the
7366         last change less verbose.
7368 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
7370         * font-lock.el (font-lock-comment-face): Use the high contrast
7371         "yellow" color for font-lock-comment-face on low color terminals
7372         using a dark background color (bug#4221).
7374 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7376         * dired.el (dired-insert-set-properties): Make the doc string
7377         reflect what it does now (bug#5325).
7379         * simple.el (blink-matching-open): Say that we were unable to find
7380         the match within the limit, if we're limited (bug#5122).
7382         * international/mule-cmds.el (prefer-coding-system): Add an
7383         example (bug#4869).
7385         * progmodes/etags.el (tags-search): Document `file-list-form'
7386         (bug#4731).
7388 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
7390         * net/browse-url.el (browse-url-default-browser)
7391         (browse-url-browser-function): Make the default browser choice a
7392         bit more logical (bug#4300).  Also clean up the doc string.
7394 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7396         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7397         binary endings (bug#4440).
7399 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7401         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7402         which can be pretty annoying (bug#8971).
7404         * jka-compr.el (jka-compr-verbose): New variable, and use
7405         throughout (bug#8971).
7407         * info.el (Info-find-file): Fall back on the installation
7408         directory if we can't find the info node anywhere else.
7410 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
7412         * vc/vc.el (vc-revert-file):
7413         Don't set file time-stamp in the past.  (Bug#5181)
7415 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7417         * files.el (after-find-file): Give a better error message when
7418         trying to find a symlink that points to a file that doesn't exist
7419         (bug#4398).
7421         * progmodes/cc-vars.el: Remove (probably) misleading comment
7422         (bug#4396).
7424 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7426         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7428 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7430         * mouse-sel.el: Hack restoring functionality, while keeping
7431         compatibility with 2010-07-03 changes to mouse selection.
7432         (mouse-sel-primary-overlay): New var.
7433         (mouse-sel-selection-alist): Use it.
7434         (mouse-sel-mode): Doc fix; remove points that are default features
7435         of mouse.el.
7437 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7439         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7440         Fix previous fix (bug#2490).
7442 2011-07-12  Roland Winkler  <winkler@gnu.org>
7444         * textmodes/bibtex.el (bibtex-initialize):
7445         Use pop-to-buffer-same-window.
7446         (bibtex-search-entries): Fix interactive call.
7448 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7450         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7451         Fontise bytecomp Error lines more correctly (bug#2490).
7452         Fix suggested by Johan Bockgård.
7454         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7456         * dired-x.el (dired-guess-default): Use `delete-dups'.
7458 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7460         * dired.el (dired-mark-prompt):
7461         * dired-aux.el (dired-read-shell-command): Doc fix.
7463 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7465         * mail/sendmail.el (sendmail-query-once):
7466         Use `customize-save-variable' unconditionally, now that it works under
7467         emacs -Q.
7469         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7471         * cus-edit.el (custom-file): Take an optional no-error variable.
7472         (customize-save-variable): Set the variable, and give a warning if
7473         running under "emacs -q".
7475 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
7477         * loadhist.el (unload-feature-special-hooks):
7478         Add `auto-coding-functions', `fill-nobreak-predicate' and
7479         `find-directory-functions' (bug#5327).
7481 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7483         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7485         * cus-edit.el (custom-guess-name-alist): -alist variables should
7486         use the `alist' type (bug#3120).  Suggested by Drew Adams.
7488         * printing.el: Add documentation to all the `pr-toggle-' commands.
7490 2011-07-11  Leo Liu  <sdl.web@gmail.com>
7492         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7493         backends where it makes sense (bug#2623).
7495 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7497         * dired-x.el (dired-guess-default): Remove duplicate shell command
7498         entries (bug#2028).
7499         (dired-guess-default): Fix grammar in doc string (bug#2028).
7500         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7502         * subr.el (remove-duplicates): New conveniency function.
7504 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7506         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7507         (bug#1526).
7509 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
7511         * window.el (display-buffer-normalize-default): Don't invert
7512         meaning of even-window-heights.  Reported by Eli Zaretskii
7513         <eliz@gnu.org>.
7515 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
7517         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7519 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
7521         * window.el (display-buffer): Fix arguments to
7522         display-buffer-reuse-window in last change.
7524         * faces.el (link): Use a less saturated blue on light backgrounds.
7526         * startup.el (fancy-startup-text, fancy-about-text)
7527         (fancy-startup-tail): Use font-lock faces, for background safety.
7529 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
7531         * emulation/viper-cmd.el (viper-change-state-to-vi):
7532         Limit triggering of abbrev expansion (Bug#9038).
7534 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
7536         * window.el (display-buffer-default-specifiers): Remove.
7537         (display-buffer-macro-specifiers): Remove default specifiers.
7538         (display-buffer-alist): Default to nil.
7539         (display-buffer-reuse-window): New optional argument other-window.
7540         (display-buffer-pop-up-window): Allow splitting internal
7541         windows.  Check whether a live window was created.
7542         (display-buffer-other-window-means-other-frame)
7543         (display-buffer-normalize-arguments): Rename to
7544         display-buffer-normalize-argument and rewrite.  Set the
7545         other-window specifier.
7546         (display-buffer-normalize-special): New function.
7547         (display-buffer-normalize-options): Rename to
7548         display-buffer-normalize-default and rewrite.
7549         (display-buffer-normalize-options-inhibit): Remove.
7550         (display-buffer-normalize-specifiers): Rewrite.
7551         (display-buffer): Process other-window specifier and call
7552         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
7553         more faithfully.
7554         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7555         (display-buffer-alist-set): Don't handle 'unset default values.
7556         (display-buffer-in-window, display-buffer-alist-set):
7557         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
7558         <tassilo@member.fsf.org>.
7560 2011-07-09  Leo Liu  <sdl.web@gmail.com>
7562         * register.el (insert-register): Restore accidental change on
7563         2011-06-26.  (Bug#9028)
7565 2011-07-09  Glenn Morris  <rgm@gnu.org>
7567         * subr.el (remq): Handle the empty list.  (Bug#9024)
7569 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
7571         * mail/sendmail.el (send-mail-function): No longer delay custom
7572         initialization.
7573         * custom.el (custom-initialize-delay): Doc fix.
7575 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7577         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7579 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
7581         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7582         human-friendly prompt.
7584 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7586         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7587         provided by a particular plugin.
7589 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7591         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7592         save customizations (with "emacs -Q"), just set the variable
7593         instead of erroring out.
7595         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7597 2011-07-08  Juri Linkov  <juri@jurta.org>
7599         * arc-mode.el (archive-zip-expunge, archive-zip-update)
7600         (archive-zip-update-case): Use 7z if found by `executable-find'.
7601         The order of searching the available programs is the same as in
7602         `archive-zip-extract' (bug#8968).
7604 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7606         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7607         (menu-bar-options-menu): Tweak descriptions.
7609 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7611         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7612         menu items into verb phrases (bug#1421).  Also refill to fit under
7613         80 columns.
7615 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7617         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7618         (Info-read-node-name): Doc fix (Bug#1084).
7620         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7621         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7622         (end-of-sexp, beginning-of-sexp)
7623         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7624         (forward-symbol, forward-same-syntax, word-at-point)
7625         (sentence-at-point): Doc fix (Bug#1144).
7627 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7629         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7630         should cover it (bug#1281).
7632         * cus-edit.el (custom-show): Mark as obsolete.
7634         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7635         negotiation fails, then possibly try again with a non-encrypted
7636         connection (bug#9017).
7638         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7639         be used.
7641 2011-07-07  Richard Stallman  <rms@gnu.org>
7643         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7644         property, and handle its changed format.
7645         Look for the correct line number.
7646         Use file's line contents (but not past first =) to find
7647         correct line in message.
7649 2011-07-07  Kenichi Handa  <handa@m17n.org>
7651         * international/characters.el (build-unicode-category-table):
7652         Delete it.
7653         (unicode-category-table): Set it by unicode-property-table-internal.
7655         * international/mule-cmds.el (char-code-property-alist): Move to
7656         to src/chartab.c.
7657         (get-char-code-property): Call unicode-property-table-internal to
7658         load a file.  Call get-unicode-property-internal where necessary.
7659         (put-char-code-property): Call unicode-property-table-internal to
7660         load a file.  Call put-unicode-property-internal where necessary.
7661         put-unicode-property-internal where necessary.
7662         (char-code-property-description):
7663         Call unicode-property-table-internal to load a file.
7665         * international/charprop.el:
7666         * international/uni-bidi.el:
7667         * international/uni-category.el:
7668         * international/uni-combining.el:
7669         * international/uni-comment.el:
7670         * international/uni-decimal.el:
7671         * international/uni-decomposition.el:
7672         * international/uni-digit.el:
7673         * international/uni-lowercase.el:
7674         * international/uni-mirrored.el:
7675         * international/uni-name.el:
7676         * international/uni-numeric.el:
7677         * international/uni-old-name.el:
7678         * international/uni-titlecase.el:
7679         * international/uni-uppercase.el: Regenerate.
7681         * loadup.el: Load international/charprop.el before
7682         international/characters.
7684 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7686         * window.el (next-buffer, previous-buffer): Signal an error if
7687         called from a minibuffer window.
7689         * bindings.el: Revert 2011-07-04 change.
7691 2011-07-06  Richard Stallman  <rms@gnu.org>
7693         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7694         (rmail-mime-insert-bulk, rmail-mime-insert-text):
7695         Treat markers like ints.
7696         (rmail-mime-entity): Doc fix.
7698 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7700         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7701         defcustom again for backwards compatibility.
7703         * simple.el (shell-command-on-region): Fill.
7705         * dired-aux.el (dired-kill-line): Add a doc string.
7707         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7708         to "\\sw\\|\\s_" (bug#358).
7710         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7711         (dired-unmark-backward): Ditto.
7712         (dired-flag-backup-files): Ditto.
7714         * dired-x.el (dired-mark-sexp): Ditto.
7716 2011-07-06  Richard Stallman  <rms@gnu.org>
7718         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7719         (rmail-mime-entity): New arg TRUNCATED.
7720         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7721         New functions.
7722         (rmail-mime-save): Warn if entity is truncated.
7723         (rmail-mime-toggle-hidden): Likewise, for showing.
7724         (rmail-mime-process-multipart): Record when an entity is truncated.
7726         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7727         if ENTITY is a string.
7729 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7731         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7732         of faces when `M-C-x'-ing their definitions (bug#8378).
7733         Also clean up the code slightly.
7735         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7736         because that makes the colors go away.
7738         * mail/sendmail.el (send-mail-function): Change the default to
7739         `sendmail-query-once'.
7740         (sendmail-query-once): Add an autoload cookie.
7742         * net/network-stream.el (network-stream-open-starttls): Try using
7743         a plain connection even if the server offered STARTTLS, and we
7744         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7745         capability.  This should make smtpmail.el work in slightly more
7746         configurations.
7748 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7750         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7751         New defun.
7752         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7754 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7756         * progmodes/sql.el: Version 3.0
7757         (sql-product-alist): Add product :completion-object,
7758         :completion-column, and :statement attributes.
7759         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7760         (sql-mode-syntax-table): Mark all punctuation.
7761         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7762         ansi keywords.
7763         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7764         (sql-mode-oracle-font-lock-keywords): Improve.
7765         (sql-oracle-show-reserved-words): New function for development.
7766         (sql-product-font-lock): Simplify for source code buffers.
7767         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7768         New functions.
7769         (sql-highlight-product): Set product specific syntax table.
7770         (sql-mode-map): Add statement movement functions.
7771         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7772         New variable.
7773         (sql-statement-regexp, sql-beginning-of-statement)
7774         (sql-end-of-statement, sql-signum): New functions.
7775         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7776         (sql-show-sqli-buffer): Bug fix.
7777         (sql-interactive-mode): Store connection data as buffer local.
7778         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7779         with sql-interactive-mode.
7780         (sql-save-connection): Save buffer local settings.
7781         (sql-connection-menu-filter): Change menu entry name.
7782         (sql-product-interactive): Bug fix.
7783         (sql-preoutput-hold): New variable.
7784         (sql-interactive-remove-continuation-prompt): Bug fixes.
7785         (sql-debug-redirect): New variable.
7786         (sql-str-literal): New function.
7787         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7788         Redesign.
7789         (sql-oracle-save-settings, sql-oracle-restore-settings)
7790         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7791         (sql-completion-object, sql-completion-column)
7792         (sql-completion-sqlbuf): New variables.
7793         (sql-build-completions-1, sql-build-completions)
7794         (sql-try-completion): New functions.
7795         (sql-read-table-name): Use them.
7796         (sql-contains-names): New buffer local variable.
7797         (sql-list-all, sql-list-table): Use it.
7798         (sql-oracle-completion-types): New variable.
7799         (sql-oracle-completion-object, sql-sqlite-completion-object)
7800         (sql-postgres-completion-object): New functions.
7802 2011-07-06  Glenn Morris  <rgm@gnu.org>
7804         * window.el (pop-to-buffer): Doc fix.
7806 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
7808         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7810 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7812         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7814         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7816 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7818         * button.el (button): Inherit from link face.  Suggested by Dan
7819         Nicolaescu.
7821 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7823         * progmodes/gdb-mi.el: Fit in 80 columns.
7824         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7825         switch-to-buffer.
7827         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7828         if imenu is simply not configured (bug#8941).
7830 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7832         * allout.el (allout-post-undo-hook): New allout outline-change
7833         event hook to signal undo activity.
7834         (allout-post-command-business): Run allout-post-undo-hook if an
7835         undo just occurred.
7836         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7837         * allout-widgets.el (allout-widgets-after-undo-function):
7838         Ensure the integrity of the current item's decoration after it has been
7839         in the vicinity of an undo.
7840         (allout-widgets-mode): Include allout-widgets-after-undo-function
7841         on the new allout-post-undo-hook.
7843 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7845         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7846         Let define-derived-mode define it.
7847         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7848         cycles of abbrev-table inheritance (bug#8998).
7850 2011-07-05  Roland Winkler  <winkler@gnu.org>
7852         * textmodes/bibtex.el: Add support for biblatex.
7853         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7854         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7855         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7856         (bibtex-entry-alist, bibtex-field-alist): New variables.
7857         (bibtex-entry-field-alist): Obsolete alias for
7858         bibtex-BibTeX-entry-alist.
7859         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7860         (bibtex-set-dialect): New command.
7861         (bibtex-entry-type, bibtex-entry-head)
7862         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7863         Bind via bibtex-set-dialect.
7864         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7865         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7866         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7867         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7868         Define via bibtex-set-dialect.
7869         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7870         Obey bibtex-no-opt-remove-re.
7871         (bibtex-vec-push, bibtex-vec-incr): New functions.
7872         (bibtex-format-entry, bibtex-field-list)
7873         (bibtex-print-help-message, bibtex-validate)
7874         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7876 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         * progmodes/compile.el (compilation-goto-locus):
7879         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7880         * bs.el (bs-cycle-next, bs-cycle-previous):
7881         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7882         * bindings.el (mode-line-other-buffer):
7883         * autoinsert.el (auto-insert):
7884         * arc-mode.el (archive-extract):
7885         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7887 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7889         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7890         Fix check of `emacs-lock-unlockable-modes'.
7891         Coerce true values of `emacs-lock--try-unlocking' to t.
7893 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7895         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7896         * emacs-lock.el: New file.
7898 2011-07-05  Julien Danjou  <julien@danjou.info>
7900         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7901         than `boundp' to check if face is set.
7903 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7905         * register.el (registerv-make):
7906         * window.el (window-min-height): Fix typos in docstrings.
7908 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7910         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7911         Update doc string.
7913 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7915         * server.el (server-execute): Catch quit and call
7916         `server-return-error' to pass the error back to emacsclient and
7917         close the connection (bug#8942).
7919 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7921         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7922         insecure exception for current topic.  Also note that auto-saves
7923         are handled differently.
7925         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7926         State variables for tracking auto-save inhibition situation.
7928         (allout-write-contents-hook-handler): Rename from
7929         'allout-write-file-hook-handler', and describe how it depends on
7930         write-contents-functions sensitivity to non-nil value to prevent
7931         file write.
7933         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7934         this in individual buffers, only in the starting buffer, so this
7935         is not the right way for us to inhibit auto-save in a buffer
7936         according to its condition.
7938         (allout-mode): Use new allout-write-contents-hook-handler, and
7939         only with write-contents-functions.  Remove auto-save provisions -
7940         they're implemented elsewhere.
7942         (allout-before-change-handler): If undo is in progress, note that
7943         for attention of allout-post-command-business.
7945         (allout-post-command-business): If the command we're following was
7946         an undo, check for change in the status of encrypted items and
7947         adjust auto-save inhibitions accordingly.
7949         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7950         according to whether there are or aren't any plain-text topics
7951         pending encryption.
7953         (allout-inhibit-auto-save-info-for-decryption):
7954         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7955         if there are plain-text topics pending encryption.
7957         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7958         buffer-saved-size and some allout state to not inhibit auto-saves
7959         if there are no longer any plain-text topics pending encryption.
7961         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7962         No longer provide for exemption of the current topic.
7964 2011-07-04  Juri Linkov  <juri@jurta.org>
7966         Add 7z operations to delete and save changed members (bug#8968).
7967         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7968         New defcustoms.
7969         (archive-7z-write-file-member): New function.
7970         (archive-7z-summarize): Fix the number of dashes in the
7971         listing output.
7973 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7975         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7976         (bug#8958).
7978 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7980         * bindings.el: Ignore next-buffer and previous-buffer in
7981         minibuffer-local-map.
7983         * font-lock.el (font-lock-builtin-face): Change light background
7984         color to dark slate blue (Bug#6693).
7986 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7988         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7990 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7992         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7993         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7994         Add switch-to-buffer.
7996 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7998         * isearch.el (isearch-search-fun-function): Clarify further the
7999         meaning of the function returned.
8001 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
8003         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8005         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8006         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8007         Use it.
8008         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
8009         `tramp-default-remote-path' does not exist.
8010         (tramp-send-command-and-read): New optional argument NOERROR.
8011         (tramp-open-connection-setup-interactive-shell)
8012         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8013         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8014         (tramp-process-sentinel): Flush also process' connection property.
8015         (tramp-sh-handle-start-file-process): Do not set process
8016         sentinel.  It is done now ...
8017         (tramp-maybe-open-connection): ... here.  (Bug#8929)
8019 2011-07-04  MON KEY  <monkey@sandpframing.com>
8021         * play/animate.el (animate-string): Doc fixes and allow changing
8022         the buffer name (bug#5417).
8024 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8026         * play/animate.el (animation-buffer-name): Rename from *animate*.
8028 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8030         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8031         This is simpler and helps future-proof the code.
8032         (timer-until): Use time-subtract and float-time.
8033         (timer--time-less-p): Use time-less-p.
8035 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8037         * type-break.el (timep): Use the value of `float-time' to avoid a
8038         byte-compiler warning.
8040         * server.el (server-eval-and-print): Return any result, even nil.
8042 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8044         * type-break.el: Accept time formats that the builtins accept.
8045         (timep, type-break-time-difference): Accept any format that
8046         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8047         This is simpler and helps future-proof the code.
8048         (type-break-time-difference): Round rather than ignoring
8049         subseconds components.
8051 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8053         * info.el (Info-apropos-matches): Make non-interactive, since it
8054         doesn't seem to do anything useful as a command (bug#8829).
8056 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8058         * frame.el (frame-background-mode, frame-set-background-mode):
8059         Move from faces.el.
8060         (frame-default-terminal-background): New function.
8062         * custom.el (custom-push-theme): Don't record faces in `changed'
8063         theme; this doesn't work correctly for per-frame face settings.
8064         (disable-theme): Use face-set-after-frame-default to reset faces.
8065         (custom--frame-color-default): New function.
8067 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8069         * dired.el (dired-flagging-regexp): Remove unused variable
8070         (bug#8769).
8072 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8074         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8075         `perl-Test2' extend to match possible "fail #N" rep count
8076         (bug#8377).
8078 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8080         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8081         `smtpmail-via-smtp' now returns the error instead of nil.
8083         * isearch.el (isearch-search-fun-function): Clarify the doc string
8084         (bug#8101).
8086 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8088         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8089         unnecessary spaces (bug#8987).
8091 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8093         * net/network-stream.el (open-network-stream): Use the
8094         :end-of-capability command thoughout.
8096 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8098         * net/network-stream.el (open-network-stream): Add the
8099         :end-of-capability command parameter, used by pop3.el.
8101 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8103         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8105         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8106         for list)" (bug#6475).
8108         * files.el (file-expand-wildcards): Ignore non-readable
8109         sub-directories while trying to find matches instead of signaling
8110         an error (bug#6297).
8112         * man.el (Man-reference-regexp): Allow matching possible
8113         word-wrapped references (bug#6289).
8115         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8116         for consistency with the other vc buffers (bug#6197).
8117         (vc-checkin): Ditto.
8119         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8121         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8123 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8125         * custom.el (defcustom): Clarify that :set is only used in the
8126         Customize user interface (bug#6089).
8128         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8129         associated with a file, refuse to run instead of erroring out
8130         (bug#6084).
8132         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8133         the doc string, since it appears that using `fill-column' always
8134         controls the width (bug#7845).
8136         * simple.el (shell-command-on-region): Say where the error output
8137         went if `shell-command-default-error-buffer' is set (bug#6857).
8139 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
8141         * allout.el (allout-yank-processing): Adjust cursor position for
8142         backwards-deleted space.
8144         (allout-rebullet-heading): Register changes with
8145         allout-exposure-changed-hook, so the modified topic is properly
8146         decorated.
8148 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8150         * minibuffer.el (completion-in-region): Document PREDICATE
8151         (bug#7136).
8153         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8154         of keyword/argument pairs (bug#6904).
8156         * replace.el (multi-occur):
8157         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8159 2011-07-02  Drew Adams  <drew.adams@oracle.com>
8161         * dired.el (dired-mark-if): Make the message about whether it's
8162         marking or unmarking clearer (bug#8523).
8164 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8166         * disp-table.el (display-table-print-array): New function.
8167         (describe-display-table): Use it to print the vectors more pretty
8168         (Bug#8859).
8170 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
8172         * window.el (window-state-get-1): Don't assign clone numbers.
8173         Add clone-of item to list of window parameters.
8174         (window-state-put-2): Don't process clone numbers.
8175         (display-buffer-alist): Fix doc-string.
8177 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8179         * subr.el (remq): Don't allocate if it's not needed.
8180         (keymap--menu-item-binding, keymap--menu-item-with-binding)
8181         (keymap--merge-bindings): New functions.
8182         (keymap-canonicalize): Use them to refine the canonicalization.
8183         * minibuffer.el (minibuffer-local-completion-map)
8184         (minibuffer-local-must-match-map): Move initialization from C.
8185         (minibuffer-local-filename-completion-map): Move initialization from C;
8186         don't inherit from anything here.
8187         (minibuffer-local-filename-must-match-map): Make obsolete.
8188         (completing-read-default): Use make-composed-keymap to combine
8189         minibuffer-local-filename-completion-map with either
8190         minibuffer-local-must-match-map or
8191         minibuffer-local-filename-completion-map.
8193 2011-07-01  Glenn Morris  <rgm@gnu.org>
8195         * type-break.el (type-break-time-sum): Use dolist.
8197         * textmodes/flyspell.el (flyspell-word-search-backward):
8198         Replace CL function.
8200 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8202         * mouse.el (mouse--strip-first-event): New function.
8203         (function-key-map): Use it to map fringe clicks to normal clicks
8204         by default.
8206         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8207         (vc-bzr-revision-completion-table): Add support for annotate and date.
8209         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8210         inherit from parent.
8212 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8214         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8215         (dired-show-file-type): Doc fixup (bug#8818).
8217         * dired.el (dired-mode): Fix up the doc string as suggested by
8218         Drew Adams (bug#8817).
8220         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8221         cookie, since the manual says that it should be possible to add
8222         this function to `find-file-hook' (bug#8709).
8224 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8226         * progmodes/cfengine.el: Moved all cfengine3.el functionality
8227         here.  Noted Ted Zlatanov as the maintainer.
8228         (cfengine-common-settings, cfengine-common-syntax): New functions
8229         to set up common things between `cfengine-mode' and
8230         `cfengine3-mode'.
8231         (cfengine3-mode): New mode.
8232         (cfengine3-defuns cfengine3-defuns-regex
8233         (cfengine3-class-selector-regex cfengine3-category-regex)
8234         (cfengine3-vartypes cfengine3-font-lock-keywords)
8235         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8236         (cfengine3-indent-line): Add from cfengine3.el.
8238 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
8240         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8242         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8244 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
8246         * window.el (same-window-buffer-names, same-window-regexps)
8247         (same-window-p, special-display-frame-alist)
8248         (special-display-popup-frame, special-display-function)
8249         (special-display-buffer-names, special-display-regexps)
8250         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8251         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8252         (split-window-preferred-function, split-height-threshold)
8253         (split-width-threshold, even-window-heights)
8254         (display-buffer-mark-dedicated, window-splittable-p)
8255         (split-window-sensibly, window-safely-shrinkable-p):
8256         Un-obsolete.
8257         (display-buffer): Don't spread args with function specifier
8258         because special-display-popup-frame won't like it.
8260 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
8262         Time-stamp simplifications and fixes.
8263         These improve accuracy slightly, and future-proof the code
8264         against some potential changes to current-time format.
8266         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8267         by using time-since and float-time.
8269         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8270         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
8271         + NNN microseconds".
8273         * type-break.el (type-break-time-sum): Rewrite using time-add.
8275         * play/hanoi.el (hanoi-current-time-float): Remove.
8276         All uses replaced by float-time.
8278         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8279         This yields a more-accurate answer.
8280         (rng-time-to-float): Remove; no longer needed.
8282         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8284         * calendar/timeclock.el (timeclock-seconds-to-time):
8285         Defalias to seconds-to-time, since they're the same thing.
8287         * emacs-lisp/elp.el (elp-elapsed-time):
8288         * emacs-lisp/benchmark.el (benchmark-elapse):
8289         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8291 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8293         * window.el (bury-buffer): Don't iconify the only frame.
8294         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8295         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
8297 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
8299         * eshell/em-smart.el (eshell-smart-display-navigate-list):
8300         Add mouse-yank-primary.
8302 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8304         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8306 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8308         * emacs-lisp/find-func.el (find-library--load-name): New fun.
8309         (find-library-name): Use it to find relative load names when provided
8310         absolute file name (bug#8803).
8312 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8314         * textmodes/flyspell.el (flyspell-word): Consider words that
8315         differ only in case as potential doublons (bug#5687).
8317         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8318         Remove two rather uninteresting debugging-like messages to make
8319         debbugs.el more silent.
8321         * comint.el (comint-password-prompt-regexp): Accept "Response" as
8322         a password-like phrase.
8324 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
8326         * progmodes/cc-guess.el: New file.
8328         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8330         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8331         derived from `c-basic-common-init'.
8333         * progmodes/cc-mode.el (top-level): Require cc-guess.
8334         (c-basic-common-init): Use `cc-choose-style-for-mode'.
8336 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
8338         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8340 2011-06-30  Alan Mackenzie  <acm@muc.de>
8342         * progmodes/cc-engine.el (c-guess-continued-construct):
8343         Correct the handling of template-args-cont, particularly for when font
8344         lock is disabled.  Name this case as "CASE G".
8346 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
8348         * allout.el (allout-yank-processing): Fix injection of extra space
8349         between bullet and non-whitespace character in first topic when
8350         pasting, ensuring that the actual spacing in the pasted topic
8351         following the bullet char is preserved.  This extra space was
8352         causing pasted encrypted topics to get a decrypted status even
8353         when the content was actually still encrypted.  Now the decryption
8354         status from before the paste is preserved.
8356         (allout-flag-region): Set all allout overlays so they evaporate
8357         when reduced to zero length (evanescent), to prevent overlay
8358         leakage.
8360 2011-06-30  Glenn Morris  <rgm@gnu.org>
8362         * w32-fns.el (w32-charset-info-alist): Declare.
8364         * find-dired.el (find-grep-options): Simplify.
8366         * term/ns-win.el (ns-set-resource): Declare.
8368         * ses.el (row, col): Declare dynamic variables honestly.
8370         * textmodes/reftex-parse.el (index-tags): Declare.
8372 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
8374         * cus-edit.el (customize-push-and-save): New function.
8376         * files.el (hack-local-variables-confirm): Use it.
8378         * custom.el (load-theme): New arg NO-CONFIRM.
8379         Use customize-push-and-save (Bug#8720).
8380         (custom-enabled-themes): Doc fix.
8382         * cus-theme.el (customize-create-theme)
8383         (custom-theme-merge-theme): Callers to load-theme changed.
8385 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8387         * thingatpt.el (thing-at-point-short-url-regexp): Require that
8388         short URLs have at least one dot in them (bug #7614).
8390         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8391         nil, because using a pty is apparently too slow (bug #895).
8393 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8395         * mail/sendmail.el (sendmail-query-once): New function.
8396         (sendmail-query-once-function): New variable.
8398 2011-06-29  Glenn Morris  <rgm@gnu.org>
8400         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8402         * ses.el (top-level): Require cl when compiling.
8403         (ses-set-localvars): Fix error statement.
8404         Call it at compile time to silence a storm of warnings.
8406 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
8408         * window.el (normalize-live-buffer): Rename to
8409         window-normalize-buffer.
8410         (normalize-live-frame): Rename to window-normalize-frame.
8411         (normalize-any-window): Rename to window-normalize-any-window.
8412         (normalize-live-window): Rename to window-normalize-live-window.
8413         (make-window-atom): Rename to window-make-atom.
8414         (window-resize-reset): Rename to window--resize-reset.
8415         (window-resize-reset-1): Rename to window--resize-reset-1.
8416         (resize-mini-window): Rename to window--resize-mini-window.
8417         (resize-subwindows-skip-p): Rename to
8418         window--resize-subwindows-skip-p.
8419         (resize-subwindows-normal): Rename to
8420         window--resize-subwindows-normal.
8421         (resize-subwindows): Rename to window--resize-subwindows.
8422         (resize-other-windows): Rename to window--resize-siblings.
8423         (resize-this-window): Rename to window--resize-this-window.
8424         (resize-root-window): Rename to window--resize-root-window.
8425         (resize-root-window-vertically): Rename to
8426         window--resize-root-window-vertically.
8427         (normalize-buffer-to-display): Rename to
8428         window-normalize-buffer-to-display.
8429         (normalize-buffer-to-switch-to): Rename to
8430         window-normalize-buffer-to-switch-to.
8431         Correspondingly update all callers of the functions listed
8432         above.
8433         (display-buffer-alist, display-buffer-normalize-arguments)
8434         (display-buffer-normalize-options, display-buffer)
8435         (display-buffer-alist-set): Use "function" instead of
8436         "fun-with-args".
8438 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
8440         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8441         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
8442         debbugs.gnu.org.  Mention acknowledgment email.
8444 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8446         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8447         buffer multibyteness, since it shouldn't matter.
8449 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
8451         * window.el (display-buffer-in-side-window): Handle dedicated
8452         windows as in display-buffer-reuse-window.
8453         (display-buffer-normalize-alist): Use value of override
8454         specifier.
8455         (display-buffer-normalize-specifiers): Use value of
8456         other-window-means-other-frame specifier.
8457         (display-buffer-alist): Rewrite some texts in widgets.
8458         (display-buffer): Spread arguments when calling function
8459         specified by fun-with-args.
8461 2011-06-28  Deniz Dogan  <deniz@dogan.se>
8463         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8464         Unnest `let'.
8466         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8467         selectors (Bug#5732).
8468         (css-proprietary-nmstart-re): Use `regexp-opt'.
8470 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
8472         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8473         (eshell-ls-date-format): New defcustom.
8474         (eshell-ls-file): Use it.
8476 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8478         * help-fns.el (describe-variable): Fix message for terminal-local vars.
8480 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
8482         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8483         (ange-ftp-make-tmp-name): New arg.
8484         (ange-ftp-file-local-copy): Use it.
8486 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
8488         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8489         no-conversion (Bug#8870).
8491 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
8493         * window.el (window-right, window-left, window-child)
8494         (window-child-count, window-last-child)
8495         (window-iso-combination-p, walk-window-tree-1)
8496         (window-atom-check-1, window-tree-1, delete-window)
8497         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8498         new naming conventions - window-vchild, window-hchild,
8499         window-next and window-prev are now called window-top-child,
8500         window-left-child, window-next-sibling and window-prev-sibling
8501         respectively.
8502         (resize-window-reset): Rename to window-resize-reset.
8503         (resize-window-reset-1): Rename to window-resize-reset-1.
8504         (resize-window): Rename to window-resize.
8505         (window-min-height, window-min-width)
8506         (resize-mini-window, resize-this-window, resize-root-window)
8507         (resize-root-window-vertically, adjust-window-trailing-edge)
8508         (enlarge-window, shrink-window, maximize-window)
8509         (minimize-window, delete-window, quit-restore-window)
8510         (split-window, balance-windows, balance-windows-area-adjust)
8511         (balance-windows-area, window-state-put-2)
8512         (display-buffer-even-window-sizes, display-buffer-set-height)
8513         (display-buffer-set-width, set-window-text-height)
8514         (fit-window-to-buffer): Rename all "resize-window" prefixed
8515         calls to use the "window-resize" prefix convention.
8516         (display-buffer-alist): Fix symbol for label specifier.
8517         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8518         corresponding specifier.
8519         Reported by Juanma Barranquero <lekktu@gmail.com>.
8521 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8523         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8524         convention.
8525         (ses-call-printer): Does not pass an empty string to formatter when the
8526         cell is empty to keep from barking printer Calc math-format-value.
8528 2011-06-27  Richard Stallman  <rms@gnu.org>
8530         * battery.el (battery-mode-line-limit): New variable.
8531         (battery-update): Handle it.
8533         * mail/rmailmm.el (rmail-mime-process-multipart):
8534         Handle truncated messages.
8536 2011-06-27  Glenn Morris  <rgm@gnu.org>
8538         * progmodes/flymake.el (flymake-err-line-patterns):
8539         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
8541 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8543         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8544         (ses--clean-!, ses--clean-_): New functions.
8545         (ses-range): Add configurability of readout order, and conversion
8546         to Calc vector.
8548         * ses.el (ses-repair-cell-reference-all): New function.
8549         (ses-cell-symbol): Set macro as safe, so that it can be used in
8550         formulas.
8552         * ses.el: Update cycle detection algorithm.
8553         (ses-localvars): Add ses--Dijkstra-attempt-nb and
8554         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8555         (ses-set-localvars): New function.
8556         (ses-make-cell): Add property-list as a cell element.
8557         (ses-cell-property-get-fun, ses-cell-property-get)
8558         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8559         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8560         New functions.
8561         (ses-cell-property-set, ses-cell-property-pop)
8562         (ses-cell-property-get-handle): New macro.
8563         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8564         New aliases, used for code readability.
8565         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8566         cycle detection.
8567         (ses-self-reference-early-detection): New defcustom.
8568         (ses-formula-references): Robustify against self-referring cells.
8569         (ses-mode): Use ses-set-localvars.
8570         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8571         before lauching the update processing.
8572         (ses-initialize-Dijkstra-attempt): New function.
8573         (ses-recalculate-cell): Update for cycle detection based on
8574         Dijkstra algorithm.
8576         * ses.el: Fix commenting and indenting convention.
8578 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8580         * bs.el (bs-cycle-next): Complete last change.
8582 2011-06-27  Drew Adams  <drew.adams@oracle.com>
8584         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8586 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8588         * net/network-stream.el (network-stream-open-starttls):
8589         Don't re-get capabilities unless we've reestablished connection.
8590         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8592         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8593         to binary to possibly avoid line encoding issues on Windows (among
8594         other things).
8596 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8598         * net/network-stream.el (open-network-stream): Return an :error
8599         saying what the problem was, if possible.
8601         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8602         server.
8604         * net/network-stream.el (network-stream-open-starttls): If we
8605         wanted to use STARTTLS, and the server offered it, but we weren't
8606         able to because we had no STARTTLS support, then close the connection.
8607         (open-network-stream): Return an :error element, if present.
8609 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8611         * hl-line.el (hl-line-sticky-flag): Doc fix.
8612         (global-hl-line-sticky-flag): New option (Bug#8323).
8613         (global-hl-line-highlight): Obey it.
8615         * vc/vc.el (vc-revert-show-diff): Default to t.
8617 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
8619         * allout-widgets.el (allout-widgets-post-command-business):
8620         Stop decorating intermediate isearch matches.  They're not being
8621         undecorated when an isearch is continued past, and isearch
8622         automatically collapses them.  This leads to "widget leaks", where
8623         decorated items accumulate in collapsed areas.  Lines with lots of
8624         hidden widgets can slow down cursor travel, substantially.
8625         Too much complicated machinery would be needed to ensure undecoration,
8626         so we're doing without this nicety.
8628         (allout-widgets-tally-string): Don't try to do a hash-table-count
8629         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
8630         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8631         *Messages* when allout-widgets-maintain-tally is t.
8633 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
8635         * window.el (display-buffer-normalize-argument): Rename to
8636         display-buffer-normalize-arguments.  Handle special meaning of
8637         LABEL argument.  Respect special-display-function when popping up
8638         a new frame.  Fix code searching for a window showing the buffer
8639         on another frame.
8640         (display-buffer-normalize-specifiers):
8641         Call display-buffer-normalize-arguments.
8642         (display-buffer-in-window): Don't undedicate the window if its
8643         buffer remains the same.
8644         Reported by Drew Adams <drew.adams@oracle.com>.
8645         (display-buffer-alist): Add choice for same-window macro
8646         specfier.
8647         (display-buffer): Mention special meaning of LABEL argument in
8648         doc-string.  Fix quoting.  Don't pop up a new frame even as
8649         fallback.
8651 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
8653         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8654         avoid deleting the current window in some cases (bug#8911).
8656 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
8658         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8659         (Bug#8934)
8661 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8663         * net/network-stream.el (network-stream-open-starttls):
8664         Use built-in TLS support if `gnutls-available-p' is true.
8665         (network-stream-open-tls): Ditto.
8667 2011-06-26  Leo Liu  <sdl.web@gmail.com>
8669         * register.el (registerv): New struct.
8670         (registerv-make): New function.
8671         (jump-to-register, describe-register-1, insert-register):
8672         Support the jump-func, print-func and insert-func slot of a registerv
8673         struct.  (Bug#8415)
8675 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8677         * vc/vc.el (vc-revert-show-diff): New defcustom.
8678         (vc-diff-internal): New arg specifying diff buffer.
8679         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
8680         reuse an existing *vc-diff* buffer (Bug#8927).
8682         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8684 2011-06-26  Glenn Morris  <rgm@gnu.org>
8686         * progmodes/f90.el (f90-critical-indent): New option.
8687         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8688         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8689         (f90-mode): Doc fix.
8690         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8691         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8692         (f90-beginning-of-block, f90-next-block, f90-indent-region)
8693         (f90-match-end): Handle block, critical.
8695 2011-06-25  Glenn Morris  <rgm@gnu.org>
8697         * calendar/diary-lib.el (diary-included-files): Doc fix.
8698         (diary-include-files): New function, extracted from
8699         diary-include-other-diary-files and diary-mark-included-diary-files.
8700         (diary-include-other-diary-files, diary-mark-included-diary-files):
8701         Just call diary-include-files.
8702         (diary-mark-entries): Reset diary-included-files on first call.
8704         * calendar/diary-lib.el (diary-mark-entries)
8705         (diary-mark-included-diary-files):
8706         Visit included diary-files in temp buffers.
8708         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8709         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8710         (f90-start-block-re, f90-imenu-generic-expression)
8711         (f90-looking-at-program-block-start, f90-no-block-limit):
8712         Add support for submodules.
8714         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8715         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8717 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
8719         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8720         buffer-file-type before setting its value, to avoid disastrous
8721         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
8723 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8725         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8727         * ses.el (ses-unload-function):
8728         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8730         * proced.el (proced-unload-function):
8731         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8733 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8735         * server.el (server-create-window-system-frame): Add parameters arg.
8736         (server-process-filter): Doc fix.  Handle frame-parameters.
8738 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8740         Fix bug#8730, bug#8781.
8742         * loadhist.el (unload--set-major-mode): New function.
8743         (unload-feature): Use it.
8745         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8746         (python-unload-function): New function.
8748 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8750         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8752 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8754         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8755         the candidates list.
8757 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8759         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8761 2011-06-23  Richard Stallman  <rms@gnu.org>
8763         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8764         (rmail-variables): Set next-error-move-function.
8765         (rmail-what-message): Take argument POS.
8766         (rmail-next-error-move): New function.
8768 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8770         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8771         messages for adjacent non-terminals.
8773 2011-06-23  Richard Stallman  <rms@gnu.org>
8775         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8776         (rmail-show-message-1): Preserve buffer modified flag.
8777         (rmail-start-mail): Don't specify use of rmail-mail-return;
8778         that's done by mail-bury now.
8779         (rmail-mail-return): Handle arg NEWBUF.
8781 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8783         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8784         SIZE is a number.
8786 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8788         * window.el (get-lru-window, get-mru-window)
8789         (get-largest-window): Never return a minibuffer window.
8790         (display-buffer-pop-up-window): Fix a bug that could lead to
8791         reusing the minibuffer window.
8792         (display-buffer): Pass original specifier argument to
8793         display-buffer-function instead of the normalized one.
8794         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8796 2011-06-22  Leo Liu  <sdl.web@gmail.com>
8798         * minibuffer.el (completing-read-function)
8799         (completing-read-default): Move from minibuf.c
8801 2011-06-22  Richard Stallman  <rms@gnu.org>
8803         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8804         to Rmail even if not started by a special Rmail command.
8806         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8807         Copy the buffer currently showing just one message.
8809 2011-06-22  Roland Winkler  <winkler@gnu.org>
8811         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8812         (bibtex-clean-entry): First delete the old key so that a
8813         customized algorithm for generating the new key does not get
8814         confused by the old key.
8815         (bibtex-url): Obey regexp of first step.
8816         (bibtex-search-entries): Do not use add-to-list with local
8817         list-var.
8819 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8821         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8822         stored a user name, then query for the password first, instead of
8823         waiting for SMTP to give an error message and the trying again.
8825 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8827         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8828         BUFFER in call-process.
8830 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8832         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8833         QUIT twice.
8834         (smtpmail-try-auth-methods): Require user name and password from
8835         auth-source.
8837 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8839         * window.el (display-buffer-default-specifiers)
8840         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8841         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8842         (split-window): Normalize SIDE argument (Bug#8916).
8844         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8845         (special-display-frame-alist, special-display-popup-frame):
8846         Remove duplicate declarations.  These are now in window.el.
8848 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8850         * mail/smtpmail.el (smtpmail-via-smtp):
8851         Set :use-starttls-if-possible so that we always use STARTTLS if the
8852         server supports it.  SMTP servers that support STARTTLS commonly
8853         require it.
8855         * net/network-stream.el (network-stream-open-starttls): Support
8856         upgrading to STARTTLS always, even if we don't have built-in support.
8857         (open-network-stream): Add the :always-query-capabilities keyword.
8859         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8860         upgrades with `open-network-stream', and rely solely on
8861         auth-source for all credentials.  Big changes throughout the file,
8862         but in particular:
8863         (smtpmail-auth-credentials): Remove.
8864         (smtpmail-starttls-credentials): Remove.
8865         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8866         MAIL FROM, too.
8868         * net/network-stream.el (network-stream-open-starttls):
8869         Provide support for client certificates both for external and built-in
8870         STARTTLS.
8871         (auth-source): Require.
8872         (open-network-stream): Document the :client-certificate keyword.
8873         (network-stream-certificate): Change cert-cert to cert and
8874         cert-key to key.
8876 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8878         * net/tramp-cache.el (top): Don't load the persistency file when
8879         "emacs -Q" has been called.
8881 2011-06-21  Tim Harper  <timcharper@gmail.com>
8883         * term/ns-win.el (ns-initialize-window-system):
8884         Set application-specific `ApplePressAndHoldEnabled' system
8885         resource to NO as it is not yet supported by the NS port.
8887 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8889         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8890         (list-dynamic-libraries): ...not here.
8892 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8894         * subr.el (sha1): Implement sha1 using secure-hash.
8896 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8898         * window.el (display-buffer-alist): In default value do not
8899         enforce searching a window on any but the selected frame.
8900         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8901         (display-buffer-select-window): Remove function.
8902         (display-buffer-in-window): When a window on another frame gets
8903         reused, do not select it any more but just raise its frame if
8904         necessary (Bug#8851) and (Bug#8856).
8905         (display-buffer-normalize-options): Handle pop-up-frames related
8906         options more faithfully.
8907         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8908         window if it is on another frame.
8909         (display-buffer-alist, display-buffer-default-specifiers):
8910         Don't make new frame unsplittable by default.
8911         (display-buffer-normalize-argument): Fix doc-string typo and use
8912         'same-frame-other-window instead of 'other-window when associating
8913         with display-buffer-macro-specifiers.
8915 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8917         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8918         New functions.
8919         (5x5-mode-map, 5x5-mode-menu): Bind them.
8920         (5x5-draw-grid): Tweak the solver's rendering.
8922 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8924         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8925         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8927 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8929         * menu-bar.el: Use function variable instead of switch-to-buffer.
8930         (menu-bar-select-buffer-function): New variable.
8931         (menu-bar-update-buffers): Use it (bug#8876).
8933 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8935         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8936         variable's status.
8938 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8940         * x-dnd.el (x-dnd-version-from-flags)
8941         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8942         and long as number (Bug#8899).
8943         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8945 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8948         (completion-try-completion, completion-all-completions): Compute the
8949         metadata argument if it's missing; make it optional (bug#8795).
8951         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8952         (widget-complete): Use new :completion-function property.
8953         (widget-completions-at-point): New function.
8954         (default): Use :completion-function instead of :complete.
8955         (widget-default-completions): Rename from widget-default-complete;
8956         Rewrite.
8957         (widget-string-complete, widget-file-complete, widget-color-complete):
8958         Remove functions.
8959         (file, symbol, function, variable, coding-system, color):
8960         * international/mule-cmds.el (default-input-method, charset)
8961         (language-info-custom-alist):
8962         * cus-edit.el (face): Use new property :completions.
8964         * progmodes/pascal.el (pascal-completions-at-point): New function.
8965         (pascal-mode): Use it.
8966         (pascal-mode-map): Use completion-at-point.
8967         (pascal-toggle-completions): Make obsolete.
8968         (pascal-complete-word, pascal-show-completions):
8969         * progmodes/octave-mod.el (octave-complete-symbol):
8970         Redefine as obsolete alias.
8971         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8972         Signal absence of completion info for old Octave,
8973         (inferior-octave-complete): Redefine as obsolete alias.
8974         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8975         (meta-completions-at-point): Rename from meta-complete-symbol and
8976         adapt it for use on completion-at-point-functions.
8977         (meta-common-mode): Use it.
8978         (meta-looking-at-backward, meta-match-buffer): Remove.
8979         (meta-complete-symbol): Redefine as obsolete alias.
8980         (meta-common-mode-map): Use completion-at-point.
8981         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8982         (makefile-mode-map): Use completion-at-point.
8983         (makefile-completions-at-point): Rename from makefile-complete and
8984         adapt it for use on completion-at-point-functions.
8985         (makefile-mode): Use it.
8986         (makefile-complete): Redefine as obsolete alias.
8988 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8990         * net/rcirc.el: Delete trailing whitespaces once and for all.
8992 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8994         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8996 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8998         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9000         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9002 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
9004         * window.el (display-buffer-other-window-means-other-frame):
9005         Call display-buffer-normalize-alist.
9006         (display-buffer-normalize-specifiers-1): Rename to
9007         display-buffer-normalize-argument.  New argument other-frame.
9008         Rewrite.
9009         (display-buffer-normalize-specifiers-2): Rename to
9010         display-buffer-normalize-options.
9011         (display-buffer-normalize-alist-1): New function.
9012         (display-buffer-normalize-specifiers-3): Rename to
9013         display-buffer-normalize-alist.
9014         Call display-buffer-normalize-alist-1.
9015         (display-buffer-normalize-options-inhibit): New variable.
9016         (display-buffer-normalize-specifiers): Rewrite calling
9017         display-buffer-normalize-alist,
9018         display-buffer-normalize-argument, and
9019         display-buffer-normalize-options.  Don't call the latter if
9020         display-buffer-normalize-options-inhibit is non-nil.
9021         (frame-auto-delete): New option.
9022         (window-deletable-p): Use frame-auto-delete.
9023         (window-list-no-nils, window-state-ignored-parameters)
9024         (window-state-get-1, window-state-get, window-state-put-list)
9025         (window-state-put-1, window-state-put-2, window-state-put):
9026         New functions.
9027         (display-buffer-normalize-options): Move special-display-p group
9028         after pop-up-frame group (Bug#8851) and (Bug#8856).
9030 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9032         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9033         groups (Bug#8776).
9034         (rx-submatch-n): New function.
9035         (rx): Document it.
9037         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9038         (Bug#8768).
9040         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9042         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9044         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9045         anytime existing face settings are present (Bug#8889).
9047         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9048         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9049         Remove unused argument.
9051 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9053         * window.el (display-buffer-default-specifiers):
9054         Remove pop-up-frame.  Add pop-up-window-min-height,
9055         pop-up-window-min-width, and another reuse-window specifier
9056         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9057         (display-buffer-normalize-specifiers-2):
9058         Handle split-height-threshold and split-width-threshold also when
9059         pop-up-windows is unset.  Add a reuse-window specifier for the
9060         case popping up a new window fails.
9061         (special-display-popup-frame): Remove double quoting.
9062         (display-buffer-normalize-specifiers-1): Fix thinko.
9064 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9066         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9067         according to comint-completion-addsuffix.
9069         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9070         (pcomplete-suffix-list): Mark as obsolete.
9071         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9072         pcomplete-seen in the closure.
9073         (pcomplete-comint-setup): Setup completion-at-point as well.
9074         (pcomplete--entries): New function.
9075         (pcomplete--env-regexp): New var.
9076         (pcomplete-entries): Rewrite to work with partial-completion and
9077         without relying on pcomplete-suffix-list.
9078         (pcomplete-pare-list): Remove, unused.
9080 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9082         * window.el (display-buffer-alist): Set pop-up-window-min-height
9083         and pop-up-window-min-width in default value.  Reported by
9084         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9085         other-window-means-other-frame.
9086         (display-buffer-macro-specifiers): Comment out entry for
9087         other-window specifier.
9088         (display-buffer-other-window-means-other-frame): New function.
9089         (display-buffer-normalize-specifiers-1): New arguments
9090         buffer-name and label.  Treat other-window case specially.
9091         (display-buffer-normalize-specifiers-2): Treat other-window case
9092         specially.
9093         (display-buffer-normalize-specifiers-3): New function.
9094         (display-buffer-normalize-specifiers):
9095         Call display-buffer-normalize-specifiers-3.
9097 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9099         * window.el (same-window-p): Fix two typos introduced when
9100         adding with-no-warnings.
9101         (display-buffer-normalize-specifiers-1): Don't check
9102         pop-up-frames for 'unset initialization.
9103         (display-buffer-normalize-specifiers-2): Major rewrite using
9104         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9105         (pop-up-frames, display-buffer-reuse-frames)
9106         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9107         Suggested by David Engster <deng@randomsample.de>.
9108         (even-window-heights): Initialize to 'unset.
9109         (display-buffer-alist-set): Handle new 'unset initializations.
9110         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9111         other window case.
9113 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9115         * window.el (display-buffer-normalize-specifiers-1):
9116         Respect current value of pop-up-frames for most reasonable values of
9117         second argument of display-buffer (Bug#8865).
9118         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9119         (switch-to-buffer-other-window-same-frame)
9120         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9121         Adams (Bug#8875).
9122         (display-buffer): Don't check noninteractive when calling
9123         display-buffer-pop-up-frame.
9124         (display-buffer-pop-up-frame): Never pop up a frame in
9125         noninteractive mode (Bug#8857).
9126         (enlarge-window, shrink-window): Don't report an error when the
9127         window can't be resized as requested (Bug#8862).
9129 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9131         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9133         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9135         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9137 2011-06-15  Alan Mackenzie  <acm@muc.de>
9139         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9140         for declarators, disable knr checking to speed up for normal files.
9141         2: Refactor, replacing a sequence of nested if forms by a cond form.
9143 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9145         * net/network-stream.el (open-network-stream): Add the keyword
9146         :always-query-capabilities for the case where you want to force a
9147         `plain' network connection, but the protocol still requires the
9148         capabilitiy command (i.e., SMTP and EHLO).
9150         * subr.el (process-live-p): Rename from `process-alive-p' for
9151         consistency with other `-live-p' functions.
9153 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9155         * window.el (same-window-buffer-names, same-window-regexps)
9156         (special-display-frame-alist, special-display-popup-frame)
9157         (special-display-function, special-display-buffer-names)
9158         (special-display-regexps, pop-up-frame-alist)
9159         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9160         (pop-up-windows, split-window-preferred-function)
9161         (split-height-threshold, split-width-threshold, even-window-heights)
9162         (display-buffer-mark-dedicated): Don't encourage the use of
9163         display-buffer-alist from Elisp code.
9165 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
9167         * progmodes/python.el (python-mode): Derive from prog-mode.
9168         * progmodes/ps-mode.el (ps-mode):
9169         * progmodes/mixal-mode.el (mixal-mode):
9170         * progmodes/cfengine.el (cfengine-mode):
9171         * progmodes/ld-script.el (ld-script-mode): Likewise.
9173 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
9175         * window.el (display-buffer-alist): Trim default value to avoid
9176         popping up a new frame (Bug#8857) or reusing an arbitrary window
9177         on another frame.
9178         (display-buffer): Do not fall back on popping up a new frame in
9179         batch mode (Bug#8857).
9181 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
9183         * cus-theme.el (describe-theme-1): Use custom-theme-p.
9184         (custom-theme-summary): New function.
9185         (customize-themes): Use it.
9187 2011-06-13  Glenn Morris  <rgm@gnu.org>
9189         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9191 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
9193         * help.el (help-window): Remove variable.
9194         (help-window-point-marker, temp-buffer-max-height)
9195         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9196         (help-print-return-message): Don't set help-window.
9197         (resize-temp-buffer-window): Rewrite cod eand doc-string.
9198         (help-window-setup-finish): Remove.
9199         (help-window-display-message, help-window-setup)
9200         (with-help-window): Major rewrite based on new
9201         display-buffer-window variable.
9203         * help-mode.el (help-mode-finish): Remove help-window related
9204         code.
9206         * view.el (view-exits-all-viewing-windows): Remove reference to
9207         view-return-to-alist in doc-string.
9208         (view-return-to-alist): Make obsolete.
9209         (view-buffer): Call pop-to-buffer-same-window and remove
9210         undo-window code.
9211         (view-buffer-other-window): Call pop-to-buffer-other-window and
9212         simplify code.  Ignore second argument.
9213         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9214         simplify code.  Ignore second argument.
9215         (view-return-to-alist-update): Make obsolete.
9216         (view-mode-enter): Rename second argument to QUIT-RESTORE.
9217         Rewrite using quit-restore window parameters.
9218         (view-mode-exit): Rename second argument to EXIT-ONLY.
9219         Rewrite using quit-restore-window.
9220         (View-exit, View-exit-and-edit, View-leave, View-quit)
9221         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9222         appropriate arguments.
9223         (view-end-message): Use quit-restore window parameter.
9225         * window.el (display-buffer-function): Rewrite doc-string.
9226         (display-buffer-window, display-buffer-alist): New variables.
9227         (display-buffer-split-specifiers)
9228         (display-buffer-side-specifiers)
9229         (display-buffer-macro-specifiers): New constants.
9230         (display-buffer-even-window-sizes, display-buffer-set-height)
9231         (display-buffer-set-width, display-buffer-select-window)
9232         (display-buffer-in-window, display-buffer-reuse-window)
9233         (display-buffer-split-window-1, display-buffer-split-window)
9234         (display-buffer-split-atom-window, display-buffer-pop-up-window)
9235         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9236         (display-buffer-in-side-window, normalize-buffer-to-display)
9237         (display-buffer-normalize-specifiers-1)
9238         (display-buffer-normalize-specifiers-2)
9239         (display-buffer-normalize-specifiers, display-buffer-frame):
9240         New functions.
9241         (display-buffer): Major rewrite.
9242         (display-buffer-other-window, display-buffer-other-frame)
9243         (pop-to-buffer, switch-to-buffer-other-window)
9244         (switch-to-buffer-other-frame): Rewrite.
9245         (display-buffer-same-window, display-buffer-same-frame)
9246         (display-buffer-same-frame-other-window)
9247         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9248         (pop-to-buffer-other-window)
9249         (pop-to-buffer-same-frame-other-window)
9250         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9251         (switch-to-buffer-other-window-same-frame): New functions.
9252         (same-window-p, special-display-p): Rewrite disabling warnings.
9253         Make obsolete.
9254         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9255         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9256         Make obsolete
9257         (same-window-buffer-names, same-window-regexps)
9258         (special-display-frame-alist, special-display-popup-frame)
9259         (special-display-function, special-display-buffer-names)
9260         (special-display-regexps, pop-up-frame-alist)
9261         (pop-up-frame-function, split-window-preferred-function)
9262         (split-height-threshold, split-width-threshold)
9263         (even-window-heights): Make obsolete.
9265 2011-06-12  Glenn Morris  <rgm@gnu.org>
9267         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
9268         Misc simplifications.
9270 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
9272         * window.el (window-safely-shrinkable-p): Restore function which
9273         was inadvertently removed in change from 2011-06-11.  Declare as
9274         obsolete.
9276         * calendar/calendar.el (calendar-generate-window):
9277         Use window-iso-combined-p instead of combination of one-window-p and
9278         window-safely-shrinkable-p.
9280 2011-06-12  Glenn Morris  <rgm@gnu.org>
9282         * progmodes/fortran.el (fortran-mode-syntax-table):
9283         * progmodes/f90.el (f90-mode-syntax-table):
9284         Set % to punctuation.  (Bug#8820)
9285         (f90-find-tag-default): Remove, no longer needed.
9287 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
9289         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9291 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
9293         * image.el (image-animated-p): Return animation delay in seconds.
9294         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9295         (image-animate-timeout): Remove DELAY argument.  Don't assume
9296         every subimage has the same delay; get it from image-animated-p.
9297         (image-animate): Caller changed.
9299 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
9301         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9302         to ignored backtrace functions.
9304 2011-06-11  Glenn Morris  <rgm@gnu.org>
9306         * calendar/appt.el (appt-disp-window-function): Doc fix.
9307         (appt-check): Handle overlapping appointments.  (Bug#8337)
9309 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
9311         * window.el (window-tree-1, window-tree): New functions, moving
9312         the latter to window.el.
9313         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9314         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9315         (bw-refresh-edges): Remove.
9316         (balance-windows-1, balance-windows-2): New functions.
9317         (balance-windows): Rewrite in terms of window tree functions,
9318         balance-windows-1 and balance-windows-2.
9319         (bw-adjust-window): Remove.
9320         (balance-windows-area-adjust): New function with functionality of
9321         bw-adjust-window but using resize-window.
9322         (set-window-text-height): Rewrite doc-string.
9323         Use normalize-live-window and resize-window.
9324         (enlarge-window-horizontally, shrink-window-horizontally):
9325         Rename argument to DELTA.
9326         (window-buffer-height): New function.
9327         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9328         Rewrite using new window resize routines.
9329         (kill-buffer-and-window, mouse-autoselect-window-select):
9330         Use ignore-errors instead of condition-case.
9331         (quit-window): Call delete-frame instead of delete-windows-on
9332         for the only buffer on frame.
9334 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9336         * loadup.el (top-level): Load window before files for the sake
9337         of replace-buffer-in-windows.
9339         * files.el (read-buffer-to-switch)
9340         (switch-to-buffer-other-window)
9341         (switch-to-buffer-other-frame, display-buffer-other-frame):
9342         Move to window.el.
9344         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9345         (previous-buffer): Move to window.el.
9347         * bindings.el (unbury-buffer): Move to window.el.
9349         * window.el (delete-other-windows-vertically): Move after
9350         definition of delete-other-windows.
9351         (other-window, delete-windows-on, replace-buffer-in-windows):
9352         Move here from window.c.
9353         (record-window-buffer, unrecord-window-buffer)
9354         (set-window-buffer-start-and-point, switch-to-prev-buffer)
9355         (switch-to-next-buffer): New functions.
9356         (get-next-valid-buffer, last-buffer, next-buffer): Move here
9357         from simple.el.  Call switch-to-next-buffer.
9358         (previous-buffer): Move here from simple.el.
9359         Call switch-to-prev-buffer.
9360         (bury-buffer): Move here from buffer.c.  Switch to previous
9361         buffer when window cannot be deleted.
9362         (unbury-buffer): Move here from bindings.el.
9363         (ctl-x-map): Move binding for other-window from window.c to
9364         here.
9365         (read-buffer-to-switch, switch-to-buffer-other-window)
9366         (switch-to-buffer-other-frame): Move here from files.el.
9367         (normalize-buffer-to-switch-to): New functions.
9368         (switch-to-buffer): Move here from buffer.c.
9369         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9371 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9373         * window.el (window-min-height, window-min-width): Move here
9374         from window.c.  Add defcustoms and rewrite doc-strings.
9375         (resize-mini-window, resize-window): New functions.
9376         (adjust-window-trailing-edge, enlarge-window, shrink-window):
9377         Move here from window.c.
9378         (maximize-window, minimize-window): New functions.
9379         (delete-window, delete-other-windows, split-window): Move here
9380         from window.c.
9381         (window-split-min-size): New function.
9382         (split-window-keep-point): Mention split-window-above-each-other
9383         instead of split-window-vertically.
9384         (split-window-above-each-other, split-window-vertically):
9385         Rename split-window-vertically to split-window-above-each-other
9386         and provide defalias for old definition.
9387         (split-window-side-by-side, split-window-horizontally):
9388         Rename split-window-horizontally to split-window-side-by-side
9389         and provide defalias for the old definition.
9390         (ctl-x-map): Move bindings for delete-window,
9391         delete-other-windows and enlarge-window here from window.c.
9392         Replace bindings for split-window-vertically and
9393         split-window-horizontally by bindings for
9394         split-window-above-each-other and split-window-side-by-side.
9396         * cus-start.el (all): Remove entries for window-min-height and
9397         window-min-width.  Add entries for window-splits and
9398         window-nest.
9400 2011-06-09  Glenn Morris  <rgm@gnu.org>
9402         * calendar/appt.el (appt-mode-line): New function.
9403         (appt-check, appt-disp-window): Use it.
9405         * files.el (hack-one-local-variable-eval-safep):
9406         Allow minor-modes with explicit +/-1 arguments.
9408 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
9410         * term/xterm.el (xterm): Add defgroup.
9411         (xterm-extra-capabilities): Add defcustom to supply known xterm
9412         capabilities, skip querying them, or query them (default).
9413         (terminal-init-xterm): Use it.
9414         (terminal-init-xterm-modify-other-keys): New function to set up
9415         modifyOtherKeys support to simplify `terminal-init-xterm'.
9417 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
9419         * window.el (resize-window-reset, resize-window-reset-1)
9420         (resize-subwindows-skip-p, resize-subwindows-normal)
9421         (resize-subwindows, resize-other-windows, resize-this-window)
9422         (resize-root-window, resize-root-window-vertically)
9423         (window-deletable-p, window-or-subwindow-p)
9424         (frame-root-window-p): New functions.
9426 2011-06-09  Glenn Morris  <rgm@gnu.org>
9428         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9429         (ange-ftp-get-files): Use it.
9431 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9433         * mail/sendmail.el (mail-recover-1, mail-recover):
9434         * files.el (recover-file, recover-session):
9435         Handle dired-listing-switches not being just a single short option.
9437 2011-06-09  Glenn Morris  <rgm@gnu.org>
9439         * calendar/appt.el (appt-display-message, appt-disp-window):
9440         Handle lists of appointments.
9442 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9444         * window.el (one-window-p): Move down in code.
9445         Rewrite doc-string.
9446         (window-current-scroll-bars): Rewrite doc-string.
9447         Normalize live window argument.
9448         (walk-windows, get-window-with-predicate, count-windows):
9449         Rewrite doc-string.  Use window-list-1.
9450         (window-in-direction-2, window-in-direction, get-mru-window):
9451         New functions.
9453 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
9455         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9456         Doc fix (Bug#8713).
9458 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
9460         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9462 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
9464         * loadhist.el (unload-feature-special-hooks):
9465         Add `comint-output-filter-functions'.
9467 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
9469         * calendar/appt.el (appt-check): Move some initializations into the let.
9471 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9473         * window.el (window-height): Defalias to window-total-height.
9474         (window-width): Defalias to window-body-width.
9476 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
9478         * image-mode.el (image-toggle-animation): New command.
9479         (image-mode-map): Bind it to RET.
9480         (image-mode): Update message.
9481         (image-toggle-display-image): Avoid a spurious cache flush.
9482         (image-transform-rotation): Doc fix.
9483         (image-transform-properties): Return quickly in the normal case.
9484         (image-animate-loop): Rename from image-animate-max-time.
9486         * image.el (image-animate-max-time): Move to image-mode.el.
9487         (create-animated-image): Remove unnecessary function.
9488         (image-animate): Rename from image-animate-start.  New arg.
9489         (image-animate-stop): Remove; just use image-animate-timer.
9490         (image-animate-timer): Use car-safe.
9491         (image-animate-timeout): Rename argument.
9493 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
9495         * window.el (get-lru-window, get-largest-window): Move here from
9496         window.c.  Rename first argument to ALL-FRAMES.
9497         Rephrase doc-strings.
9498         (get-buffer-window-list): Rewrite using window-list-1.
9499         Rephrase doc-string.
9500         (window-safe-min-height, window-safe-min-width): New constants.
9501         (window-size-ignore, window-min-size, window-min-size-1)
9502         (window-sizable, window-sizable-p, window-size-fixed-1)
9503         (window-size-fixed-p, window-min-delta-1, window-min-delta)
9504         (window-max-delta-1, window-max-delta, window-resizable)
9505         (window-resizable-p, window-total-height, window-total-width)
9506         (window-body-width): New functions.
9507         (window-full-height-p, window-full-width-p): Rewrite using
9508         window-total-size.
9509         (window-body-height): Rewrite using window-body-size.
9511 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
9513         * window.el (window-right, window-left, window-child)
9514         (window-child-count, window-last-child, window-any-p)
9515         (normalize-live-buffer, normalize-live-frame)
9516         (normalize-any-window, normalize-live-window)
9517         (window-iso-combination-p, window-iso-combined-p)
9518         (window-iso-combinations)
9519         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9520         (windows-with-parameter, window-with-parameter)
9521         (window-atom-root, make-window-atom, window-atom-check-1)
9522         (window-atom-check, window-side-check, window-check):
9523         New functions.
9524         (ignore-window-parameters, window-sides, window-sides-vertical)
9525         (window-sides-slots): New variables.
9526         (window-size-fixed): Move down in code.  Minor doc-string fix.
9528 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
9530         * comint.el (comint-dynamic-complete-as-filename)
9531         (comint-dynamic-complete-filename): Correctly call
9532         completion-in-region.
9534 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9536         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9537         in last change.
9539 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9541         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9542         (rcirc): Use it to prompt for encryption.
9544 2011-06-05  Roland Winkler  <winkler@gnu.org>
9546         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9547         (bibtex-search-entries): New command bound to C-c C-a.
9548         (bibtex-display-entries): New function.
9550 2011-06-05  Roland Winkler  <winkler@gnu.org>
9552         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9553         (bibtex-insert-kill): After yanking insert newline if necessary.
9554         (bibtex-initialize): Call bibtex-string-files-init only once.
9555         (bibtex-mode): Do not call easy-menu-add.
9556         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9557         (bibtex-yank): Set arg properly if nil.
9559 2011-06-05  Roland Winkler  <winkler@gnu.org>
9561         * textmodes/bibtex.el (bibtex-search-entry-globally):
9562         New variable.
9563         (bibtex-search-entry): Use it.
9565 2011-06-05  Roland Winkler  <winkler@gnu.org>
9567         * textmodes/bibtex.el (bibtex-entry-format): New option
9568         sort-fields.
9569         (bibtex-format-entry, bibtex-reformat): Honor this option.
9570         (bibtex-parse-entry): Return fields in proper order.
9572 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
9574         * doc-view.el (doc-view-remove-if): Move computation of result out
9575         of `dolist' to silence misleading lexical-binding warning.
9577 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
9579         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9580         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9582 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9584         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9585         "SunOS 5.10".
9587 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9589         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9590         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9591         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9592         (tramp-parse-putty):
9593         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9594         (tramp-completion-function-alist-ssh)
9595         (tramp-completion-function-alist-telnet)
9596         (tramp-completion-function-alist-su)
9597         (tramp-completion-function-alist-putty): Set `tramp-autoload'
9598         cookie.
9600         * net/tramp-ftp.el:
9601         * net/tramp-sh.el:
9602         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9603         load "tramp.el" `tramp-set-completion-function'.
9605 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9607         * shell.el: Require and use pcomplete.
9608         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9609         (shell-completion-vars): Set pcomplete-default-completion-function.
9611 2011-06-04  Deniz Dogan  <deniz@dogan.se>
9613         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9614         `memq' (Bug#8799).
9616 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9620 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
9622         * bs.el (bs--mark-unmark, bs--nth-wrapper):
9623         * mpc.el (mpc-select-extend, mpc-songpointer-context):
9624         * vc/log-view.el (log-view-beginning-of-defun):
9625         * vc/smerge-mode.el (smerge-apply-resolution-patch)
9626         (smerge-refine-forward, smerge-refine-chopup-region):
9627         Silence warning for unused `dotimes' counter variables.
9629 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9631         * net/tramp.el (tramp-with-progress-reporter): Rename from
9632         with-progress-reporter.  Use `declare'.
9633         * net/tramp-smb.el:
9634         * net/tramp-sh.el:
9635         * net/tramp-gvfs.el: Update all uses.
9637 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
9639         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9640         buffer isn't killed before making it current.
9642 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         Silence various byte-compiler warnings.
9645         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9646         `access-type' and new obsolescence format.
9647         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9648         new format.
9649         (byte-compile-check-variable): New `access-type' argument.
9650         Only warn if the access-type is obsolete.
9651         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9652         (byte-compile-variable-set): Adjust callers.
9653         * help-fns.el (describe-variable): Adjust to new obsolescence format.
9654         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9655         setting it as obsolete.
9656         * simple.el (minibuffer-completing-symbol):
9657         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9658         access as obsolete.
9659         * minibuffer.el (minibuffer-completing-file-name): Don't make it
9660         obsolete yet.
9661         * international/quail.el (quail-mouse-choose-completion): Remove unused
9662         code referring to obsolete var.
9663         (quail-choose-completion-string): Remove.
9664         * server.el (server-clients-with, server-kill-buffer-query-function)
9665         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9666         * proced.el (proced-send-signal):
9667         * emacs-lisp/lisp.el (lisp-complete-symbol):
9668         Replace completion-annotate-function with completion-extra-properties.
9670 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9672         * simple.el (goto-line): Use read-number.
9673         (overriding-map-is-bound): Remove.
9674         (saved-overriding-map): Change default.
9675         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9676         Take the map as argument.
9677         (universal-argument, negative-argument, digit-argument): Use it.
9678         (restore-overriding-map): Adjust.
9679         (do-auto-fill): Use fill-forward-paragraph.
9680         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9682         * minibuffer.el (minibuffer-inactive-mode-map): New var.
9683         (minibuffer-inactive-mode): New major mode.
9684         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9685         the *Messages* buffer" hack.
9686         (mouse-popup-menubar): Don't burp if the event is a normal key.
9688         Miscellaneous tweaks.
9689         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9690         lexical scoping as in subr.el's dolist and dotimes.
9691         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9692         Silence compiler warning.
9693         * thingatpt.el (forward-whitespace): Trivial coding style fix.
9694         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9695         * international/ccl.el (ccl-compile): Trivial simplification.
9696         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9697         * emacs-lisp/testcover.el (testcover-end): Remove spurious
9698         `printflag' argument.
9699         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9700         Purecopy the whole obsolescence data.
9702 2011-06-01  Leo Liu  <sdl.web@gmail.com>
9704         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9705         improve doc-string as suggested by Marco Pessotto
9706         <melmothx@gmail.com>.
9707         (rcirc-print): Fix last change.
9709 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9711         * minibuffer.el (complete-with-action): Return nil for the metadata and
9712         boundaries of non-functional tables.
9713         (completion-table-dynamic): Return nil for the metadata.
9714         (completion-table-with-terminator): Add default case, using
9715         complete-with-action.
9716         (completion--metadata): New function.
9717         (completion-all-sorted-completions, minibuffer-completion-help): Use it
9718         to try and avoid pathological performance problems.
9719         (completion--embedded-envvar-table): Return `category' metadata.
9721 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9723         * subr.el (process-alive-p): New tiny convenience function.
9725 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9727         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9728         content but also its previous major mode.
9730 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
9732         * emacs-lisp/debug.el (debug): Restore the previous content of the
9733         *Backtrace* buffer when we exit with C-M-c.
9735 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9737         * minibuffer.el: Add metadata method to completion tables.
9738         (completion-category-overrides): New defcustom.
9739         (completion-metadata, completion--field-metadata)
9740         (completion-metadata-get, completion--styles)
9741         (completion--cycle-threshold): New functions.
9742         (completion-try-completion, completion-all-completions):
9743         Add `metadata' argument to choose completion-styles.
9744         (completion--do-completion): Use metadata to choose cycling.
9745         (completion-all-sorted-completions): Use metadata for sorting.
9746         Remove :completion-cycle-penalty which is not needed any more.
9747         (completion--try-word-completion): Add `metadata' argument.
9748         (minibuffer-completion-help): Check metadata for annotation function
9749         and sorting.
9750         (completion-file-name-table): Return `category' metadata.
9751         (minibuffer-completing-file-name): Make obsolete.
9752         * simple.el (minibuffer-completing-symbol): Make obsolete.
9753         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9754         completion-try-completion.
9756 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9758         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9760 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9762         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9763         (rcirc-print): Decode all incoming messages (bug#8744).
9764         (rcirc-decode-coding-system): Allow value nil for automatic coding
9765         system detection.
9767 2011-06-01  Glenn Morris  <rgm@gnu.org>
9769         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9771 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9773         * image.el (image-animate-max-time): Allow nil and t values.
9774         Default to nil.
9775         (create-animated-image): Doc fix.
9776         (image-animate-start): Remove second arg; just use
9777         image-animate-max-time.
9778         (image-animate-timeout): Doc fix.  Args changed.
9780         * image-mode.el (image-toggle-display-image): Ensure that the
9781         image spec passed to the animate timer is the same object as in
9782         the buffer's display property (Bug#6981).
9783         (image-transform-properties): Doc fix.
9785         * image.el (image-animate-max-time): Default to nil.
9787 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9789         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9790         entire buffer list (Bug#8184).
9792 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9794         * image.el (imagemagick-types-inhibit)
9795         (imagemagick-register-types): Doc fix.
9797 2011-05-29  Deniz Dogan  <deniz@dogan.se>
9799         * net/rcirc.el (rcirc): Use the user's stored encryption method by
9800         default.
9802 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9804         * select.el: Don't perform clipboard-manager saving in hooks;
9805         leave the hooks empty.
9807 2011-05-28  Leo Liu  <sdl.web@gmail.com>
9809         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9810         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9811         (occur-edit-mode): New major mode (Bug#8463).
9812         (occur-after-change-function): New function.
9813         (occur-engine): Give Occur tags a read-only property.
9815 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9817         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9819 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9821         * bindings.el (help-echo): Make the initial non-indicator dash
9822         empty on graphical terminals (Bug#7295).
9824         * files.el (auto-mode-alist): Move config rule after the
9825         in-stripping one (Bug#8547).
9827         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9829         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9830         setting (Bug#8740).
9832 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9834         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9835         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9836         (Bug#8539).
9838 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9840         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9842 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9844         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9845         (hs-hide-block-at-point, hs-find-block-beginning)
9846         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9847         (Bug#8279).
9849 2011-05-28  Glenn Morris  <rgm@gnu.org>
9851         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9853 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9855         * help-fns.el (describe-function-1): If the function is a derived
9856         major mode, print the parent mode.
9858         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9859         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9861 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9863         * minibuffer.el (completion--capf-wrapper): Check applicability before
9864         returning non-nil for non-exclusive completion data.
9865         * progmodes/etags.el (tags-completion-at-point-function):
9866         * info-look.el (info-lookup-completions-at-point): Mark as
9867         non-exclusive.
9868         (info-complete): Adjust accordingly.
9870         * info-look.el: Convert to lexical-binding and completion-at-point.
9871         (info-lookup-completions-at-point): New function.
9872         (info-complete): Use it and completion-in-region.
9874 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9876         * isearch.el: Let M-e start with point at the first mismatched char.
9877         (isearch-fail-pos): New function.
9878         (isearch-edit-string): Use it.
9880 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9882         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9884 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9886         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9887         traversal functions for avl-trees.
9888         (avl-tree--stack): New struct.
9889         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9890         (avl-tree-enter): Add optional `updatefun' arg.
9891         (avl-tree--do-enter): Add optional `updatefun' arg.
9892         Change return value.
9893         (avl-tree-delete): Add optional `test' and `nilflag' args.
9894         (avl-tree--do-delete): Add `test' and `nilflag' args.
9895         Change return value.
9896         (avl-tree-member): Add optional `nilflag'
9897         (avl-tree-member-p): New function.
9898         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9899         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9900         (avl-tree-stack-empty-p): New functions.
9902         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9903         avl-tree--del-balance1 and make it work both ways.
9904         (avl-tree--del-balance2): Remove.
9905         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9906         make it work both ways.
9907         (avl-tree--enter-balance2): Remove.
9908         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9909         New macros.
9910         (avl-tree--mapc, avl-tree-map): Add direction argument.
9912 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9914         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9916 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9918         * select.el: Support clipboard managers with built-in function
9919         x-clipboard-manager-save, via delete-frame-functions and
9920         kill-emacs-hook.
9921         (xselect-convert-to-targets): Add MULTIPLE target to list.
9922         (xselect-convert-to-save-targets): New function.
9924 2011-05-27  Kenichi Handa  <handa@m17n.org>
9926         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9927         let-binding rfc2047-encode-encoded-words to nil.
9929 2011-05-27  Glenn Morris  <rgm@gnu.org>
9931         * mail/emacsbug.el: Don't require url-util.
9933         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9935         * files.el (set-auto-mode):
9936         Also respect mode: entries at the end of the file.  (Bug#8586)
9938 2011-05-26  Glenn Morris  <rgm@gnu.org>
9940         * files.el (hack-local-variables-prop-line, hack-local-variables):
9941         Downcase mode names, as seems to be traditional.
9942         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9944         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9945         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9947 2011-05-25  Julien Danjou  <julien@danjou.info>
9949         * textmodes/rst.el (rst-define-level-faces): Do not define face
9950         symbol if it is already defined.
9952 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9954         * play/5x5.el (5x5-new-game, 5x5-randomize):
9955         Reset 5x5-solver-output to nil when a new grid is cast.
9956         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9957         these debugging traces, as defmacro breaks the compiled code.
9959 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9961         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9963 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9965         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9966         (vc-bzr-sha1): Adapt.
9968         * sha1.el: Remove.  Function `sha1' is now builtin.
9970         * bindings.el: Provide sha1 feature.
9972 2011-05-24  Kenichi Handa  <handa@m17n.org>
9974         * mail/sendmail.el: Require `rfc2047'.
9975         (mail-insert-from-field): Do not perform RFC2047 encoding.
9976         (mail-encode-header): New function.
9977         (sendmail-send-it): Set buffer-file-coding-system of the work
9978         buffer to the return value of select-message-coding-system.
9979         Call mail-encode-header.
9981         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9983 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9985         * mail/supercite.el (sc-default-cite-frame):
9986         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9988 2011-05-24  Glenn Morris  <rgm@gnu.org>
9990         * progmodes/python.el (brm-menu): Declare.
9992         * emulation/viper.el (viper-set-hooks): Declare.
9994         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9995         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9996         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9997         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9998         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9999         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10001 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10003         Add an :exit-function for completion-at-point.
10005         * minibuffer.el (completion--done): New fun.
10006         (completion--do-completion): Use it.  New arg `expect-exact'.
10007         (minibuffer-complete, minibuffer-complete-word): Don't output message,
10008         since completion--do-completion does it for us now.
10009         (minibuffer-force-complete): Use completion--done and
10010         completion--replace.  Handle sole-completion case with more care.
10011         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10012         (completion-extra-properties): New var.
10013         (completion-annotate-function): Make obsolete.
10014         (minibuffer-completion-help): Adjust accordingly.
10015         Use completion-list-insert-choice-function.
10016         (completion-at-point, completion-help-at-point):
10017         Bind completion-extra-properties.
10018         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10019         * simple.el (completion-list-insert-choice-function): New var.
10020         (completion-setup-function): Preserve it.
10021         (choose-completion): Pay attention to it, shuffle the code a bit.
10022         (choose-completion-string): New arg `insert-function'.
10024         * textmodes/bibtex.el: Convert to lexical binding.
10025         (bibtex-mode-map): Use completion-at-point.
10026         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10027         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10028         (bibtex-complete): Define as obsolete alias.
10029         (bibtex-complete-internal): Remove.
10030         (bibtex-format-entry): Remove unused sub-group in regexp.
10031         * shell.el (shell--command-completion-data)
10032         (shell-environment-variable-completion):
10033         * pcomplete.el (pcomplete-completions-at-point):
10034         * comint.el (comint--complete-file-name-data): Use :exit-function
10035         instead of completion-table-with-terminator so it also works for
10036         choose-completion.
10038 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10040         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10042         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10043         (bug#8710).
10045         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10047 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10049         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10050         customization variable and implement: If non-nil, auto-fill will
10051         be inhibited while on topic's header line.
10053 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10055         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10056         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10057         always have a solution in grid size = 5 cases.
10058         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10059         (5x5-solver-output, 5x5-log-buffer): New vars.
10060         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10061         Make these variables buffer local to achieve 5x5 multi-session-ness.
10062         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10063         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10064         (5x5-solve-suggest): New funs.
10065         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10066         randomize a grid so that we ensure that there is always a solution.
10067         (5x5-make-random-grid): Allow other movement than flipping.
10069 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10071         * emacs-lisp/advice.el (ad-read-advised-function):
10072         Use `function-called-at-point' as the default, if it has
10073         advice and passes PREDICATE.
10075 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10077         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10078         byte-compile-lambda if it's actually a lambda.
10080         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10081         Fix function quoting.  Use backquote better.
10083 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10085         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10086         matching (Bug#8516).
10088 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10090         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10091         different face (Bug#8178).
10093 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10095         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10096         defface (Bug#8144).
10098 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10100         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10101         funcall as well (bug#8712).  Warn when performing those conversions.
10102         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10104         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10106 2011-05-22  Glenn Morris  <rgm@gnu.org>
10108         * files.el (hack-local-variables-prop-line): Small simplifications.
10109         (hack-local-variables, hack-local-variables-prop-line):
10110         If MODE-ONLY, return the mode, rather than just `t'.
10112 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10114         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10116 2011-05-21  Glenn Morris  <rgm@gnu.org>
10118         * files.el (hack-local-variables-prop-line, hack-local-variables):
10119         If only interested in the mode, don't bother doing the other stuff.
10121         * image-mode.el (image-after-revert-hook):
10122         Redraw all frames on which the image is visible.  (Bug#8567)
10124         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10126         * wid-edit.el (widget-checklist-match-inline):
10127         Fix 2011-04-19 change.  (Bug#8649)
10129 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10131         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10132         Also allow singlespace after single-letter capitals followed by a dot.
10134         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10135         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10137 2011-05-20  Nix  <nix@esperi.org.uk>
10139         * files.el (basic-save-buffer-2):
10140         Fix handling of break-hardlink-on-save with non-existent files.
10142 2011-05-19  Deniz Dogan  <deniz@dogan.se>
10144         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10145         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10147 2011-05-19  Glenn Morris  <rgm@gnu.org>
10149         * progmodes/f90.el (f90-type-def-re):
10150         Handle "type, bind(c)".  (Bug#8691)
10152         * emacs-lisp/autoload.el (batch-update-autoloads):
10153         Set autoload-excludes by parsing loadup.el rather than Makefiles.
10155 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
10157         * net/tramp.el (tramp-process-actions): Set "first-password-request"
10158         property for the correct connection in case of multihops.
10160 2011-05-18  Glenn Morris  <rgm@gnu.org>
10162         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10163         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10165         Rationalize calendar handling of day and month abbrev-arrays.
10166         * calendar/calendar.el (calendar-customized-p): New function.
10167         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10168         (calendar-day-name-array, calendar-month-name-array): Doc fix.
10169         Add :set function.
10170         (calendar-abbrev-length, calendar-day-abbrev-array)
10171         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10172         (calendar-day-abbrev-array, calendar-month-abbrev-array):
10173         Elements may no longer be nil.
10174         (calendar-day-name, calendar-month-name):
10175         Update for changed nature of abbrev arrays.
10176         * calendar/diary-lib.el (diary-name-pattern):
10177         Update for changed nature of abbrev arrays.
10178         (diary-mark-entries-1): Update calendar-make-alist calls.
10179         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10180         * calendar/cal-html.el (cal-html-day-abbrev-array):
10181         Simply inherit from calendar-day-abbrev-array.
10183 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * progmodes/grep.el (grep-mode): Disable default
10186         compilation-directory-matcher setting (bug#8684).
10188 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
10190         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10191         instead of "head" and "tail".  There were problems with SunOS 5.9,
10192         and it performs better.
10194 2011-05-17  Glenn Morris  <rgm@gnu.org>
10196         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10198         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10199         Replace obsolete function.
10201         * shell.el (pcomplete-parse-arguments-function): Declare.
10203         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10204         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10205         (appt-check): Doc fixes.
10206         (appt-disp-window-function, appt-delete-window-function):
10207         Remove needless special case in custom :type.
10208         (appt-display-count): Default to 0, not nil.
10209         (appt-check): Reset appt-display-count to 0, not nil.
10211 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
10213         * progmodes/python.el (python-font-lock-keywords):
10214         Add the Python 3.X keyword "nonlocal" (bug#8639).
10216 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10218         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10220 2011-05-16  Kevin Ryde  <user42@zip.com.au>
10222         * info-look.el (makefile-automake-mode): New setups, looking in
10223         automake manual, then makefile-mode.
10224         (makefile-mode): Remove automake manual, have it just in
10225         makefile-automake-mode since there's various things different or
10226         not relevant to plain make.
10227         (makefile-mode): Remove "other-modes" non-existent automake-mode,
10228         believe a hypothetical automake-mode would go to makefile-mode,
10229         not the other way around.
10231 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
10233         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10234         hunk-end tags (Bug#8672).
10236         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10237         vc-annotate-show-diff-revision-at-line (Bug#8671).
10239 2011-05-14  Glenn Morris  <rgm@gnu.org>
10241         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10242         in the middle of an existing one with multiple authors.  (Bug#8645)
10243         (change-log-font-lock-keywords): Also handle multiple author lines
10244         with leading tabs.  (Bug#8644)
10246         * calendar/appt.el (appt-check): Rename some local variables.
10247         Some simplification/reordering.
10249         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10250         (feedmail-sendmail-f-doesnt-sell-me-out)
10251         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10252         (feedmail-debug-sit-for, feedmail-queue-express-hook)
10253         (feedmail-queue-runner-message-sender): Set :version.
10254         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10255         (bbdb-dwim-net-address, vm-mail): Declare.
10256         (feedmail-binmail-gnulinuxish-template):
10257         Rename from feedmail-binmail-linuxish-template.
10258         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10259         Use insert-buffer-substring.
10261 2011-05-14  Bill Carpenter  <bill@carpenter.org>
10263         * mail/feedmail.el (feedmail-patch-level): Increase.
10264         (feedmail-debug): New custom group.
10265         (feedmail-confirm-outgoing-timeout)
10266         (feedmail-sendmail-f-doesnt-sell-me-out)
10267         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10268         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10269         (feedmail-sender-line, feedmail-from-line)
10270         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10271         (feedmail-spray-this-address)
10272         (feedmail-spray-address-fiddle-plex-list)
10273         (feedmail-queue-use-send-time-for-date)
10274         (feedmail-queue-use-send-time-for-message-id)
10275         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10276         (feedmail-buffer-eating-function):
10277         Doc fixes.
10278         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10279         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10280         (feedmail-message-action-scroll-down): New functions.
10281         (feedmail-queue-directory, feedmail-queue-draft-directory):
10282         Use expand-file-name.
10283         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10284         Remove C-v help entry.
10285         (feedmail-queue-buffer-file-name): New variable.
10286         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10287         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10288         (feedmail-message-action-send-strong, feedmail-message-action-edit)
10289         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10290         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10291         (feedmail-message-action-toggle-spray)
10292         (feedmail-run-the-queue-no-prompts)
10293         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10294         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10295         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10296         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10297         (feedmail-envelope-deducer, feedmail-fiddle-from)
10298         (feedmail-fiddle-sender, feedmail-default-date-generator)
10299         (feedmail-fiddle-date, feedmail-fiddle-message-id)
10300         (feedmail-fiddle-spray-address)
10301         (feedmail-fiddle-list-of-spray-fiddle-plexes)
10302         (feedmail-fiddle-list-of-fiddle-plexes)
10303         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10304         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10305         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10306         Change default.  Doc fix.
10307         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10308         (feedmail-binmail-linuxish-template): New constant.
10309         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
10310         Respect feedmail-sendmail-f-doesnt-sell-me-out.
10311         (feedmail-send-it): Add debug call.
10312         Use feedmail-queue-buffer-file-name, and
10313         feedmail-send-it-immediately-wrapper.
10314         (feedmail-message-action-send): Add debug call.
10315         Use feedmail-send-it-immediately-wrapper.
10316         (feedmail-queue-express-to-queue): Add debug call.
10317         Run feedmail-queue-express-hook.
10318         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
10319         (feedmail-message-action-help-blat):
10320         Rename from feedmail-queue-send-edit-prompt-help-first.
10321         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
10322         Check line-endings.  Handle errors better.
10323         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10324         Doc fix.  Add debug call.
10325         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
10326         Use feedmail-queue-send-edit-prompt-inner.
10327         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10328         (feedmail-queue-send-edit-prompt-inner): New function, extracted
10329         from feedmail-queue-send-edit-prompt.
10330         (feedmail-queue-send-edit-prompt-help)
10331         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10332         (feedmail-tidy-up-slug): Add debug call.
10333         Respect feedmail-queue-slug-suspect-regexp.
10334         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10335         (feedmail-dump-message-to-queue): Add debug call.
10336         Expand queue-directory.
10337         (feedmail-dump-message-to-queue): Change message slightly.
10338         Use feedmail-say-chatter.
10339         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
10340         (feedmail-send-it-immediately-wrapper): New function.
10341         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
10342         Insert empty string rather than newline.  Handle full-frame case.
10343         Use catch/throw.  Use feedmail-say-chatter.
10344         (feedmail-fiddle-from): Try mail-host-address.
10345         (feedmail-default-message-id-generator): Doc fix.
10346         Bind system-time-locale.  Handle missing end.
10347         (feedmail-fiddle-x-mailer): Add debug call.
10348         Handle feedmail-x-mailer-line being nil.
10349         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10350         Add debug call.  Use buffer-substring-no-properties.
10351         (feedmail-say-debug, feedmail-say-chatter): New functions.
10352         (feedmail-find-eoh): Give an explicit error.
10354 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
10356         * net/newst-treeview.el (newsticker-treeview-face): Change default
10357         family from helvetica to sans.
10358         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10359         etc/images/newsticker.
10361         * net/newst-reader.el (newsticker-feed-face): Change default
10362         family from helvetica to sans.
10364         * net/newst-plainview.el (newsticker-new-item-face)
10365         (newsticker-old-item-face, newsticker-immortal-item-face)
10366         (newsticker-obsolete-item-face, newsticker-date-face)
10367         (newsticker-statistics-face): Change default family from
10368         helvetica to sans.
10369         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10370         etc/images/newsticker.
10372         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10373         (newsticker--process-auto-mark-filter-match): : Tell user about
10374         auto-marking.
10376 2011-05-13  Didier Verna  <didier@xemacs.org>
10378         Common Lisp indentation improvements on defmethod and lambda-lists.
10379         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10380         TODO entries.
10381         (lisp-lambda-list-keyword-parameter-indentation)
10382         (lisp-lambda-list-keyword-parameter-alignment)
10383         (lisp-lambda-list-keyword-alignment): New customizable user options.
10384         (lisp-indent-defun-method): Improve docstring.
10385         (extended-loop-p): Fix comment.
10386         (lisp-indent-lambda-list-keywords-regexp): New variable.
10387         (lisp-indent-lambda-list): New function.
10388         (lisp-indent-259): Use it.
10389         (lisp-indent-defmethod): Support for more than one
10390         method qualifier and properly indent methods lambda-lists.
10391         (defgeneric): Provide a missing common-lisp-indent-function property.
10393 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10395         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10396         bounds for the empty string (bug#8667).
10398 2011-05-13  Glenn Morris  <rgm@gnu.org>
10400         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10402         * mail/sendmail.el (sendmail-program): Try executable-find first.
10403         (sendmail-send-it): `sendmail-program' cannot be unbound.
10405         * calendar/appt.el (appt-make-list): Simplify.
10406         (appt-time-msg-list): Doc fix.
10407         (appt-check): Change mode-line message at the time of the appointment.
10409 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10411         * progmodes/ld-script.el (ld-script-keywords)
10412         (ld-script-builtins): Update keywords list.
10414 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10416         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10418         * shell.el (shell-completion-vars): New function.
10419         (shell-mode):
10420         * simple.el (read-shell-command): Use it.
10421         (blink-matching-open): No need for " [...]" in minibuffer-message.
10423 2011-05-12  Glenn Morris  <rgm@gnu.org>
10425         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10426         (appt-check): Simplify.
10428 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
10430         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10431         literal "/dev/null".
10433 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10435         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10436         Fix typo.
10438 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
10440         * progmodes/which-func.el (which-function):
10441         Use add-log-current-defun instead of add-log-current-defun-function,
10442         which might not be defined (Bug#8260).
10444 2011-05-12  Glenn Morris  <rgm@gnu.org>
10446         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10447         Let byte-compile-initial-macro-environment always take precedence.
10449 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10451         * net/rcirc.el: Add support for SSL/TLS connections.
10452         (rcirc-server-alist): New field `encryption'.
10453         (rcirc): Check `encryption' settings.
10454         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
10455         Merge make-local-variable into `set'.
10456         (rcirc--connection-open-p): New function.
10457         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10458         the process is not a network process (e.g. running gnutls-cli).
10459         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10460         Make rcirc-(en|de)code-coding-system local here.
10461         (rcirc-mode): Merge make-local-variable into `set'.
10462         (rcirc-parent-buffer): Make permanent buffer-local.
10463         (rcirc-multiline-minor-mode): Don't do it here.
10464         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10465         there's no server buffer.
10467 2011-05-11  Glenn Morris  <rgm@gnu.org>
10469         * newcomment.el (comment-kill): Prefix "unused" local.
10471         * term/w32console.el (get-screen-color): Declare.
10473         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10474         Handle symbol elements of byte-compile-initial-macro-environment.
10476 2011-05-10  Leo Liu  <sdl.web@gmail.com>
10478         * bookmark.el (bookmark-bmenu-mode-map):
10479         Bind bookmark-bmenu-search to `/'.
10481         * mail/footnote.el: Convert to utf-8 encoding.
10482         (footnote-unicode-string, footnote-unicode-regexp): New variable.
10483         (Footnote-unicode): New function.
10484         (footnote-style-alist): Add unicode style to the list.
10485         (footnote-style): Doc fix.
10487 2011-05-10  Jim Meyering  <meyering@redhat.com>
10489         Fix doubled-word typos.
10490         * international/quail.el (quail-insert-kbd-layout): and and -> and
10491         * kermit.el: and and -> and
10492         * net/ldap.el (ldap-search-internal): to to -> to
10493         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10494         * progmodes/js.el (js-mode): and and -> and
10495         * textmodes/artist.el (artist-move-to-xy): at at -> at
10496         (artist-draw-region-trim-line-endings): if if -> if
10497         And Safetyc -> Safety.
10498         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10500 2011-05-10  Glenn Morris  <rgm@gnu.org>
10501             Stefan Monnier  <monnier@iro.umontreal.ca>
10503         * files.el (hack-one-local-variable-eval-safep):
10504         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
10506 2011-05-10  Glenn Morris  <rgm@gnu.org>
10508         * calendar/diary-lib.el (diary-list-entries-hook)
10509         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10510         (diary-nongregorian-marking-hook, diary-list-entries)
10511         (diary-include-other-diary-files, diary-mark-entries)
10512         (diary-mark-included-diary-files): Doc fixes.
10514 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10516         * misc.el: Require tabulated-list.el during compilation.
10518 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10520         * progmodes/compile.el (compilation-start):
10521         Run compilation-filter-hook for the async case too.
10522         (compilation-filter-hook): Doc fix.
10524 2011-05-09  Deniz Dogan  <deniz@dogan.se>
10526         * wdired.el: Remove outdated installation comment.  Fix usage
10527         comment.
10529 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10531         * misc.el: Implement new command `list-dynamic-libraries'.
10532         (list-dynamic-libraries--loaded-only-p): New variable.
10533         (list-dynamic-libraries--refresh): New function.
10534         (list-dynamic-libraries): New command.
10536 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10538         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10539         Fix the ant regexp to handle end-line and end-column info from jikes.
10540         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
10541         higher priority to avoid clobbering by gnu.
10543 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10545         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10546         if the face has existing theme settings (Bug#8454).
10548 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
10550         * progmodes/perl-mode.el (perl-imenu-generic-expression):
10551         Only match variables declared via `my' or `our' (Bug#8261).
10553         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10554         special file names `.' and `..' (Bug#8259).
10556 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10558         * progmodes/grep.el (grep-mode-font-lock-keywords):
10559         Remove buffer-changing entries.
10560         (grep-filter): New function.
10561         (grep-mode): Add it to compilation-filter-hook.
10563         * progmodes/compile.el (compilation-filter-hook)
10564         (compilation-filter-start): New defvars.
10565         (compilation-filter): Call compilation-filter-hook prior to
10566         updating the process mark.
10568 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10570         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10572 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
10574         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10575         mailclient-send-it even if window-system is nil.  (Bug#8595)
10577         * term/w32console.el (terminal-init-w32console):
10578         Call get-screen-color and use its output to set the frame
10579         background-mode.  (Bug#8597)
10581 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10583         Make bytecomp.el understand that defmethod defines funs (bug#8631).
10584         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10585         New functions.
10586         (defgeneric, eieio--defmethod): Use them.
10587         (eieio-defgeneric): Remove.
10588         (defmethod): Call defgeneric in a way visible to the byte-compiler.
10590 2011-05-07  Glenn Morris  <rgm@gnu.org>
10592         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10593         Use let rather than let*.
10594         (timeclock-find-discrep): Remove unused local.
10596         * calendar/diary-lib.el (diary-comment-start): Doc fix.
10598         * calendar/appt.el (appt-time-msg-list): Doc fix.
10600 2011-05-06  Noah Friedman  <friedman@splode.com>
10602         * apropos.el (apropos-print-doc): Only use
10603         emacs-lisp-docstring-fill-column when it is bound to an integer,
10604         per that variable's documentation.
10606 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10608         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10609         and warnings are not silently discarded (e.g. use -d instead of -P).
10611 2011-05-06  Glenn Morris  <rgm@gnu.org>
10613         * calendar/appt.el (appt-message-warning-time): Doc fix.
10614         (appt-warning-time-regexp): New option.
10615         (appt-make-list): Respect appt-message-warning-time.
10617         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10618         New options.
10619         (diary-add-to-list): Strip comments from the displayed string.
10620         (diary-mode): Set comment-start and comment-end.
10622         * vc/diff-mode.el (smerge-refine-subst): Declare.
10623         (diff-refine-hunk): Don't require smerge-mode when compiling.
10625 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
10627         * simple.el (list-processes): Return nil as the docstring says.
10629 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10631         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10632         to "".
10633         (ange-ftp-write-region, ange-ftp-insert-file-contents)
10634         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10635         determining of binary transfer.  (Bug#7383)
10637 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10639         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10640         Fix port computation bug.  (Bug#8618)
10642 2011-05-05  Glenn Morris  <rgm@gnu.org>
10644         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10646         * simple.el (shell-dynamic-complete-functions)
10647         (comint-dynamic-complete-functions): Declare.
10649         * net/network-stream.el (gnutls-negotiate):
10650         * simple.el (tabulated-list-print): Fix declarations.
10652         * progmodes/gud.el (syntax-symbol, syntax-point):
10653         Remove unnecessary and incorrect declarations.
10655         * emacs-lisp/check-declare.el (check-declare-scan):
10656         Handle byte-compile-initial-macro-environment in bytecomp.el
10658 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10660         Fix earlier half-done eieio-defmethod change (bug#8338).
10661         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10662         Streamline and change calling convention.
10663         (defmethod): Adjust accordingly and simplify.
10664         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10665         new eieio--defmethod.
10666         (slot-boundp): Minor CSE simplification.
10668 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
10670         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10671         (glasses-make-readable): Use glasses-separate-capital-groups.
10673 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
10675         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10676         (warning-series): Doc fix.
10677         (display-warning): Don't try to create the buffer if we just found it.
10679 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
10681         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10682         (autoload-find-generated-file): New function.
10683         (generate-file-autoloads): Bind generated-autoload-file to
10684         buffer-file-name.
10685         (update-file-autoloads, update-directory-autoloads):
10686         Use autoload-find-generated-file.  If called interactively, prompt for
10687         output file (Bug#7989).
10688         (batch-update-autoloads): Doc fix.
10690 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
10692         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10694 2011-05-04  Glenn Morris  <rgm@gnu.org>
10696         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10697         function, so it follows changes in calendar-date-style.
10698         (diary-fancy-date-matcher): New function.
10699         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10700         (diary-fancy-font-lock-fontify-region-function):
10701         Use diary-fancy-date-pattern as a function.
10703         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10704         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
10706 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
10708         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10709         instead of positional arguments.  Allow :keylist and :crlfiles
10710         arguments.
10711         (open-gnutls-stream): Call it.
10713         * net/network-stream.el (network-stream-open-starttls): Adjust to
10714         call `gnutls-negotiate' with :process and :hostname arguments.
10716 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10718         * minibuffer.el (completion--message): New function.
10719         (completion--do-completion, minibuffer-complete)
10720         (minibuffer-force-complete, minibuffer-complete-word): Use it.
10721         (completion--do-completion): Don't ignore completion-auto-help when in
10722         icomplete-mode.
10724         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10725         internal encoding (e.g. tibetan zero is not whitespace).
10726         (global-whitespace-mode): Prefer save-current-buffer.
10727         (whitespace-trailing-regexp): Remove useless save-match-data.
10728         (whitespace-empty-at-bob-regexp): Minor simplification.
10730 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
10732         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10734 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10736         * textmodes/ispell.el (ispell-add-per-file-word-list):
10737         Use `concat' to create string for insertion.
10739 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10741         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10742         Avoid open-line which runs post-self-insert-hook.
10743         (bibtex-fill-entry): Remove unused `end' var.
10745 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10747         * textmodes/ispell.el (ispell-add-per-file-word-list):
10748         Protect against `nil' value of `comment-start' (Bug#8579).
10750 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10752         * isearch.el (isearch-yank-pop): New command.
10753         (isearch-mode-map): Bind it to `M-y'.
10754         (isearch-forward): Mention it.
10756 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * simple.el (minibuffer-complete-shell-command): Remove.
10759         (minibuffer-local-shell-command-map): Use completion-at-point.
10760         (read-shell-command): Setup completion vars here instead.
10761         (read-expression-map): Bind TAB to symbol completion.
10763         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10764         error directly rather via storing it into `results'.
10766 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10768         * vc/diff.el: Fix description.
10770 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10772         * server.el (server-eval-at): New function.
10774 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10776         * net/network-stream.el (open-network-stream): Take a :nowait
10777         parameter and pass it on to `make-network-process'.
10778         (network-stream-open-plain): Ditto.
10780 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10782         * faces.el (face-spec-set-match-display): Don't match toolkit
10783         options on terminal frames.
10785 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10787         * progmodes/pascal.el: Use lexical binding.
10788         (pascal-mode-map): Remove author preferences.
10790         * pcomplete.el (pcomplete-std-complete): Don't abuse
10791         completion-at-point.
10793 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10795         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10796         removing code that has been dead since 1991 or so.
10798         * startup.el (command-line): When warning about "_emacs", use a
10799         delayed warning to allow the user to filter it out.
10801 2011-04-28  Deniz Dogan  <deniz@dogan.se>
10803         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10804         user has not joined.
10806 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10808         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10809         aren't any completions at point.
10811 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10813         * subr.el (display-delayed-warnings): New function.
10814         (delayed-warnings-hook): New variable.
10816 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10818         * minibuffer.el (completion-at-point, completion-help-at-point):
10819         Don't presume that a given completion-at-point-function will always
10820         use the same calling convention.
10822         * pcomplete.el (pcomplete-completions-at-point):
10823         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10824         pcomplete-seen is non-nil.
10825         (pcomplete-comint-setup): Also recognize the new comint/shell
10826         completion functions.
10827         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10828         pcomplete-seen is non-nil.
10830 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10832         * calendar/icalendar.el (diary-lib): Add require statement.
10833         (icalendar--create-uid): Read out a uid from a text-property on
10834         the first character in the entry.  This allows for code to add its
10835         own uid to the entry.
10836         (icalendar--convert-float-to-ical): Add export of
10837         `diary-float'-entries save for those with the optional DAY
10838         argument.
10840 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10842         * subr.el (shell-quote-argument): Use alternate escaping strategy
10843         when we spot a variable reference in a string.
10845 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10847         * cus-start.el (all): Define customization for debug-on-event.
10849 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10851         * subr.el (shell-quote-argument): Escape correctly under Windows.
10853 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10855         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10857 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10859         * net/tramp.el (tramp-process-actions): Add POS argument.
10860         Delete region between POS and (pos).
10862         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10863         Use `nil' position in `tramp-process-actions' call.
10864         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10866         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10867         position in `tramp-process-actions' call.
10869         * net/trampver.el: Update release number.
10871 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10873         * custom.el (defcustom): Obey lexical-binding.
10875         Fix octave-inf completion problems reported by Alexander Klimov.
10876         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10877         Inherit from octave-mode-syntax-table.
10878         (inferior-octave-mode): Set info-lookup-mode.
10879         (inferior-octave-completion-at-point): New function.
10880         (inferior-octave-complete): Use it and completion-in-region.
10881         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10882         comint-filename-completion.
10883         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10884         symbol elements which shouldn't be word elements.
10885         (octave-font-lock-keywords, octave-beginning-of-defun)
10886         (octave-function-header-regexp): Adjust regexps accordingly.
10887         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10889 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10891         * net/gnutls.el (gnutls-errorp): Declare before first use.
10893 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10895         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10896         verify-error, and verify-hostname-error parameters.  Check whether
10897         default trustfile exists before going to use it.  Add missing
10898         argument to gnutls-message-maybe call.  Return value.
10899         Reported by Claudio Bley <claudio.bley@gmail.com>.
10900         (open-gnutls-stream): Add usage example.
10902         * net/network-stream.el (network-stream-open-starttls): Give host
10903         parameter to `gnutls-negotiate'.
10904         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10905         * subr.el (shell-quote-argument): Escape correctly under Windows.
10907 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10909         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10910         Use correct match group (bug#8438).
10912 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10914         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10915         (package-menu--generate): New arg specifying packages to show.
10916         (package-menu-refresh, package-menu-execute, list-packages):
10917         Callers changed.
10918         (package-show-package-list): New function, replacing deleted
10919         package--list-packages (renamed because it is non-internal).
10921         * finder.el (finder-list-matches): Use package-show-package-list
10922         instead of deleted package--list-packages.
10924         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10925         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10926         (vc-annotate-mode-map): Bind it to RET.
10928 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10930         * progmodes/etags.el (next-file): Don't use set-buffer to change
10931         buffers (Bug#8478).
10933 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10935         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10937         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10938         (apropos-accumulator): Doc fix.
10939         (apropos-function, apropos-macro, apropos-command)
10940         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10941         (apropos-plist): Add face property.
10942         (apropos-symbols-internal): Fix indentation.
10943         (apropos-print): Simplify help, and recognize apropos-multi-type.
10944         (apropos-print-doc): Use button-type-get to extract the button's
10945         face property.  Fill docstring (Bug#8352).
10947 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10949         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10951         * play/mpuz.el (mpuz-silent): Doc fix.
10952         (mpuz-mode-map): Use mapc.
10953         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10954         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10955         Fix typos in docstrings.
10957         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10958         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10960         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10962 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10964         * minibuffer.el (completion--do-completion): Avoid the "Next char
10965         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10967         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10968         mouse-2 into unread-command-events, it is interpreted correctly.
10970         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10971         (image-toggle-display): Doc fix.
10973 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10975         * textmodes/page.el (what-page): Use line-number-at-pos to
10976         calculate line number (Bug#6825).
10978 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10980         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10981         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10982         Pass argument NO-DEFAULT to `find-tag-interactive'.
10984 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10986         Lexical-binding cleanup.
10988         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10989         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10990         * progmodes/ada-prj.el (ada-prj-initialize-values)
10991         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10992         (ada-prj-show-value):
10993         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10994         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10995         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10996         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10997         * progmodes/bug-reference.el (bug-reference-push-button):
10998         * progmodes/fortran.el (fortran-line-length):
10999         * progmodes/glasses.el (glasses-change):
11000         * progmodes/octave-mod.el (octave-fill-paragraph):
11001         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11002         (python-pdbtrack-grub-for-buffer, python-sentinel):
11003         * progmodes/sql.el (sql-save-connection):
11004         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11005         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11006         Mark unused parameters.
11008         * progmodes/compile.el (compilation--flush-directory-cache)
11009         (compilation--flush-parse, compile-internal): Mark unused parameters.
11010         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11011         (compilation-next-error-function): Remove unused variable `timestamp'.
11013         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11014         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11016         * progmodes/dcl-mode.el (dcl-end-of-command):
11017         Remove unused variable `start'.
11018         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11019         (dcl-option-value-basic, dcl-option-value-offset)
11020         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11021         Mark unused parameters.
11022         (dcl-save-local-variable): Remove unused variable `val'.
11023         (mode): Declare.
11025         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11026         Mark unused parameters.
11027         (delphi-ignore-changes): Move before first use.
11028         (delphi-charset-token-at): Remove unused variable `start'.
11029         (delphi-else-start): Remove unused variable `if-count'.
11030         (delphi-comment-block-start, delphi-comment-block-end):
11031         Remove unused variable `kind'.
11032         (delphi-indent-line): Remove unused variable `new-point'.
11034         * progmodes/ebrowse.el (ebrowse-files-list)
11035         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11036         Mark unused parameters.  Don't quote `lambda'.
11037         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11038         Don't quote `lambda'.
11039         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11040         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11041         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11042         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11043         Use `ignore-errors'.
11044         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11045         (ebrowse-view/find-file-and-search-pattern)
11046         (ebrowse-view/find-member-declaration/definition):
11047         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11048         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11049         Rename parameter PREFIX-ARG to PREFIX.
11050         (ebrowse-tags-read-name): Remove unused variables `start' and
11051         `member-info'.
11052         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11053         to `tags-file'.
11055         * progmodes/etags.el (local-find-tag-hook): Declare.
11056         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11057         Mark unused parameters.
11059         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11060         (executable-interpret): Mark unused parameter.
11062         * progmodes/flymake.el (flymake-process-sentinel)
11063         (flymake-after-change-function)
11064         (flymake-create-temp-with-folder-structure)
11065         (flymake-get-include-dirs-dot): Mark unused parameters.
11066         (flymake-safe-delete-directory): Remove unused variable `err'.
11068         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11069         (speedbar-timer-fn, speedbar-line-text)
11070         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11071         (speedbar-center-buffer-smartly): Declare functions.
11072         (gdb-find-watch-expression): Remove unused variable `array'.
11073         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11074         (gdb-starting): Mark unused parameters.
11075         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11076         (gdb-table-string): Remove unused variable `res'.
11077         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11078         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11079         (gdb-display-buffer): Remove unused variable `cur-size'.
11081         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11082         allow lexical-binding compilation.
11083         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11084         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11085         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11086         Mark unused parameters.
11087         (gud-gdb-marker-filter): Remove unused variable `match'.
11088         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11089         lambda expressions and funcall them, instead of using `fset'.
11091         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11092         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11094         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11095         variable `header-beg'; use `let'.
11097         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11098         `restart', `last-sexp' and `at-do'.
11100         * progmodes/js.el (js--debug): Mark unused parameter.
11101         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11102         (js--splice-into-items): Remove unused variable `item'.
11103         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11105         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11106         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11107         (makefile-complete): Remove unused variable `try'.
11108         (makefile-fill-paragraph, makefile-match-function-end):
11109         Mark unused parameters.
11111         * progmodes/octave-inf.el (inferior-octave-complete):
11112         Remove unused variable `proc'.
11113         (inferior-octave-output-digest): Mark unused parameter.
11115         * progmodes/perl-mode.el (perl-calculate-indent):
11116         Remove unused variable `err'.
11118         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11119         (prolog-indent-line): Mark unused parameters.
11120         (prolog-indent-line): Remove unused variable `beg'.
11122         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11123         (reporter-dont-compact-list): Declare.
11125         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11126         Remove unused variable `char'.
11127         (sh-debug): Mark unused parameter.
11128         (sh-get-indent-info): Remove unused variable `start'.
11129         (sh-calculate-indent): Remove unused variable `var'.
11131         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11132         (simula-electric-keyword): Remove unused variable `null'.
11133         (simula-search-backward, simula-search-forward): Remove unused
11134         variables `begin' and `end'.
11136         * progmodes/vera-mode.el (vera-guess-basic-syntax):
11137         Remove unused variable `pos'.
11138         (vera-electric-tab, vera-comment-uncomment-region):
11139         Mark unused parameters.
11140         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11142 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
11144         * emacs-lisp/package.el (package--builtins, package-alist)
11145         (package-load-descriptor, package-built-in-p, package-activate)
11146         (define-package, package-installed-p)
11147         (package-compute-transaction, package-buffer-info)
11148         (package--push): Doc fix.  Distinguish more clearly between
11149         version strings and version lists.
11151 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
11153         Lexical-binding cleanup.
11155         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11156         (5x5-make-mutate-best):
11157         * play/fortune.el (fortune-in-buffer):
11158         * play/gomoku.el (gomoku-init-display):
11159         * play/solitaire.el (solitaire, solitaire-do-check):
11160         * play/tetris.el (tetris-default-update-speed-function):
11161         Mark unused parameters.
11163         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11164         (bubbles--shift): Remove unused variable `char-org'.
11165         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
11166         (bubbles--show-images): Remove unused variable `char'.
11168         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11169         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11170         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11171         (decipher-analyze-buffer): Use ?\s.
11172         (decipher-make-checkpoint): Remove unused variable `mapping'.
11174         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11176         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11177         Remove unused variable `result'; use `let'.
11179         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11180         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11181         (gametree-children-shown-p, gametree-compute-reduced-score):
11182         Use `ignore-errors'.
11184         * play/handwrite.el (ps-lpr-switches): Declare.
11185         (handwrite): Remove unused variables `pmin' and `lastp'.
11187         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11189         * play/landmark.el (landmark-init-display)
11190         (landmark-update-naught-weights): Mark unused parameters.
11191         (landmark-y): Remove unused variable `noise'.  Simplify.
11192         (landmark-human-plays): Remove unused variable `score'.
11194         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11195         (mpuz-try-proposal): Remove unused variable `game'.
11197         * play/zone.el (life-patterns): Declare.
11199 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
11201         * vc/vc.el (ediff-vc-internal): Declare function.
11203 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11205         * shell.el: Use lexical-binding and std completion UI.
11206         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11207         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11208         comint-preoutput-filter-functions rather than on
11209         comint-output-filter-functions.
11210         (shell-command-completion, shell--command-completion-data)
11211         (shell-filename-completion, shell-environment-variable-completion)
11212         (shell-c-a-p-replace-by-expanded-directory): New functions.
11213         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11214         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11215         (shell-dynamic-complete-environment-variable): Use them.
11216         (shell-dynamic-complete-as-environment-variable)
11217         (shell-dynamic-complete-as-command): Remove.
11218         (shell-match-partial-variable): Match past point.
11219         * comint.el: Clean up use of completion-at-point-functions.
11220         (comint-completion-at-point): New function.
11221         (comint-mode): Use it completion-at-point-functions.
11222         (comint-dynamic-complete): Make it obsolete.
11223         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11224         (comint-c-a-p-replace-by-expanded-history): New function.
11225         (comint-dynamic-complete-functions)
11226         (comint-replace-by-expanded-history): Use it.
11227         * minibuffer.el (completion-table-with-terminator): Allow dynamic
11228         termination strings.  Try harder to avoid second try-completion.
11229         (completion-in-region-mode-map): Disable bindings that don't work yet.
11231         * comint.el: Use lexical-binding.  Require CL.
11232         (comint-dynamic-complete-functions): Use comint-filename-completion.
11233         (comint-completion-addsuffix): Tweak custom type.
11234         (comint-filename-completion, comint--common-suffix)
11235         (comint--common-quoted-suffix, comint--table-subvert)
11236         (comint--complete-file-name-data): New functions.
11237         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11238         (comint-dynamic-list-filename-completions): Use them.
11239         (comint-dynamic-simple-complete): Make obsolete.
11241         * minibuffer.el (completion-in-region-mode):
11242         Keep completion-in-region-mode--predicate global.
11243         (completion-in-region--postch):
11244         Assume completion-in-region-mode--predicate is not null.
11246         * progmodes/flymake.el (flymake-start-syntax-check-process):
11247         Obey `dir'.  Simplify.
11249         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11250         we're in VC after all.
11252 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
11254         * vc/vc.el (vc-diff-build-argument-list-internal)
11255         (vc-version-ediff, vc-ediff): New commands.
11256         (vc-version-diff): Use vc-diff-build-argument-list-internal.
11258 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11260         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11261         add sanity check.
11263         * obsolete/erc-hecomplete.el: Make obsolete.
11264         * obsolete/: Standardize obsolescence info in the header.
11266 2011-04-20  Glenn Morris  <rgm@gnu.org>
11268         * calendar/solar.el (solar-horizontal-coordinates):
11269         Use the longitude argument rather than `calendar-longitude'.
11270         (solar-date-next-longitude): Remove unused locals.
11272 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11274         * whitespace.el: New version 13.2.1.
11276 2011-04-20  felix  <EmacsWiki>  (tiny change)
11278         * whitespace.el (global-whitespace-mode): Keep highlight when
11279         switching between major modes on a file.
11281 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11283         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11284         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11285         multi-line comments as well.
11287 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
11289         Lexical-binding cleanup.
11291         * arc-mode.el (archive-mode-revert):
11292         * cmuscheme.el (scheme-interactively-start-process):
11293         * custom.el (custom-initialize-delay):
11294         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11295         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11296         * emacs-lock.el (emacs-lock-clear-sentinel):
11297         * ezimage.el (defezimage):
11298         * follow.el (follow-avoid-tail-recenter):
11299         * fringe.el (set-fringe-mode-1):
11300         * generic-x.el (bat-generic-mode-compile):
11301         * help-mode.el (help-info-variable, help-do-xref)
11302         (help-mode-revert-buffer):
11303         * help.el (view-emacs-todo):
11304         * iswitchb.el (iswitchb-completion-help):
11305         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11306         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11307         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11308         * locate.el (locate-update):
11309         * longlines.el (longlines-encode-region)
11310         (longlines-after-change-function):
11311         * outline.el (outline-isearch-open-invisible):
11312         * ps-def.el (declare-function, charset-dimension, char-width)
11313         (encode-char):
11314         * ps-mule.el (ps-mule-plot-string):
11315         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11316         (recentf-edit-list-select, recentf-edit-list-validate)
11317         (recentf-open-files-action):
11318         * rect.el (delete-whitespace-rectangle-line)
11319         (rectangle-number-line-callback):
11320         * register.el (window-configuration-to-register)
11321         (frame-configuration-to-register):
11322         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11323         * select.el (xselect-convert-to-string, xselect-convert-to-length)
11324         (xselect-convert-to-targets, xselect-convert-to-delete)
11325         (xselect-convert-to-filename, xselect-convert-to-charpos)
11326         (xselect-convert-to-lineno, xselect-convert-to-colno)
11327         (xselect-convert-to-os, xselect-convert-to-host)
11328         (xselect-convert-to-user, xselect-convert-to-class)
11329         (xselect-convert-to-name, xselect-convert-to-integer)
11330         (xselect-convert-to-atom, xselect-convert-to-identity):
11331         * subr.el (declare, ignore, process-kill-without-query)
11332         (text-clone-maintain):
11333         * terminal.el (te-get-char, te-tic-sentinel):
11334         * tool-bar.el (tool-bar-make-keymap):
11335         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11336         * type-break.el (type-break-mode, type-break-noninteractive-query):
11337         * view.el (View-back-to-mark):
11338         * wid-browse.el (widget-browse-action, widget-browse-widget)
11339         (widget-browse-widgets, widget-browse-sexp):
11340         * widget.el (define-widget-keywords):
11341         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11342         Mark unused parameters.
11344         * align.el (align-adjust-col-for-rule): Mark unused parameter.
11345         (align-areas): Remove unused variable `look'.
11346         (align-region): Remove unused variables `real-end' and `pos-list'.
11348         * apropos.el (apropos-score-doc): Remove unused variable `i'.
11350         * bindings.el (mode-line-modified, mode-line-remote):
11351         Mark unused parameters.
11352         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11354         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11355         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11357         * comint.el (comint-history-isearch-pop-state)
11358         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11359         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11360         (comint-substitute-in-file-name): Doc fix.
11362         * completion.el (cmpl-statistics-block): Mark unused parameter.
11363         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11364         (save-completions-to-file, load-completions-from-file):
11365         Remove unused local variable `e'.
11367         * composite.el (compose-chars): Remove unused variable `len'.
11368         (lgstring-insert-glyph): Remove unused variable `g'.
11369         (compose-glyph-string): Remove unused variables `ascent',
11370         `descent', `lbearing' and `rbearing'.
11371         (compose-glyph-string-relative): Remove unused variables
11372         `lbearing', `rbearing' and `wadjust'.
11373         (compose-gstring-for-graphic): Remove unused variables `header',
11374         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
11375         (compose-gstring-for-terminal): Remove unused variables `header'
11376         and `nchars'.  Use `let', not `let*'.
11378         * cus-edit.el (Custom-set, Custom-save, custom-reset)
11379         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11380         (Custom-buffer-done, custom-buffer-create-internal)
11381         (custom-browse-visibility-action, custom-browse-group-tag-action)
11382         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11383         (widget-magic-mouse-down-action, custom-toggle-parent)
11384         (custom-add-parent-links, custom-toggle-hide-variable)
11385         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11386         (custom-toggle-hide-face, face, hook, custom-group-link-action)
11387         (custom-face-menu-create, custom-variable-menu-create, get)
11388         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11389         (custom-reset-standard-save-and-update): Remove unused variable `value'.
11390         (customize-apropos): Remove unused variable `tests'.
11391         (custom-group-value-create): Remove unused variable `hidden-p'.
11392         (sort-fold-case): Declare.
11394         * cus-theme.el (custom-reset-standard-faces-list)
11395         (custom-reset-standard-variables-list): Declare.
11396         (customize-create-theme, custom-theme-revert, custom-theme-write)
11397         (custom-theme-choose-mode, customize-themes, custom-theme-save):
11398         Mark unused parameters.
11400         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11402         * delim-col.el (delimit-columns-max): Move defvar before first use.
11404         * descr-text.el (describe-char-categories): Don't quote `lambda'.
11405         (describe-char): Don't quote `lambda'.  Mark unused parameter.
11407         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11408         (auto-insert): Declare.
11409         (desktop-restore-file-buffer): Rename desktop-* parameters;
11410         mark unused ones.
11411         (desktop-create-buffer): Rename desktop-* parameters and bind them.
11412         (desktop-buffer): Rename desktop-* parameters.
11414         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11415         (dframe-reposition-frame-xemacs, dframe-help-echo)
11416         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11417         Mark unused parameters.
11419         * dired-aux.el (backup-extract-version-start, overwrite-query)
11420         (overwrite-backup-query, rename-regexp-query)
11421         (rename-non-directory-query): Declare.
11422         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11423         (dired-add-entry): Remove unused variable `orig-file-name'.
11424         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11425         Use parameter PRESERVE-TIME instead of accessing dynamic variable
11426         `dired-copy-preserve-time' directly.
11427         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11428         (dired-insert-subdir-newpos): Rename unused variable `pos'.
11430         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11431         (dired-virtual-revert, dired-make-relative-symlink):
11432         Mark unused parameters.
11433         (manual-program): Declare.
11434         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11435         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11436         wrapped in `with-no-warnings' to avoid replacing one warning by another.
11438         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11440         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11442         * echistory.el (electric-history-in-progress, Helper-return-blurb):
11443         Declare.
11445         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11447         * electric.el (Electric-command-loop): Rename parameter
11448         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11450         * expand.el (expand-in-literal): Remove unused variable `here'.
11452         * facemenu.el (facemenu-add-new-color):
11453         Remove unused variable `docstring'.
11455         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11456         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11457         (face-attr-construct): Mark unused parameter.  Doc fix.
11458         (read-color): Remove unused variable `hex-string'.
11460         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11461         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11462         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11463         (display-buffer-other-frame): Remove unused variable `old-window'.
11464         (kill-buffer-hook): Declare.
11465         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11466         Mark unused parameters.
11467         (after-find-file): Pass 1 to `auto-save-mode', not t.
11469         * files-x.el (auto-insert): Declare.
11470         (modify-file-local-variable-prop-line): Remove unused variable `val'.
11472         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11473         variable `buf'.  Mark unused parameter.
11474         (find-lisp-insert-directory): Mark unused parameter.
11476         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11477         (format-encode-region): Remove unused variables `cur-buf' and `result'.
11478         (format-common-tail): Remove, unused.
11479         (format-deannotate-region): Remove unused variable `loc'.
11480         (format-annotate-region): Remove unused variable `p'.
11481         (format-annotate-single-property-change): Remove unused variables
11482         `default' and `tail'.
11484         * forms.el (read-file-filter): Declare.
11485         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11487         * frame.el (frame-creation-function-alist): Mark unused parameter.
11488         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11490         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11491         Remove unused parameters.
11492         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11493         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11495         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11496         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11497         (hfy-prepare-tag-map): Mark unused parameters.
11498         (htmlfontify-buffer): Use `called-interactively-p'.
11500         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11501         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11502         (ibuffer-do-occur): Mark unused parameters.
11503         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11504         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11506         * ibuffer.el: Don't quote `lambda'.
11507         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11508         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11509         Mark unused parameters.
11511         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11512         (ido-completing-read): Mark unused parameters.
11513         (ido-copy-current-word): Mark unused parameters;
11514         remove unused variable `name'.
11515         (ido-sort-merged-list): Remove unused parameter `dirs'.
11517         * ielm.el (ielm-input-sender): Mark unused parameter.
11518         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11519         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11520         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11521         `ielm-string' as a dynamic variable accessible from the IELM prompt.
11522         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
11524         * image-dired.el (image-dired-display-thumbs): Remove unused
11525         variables `curr-file' and `count'.
11526         (image-dired-remove-tag): Remove unused variable `start'.
11527         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11528         variable `curr-file'
11529         (image-dired-rotate-original): Remove unused variable `temp-file'.
11530         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11531         Remove unused variable `file'.
11532         (image-dired-gallery-generate): Remove unused variable `curr'.
11533         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11535         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11537         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11539         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11541         * isearch.el (minibuffer-history-symbol): Declare.
11542         (isearch-edit-string): Remove unused variable `err'.
11543         (isearch-message-prefix, isearch-message-suffix):
11544         Mark unused parameters.
11546         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11548         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11550         * makesum.el (double-column): Remove unused variable `cnt'.
11552         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11553         (ido-ignore-item-temp-list): Declare.
11555         * mouse-drag.el (mouse-drag-throw): Remove unused variables
11556         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11557         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11558         (mouse-drag-drag): Remove unused variables `mouse-delta' and
11559         `mouse-col-delta'.
11561         * mouse-sel.el (mouse-extend-internal):
11562         Remove unused variable `orig-window-frame'.
11564         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11565         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11566         Move declarations before first use.
11567         (pcomplete-opt): Mark unused parameters; doc fix.
11569         * proced.el (proced-revert): Mark unused parameter.
11570         (proced-send-signal): Remove unused variable `err'.
11572         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11573         Rename parameter PREFIX-ARG to ARG.
11574         (ps-basic-plot-string, ps-basic-plot-whitespace):
11575         Mark unused parameters.
11577         * replace.el (replace-count): Define.
11578         (occur-revert-function): Mark unused parameters.
11579         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11580         (isearch-case-fold-search, isearch-string): Declare.
11581         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11582         bind `case-fold-search'.  Remove unused variables `beg' and `end',
11583         and simplify.
11584         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11585         COUNT and bind `replace-count'.
11586         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11587         to COUNT.
11589         * savehist.el (print-readably, print-string-length): Declare.
11591         * shadowfile.el (shadow-expand-cluster-in-file-name):
11592         Remove unused variable `cluster'.
11593         (shadow-copy-file): Remove unused variable `i'.
11594         (shadow-noquery, shadow-clusters, shadow-site-cluster)
11595         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11596         (shadow-define-literal-group, shadow-define-regexp-group)
11597         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11599         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11600         (shell): Use `called-interactively-p'.
11601         (shell-directory-tracker): Remove unused variable `chdir-failure'.
11603         * simple.el (compilation-context-lines, comint-file-name-quote-list)
11604         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11605         (delete-backward-char): Remove unused variable `ocol'.
11606         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11607         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11608         (event-apply-hyper-modifier, event-apply-shift-modifier)
11609         (event-apply-control-modifier, event-apply-meta-modifier):
11610         Mark unused parameters.
11611         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11612         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11614         * speedbar.el (speedbar-ignored-directory-expressions)
11615         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11616         (speedbar-find-file, speedbar-dir-follow)
11617         (speedbar-directory-buttons-follow, speedbar-tag-find)
11618         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11619         (speedbar-buffers-line-directory, speedbar-buffer-click):
11620         Mark unused parameters.
11621         (speedbar-tag-file): Remove unused variable `mode'.
11622         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11624         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11626         * talk.el (talk): Remove unused variable `display'.
11628         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11629         (tar-write-region-annotate): Mark unused parameter.
11631         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11632         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11633         Declare them, wrapped in `with-no-warnings' to avoid replacing one
11634         warning by another.
11636         * time-stamp.el (time-stamp-string-preprocess):
11637         Remove unused variable `require-padding'.
11639         * tree-widget.el (widget-glyph-enable): Declare.
11640         (tree-widget-action): Mark unused parameter.
11642         * w32-fns.el (x-get-selection): Mark unused parameter.
11643         (autoload-make-program, generated-autoload-file): Declare.
11645         * wdired.el (wdired-revert): Mark unused parameters.
11646         (wdired-xcase-word): Remove unused variable `err'.
11648         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11649         (whitespace-help-scroll): Remove unused variable `data-help'.
11651         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11652         (widget-image-insert, widget-after-change, default)
11653         (widget-default-format-handler, widget-default-notify)
11654         (widget-default-prompt-value, widget-info-link-action)
11655         (widget-url-link-action, widget-function-link-action)
11656         (widget-variable-link-action, widget-file-link-action)
11657         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11658         (widget-field-prompt-internal, widget-field-action, widget-field-match)
11659         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11660         (widget-insert-button-action, widget-delete-button-action, visibility)
11661         (widget-documentation-link-action, widget-documentation-string-action)
11662         (widget-const-prompt-value, widget-regexp-match, symbol)
11663         (widget-coding-system-prompt-value)
11664         (widget-key-sequence-value-to-external, sexp)
11665         (widget-sexp-value-to-internal, character, vector, cons)
11666         (widget-choice-prompt-value, widget-boolean-prompt-value)
11667         (widget-color--choose-action): Mark unused parameters.
11668         (widget-item-match-inline, widget-choice-match-inline)
11669         (widget-checklist-match, widget-checklist-match-inline)
11670         (widget-group-match): Rename parameter VALUES to VALS.
11671         (widget-field-value-set): Remove unused variable `size'.
11672         (widget-color-action): Remove unused variables `value' and `start'.
11674         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11675         variable `dir'.  Doc fix.
11676         (windmove-find-other-window): Don't pass it.
11678         * window.el (count-windows): Mark unused parameter.
11679         (bw-adjust-window): Remove unused variable `err'.
11681         * woman.el (woman-file-name): Remove unused variable `default'.
11682         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11683         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11684         (global-font-lock-mode): Declare.
11685         (woman-decode-region): Mark unused parameter.
11686         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11688         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11689         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11690         (x-dnd-handle-moz-url): Remove unused variable `title'.
11691         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11693         * xml.el (xml-parse-tag, xml-parse-attlist):
11694         Remove unused variable `pos'.
11696 2011-04-19  Glenn Morris  <rgm@gnu.org>
11698         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11699         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11700         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11701         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11702         * calendar/cal-html.el (cal-html-insert-minical):
11703         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11704         (calendar-mark-date-pattern):
11705         Prefix "unused" locals.
11707         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11708         optional argument `style'.
11710         * calendar/appt.el (appt-make-list):
11711         * calendar/cal-china.el (calendar-chinese-date-string):
11712         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11713         (diary-hebrew-yahrzeit):
11714         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11715         * calendar/calendar.el (calendar-generate-window):
11716         * calendar/time-date.el (time-to-days):
11717         Remove unused local variables.
11719 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
11721         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11722         glyphless-char-display table.
11723         (tabulated-list-glyphless-char-display): New var.
11725 2011-04-18  Sam Steingold  <sds@gnu.org>
11727         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11728         to acknowledgments.
11730 2011-04-17  Glenn Morris  <rgm@gnu.org>
11732         * calendar/diary-lib.el (diary-sexp-entry):
11733         * calendar/holidays.el (holiday-sexp):
11734         Set debug-on-error rather than the removed stack-trace-on-error.
11736 2011-04-16  Glenn Morris  <rgm@gnu.org>
11738         * progmodes/f90.el: Use lexical-binding.
11739         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11741 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11743         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11744         (mail-mode): Setup mailalias completion here instead.
11745         * mail/mailalias.el: Use lexical-binding.
11746         (pattern, mailalias-done): Declare dynamic.
11747         (mail-completion-at-point-function): New function, from mail-complete.
11748         (mail-complete): Use it.
11749         (mail-completion-expand): New function.
11750         (mail-get-names): Use it.
11751         (mail-directory, mail-directory-process, mail-directory-stream):
11752         Don't use `pattern' for lexically bound arg.
11754         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11756         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11757         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11758         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11760         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11761         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11762         (byte-interactive-p): Define them again, for use when inlining
11763         old code.
11765 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11767         * loadup.el: Use `string-to-number', not `string-to-int'.
11769 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11772         gud-gdb-complete-command.
11773         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11774         (gud-gdb-completion-at-point): New function.
11775         (gud-gdb-completions): Remove.
11777 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11779         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11780         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11781         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11782         whether `executable-find' is bound.
11784         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11786 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11788         * minibuffer.el (completion-in-region-mode-predicate)
11789         (completion-in-region-mode--predicate): New vars.
11790         (completion-in-region, completion-in-region--postch)
11791         (completion-in-region-mode): Use them.
11792         (completion--capf-wrapper): Also return the hook function.
11793         (completion-at-point, completion-help-at-point):
11794         Adjust and provide a predicate.
11796         Preserve arg names for advice of subr and lexical functions (bug#8457).
11797         * help-fns.el (help-function-arglist): Consolidate the subr and
11798         new-byte-code cases.  Add argument `preserve-names' to extract names
11799         from the docstring when needed.
11800         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11801         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11802         (ad-arglist): Use help-function-arglist's new arg.
11803         (ad-definition-type): Use cond.
11805 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
11807         * autorevert.el (auto-revert-handler):
11808         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11809         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11810         Don't quote lambda.
11812         * image-mode.el (image-transform-set-scale):
11813         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11815 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11817         * net/network-stream.el (network-stream-open-starttls): Only do
11818         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11819         Upgrades via gnutls-cli are too slow to be done opportunistically.
11821 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11823         * dframe.el (dframe-current-frame): Remove spurious quote.
11825 2011-04-12  Glenn Morris  <rgm@gnu.org>
11827         * calendar/cal-tex.el (cal-tex-end-document):
11828         Try to automatically use latin1 input if needed.
11830         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11831         Don't try to cons a mark onto an empty element.
11833 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11835         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11836         buffers.
11837         (ido-kill-buffer-at-head): Support killing virtual buffers.
11839 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11841         * minibuffer.el (completion-show-inline-help): New var.
11842         (completion--do-completion, minibuffer-complete)
11843         (minibuffer-force-complete, minibuffer-complete-word):
11844         Inhibit minibuffer messages if completion-show-inline-help is nil.
11846         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11847         to avoid interference from inline help (Bug#5849).
11849 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11851         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11852         Fix typo.
11854 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11856         * image-mode.el (image-toggle-display-image): Signal an error if
11857         not in Image mode.
11858         (image-transform-mode, image-transform-resize)
11859         (image-transform-set-rotation): Doc fix.
11860         (image-transform-set-resize): Delete.
11861         (image-transform-set-scale, image-transform-fit-to-height)
11862         (image-transform-fit-to-width): Handle image-toggle-display-image
11863         and image-transform-resize directly.
11865 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11867         * doc-view.el (doc-view-fit-width-to-window)
11868         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11869         New functions for fitting the shown image to the Emacs window size.
11870         (doc-view-mode-map): Add bindings for the new functions.
11872 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11874         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11875         Fix typo in docstring.
11877 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11879         * files.el (file-size-human-readable): Produce one digit after
11880         decimal, like "ls -lh" does.
11882         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11883         the file size representation.
11885         * simple.el (list-processes): If async subprocesses are not
11886         available, error out with a clear error message.
11888 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11890         * help.el (help-form-show): New function, to be called from C.
11891         Put help-form output in a buffer named differently than *Help*.
11893 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11895         * files.el (file-size-human-readable): New function.
11897         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11898         computing the representation inline.  Don't require `cl'.
11900 2011-04-08  Glenn Morris  <rgm@gnu.org>
11902         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11904         * net/browse-url.el (browse-url-firefox):
11905         Test system-type, not system-configuration.
11907         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11908         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11909         Use log-edit-empty-buffer-p.  (Bug#7598)
11911         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11912         (rlogin-mode-map): Initialize in the defvar.
11913         (rlogin): Use ignore-errors.
11915         * replace.el (occur-mode-map): Some fixes for menu items.
11917 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11919         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11921 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11923         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11924         issuing unused warnings.
11926         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11927         macro directly.
11929         * simple.el: Lisp reimplement of list-processes.  Based on an
11930         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11931         (process-menu-mode): New major mode.
11932         (list-processes--refresh, list-processes):
11933         (process-menu-visit-buffer): New functions.
11935         * files.el (save-buffers-kill-emacs): Don't assume any return
11936         value of list-processes, which is undocumented anyway.
11938 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11940         * emacs-lisp/tabulated-list.el: New file.
11942         * emacs-lisp/package.el: Use Tabulated List mode.
11943         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11944         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11945         table format using Tabulated List mode variables.
11946         (package--push): New macro, replacing package-list-maybe-add.
11947         (package-menu--generate): Use package--push.  Renamed from
11948         package--generate-package-list.
11949         (package-menu-refresh, list-packages): Use it.
11950         (package-menu--print-info): Rename from package-print-package.
11951         Return insertion data instead of inserting it directly.
11952         (package-menu-describe-package, package-menu-execute):
11953         Use tabulated-list-get-id.
11954         (package-menu-mark-delete, package-menu-mark-install)
11955         (package-menu-mark-unmark, package-menu-backup-unmark)
11956         (package-menu-mark-obsolete-for-deletion):
11957         Use tabulated-list-put-tag.
11958         (package--list-packages, package-menu-revert)
11959         (package-menu-get-package, package-menu-get-version)
11960         (package-menu-sort-by-column): Functions deleted.
11961         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11962         (package-menu--status-predicate, package-menu--version-predicate)
11963         (package-menu--name-predicate)
11964         (package-menu--description-predicate): Handle arguments in the
11965         Tabulated List format.
11966         (package-list-packages-no-fetch): Call list-packages.
11968 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11970         * files.el (after-find-file-from-revert-buffer): Remove variable.
11971         (after-find-file): Don't bind it.
11972         (revert-buffer-in-progress-p): New variable.
11973         (revert-buffer): Bind it.
11974         Pass nil for `after-find-file-from-revert-buffer'.
11976         * saveplace.el (save-place-find-file-hook): Use new variable
11977         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11979 2011-04-06  Glenn Morris  <rgm@gnu.org>
11981         * Makefile.in (AUTOGEN_VCS): New variable.
11982         (autoloads): Use $AUTOGEN_VCS.
11984         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11985         * calendar/calendar.el (calendar-mode-map):
11986         Check for toolkit scroll bars.  (Bug#8305)
11988 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11990         * minibuffer.el (completion-in-region--postch)
11991         (completion-in-region-mode): Remove unnecessary messages.
11993 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11995         * font-lock.el (font-lock-refresh-defaults):
11996         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11997         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11999         * info.el (Info-directory-list, Info-read-node-name-2)
12000         (Info-split-parameter-string): Doc fixes.
12001         (Info-virtual-nodes): Reflow docstring.
12002         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12003         (Info-apropos-toc-nodes, info-finder, Info-get-token)
12004         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12005         Fix typos in docstrings.
12006         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12007         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12008         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12009         (Info-restore-desktop-buffer): Mark unused parameters.
12010         (Info-directory-find-file, Info-directory-find-node)
12011         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12012         (Info-virtual-index-find-node, Info-apropos-find-file)
12013         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12014         Mark unused parameters; fix typos in docstrings.
12015         (Info-virtual-index): Remove unused local variable `nodename'.
12017 2011-04-05  Deniz Dogan  <deniz@dogan.se>
12019         * net/rcirc.el: Update my e-mail address.
12020         (rcirc-mode-map): Remove M-o binding.
12022 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12024         * startup.el (command-line): Save the cursor's theme-face
12025         directly, instead of using face-override-spec.
12027         * custom.el (load-theme): Minor optimization in assigning faces.
12029 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12031         * help-fns.el (describe-variable): Complete all variables having
12032         documentation, including keywords.
12033         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12035 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12037         Convert to lexical-binding.
12039         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12040         (bs--get-marked-string, bs--get-modified-string)
12041         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12042         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12043         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12045         * ehelp.el (electric-help-execute-extended)
12046         (electric-help-ctrl-x-prefix):
12047         * hexl.el (hexl-revert-buffer-function):
12048         * linum.el (linum-after-change, linum-after-scroll):
12049         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12051         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12053 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12055         * epa-dired.el:
12056         * epa-mail.el:
12057         * epa-hook.el:
12058         * epa-file.el:
12059         * epa.el:
12060         * epg.el: Use lexical binding.
12062 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12064         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12066         * textmodes/flyspell.el (flyspell-word): Recognize default
12067         dictionary case for flyspell-mark-duplications-exceptions.
12068         Use regexp matching for languages.
12069         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12070         default dictionary (Bug#7926).
12072 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12074         * emacs-lisp/package.el (package--with-work-buffer):
12075         Recognize https URLs.
12077         * net/network-stream.el: Move from gnus/proto-stream.el.
12078         Change prefix to network-stream throughout.
12079         (open-protocol-stream): Merge into open-network-stream, leaving
12080         open-protocol-stream as an alias.  Handle nil BUFFER args.
12082         * subr.el (open-network-stream): Move to net/network-stream.el.
12084 2011-04-02  Glenn Morris  <rgm@gnu.org>
12086         * find-dired.el (find-exec-terminator): New option.
12087         (find-ls-option): Test for -ls support.
12088         (find-ls-subdir-switches): Test for -b in find-ls-option.
12089         (find-dired, find-grep-dired): Doc fixes.
12090         (find-dired): Use find-exec-terminator.
12092         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12093         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12094         (find-name-arg): Remove purecopy.
12096         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12097         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12098         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12099         accordingly.  Don't add the null-device if not needed.
12101         * files.el (save-some-buffers): Doc fix.
12103 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12105         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12107 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12109         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12110         Use `dolist' rather than `mapcar'.
12112 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12114         Add lexical binding.
12116         * subr.el (apply-partially): Use new closures rather than CL.
12117         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12118         (dolist, dotimes): Use slightly different expansion for lexical code.
12119         (functionp): Move to C.
12120         (letrec): New macro.
12121         (with-wrapper-hook): Use it and apply-partially instead of CL.
12122         (eval-after-load): Preserve lexical-binding.
12123         (save-window-excursion, with-output-to-temp-buffer): Turn them
12124         into macros.
12126         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12128         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12129         than the arglist.
12130         (help-add-fundoc-usage): Don't add `Not documented'.
12131         (help-function-arglist): Handle closures, subroutines, and new
12132         byte-code-functions.
12133         (help-make-usage): Remove leading underscores.
12134         (describe-function-1): Handle closures.
12135         (describe-variable): Use special-variable-p for completion.
12137         * files.el (lexical-binding): Declare safe.
12139         * emacs-lisp/pcase.el: Don't use destructuring-bind.
12140         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
12141         (pcase): Add `let' pattern.
12142         Change memoization so it actually works.
12143         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12144         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12145         <let>: New case.
12147         * emacs-lisp/macroexp.el: Use lexical binding.
12148         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
12149         Don't convert ' to #' without checking that it's indeed quoting
12150         a lambda.
12152         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12153         Use eval-sexp-add-defvars.
12154         (eval-sexp-add-defvars): New fun.
12156         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12158         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12159         Don't autoload.
12160         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12161         than the internal `byte-compile-lambda'.
12162         (defmethod): Don't hide code under quotes.
12163         (eieio-defmethod): New `code' argument.
12165         * emacs-lisp/eieio-comp.el: Remove.
12167         * emacs-lisp/edebug.el (edebug-eval-defun)
12168         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12169         (edebug-toggle): Avoid `eval'.
12171         * emacs-lisp/disass.el (disassemble-internal): Handle new
12172         `closure' objects.
12173         (disassemble-1): Handle new byte codes.
12175         * emacs-lisp/cl.el (pushnew): Silence warning.
12177         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12178         (cl-byte-compile-throw): Remove.
12179         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12181         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12182         closures.
12184         * emacs-lisp/cconv.el: New file.
12186         * emacs-lisp/bytecomp.el: Use lexical binding instead of
12187         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
12188         (byte-compile-initial-macro-environment):
12189         Handle declare-function here.
12190         (byte-compile--lexical-environment): New var.
12191         (byte-stack-ref, byte-stack-set, byte-discardN)
12192         (byte-discardN-preserve-tos): New lap codes.
12193         (byte-interactive-p): Don't use any more.
12194         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12195         New macros.
12196         (byte-compile-lapcode): Use them and handle new lap codes.
12197         (byte-compile-obsolete): Remove.
12198         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12199         (byte-compile-arglist-warn): Check late def of inlinable funs.
12200         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12201         since they should have been expanded by now.
12202         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12203         (byte-compile-from-buffer): Remove unused second arg.
12204         (byte-compile-preprocess): New function.
12205         (byte-compile-toplevel-file-form): New function to distinguish
12206         file-form calls from outside from file-form calls from hunk-handlers.
12207         (byte-compile-file-form): Simplify.
12208         (byte-compile-file-form-defsubst): Remove.
12209         (byte-compile-file-form-defmumble): Simplify now that
12210         byte-compile-lambda always returns a byte-code-function.
12211         (byte-compile): Preprocess.
12212         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12213         Remove, not used any more.
12214         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12215         (byte-compile-make-args-desc): New funs.
12216         (byte-compile-lambda): Handle lexical functions.  Always return
12217         a byte-code-function.
12218         (byte-compile-reserved-constants): New var, to make up room for
12219         closed-over variables.
12220         (byte-compile-constants-vector): Obey it.
12221         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12222         (byte-compile-macroexpand-declare-function): New function.
12223         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12224         byte-code-functions.
12225         (byte-compile-form): Check obsolescence here.
12226         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12227         (byte-compile-variable-ref): Remove.
12228         (byte-compile-dynamic-variable-op): New fun.
12229         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12230         (byte-compile-variable-set): New funs.
12231         (byte-compile-discard): Add 2 args.
12232         (byte-compile-stack-ref, byte-compile-stack-set)
12233         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12234         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12235         macroexpand-all instead.
12236         (byte-compile-quote-form): Remove.
12237         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12238         (byte-compile-bind, byte-compile-unbind): New funs.
12239         (byte-compile-let): Handle let* and lexical binding.
12240         (byte-compile-let*): Remove.
12241         (byte-compile-catch, byte-compile-unwind-protect)
12242         (byte-compile-track-mouse, byte-compile-condition-case):
12243         Handle a new :fun-body form, used for lexical scoping.
12244         (byte-compile-save-window-excursion)
12245         (byte-compile-with-output-to-temp-buffer): Remove.
12246         (byte-compile-defun): Simplify.
12247         (byte-compile-stack-adjustment): New fun.
12248         (byte-compile-out): Use it.
12249         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12251         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12252         handler any more.
12254         * emacs-lisp/byte-opt.el: Use lexical binding.
12255         (byte-inline-lapcode): Remove (to bytecomp).
12256         (byte-compile-inline-expand): Pay attention to inlining to/from
12257         lexically bound code.
12258         (byte-compile-unfold-lambda): Don't handle byte-code-functions
12259         any more.
12260         (byte-optimize-form-code-walker): Don't handle save-window-excursion
12261         any more and don't call compiler-macros.
12262         (byte-compile-splice-in-already-compiled-code): Remove.
12263         (byte-code): Don't inline any more.
12264         (disassemble-offset): Receive `bytes' as argument rather than via
12265         dynamic scoping.
12266         (byte-compile-tag-number): Declare before first use.
12267         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12268         `return' even if make-spliceable.
12269         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12270         obsolete interactive-p.
12271         (byte-optimize-lapcode): Optimize new lap-codes.
12272         Don't trip up on new form of `byte-constant' lap code.
12274         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12276         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12278         * custom.el (custom-initialize-default, custom-declare-variable):
12279         Use `defvar'.
12281         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12282         New variables.
12283         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12284         (COMPILE_FIRST): Add macroexp and cconv.
12285         * makefile.w32-in: Mirror changes in Makefile.in.
12287         * vc/cvs-status.el:
12288         * vc/diff-mode.el:
12289         * vc/log-edit.el:
12290         * vc/log-view.el:
12291         * vc/smerge-mode.el:
12292         * textmodes/bibtex-style.el:
12293         * textmodes/css.el:
12294         * startup.el:
12295         * uniquify.el:
12296         * minibuffer.el:
12297         * newcomment.el:
12298         * reveal.el:
12299         * server.el:
12300         * mpc.el:
12301         * emacs-lisp/smie.el:
12302         * doc-view.el:
12303         * dired.el:
12304         * abbrev.el: Use lexical binding.
12306 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
12308         * info.el (info-display-manual): New function.
12310 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12312         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12314 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
12316         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12317         an entry for that server in rcirc-authinfo.  (Bug#8385)
12319 2011-03-31  Glenn Morris  <rgm@gnu.org>
12321         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12323         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12325 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
12327         * progmodes/python.el (python-default-interpreter)
12328         (python-python-command-args, python-jython-command-args)
12329         (python-which-shell, python-which-args, python-which-bufname)
12330         (python-file-queue, python-comint-output-filter-function)
12331         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12332         variables and functions.
12334 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12336         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12337         (completion-in-region-mode): New minor mode.
12338         (completion-in-region): Use it.
12339         (completion-in-region--data, completion-in-region-mode-map): New vars.
12340         (completion-in-region--postch): New function.
12341         (completion--capf-misbehave-funs, completion--capf-safe-funs):
12342         New vars.
12343         (completion--capf-wrapper): New function.
12344         (completion-at-point): Use it to track well-behavedness of
12345         hook functions.
12346         (completion-help-at-point): New command.
12348 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
12350         * vc/add-log.el (add-change-log-entry): Don't use whitespace
12351         syntax class to search for whitespace on a single line
12352         (Message-ID: <4D938140.4030905@redhat.com>).
12354 2011-03-30  Leo Liu  <sdl.web@gmail.com>
12356         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12357         New commands.
12358         (edit-abbrevs-map): Bind them here.
12359         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
12361 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
12363         * allout.el (allout-hide-by-annotation, allout-flag-region):
12364         Reduce possibility of overlay leakage by making them volatile.
12366         * allout-widgets.el (allout-widgets-tally): Define as nil so the
12367         hash is not shared between buffers.  Mode initialization is
12368         responsible for giving it a useful starting value.
12369         (allout-item-span): Reduce possibility of overlay leakage by
12370         making them volatile.
12371         (allout-widgets-count-buttons-in-region): Add diagnostic function
12372         for tracking down button overlay leaks.
12374 2011-03-29  Leo Liu  <sdl.web@gmail.com>
12376         * ido.el (ido-read-internal): Use the default history var
12377         minibuffer-history if no HISTORY is specified.
12379 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
12381         * net/imap.el (imap-shell-open, imap-process-connection-type):
12382         Use imap-process-connection-type for 'shell' streams as well as
12383         Kerberos, SSL, other subprocesses.
12385 2011-03-28  Leo Liu  <sdl.web@gmail.com>
12387         * abbrev.el (abbrev-table-empty-p): New function.
12388         (prepare-abbrev-list-buffer): Place empty abbrev tables after
12389         nonempty ones.  (Bug#5937)
12391 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
12393         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12395 2011-03-27  Leo Liu  <sdl.web@gmail.com>
12397         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12398         for foreground and background colors.
12399         (ansi-color-make-color-map): Adapt.
12401 2011-03-25  Leo Liu  <sdl.web@gmail.com>
12403         * midnight.el (midnight-time-float): Remove.  Note it calculates
12404         the microsecond component incorrectly and seconds-to-time does the
12405         same job.
12406         Remove redundant (require 'timer).
12408         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12409         (ido-completions): Remove unused arguments.  (Bug#8329)
12411 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12413         * minibuffer.el (completion--flush-all-sorted-completions):
12414         Remove itself from hook.
12415         (completion-at-point): Let the functions perform the completion
12416         immediately and return nil or t.
12417         * comint.el (comint-dynamic-complete-functions): Now identical to
12418         completion-at-point-functions.
12419         (comint-dynamic-list-input-ring): Remove unused var `index'.
12420         (comint--match-partial-filename, comint--unquote&expand-filename):
12421         New funs, split from comint-match-partial-filename.
12422         (comint-dynamic-complete): Use completion-at-point.
12423         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12425 2011-03-24  Drew Adams  <drew.adams@oracle.com>
12427         * thingatpt.el: Support `defun'.
12429 2011-03-23  Leo Liu  <sdl.web@gmail.com>
12431         * abbrevlist.el: Move to obsolete/abbrevlist.el.
12433         * help-mode.el (help-mode-finish): Tweak regexp.
12435 2011-03-23  Glenn Morris  <rgm@gnu.org>
12437         * eshell/esh-opt.el (eshell-eval-using-options):
12438         Do not bind unused local variable `eshell-option-stub'.
12440         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12442 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12444         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12445         keymap variable in `with-no-warnings' to avoid a warning when the
12446         keymap has been already `defconst'ed.
12448 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12450         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12451         encode all chars in abbrevs; otherwise use emacs-mule or
12452         utf-8-emacs.  (Bug#8308)
12454 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12456         * simple.el (backward-delete-char-untabify):
12457         Avoid warning about using `delete-backward-char'.
12459         * image.el (image-type-file-name-regexps): Make it variable.
12460         `imagemagick-register-types' modifies it, and the user may want
12461         to add new extensions for known image types.
12462         (imagemagick-register-types): Throw error if not using ImageMagick.
12464 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12466         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12467         located before rcirc-prompt-end-marker.
12468         (rcirc-complete): Error if point is not after rcirc prompt.
12469         Handle the case when table is nil.
12470         (rcirc-user-authenticated): Define to fix compiler warning.
12472 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
12474         * custom.el (custom--inhibit-theme-enable): Make it affect only
12475         custom-theme-set-variables and custom-theme-set-faces.
12476         (provide-theme): Ignore custom--inhibit-theme-enable.
12477         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12478         (custom-enabling-themes): Delete variable.
12479         (enable-theme): Accept only loaded themes as arguments.
12480         Ignore the special custom-enabled-themes variable.
12481         (custom-enabled-themes): Forbid themes from setting this.
12482         Eliminate use of custom-enabling-themes.
12483         (custom-push-theme): Quote "changed" custom var entry.
12485 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12487         * ido.el (ido-read-internal): Add ido-selected to history instead
12488         of user input.
12490 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12492         * subr.el (deferred-action-list, deferred-action-function):
12493         Mark obsolete.
12495 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12497         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12498         change on 2011-02-13 (bug#8309).
12500         * minibuffer.el (read-file-name-function): Change default value.
12501         (read-file-name--defaults): Rename from read-file-name-defaults.
12502         (read-file-name-default): Rename from read-file-name.
12503         (read-file-name): Call read-file-name-function.
12505 2011-03-21  Glenn Morris  <rgm@gnu.org>
12507         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12508         Doc fixes.
12510 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
12512         * cus-theme.el: Add missing provide statement.
12513         (customize-create-theme): Extract theme value correctly.
12514         (custom-theme-visit-theme): Autoload.
12515         (customize-create-theme): Prompt before inserting default faces.
12517 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
12519         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12520         units and musical notes.
12522 2011-03-20  Leo Liu  <sdl.web@gmail.com>
12524         * ido.el (ido-read-internal): Use completing-read-default.
12525         (ido-completing-read): Fix compatibility with completing-read.
12527 2011-03-20  Christian Ohler  <ohler@gnu.org>
12529         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12530         (ert-delete-all-tests): Use `called-interactively-p' rather than
12531         `interactive-p'.
12532         (ert--make-xrefs-region): Respect END.
12534 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12536         * dired-aux.el (dired-create-directory): Signal an error if the
12537         directory already exists (Bug#8246).
12539         * facemenu.el (list-colors-display): Call list-faces-display
12540         inside with-help-window.
12541         (list-colors-print): Use display property to align the final
12542         column, instead of checking window-width.
12544 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
12546         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12547         windows-nt systems.
12548         (emerge-protect-metachars): Quote correctly for ms-dos and
12549         windows-nt systems.
12551 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
12553         * info.el (info-initialize): Replace all uses of `:' with
12554         path-separator for compatibility with non-Unix systems.
12555         Cache quoting of path-separator.  (Bug#8258)
12557 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
12559         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12560         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12561         (mouse-avoidance-mode): Fix typos in docstrings.
12563 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12565         * startup.el (package-subdirectory-regexp): Move from package.el.
12566         Omit \\` and \\', and let callers add them.
12568         * emacs-lisp/package.el (package-strip-version)
12569         (package-load-all-descriptors): Add \\` and \\' to
12570         package-subdirectory-regexp before using it.
12571         (package-untar-buffer): New arg DIR; ensure that file untars only
12572         into this expected directory.  Remove superfluous delete-region.
12573         (package-unpack): Caller changed.
12574         (package-tar-file-info): Use package-subdirectory-regexp.
12576 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12578         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12579         diff-mode-shared-map (bug#8284).
12580         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12582 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12584         * calendar/time-date.el (format-seconds): Use assoc instead of
12585         assoc-string, since assoc-string doesn't exist in XEmacs.
12587 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
12589         * custom.el (custom-known-themes): Reflow docstring.
12590         (custom-theme-load-path): Fix typo in docstring.
12591         (load-theme): Fix typo in error message.
12592         (custom-available-themes, custom-variable-theme-value):
12593         Use `let', not `let*'.
12595 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12597         * calc/README: Mention inclusion of musical notes.
12599         * calc/calc-units.el (calc-lu-quant): Rename from
12600         `calc-logunits-quantity'.
12601         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12602         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12603         (calc-db): Rename from `calc-dblevel'.
12604         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12605         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12606         (calc-np): Rename from `calc-nplevel'.
12607         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12608         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12609         (calc-lu-plus): Rename from `calc-logunits-add'.
12610         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12611         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12612         (calc-lu-minus): Rename from `calc-logunits-sub'.
12613         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12614         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12615         (calc-lu-times): Rename from `calc-logunits-mul'.
12616         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12617         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12618         (calc-lu-divide): Rename from `calc-logunits-div'.
12619         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12620         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12622         * calc/calc-ext.el (calc-init-extensions): Update the names of the
12623         functions being autoloaded.
12625         * calc/calc.el (calc-lu-power-reference): Rename from
12626         `calc-logunits-power-reference'.
12627         (calc-lu-field-reference): Rename from
12628         `calc-logunits-field-reference'.
12630         * calc/calc-help.el (calc-l-prefix-help):
12631         Mention musical note functions.
12633 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12635         * minibuffer.el (completion-all-sorted-completions):
12636         Use :completion-cycle-penalty text property if present.
12638 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
12640         * allout.el (allout-yank-processing): Adjust for new rebulleting
12641         regime so bullet being yanked is used without prompting the user
12642         for a choice.
12644 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12646         * startup.el (command-line): Warn the user that _emacs is deprecated.
12648 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12650         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12651         (delphi-verbose, delphi-comment-face, delphi-string-face)
12652         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12653         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12654         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12655         (delphi-new-comment-line, delphi-font-lock-defaults)
12656         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12657         Fix typos in docstrings.
12659 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
12661         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12662         Invert the roles of character and string values for INSTEAD, so a
12663         string is used for the more common case of a defaulting prompt.
12665 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12667         * progmodes/ruby-mode.el (ruby-backward-sexp):
12668         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12669         * play/gamegrid.el (gamegrid-make-face):
12670         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12671         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12672         * notifications.el (notifications-notify):
12673         * net/xesam.el (xesam-search-engines):
12674         * net/quickurl.el (quickurl-list-insert):
12675         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12677 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
12679         * startup.el (command-line): Update package subdirectory regexp.
12681 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12683         * allout.el (allout-abbreviate-flattened-numbering)
12684         (allout-mode-deactivate-hook): Fix up obsolescence "date".
12686         * subr.el (read-char-choice): Only show the cursor after the prompt,
12687         not after the answer.
12689 2011-03-15  Kevin Ryde  <user42@zip.com.au>
12691         * help-fns.el (variable-at-point): Skip leading quotes, if any
12692         (bug#8253).
12694 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12697         warning message.
12699 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
12701         * shell.el (shell): When called interactively, offer to change the
12702         shell file name on remote hosts.
12704 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
12706         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12707         integration for LDAP parameters.  The host, base, user or binddn,
12708         and secret tokens can be specified in a netrc file, for instance.
12709         This is optional because an `auth-source' parameter must be
12710         specified in the search attributes.
12712 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
12714         * help.el (describe-mode): Link to the mode's definition (bug#8185).
12716 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12719         into declaration.  Remove redundant and harmful binding.
12721 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12723         * files.el (file-ownership-preserved-p): Pass `integer' as an
12724         explicit 2nd argument to `file-attributes'.  If the file's owner
12725         is the Administrators group on Windows, and the current user is
12726         Administrator, consider that a match.
12728         * server.el (server-ensure-safe-dir): Consider server directory
12729         safe on MS-Windows if its owner is the Administrators group while
12730         the current Emacs user is Administrator.  Use `=' to compare
12731         numerical UIDs, since they could be integers or floats.
12733 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12735         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12737 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12739         Sync with Tramp 2.2.1.
12741         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12743         * net/trampver.el: Update release number.
12745 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12747         * progmodes/compile.el (compilation--previous-directory): Fix up
12748         various nil/dead-marker mismatches (bug#8014).
12749         (compilation-directory-properties, compilation-error-properties):
12750         Don't call it at a position past the one we're about to change.
12752         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12753         Disable obsolescence warnings in the file that declares it.
12755 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12757         * allout-widgets.el (allout-widgets-tally):
12758         Initialize allout-widgets-tally as a hash table rather than nil to
12759         prevent mode-line redisplay warnings.  Also, clarify the module
12760         description and fix a comment typo.
12762 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12764         * help-fns.el (describe-variable): Don't complete keywords.
12765         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12767 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12769         * emacs-lisp/package.el (package-version-join): Impose a standard
12770         string representation for pre/alpha/beta version lists.
12771         (package-unpack-single): Standardize the directory name by passing
12772         it through package-version-join.
12773         (package-strip-rcs-id): Accept any version string that does not
12774         signal an error in version-to-list.
12776 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12778         * simple.el (delete-trailing-whitespace): Return nil for the
12779         benefit of `write-file-functions'.
12781 2011-03-10  Glenn Morris  <rgm@gnu.org>
12783         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12785         * vc/vc-git.el (vc-git-program): New option.
12786         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12787         (vc-git--call): Use it.
12789         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12791         * cus-edit.el (Custom-newline): If no button at point, look
12792         for a subgroup button at start-of-line.  (Bug#2298)
12794         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12796 2011-03-10  Julien Danjou  <julien@danjou.info>
12798         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12799         `cursor-type' is nil.
12801 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
12803         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12805 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
12807         * allout.el: Change so yank of distinctive-bullet items
12808         preserves the existing header prefix, rebulleting it if necessary,
12809         rather than replacing it.  This is necessary for proper operation
12810         of cooperative addons like allout-widgets.
12811         (allout-make-topic-prefix, allout-rebullet-heading):
12812         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12813         value as alternate bullet to be used, instead of prompting the user
12814         for a bullet character.
12816 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12818         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12819         Do not use `tramp-file-name-port', because this returns also
12820         `tramp-default-port'.
12822 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12824         * net/rcirc.el (rcirc-handler-001): Remove useless
12825         with-rcirc-process-buffer.
12826         (rcirc-check-auth-status): Swap arguments to string-match.
12828 2011-03-09  Glenn Morris  <rgm@gnu.org>
12830         * shell.el (shell-mode):
12831         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12833         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12834         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12836 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12838         * emacs-lisp/package.el (package-refresh-contents)
12839         (package-menu-execute): Use condition-case-no-debug.
12841 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12843         * simple.el (shell-command-to-string): Use `process-file'.
12845         * emacs-lisp/package.el (package-tar-file-info): Handle also
12846         remote files.
12848         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12849         Use `equal' for upload base check.
12851 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12853         * textmodes/texinfo.el (texinfo-environments):
12854         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12856 2011-03-08  Glenn Morris  <rgm@gnu.org>
12858         * cus-start.el (cursor-in-non-selected-windows):
12859         Fix :set quoting oddness.  (Bug#8192)
12861         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12862         in some setf expressions.  (Bug#2159)
12864 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12866         * custom.el (custom-available-themes): Return themes in
12867         alphabetical order.
12869 See ChangeLog.15 for earlier changes.
12871 ;; Local Variables:
12872 ;; coding: utf-8
12873 ;; End:
12875   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12877   This file is part of GNU Emacs.
12879   GNU Emacs is free software: you can redistribute it and/or modify
12880   it under the terms of the GNU General Public License as published by
12881   the Free Software Foundation, either version 3 of the License, or
12882   (at your option) any later version.
12884   GNU Emacs is distributed in the hope that it will be useful,
12885   but WITHOUT ANY WARRANTY; without even the implied warranty of
12886   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12887   GNU General Public License for more details.
12889   You should have received a copy of the GNU General Public License
12890   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.