Don't clear echo area prematurely when handling select window events (Bug#11304).
[emacs.git] / lisp / ChangeLog
blob1b5c9d75e9edc7f9f1984f061e58c2a125b4e8cb
1 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (handle-select-window): Clear echo area since this is
4         no more done by read_char (Bug#11304).
6 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9         and `/ M' to filter-derived-mode.
10         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12         (ibuffer-mark-by-mode): Use default rather than initial-input.
13         (ibuffer-filter-by-derived-mode): Autoload and require-match.
15 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
17         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
18         (ibuffer-filter-by-derived-mode): New filter.
19         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
21 2012-04-23  Andreas Politz  <politza@fh-trier.de>
23         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
25 2012-04-23  Chong Yidong  <cyd@gnu.org>
27         * cus-edit.el (customize-apropos, customize-apropos-options):
28         Disable matching of non-option variables (Bug#11176).
29         (customize-option, customize-option-other-window)
30         (customize-changed-options): Doc fix.
31         (customize-apropos-options, customize-apropos-faces)
32         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
34         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
35         Fix word list splitting (Bug#11132).
36         (apropos-symbol, apropos-keybinding, apropos-label)
37         (apropos-property, apropos-function-button)
38         (apropos-variable-button, apropos-misc-button): New faces.
39         (apropos-symbol-face, apropos-keybinding-face)
40         (apropos-label-face, apropos-property-face, apropos-match-face):
41         Variables removed (Bug#8396).
42         (apropos-library-button, apropos-format-plist, apropos-print)
43         (apropos-print-doc, apropos-describe-plist): Callers changed.
45 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
47         * net/xesam.el (xesam-mode-map): Use let-bound map in
48         initialization.  (Bug#11292)
50 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
52         Preserve ispell session localwords when switching back to
53         original buffer.
55         * ispell.el (ispell-buffer-session-localwords): New buffer-local
56         variable to hold buffer session localwords.
57         (ispell-kill-ispell): add option 'clear to delete session
58         localwords.
59         (ispell-command-loop, ispell-change-dictionary)
60         (ispell-buffer-local-words): Preserve session localwords when
61         needed.
63         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
64         Preserve session localwords when needed.
66 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
68         * ispell.el (ispell-insert-word) Remove unneeded function using
69         obsolete `translation-table-for-input'.
70         (ispell-word, ispell-process-line, ispell-complete-word): Use
71         plain `insert' instead of removed `ispell-insert-word'.
73 2012-04-22  Chong Yidong  <cyd@gnu.org>
75         * cus-edit.el (custom-variable-menu)
76         (custom-variable-reset-saved, custom-face-menu)
77         (custom-face-reset-saved): If there is no saved value, make the
78         "reset-saved" operation bring back the default (Bug#9509).
79         (custom-face-state): Properly detect themed faces.
81         * faces.el (face-spec-set): Stop supporting deprecated form of
82         third arg.
84 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
86         Move functions from C to Lisp.  Make non-blocking method calls
87         the default.  Implement further D-Bus standard interfaces.
89         * net/dbus.el (dbus-message-internal): Declare function.  Remove
90         unneeded function declarations.
91         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
92         (dbus-message-type-method-return, dbus-message-type-error)
93         (dbus-message-type-signal): Declare variables.  Remove local
94         definitions.
95         (dbus-interface-dbus, dbus-interface-peer)
96         (dbus-interface-introspectable, dbus-interface-properties)
97         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
98         Adapt docstring.
99         (dbus-interface-objectmanager): New defconst.
100         (dbus-call-method, dbus-call-method-asynchronously)
101         (dbus-send-signal, dbus-method-return-internal)
102         (dbus-method-error-internal, dbus-register-service)
103         (dbus-register-signal, dbus-register-method): New defuns, moved
104         from dbusbind.c
105         (dbus-call-method-handler, dbus-setenv)
106         (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
107         defuns.
108         (dbus-call-method-non-blocking): Make it an obsolete function.
109         (dbus-unregister-object, dbus-unregister-service)
110         (dbus-handle-event, dbus-register-property)
111         (dbus-property-handler): Obey the new structure of
112         `bus-registered-objects'.
113         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
114         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
115         Use `dbus-call-method'.
117 2012-04-22  Chong Yidong  <cyd@gnu.org>
119         * cus-edit.el (custom-commands, custom-reset-menu)
120         (Custom-reset-standard): Tweak labels.
121         (custom-reset-button-menu): Change default to t.
122         (custom-buffer-create-internal): For the custom-reset-button-menu
123         case, put the revert button first.
124         (custom-group-subtitle): New face.
125         (custom-group-value-create): Align docstring to a specific column.
127         * wid-edit.el (widget-documentation-link-add): Don't handle
128         indentation in this function.
129         (widget-documentation-string-indent-to): New function.
130         (widget-documentation-string-value-create): Use it.
132         * autorevert.el (auto-revert):
133         * epg-config.el (epg):
134         * ibuffer.el (ibuffer):
135         * mpc.el (mpc):
136         * ses.el (ses):
137         * eshell/eshell.el (eshell):
138         * net/ange-ftp.el (ange-ftp):
139         * progmodes/ebnf2ps.el (postscript):
140         * progmodes/flymake.el (flymake):
141         * progmodes/prolog.el (prolog):
142         * progmodes/verilog-mode.el (verilog-mode):
143         * progmodes/which-func.el (which-func):
144         * term/xterm.el (xterm):
145         * textmodes/picture.el (picture):
146         * textmodes/tildify.el (tildify):
147         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
148         customization buffers.
150 2012-04-22  Alan Mackenzie  <acm@muc.de>
152         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
153         Adding a ) can hide the resulting (..) from searches.  Fix it.
154         Bound the backward search to the position of the existing (.
156 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
158         * progmodes/verilog-mode.el (verilog-mode): Check whether
159         which-func-modes is t before adding verilog-mode.
160         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
162 2012-04-21  Leo Liu  <sdl.web@gmail.com>
164         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
166 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
168         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
169         filling of the last column of a table (Bug#5635).
170         (woman-find-next-control-line): New arg, specifying an additional
171         regexp component for the control line.
172         (woman2-roff-buffer): Use it.
173         (woman-break-table): New function.
174         (woman2-TS): Use it.
176 2012-04-21  Chong Yidong  <cyd@gnu.org>
178         * woman.el (woman-set-buffer-display-table, woman-decode-region)
179         (woman-horizontal-escapes, woman-negative-vertical-space)
180         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
181         (WoMan-warn-ignored): Use ?\s instead of ?\ .
183 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
185         * minibuffer.el (completion-file-name-table): Complete user names.
187 2012-04-20  Leo Liu  <sdl.web@gmail.com>
189         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
190         and pcase-let*.
192 2012-04-20  Chong Yidong  <cyd@gnu.org>
194         * server.el (server-execute): Respect initial-buffer-choice if it
195         is a string and there are no files to open (Bug#2825).
196         (server-create-window-system-frame, server-create-tty-frame):
197         Don't switch buffers here.
198         (server-process-filter): Only try to open a window system frame if
199         compiled with graphical support (Bug#8314).
201 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
203         * battery.el (battery-echo-area-format): Display remaining time
204         for sysfs backend too (Bug#11269).
205         (battery-linux-sysfs): Fix conditional for the charge.
207 2012-04-20  Chong Yidong  <cyd@gnu.org>
209         * progmodes/gdb-mi.el (gdb): Revert previous change.
210         (gdb-inferior-io--init-proc): New function.
211         (gdb-init-1): Use it.
212         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
213         responsible for allocating a new pty and hooking it to gdb when
214         the old pty gets an EIO due to process exit.
215         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
216         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
217         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
219 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
221         * window.el (window-min-size, window-sizable, window-min-delta)
222         (window-max-delta, window--resizable, window-resizable)
223         (window-total-size, window-full-height-p, window-full-width-p)
224         (window-in-direction, window--resize-mini-window, window-resize)
225         (window--resize-child-windows-normal)
226         (window--resize-child-windows, window--resize-siblings)
227         (window--resize-this-window, adjust-window-trailing-edge)
228         (enlarge-window, shrink-window): Doc fixes.
230 2012-04-20  Chong Yidong  <cyd@gnu.org>
232         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
233         function to call delete-process on the gdb-inferior buffer's pty.
234         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
235         pty process (Bug#11273).
236         (gdb-update): New arg to suppress talking to the gdb process.
237         (gdb-done-or-error): Use it.
238         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
239         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
240         sentinel not being called.
242         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
244         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
246 2012-04-20  Glenn Morris  <rgm@gnu.org>
248         * net/network-stream.el (open-network-stream): Doc fix.
250 2012-04-20  Chong Yidong  <cyd@gnu.org>
252         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
254 2012-04-20  Alan Mackenzie  <acm@muc.de>
256         Ensure searching for keywords is case sensitive.
258         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
259         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
260         (c-defun-name, c-mark-function, c-cpp-define-name)
261         (c-comment-indent, c-scan-conditionals, c-indent-defun)
262         (c-context-line-break): Bind case-fold-search to nil.
264         * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
265         case-fold-search to nil.
267 2012-04-20  Chong Yidong  <cyd@gnu.org>
269         * mail/sendmail.el (mail-bury): Call return action with the right
270         Rmail buffer (Bug#11242).
272         * server.el (server-process-filter): Handle corner case where both
273         tty and nowait options are present (Bug#11102).
275 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
277         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
278         (top level): Put into the executable the ident-style '$Id:' tag on
279         windows-nt as well.
281 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
283         * electric.el (electric-indent-post-self-insert-function): Check that
284         electric-indent-mode is enabled in current buffer.
286 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
288         * imenu.el (imenu-progress-message): Restore; it is "used" in
289         erc/erc-imenu.el and net/snmp-mode.el.
291 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
293         * avoid.el (mouse-avoidance-mode): Mark unused arg.
294         (mouse-avoidance-nudge-mouse): Remove unused binding.
296         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
298         * descr-text.el (describe-char):
299         * progmodes/python.el (python-describe-symbol):
300         Don't call `toggle-read-only', set `buffer-read-only'.
302         * imenu.el (imenu-default-goto-function): Mark unused args.
303         (imenu-progress-message): Remove obsolete macro; all callers changed.
305         * subr.el (keymap-canonicalize): Remove unused binding.
306         (read-passwd): Mark unused arg.
308         * tutorial.el (tutorial--display-changes): Remove unused binding.
309         (tutorial--save-tutorial-to): Remove unused variable.
311         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
312         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
313         (package-generate-autoloads, package-menu--generate)
314         (package-menu--find-upgrades): Remove unused bindings.
316         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
317         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
318         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
319         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
320         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
321         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
322         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
323         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
324         (cua-delete-char-rectangle): Mark unused args.
325         (cua-align-rectangle): Remove unused binding.
327         * mail/rmail.el (compilation--message->loc)
328         (epa--find-coding-system-for-mime-charset): Declare.
330         * net/dbus.el (dbus-register-service): Declare.
331         (dbus-name-owner-changed-handler): Remove unused binding.
333         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
334         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
335         (nxml-scan-backward-within): Mark unused arg.
336         (nxml-dynamic-markup-word): Remove unused binding.
338         * mouse.el (mouse-menu-major-mode-map):
339         * emacs-lisp/authors.el (authors-scan-change-log)
340         (authors-add-to-author-list):
341         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
342         * emacs-lisp/smie.el (smie-auto-fill):
343         * mail/sendmail.el (mail-bury):
344         * mail/unrmail.el (unrmail):
345         * net/tls.el (open-tls-stream):
346         * textmodes/picture.el (picture-mouse-set-point):
347         Remove unused bindings.
349 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
351         * net/tramp.el (tramp-action-password): Let-bind
352         `enable-recursive-minibuffers' to t.
354 2012-04-18  Sam Steingold  <sds@gnu.org>
356         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
357         instead of 'string to accommodate values like [f11].
358         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
359         * progmodes/gdb-mi.el: Likewise.
361 2012-04-18  Leo Liu  <sdl.web@gmail.com>
363         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
364         current buffer.
365         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
366         LOCAL is nil.
368 2012-04-18  Chong Yidong  <cyd@gnu.org>
370         * simple.el (line-move): Use forward-line if in batch mode
371         (Bug#11053).
373 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
375         * files.el (after-find-file): Do not try to add a final newline if
376         the buffer is read-only (Bug#11156).
378 2012-04-17  Richard Stallman  <rms@gnu.org>
380         * mail/rmail.el (rmail-start-mail):
381         Pass (rmail-mail-return...) for the return-action.
382         Pass (rmail-yank-current-message...) for the yank-action.
383         (rmail-yank-current-message): New function.
384         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
385         (rmail-reply): Likewise.
386         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
388         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
389         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
390         buffer, not newbuf.
392 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
394         * server.el (server-ensure-safe-dir): Simplify.
396 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
398         * emacs-lisp/smie.el: Provide smarter auto-filling.
399         (smie-auto-fill): New function.
400         (smie-setup): Use it.
402         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
404 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
406         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
407         (comment-indent): Use it.
409 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
411         * ses.el: The overall change is to add cell renaming, that is
412         setting fancy names for cell symbols other than name matching
413         "\\`[A-Z]+[0-9]+\\'" regexp .
414         (ses-localvars): Add ses--renamed-cell-symb-list.
415         (ses-create-cell-variable): New defun.
416         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
417         (ses-relocate-formula): Relocate formulas only for cells the
418         symbols of which are not renamed, i.e. symbols whose names do not
419         match regexp "\\`[A-Z]+[0-9]+\\'".
420         (ses-relocate-all): Relocate values only for cells the symbols of
421         which are not renamed.
422         (ses-load): Create cells variables as the (ses-cell ...) are read,
423         in order to check row col consistency with cell symbol name only
424         for cells that are not renamed.
425         (ses-replace-name-in-formula): New defun.
426         (ses-rename-cell): New defun.
428 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
430         * progmodes/perl-mode.el (perl-indent-parens-as-block):
431         New option (bug#11118).
432         (perl-calculate-indent): Respect it.
434 2012-04-17  Glenn Morris  <rgm@gnu.org>
436         * dired-aux.el (dired-mark-read-string): Doc fix.
438 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
440         * dired-aux.el (dired-mark-read-string): Offer optional completion.
441         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
443 2012-04-17  Glenn Morris  <rgm@gnu.org>
445         * mouse.el (mouse-drag-track):
446         * speedbar.el (speedbar-frame-mode):
447         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
449 2012-04-16  Leo Liu  <sdl.web@gmail.com>
451         * progmodes/python.el: Trivial cleanup.
453 2012-04-16  Glenn Morris  <rgm@gnu.org>
455         * vc/vc.el (vc-string-prefix-p):
456         * vc/pcvs-util.el (cvs-string-prefix-p):
457         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
458         * mpc.el (mpc-string-prefix-p):
459         Make all of these into obsolete aliases for string-prefix-p.
460         Update callers.
461         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
463         * textmodes/two-column.el: Move custom options to the start.
464         (frame-width): Remove compat definition.
465         (2C-associate-buffer, 2C-dissociate):
466         Use with-current-buffer rather than save-excursion.
467         (2C-dissociate): Force a mode-line update.
468         (2C-autoscroll): Use ignore-errors.
470         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
471         Autoload trivia.
473         * emacs-lisp/cl-extra.el (*random-state*):
474         Remove unnecessary declaration.
476         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
478         * play/cookie1.el (cookie-snarf):
479         Give an explicit error if input file cannot be read.
481         * play/yow.el (yow-file): Use expand-file-name rather than concat.
483         * progmodes/perl-mode.el (c-macro-expand):
484         Remove unnecessary autoload (it is in loaddefs.el).
486         * textmodes/picture.el (picture-desired-column)
487         (picture-update-desired-column): Convert comments to doc-strings.
488         (picture-substitute): Remove function.
489         (picture-mode-map): Initialize in the defvar.
491         * woman.el: Remove eval-after-load for tar-mode.
492         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
493         (woman-tar-extract-file): Autoload it.
495         * frame.el (automatic-hscrolling): Make this alias obsolete.
497 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
499         * ispell.el (ispell-set-spellchecker-params): Post-process
500         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
501         (ispell-dictionary-base-alist): Revert to original XEmacs
502         friendly version for default.  [:alpha:] will be added in
503         `ispell-set-spellchecker-params' if needed
505 2012-04-16  Chong Yidong  <cyd@gnu.org>
507         * image.el (imagemagick--extension-regexp): New variable.
508         (imagemagick-register-types): Use it.
509         (imagemagick-types-inhibit): Add :set function.  Allow new value
510         of t to inhibit all types.
512         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
513         so we can preload it.
515         * loadup.el (fboundp): Preload regexp-opt, needed by
516         imagemagick-register-types.
518 2012-04-15  Chong Yidong  <cyd@gnu.org>
520         * frame.el (scrolling): Remove nearly unused customization group.
522         * scroll-all.el (scroll-all-mode): Move to windows group.
524 2012-04-15  Chong Yidong  <cyd@gnu.org>
526         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
528 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
530         Avoid the use of ((lambda ...) ...) in lexical-binding code.
531         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
533 2012-04-15  Glenn Morris  <rgm@gnu.org>
535         * simple.el (process-file-side-effects): Doc fix.
537 2012-04-15  Glenn Morris  <rgm@gnu.org>
539         * international/mule-cmds.el (set-language-environment): Doc fix.
541 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
543         * server.el (server-auth-key, server-generate-key): Doc fixes.
544         (server-get-auth-key): Doc fix.  Use `string-match-p'.
545         (server-start): Reflow docstring.
547 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
549         * server.el (server-generate-key): `called-interactively-p'
550         requires a parameter.
552 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
554         * server.el (server-auth-key): New variable.
555         (server-generate-key, server-get-auth-key): New function.
556         (server-start): Use the new variable and functions to allow
557         setting a permanent server key (bug#9423).
559 2012-04-14  Leo Liu  <sdl.web@gmail.com>
561         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
563 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
565         Spelling fixes.
566         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
567         Emacs uses American spelling.
569 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
571         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
572         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
573         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
574         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
576 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
578         * progmodes/which-func.el (which-func-modes): Change default.
580 2012-04-14  Kim F. Storm  <storm@cua.dk>
582         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
583         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
585 2012-04-14  Chong Yidong  <cyd@gnu.org>
587         * custom.el (custom-theme-set-variables): Doc fix.
589 2012-04-14  Glenn Morris  <rgm@gnu.org>
591         * international/mule.el (set-auto-coding-for-load): Doc fix.
593 2012-04-14  Alan Mackenzie  <acm@muc.de>
595         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
596         imenu work again for Objective C Mode.  Correct the *-index values,
597         these having been disturbed by a previous change in 2011-08.
599         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
600         Correct two search limits.
602 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
604         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
606 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
608         * international/characters.el: Fix sorting.
610 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
612         * international/characters.el: Add more missing Latin case pairs.
614 2012-04-14  Glenn Morris  <rgm@gnu.org>
616         * files.el (dir-locals-set-class-variables): Doc fix.
618 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
620         * international/characters.el: Add set-case-syntax-pair call for
621         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
622         counterpart.  (Bug#11209)
624         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
626 2012-04-14  Glenn Morris  <rgm@gnu.org>
628         * calendar/holidays.el (calendar-check-holidays): Doc fix.
630 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
632         * textmodes/ispell.el (ispell-dictionary-base-alist):
633         Add data for Hebrew.
635 2012-04-14  Chong Yidong  <cyd@gnu.org>
637         * net/rcirc.el (rcirc-cmd-quit):
638         Revert 2012-03-18 change (Bug#11192).
640 2012-04-14  Glenn Morris  <rgm@gnu.org>
642         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
644 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
646         * minibuffer.el (completion-in-region-mode-map):
647         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
649 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
651         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
653 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
655         * minibuffer.el (minibuffer-local-filename-syntax): New variable
656         to allow `C-M-f' and `C-M-b' to move to the nearest path
657         separator (bug#9511).
659 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
661         * avoid.el: Require cl when compiling.  And also move the
662         `provide' to the end.
664 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
666         * avoid.el (mouse-avoidance-banish-position): New variable.
667         (mouse-avoidance-banish-destination): Use it (bug#10165).
669 2012-04-13  Leo Liu  <sdl.web@gmail.com>
671         * progmodes/which-func.el (which-func-modes): Add objc-mode.
673 2012-04-13  Ken Brown  <kbrown@cornell.edu>
675         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
676         this is no longer needed now that cygstart understands file:// URLs.
677         (browse-url-filename-alist): For the same reason, don't modify
678         file:// URLs on Cygwin.
680 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
683         the region on shift if the binding is already shifted (bug#11221).
685 2012-04-12  Glenn Morris  <rgm@gnu.org>
687         * mail/mailpost.el: Move to obsolete/.
689 2012-04-12  Drew Adams  <drew.adams@oracle.com>
691         * imenu.el (imenu--generic-function): Ignore invisible definitions
692         (bug#10123).
694 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
696         * hexl.el (hexl-bits): New variable.
697         (hexl-options): Mention the variable in the doc string.
698         (hexl-rulerise, hexl-line-displen): New functions.
699         (hexl-mode): Mention the new variable.
700         (hexl-mode, hexl-current-address, hexl-current-address):
701         Use the displen.
702         (hexl-ascii-start-column): New function.
703         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
704         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
706 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
708         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
709         '("-i" ENCODING), in 2 separate command-line arguments, to specify
710         the encoding, as expected by hunspell.
712 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * battery.el (battery--linux-sysfs-regexp): New const.
715         (battery-status-function): Use it.  Remove yeeloong special case.
716         (battery-yeeloong-sysfs): Remove.
717         (battery-echo-area-format): Remove yeeloong special case.
719 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
721         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
722         Reported by Noah Friedman.
724         * subr.el (read-passwd): Use read-string.
726 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
728         * vcursor.el (vcursor-move): Increase the priority of the overlay
729         (bug#9663).
731 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
733         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
734         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
736 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
738         * textmodes/artist.el (artist-mode): Convert artist-mode to use
739         define-minor-mode (bug#10760).
741 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
743         * progmodes/grep.el (rgrep): Tweak the find command line so
744         that directories matching `grep-find-ignored-files' won't be
745         pruned (bug#10351).
747 2012-04-11  Chong Yidong  <cyd@gnu.org>
749         * startup.el (command-line): Remove support for long-obsolete
750         variable font-lock-face-attributes.
752 2012-04-11  Glenn Morris  <rgm@gnu.org>
754         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
756 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
758         * window.el (window--state-get-1): Obey window-point-insertion-type.
760 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
762         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
763         to previous function when point is on the first character of a
764         function.  Take care of that in `narrow-to-defun' (bug#6157).
766 2012-04-11  Glenn Morris  <rgm@gnu.org>
768         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
769         not just file-errors.
771         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
772         (vc-bzr-sha1): Use internal sha1.
774 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
776         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
778 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
780         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
781         that start in the middle of the line (bug#10496).
783 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
785         * battery.el (battery-linux-proc-acpi): Only one battery is
786         discharged at a time, but that seems to confuse battery.el when
787         computing `rate-type' for the battery not being discharged
788         (bug#10332).
790 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
792         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
794         * international/quail.el: Use dolist and simplify.
795         (quail-define-package, quail-update-keyboard-layout)
796         (quail-define-rules): Use dolist.
797         (quail-insert-kbd-layout, quail-get-translation): CSE.
799         * tmm.el: Use dolist, remove left over hook.
800         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
801         Use dolist.
802         (calendar-load-hook): Don't mess with it.
804         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
805         Use derived-mode-p.  Run the diff asynchronously.
807 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
809         * obsolete/mouse-sel.el: Add an Obsolete-since header.
811 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
813         * misc.el: Display absolute path of loaded DLLs (bug#10424).
814         (list-dynamic-libraries--loaded): New function.
815         (list-dynamic-libraries--refresh): Use it.
817 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
819         * progmodes/python.el (python-fill-paragraph):
820         Make python-fill-region in a multiline string work when font-lock is
821         disabled (bug#7018).
823 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
825         * language/european.el (cp775): Add oem/legacy (en)coding on
826         DOS/MS Windows for the Baltic languages.  There are still plenty
827         of texts written in this encoding/codepage (bug#6519).
829 2012-04-10  Glenn Morris  <rgm@gnu.org>
831         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
832         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
834 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
836         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
837         next-line "n" and previous-line "p" in order to make recentf more
838         consistent with ibuffer, dired or org-mode (bug#9387).
840 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
842         * image.el (put-image): Return the overlay created instead of the
843         optional input string (bug#7834).  Note that this may break code
844         that is (for some reason or other) depending on `put-image'
845         returning the string.
847         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
849         * simple.el (zap-to-char): Allow zapping using input methods
850         (bug#1580).
852         * textmodes/fill.el (fill-region): Leave point and mark where they
853         were before filling (bug#5399).
855 2012-04-09  Glenn Morris  <rgm@gnu.org>
857         * version.el (emacs-bzr-get-version):
858         Handle lightweight checkouts of local branches.
860 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
862         * international/characters.el: Recover lost case pairs.  (Bug#11209)
864 2012-04-09  Chong Yidong  <cyd@gnu.org>
866         * custom.el (custom-variable-p): Return nil for non-symbol
867         arguments instead of signaling an error.
868         (user-variable-p): Obsolete alias for custom-variable-p.
870         * apropos.el (apropos-variable):
871         * files-x.el (read-file-local-variable):
872         * simple.el (set-variable):
873         * woman.el (woman-mini-help):
874         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
876 2012-04-09  Glenn Morris  <rgm@gnu.org>
878         * startup.el (normal-top-level): Don't look for leim-list.el
879         in places where it will not be found.  (Bug#910)
881         * international/mule-cmds.el (set-default-coding-systems):
882         * files.el (normal-mode):
883         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
884         This function was removed with ucs-tables.el in 2008.
886 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
888         * textmodes/ispell.el (ispell-check-version): For hunspell, set
889         ispell-encoding8-command to "-i", without a trailing space.
890         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
891         separate command-line arguments, to specify the encoding, since
892         that's how hunspell expects it.
894 2012-04-08  Glenn Morris  <rgm@gnu.org>
896         * loadup.el: Load bindings before cus-start.
897         This reduces somewhat the number of "rogue" settings in emacs -Q.
899 2012-04-07  Glenn Morris  <rgm@gnu.org>
901         * version.el (emacs-bzr-get-version): New function.
902         (emacs-bzr-version): New variable.
903         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
904         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
906 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
908         * international/uni-bidi.el, international/uni-category.el:
909         * international/uni-combining.el, international/uni-decimal.el:
910         * international/uni-decomposition.el, international/uni-digit.el:
911         * international/uni-lowercase.el, international/uni-mirrored.el:
912         * international/uni-name.el, international/uni-numeric.el:
913         * international/uni-titlecase.el, international/uni-uppercase.el:
914         Update for Unicode 6.1.
916 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
918         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
920 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
922         * window.el (shrink-window): Mention the `window-min-height'
923         variable in the doc string.
925 2012-04-05  Bastien Guerry  <bzg@altern.org>
927         * color.el (color-lighten-name): Fix typo.
929 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
931         * server.el (server--on-display-p): New function.
932         (server--on-display-p): Use it.
934 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
936         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
937         (bug#11145).
939 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
941         * comint.el (comint--common-quoted-suffix): Check string boundary
942         before comparing (bug#11158).
943         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
945 2012-04-04  Chong Yidong  <cyd@gnu.org>
947         * minibuffer.el (completion-extra-properties): Doc fix.
949         * subr.el (delayed-warnings-hook): Doc fix.
951 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
953         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
954         selection (Bug#11159).
955         (epa-insert-keys): Inform that the default public key will be
956         exported if no key is selected.
958 2012-04-04  Richard Stallman  <rms@gnu.org>
960         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
962 2012-04-03  Chong Yidong  <cyd@gnu.org>
964         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
965         mail-insert-file, not its obsolete alias mail-attach-file.
967 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
969         * notifications.el (notifications-notify): Fix docstring.
971 2012-04-02  Glenn Morris  <rgm@gnu.org>
973         * emacs-lisp/authors.el (authors-aliases): Another addition.
975 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
977         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
978         `tramp-compat-call-process' instead of `tramp-local-call-process'.
979         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
981 2012-04-01  Chong Yidong  <cyd@gnu.org>
983         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
984         Handle root directory properly.
985         (copy-directory): Caller changed.
987         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
988         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
990 2012-03-31  Glenn Morris  <rgm@gnu.org>
992         * term/xterm.el (xterm-extra-capabilities): Doc fix.
994         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
996         * calendar/calendar.el (calendar-window-list)
997         (calendar-hide-window): Restore.  (Bug#11140)
998         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1000         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1002 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1004         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1005         Check if file is a symlink (Bug#10489).
1007         * files.el (copy-directory): Likewise.
1009 2012-03-30  Chong Yidong  <cyd@gnu.org>
1011         * image.el (imagemagick-types-inhibit)
1012         (imagemagick-register-types): Doc fix.
1014 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1016         * ispell.el (ispell-get-extended-character-mode): Disable
1017         extended-char-mode for hunspell.  hunspell does not support it
1018         and treats ~word as ordinary words in pipe mode.
1020 2012-03-30  Glenn Morris  <rgm@gnu.org>
1022         * tutorial.el (help-with-tutorial): Ensure local variables don't
1023         happen to make the buffer read-only.  (Bug#11127)
1025 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1027         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1028         (perl-calculate-indent): Return `noindent' in strings.
1030 2012-03-28  Sam Steingold  <sds@gnu.org>
1032         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1033         instead of the broken adhockery which does not prevent calendar
1034         buffers from being displayed at random after exit.
1035         (calendar-window-list, calendar-hide-window): Remove the broken
1036         adhockery.
1038 2012-03-28  Glenn Morris  <rgm@gnu.org>
1040         * replace.el (query-replace-map): Doc fix.
1042 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1044         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1045         contents.  (Bug#11109)
1047 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1049         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1050         (bug#11077).
1051         (avl-tree--check, avl-tree--check-node): New funs.
1053 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1055         * window.el (switch-to-visible-buffer): New option.
1056         (switch-to-prev-buffer, switch-to-next-buffer):
1057         Observe switch-to-visible-buffer.  Make sure that checking for a window
1058         showing a buffer already is done on the same frame.
1060 2012-03-27  Glenn Morris  <rgm@gnu.org>
1062         * startup.el (mail-host-address): Doc fix.
1064 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1067         than 197 variables.
1069 2012-03-26  Ami Fischman  <ami@fischman.org>
1071         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1073 2012-03-26  Glenn Morris  <rgm@gnu.org>
1075         * files.el (save-buffers-kill-emacs): Doc fix.
1077         * startup.el (normal-top-level, command-line, command-line-1):
1078         Give them doc strings.
1080 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1082         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1083         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1085 2012-03-25  Chong Yidong  <cyd@gnu.org>
1087         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1088         theme if it was previously enabled before (Bug#11031).
1090         * cus-theme.el (custom-theme-write-faces): Retrieve current face
1091         spec with custom-face-get-current-spec if its :shown-value is not
1092         determined yet (Bug#9337).
1093         (customize-create-theme, custom-theme-revert): Doc fixes.
1095         * button.el (button-at): Minor addition to docstring.
1097 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
1099         * vc/vc.el (vc-merge): Fix a prompt.
1101 2012-03-24  Chong Yidong  <cyd@gnu.org>
1103         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1104         point (Bug#9623).
1106         * button.el (button-at): Minor addition to docstring.
1108 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1110         * newcomment.el (comment-choose-indent): No space after BOL.
1112 2012-03-22  Sam Steingold  <sds@gnu.org>
1114         * window.el (switch-to-prev-buffer): Revert last patch because the
1115         bug turned out to be an advertised feature (Elisp manual 28.14).
1117 2012-03-22  Glenn Morris  <rgm@gnu.org>
1119         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
1120         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1122 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1124         * net/network-stream.el (network-stream-open-starttls): Make error
1125         message under Windows be less misleading.
1127 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
1129         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1130         understands (bug#9942).
1132 2012-03-22  Chong Yidong  <cyd@gnu.org>
1134         * simple.el (end-of-visible-line): Handle return value of
1135         next-single-property-change properly (Bug#9371).
1137 2012-03-22  Kenichi Handa  <handa@m17n.org>
1139         * international/quail.el (quail-insert-kbd-layout): Fix previous
1140         change.  To avoid unwanted bidi reordering, use
1141         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1143 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1145         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1146         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1147         (ruby-beginning-of-indent): Be more careful with the difference
1148         between word-boundary and symbol boundary.
1149         (ruby-mode-syntax-table): Make : a symbol constituent.
1151 2012-03-21  Andreas Politz  <politza@fh-trier.de>
1153         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1155 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1157         * progmodes/etags.el (tags-completion-at-point-function):
1158         Improve last fix.
1160         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1162 2012-03-21  Sam Steingold  <sds@gnu.org>
1164         * progmodes/etags.el (tags-completion-at-point-function):
1165         Avoid the error when point is inside the pattern.
1167 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
1169         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1170         line (Bug#10855).
1172 2012-03-21  Drew Adams  <drew.adams@oracle.com>
1174         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1176 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
1178         * ido.el (ido-set-current-directory, ido-read-internal)
1179         (ido-choose-completion-string, ido-completion-help): Handle nil
1180         value of ido-completion-buffer (Bug#11008).
1182 2012-03-21  Sam Steingold  <sds@gnu.org>
1184         * window.el (switch-to-prev-buffer): Do not switch to a visible
1185         window previous buffer, just like with the frame previous buffers.
1187 2012-03-21  Chong Yidong  <cyd@gnu.org>
1189         * faces.el (make-face, make-empty-face, copy-face):
1190         * face-remap.el (face-remap-add-relative, face-remap-set-base):
1191         Doc fixes.
1193 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1195         * wid-edit.el (widget-complete-field): Remove (bug#11051).
1196         (widget-complete): Remove broken use of it.
1198 2012-03-20  Chong Yidong  <cyd@gnu.org>
1200         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1201         Use string-width and truncate-string-width to handle arbitrary
1202         characters.
1204 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
1206         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1207         to draw rectangles, not squares.  (Regression introduced by revno
1208         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1210 2012-03-18  Chong Yidong  <cyd@gnu.org>
1212         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1213         it is not yet defined (for temacs).
1215 2012-03-18  Leo Liu  <sdl.web@gmail.com>
1217         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1219 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1221         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1222         (ispell-choices-win-default-height, ispell-silently-savep)
1223         (ispell-dictionary-alist, ispell-encoding8-command)
1224         (ispell-check-version, ispell-aspell-find-dictionary)
1225         (ispell-valid-dictionary-list, ispell-words-keyword)
1226         (ispell-get-word, ispell-internal-change-dictionary)
1227         (ispell-region, ispell-skip-region-list)
1228         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1229         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1230         (ispell-message-text-end, ispell-message)
1231         (ispell-buffer-local-parsing): Doc fix.
1233 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
1235         * htmlfontify.el: Add support for code block fontification for ODT
1236         export (Bug #9914).
1237         (hfy-optimisations): Define new option
1238         `body-text-only'
1239         (hfy-fontify-buffer): Honor above setting.
1240         (hfy-begin-span, hfy-end-span): New routines factored out form
1241         `hfy-fontify-buffer'.
1242         (hfy-begin-span-handler, hfy-end-span-handler): New variables
1243         that permit insertion of custom tags.
1244         (hfy-fontify-buffer): Use above handlers.
1245         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1246         (hfy-face-to-css): Re-defined to be a variable.
1247         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
1248         over multiple runs.  This is made possible by having the caller let
1249         bind a special variable `hfy-user-sheet-assoc'.
1250         (htmlfontify-string): New defun.
1251         (hfy-compile-face-map): Make sure that the last char in the
1252         buffer is correctly fontified.
1253         (hfy-face-resolve-face): Whitespace only change.
1255 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1257         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1258         message more clear.
1260 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1262         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1264 2012-03-16  Alan Mackenzie  <acm@muc.de>
1266         Further optimise the handling of large macros.
1268         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1269         limit to a call of `c-literal-limits'.
1270         (c-determine-+ve-limit): New function.
1271         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1272         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1273         In CASE 5B, restrict a search limit to 500.
1274         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1276         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1277         Restrict macro bounds to +-500 from after-change's BEG END.
1279 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1281         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1283 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
1285         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1286         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
1288 2012-03-16  Glenn Morris  <rgm@gnu.org>
1290         * view.el (view-buffer, view-buffer-other-window)
1291         (view-buffer-other-frame): Doc fixes re special mode-class.
1293         * subr.el (eval-after-load): If named feature is provided not from
1294         a file, run after-load forms.  (Bug#10946)
1296         * calendar/calendar.el (calendar-insert-at-column):
1297         Handle non-unit-width characters a bit better.  (Bug#10978)
1299 2012-03-15  Chong Yidong  <cyd@gnu.org>
1301         * emacs-lisp/ring.el (ring-extend): New function.
1302         (ring-insert+extend): Extend the ring correctly (Bug#11019).
1304         * comint.el (comint-read-input-ring)
1305         (comint-add-to-input-history): Grow comint-input-ring lazily.
1307 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1309         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1310         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1312         * imenu.el: Fix multiple inheritance breakage (bug#9199).
1313         (imenu-add-to-menubar): Don't add a redundant index.
1314         (imenu-update-menubar): Handle a dynamically composed keymap.
1316 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1318         * mail/sendmail.el (mail-encode-header):
1319         Bind rfc2047-encode-encoded-words to nil.
1321 2012-03-13  Glenn Morris  <rgm@gnu.org>
1323         * calendar/calendar.el (calendar-string-spread):
1324         Handle non-unit-width characters a bit better.  (Bug#10978)
1326 2012-03-13  Leo Liu  <sdl.web@gmail.com>
1328         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1329         directory and file as argument (Bug#10822).
1331 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1333         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1334         For dynamically generated code, follow $PC.
1335         (gdb-disassembly-handler-custom): Handle no function name case.
1337 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
1339         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1340         * emulation/ws-mode.el (ws-query-replace):
1341         * sort.el (sort-regexp-fields):
1342         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
1344 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1346         * dabbrev.el: Fix cycle completion order (bug#10963).
1347         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1348         (dabbrev-completion): Don't use an obarray; provide
1349         a cycle-sort-function.
1351 2012-03-12  Leo Liu  <sdl.web@gmail.com>
1353         * simple.el (kill-new): Use equal-including-properties for comparison.
1354         (kill-do-not-save-duplicates): Doc fix.
1356 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1358         * dabbrev.el: Fix cycle completion (bug#10963).
1359         Use lexical binding and wrap to 80 columns.
1360         (dabbrev-completion): Delay computing the list of completions.
1362 2012-03-12  Kenichi Handa  <handa@m17n.org>
1364         * international/quail.el (quail-insert-kbd-layout): Surround each
1365         row by LRO and PDF instead of inserting many LRMs.  Pad the left
1366         and right of each non-spacing marks.  Insert invisible space
1367         between lower and upper characters to prevent composition.
1369 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1371         * minibuffer.el (minibuffer-complete): Don't get confused when the
1372         function is run twice via different commands (bug#10958).
1373         (complete-with-action): Fix docstring.
1375 2012-03-12  Chong Yidong  <cyd@gnu.org>
1377         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1378         (nxml-completion-at-point-function): New function.
1379         (nxml-mode): Use it.
1380         (nxml-bind-meta-tab-to-complete-flag): Default to t.
1382         * emacs-lisp/package.el (package-unpack, package-unpack-single):
1383         Load generated autoloads file before byte compiling (Bug#10970).
1384         (package--make-autoloads-and-compile): New helper fun.
1386 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
1388         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1390 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
1392         * autorevert.el (auto-revert-handler): Ensure, that
1393         file-readable-p is applied only for local files or in
1394         auto-revert-tail-mode.
1396 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1398         * server.el (server-eval-at): Handle non-tcp connections.
1399         Decode result string.
1401         * server.el (server-msg-size): New constant.
1402         (server-reply-print): New function.
1403         (server-eval-and-print): Use it.
1404         (server-eval-at): Use server-quote-arg and server-unquote-arg.
1405         Handle -print-nonl.
1407 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
1409         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1410         (Bug#10987).
1412 2012-03-11  Chong Yidong  <cyd@gnu.org>
1414         * simple.el (goto-line): Doc fix (Bug#9938).
1416         * subr.el (save-window-excursion): Doc fix (Bug#9979).
1418         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1419         when finished (Bug#10963).
1421 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
1423         * window.el (split-window-below): Fix bug in case where
1424         split-window-keep-point is nil (Bug#10971).
1426 2012-03-11  Juri Linkov  <juri@jurta.org>
1428         * replace.el (replace-highlight): Set isearch-word to nil
1429         unconditionally.  (Bug#10887)
1431 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
1433         * net/mairix.el (mairix-replace-invalid-chars): Rename from
1434         mairix-replace-illegal-chars; all callers changed.  Don't remove
1435         ^, ~, and = characters: they are meaningful in mairix search specs.
1436         (mairix-widget-create-query): Add usage information about mairix
1437         search forms: negating words, searching for substrings, etc.
1439 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
1441         * international/fontset.el (font-encoding-alist): Add an entry for
1442         ksx1001 (Bug#5667).
1444 2012-03-10  Richard Stallman  <rms@gnu.org>
1446         * mail/sendmail.el (mail-encode-header):
1447         Set rfc2047-encode-encoded-words.
1449         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1451         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1452         view buffer means not swapped.
1453         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1454         (rmail-write-region-annotate): Error if real text has disappeared.
1456         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1458 2012-03-10  Chong Yidong  <cyd@gnu.org>
1460         * emulation/cua-rect.el (cua--init-rectangles):
1461         * emulation/cua-base.el (cua--init-keymaps):
1462         Add delete-forward-char to remappings (Bug#9666).
1464 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
1466         * speedbar.el (speedbar-unhighlight-one-tag-line):
1467         Avoid unhighlighting due to frame switching (Bug#10275).
1469 2012-03-10  Chong Yidong  <cyd@gnu.org>
1471         * minibuffer.el (completion-in-region, completion-help-at-point):
1472         Give the completion field overlay a high priority (Bug#6830).
1474         * dired.el (dired-goto-file): Recognize absolute file name
1475         listings (Bug#7126).
1476         (dired-goto-file-1): New helper function.
1477         (dired-toggle-read-only): Inhibit warnings.
1479 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
1481         * net/dbus.el (dbus-property-handler): Return empty array if
1482         there are no properties.
1484 2012-03-09  Leo Liu  <sdl.web@gmail.com>
1486         * savehist.el (savehist-printable): Stricter check for string
1487         value (Bug#10937).
1489 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
1491         * mail/smtpmail.el (smtpmail-send-it):
1492         Bind coding-system-for-write to *-unix, so that FCC files are kept in
1493         valid mbox format.
1495 2012-03-09  Glenn Morris  <rgm@gnu.org>
1497         * files.el (dir-locals-find-file):
1498         Don't check result is regular, readable.
1499         (dir-locals-read-from-file): Demote errors.
1501 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
1503         * international/quail.el (quail-insert-kbd-layout):
1504         Insert invisible LRM characters before each character in a keyboard
1505         layout cell, to prevent their reordering by bidi display engine.
1506         For details, see the discussion in
1507         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1509 2012-03-08  Alan Mackenzie  <acm@muc.de>
1511         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1512         the starting position; make it extend the marked region when
1513         invoked repeatedly - all under appropriate circumstances.
1514         Fixes bugs #5525, #10906.
1516 2012-03-08  Glenn Morris  <rgm@gnu.org>
1518         * files.el (locate-dominating-file, dir-locals-find-file):
1519         Undo 2012-03-06 change.
1521 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
1523         * international/quail.el (quail-help):
1524         Force bidi-paragraph-direction be left-to-right.  See discussion in
1525         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1526         for the reason.
1528 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
1530         Avoid superfluous registering of signals.  (Bug#10807)
1532         * notifications.el (notifications-on-action-object)
1533         (notifications-on-close-object): New defvars.
1534         (notifications-on-action-signal, notifications-on-closed-signal):
1535         Unregister the signal if not needed any longer.
1536         (notifications-notify): Register `notifications-action-signal' or
1537         `notifications-closed-signal', if :on-action or :on-close has been
1538         passed as argument.
1540 2012-03-07  Chong Yidong  <cyd@gnu.org>
1542         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1543         non-X platforms.
1545 2012-03-06  Glenn Morris  <rgm@gnu.org>
1547         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1548         (x-disown-selection-internal, x-get-selection-internal):
1549         Doc fix (add arglist signatures).  (Bug#10783)
1551 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1553         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1554         Handle breakpoints with no "type".
1556 2012-03-06  Glenn Morris  <rgm@gnu.org>
1558         * files.el (locate-dominating-file): Add optional predicate argument.
1559         (dir-locals-find-file): Make use of above change.
1561 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
1563         * info.el (Info-insert-dir): Also try "dir.gz".
1565 2012-03-06  Glenn Morris  <rgm@gnu.org>
1567         * files.el (dir-locals-find-file):
1568         Ignore non-readable or non-regular files.  (Bug#10928)
1570         * files.el (locate-dominating-file): Doc fix.
1572 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
1574         * calendar/calendar.el (calendar-set-mode-line):
1575         `getenv' returns a string.  (Bug#10951)
1577 2012-03-05  Leo Liu  <sdl.web@gmail.com>
1579         * simple.el (backward-delete-char-untabify): Constrain point to
1580         field (Bug#10939).
1582         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1584 2012-03-05  Chong Yidong  <cyd@gnu.org>
1586         * simple.el (count-words): If called from Lisp, return the word
1587         count, for symmetry with `count-lines'.  Arglist changed.
1588         (count-words--message): Args changed.  Consolidate counting code
1589         from count-words and count-words-region.
1590         (count-words-region): Caller changed.
1591         (count-lines-region): Make it an obsolete alias.
1593 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
1595         * saveplace.el (save-place-to-alist)
1596         (save-place-ignore-files-regexp): Allow value nil to disable this
1597         feature.
1599 2012-03-04  Chong Yidong  <cyd@gnu.org>
1601         * faces.el (face-spec-reset-face): For the default face, reset the
1602         attributes to default values (Bug#10748).
1604 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1606         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1607         previous patch: Check `message-send-mail-function', and not the
1608         default function (bug#10897).
1610 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
1612         * notifications.el (notifications-on-action-signal)
1613         (notifications-on-closed-signal): Check for unique service name of
1614         incoming event.  Fix error in removing entry.
1615         (top): Register for signals with wildcard service name.
1616         (notifications-notify): Use daemon unique service name for map entries.
1618 2012-03-04  Chong Yidong  <cyd@gnu.org>
1620         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1622 2012-03-04  Glenn Morris  <rgm@gnu.org>
1624         * abbrev.el (copy-abbrev-table, abbrev-table-p)
1625         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1626         (expand-abbrev, define-abbrev-table): Doc fixes.
1628 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1630         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1631         `message-default-send-mail-function' and not `send-mail-function'
1632         when doing the prompting for `sendmail-query-once' before sending
1633         in Message buffers (bug#10897).
1635         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1636         This is inconsistent with all the other stream functions, which leave
1637         the setting up to the higher levels (if so wanted) (bug#10931).
1639 2012-03-02  Alan Mackenzie  <acm@muc.de>
1641         Depessimize the handling of very large macros.
1643         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1644         (c-macro-cache-syntactic): New variables to implement a one
1645         element macro cache.
1646         (c-invalidate-macro-cache): New function.
1647         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1648         Adapt to use the new cache.
1649         (c-state-safe-place): Use better the cache of safe positions.
1650         (c-state-semi-nonlit-pos-cache)
1651         (c-state-semi-nonlit-pos-cache-limit):
1652         New variables for...
1653         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
1654         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1655         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1656         Use c-state-semi-safe-place.
1658         * progmodes/cc-langs.el (c-get-state-before-change-functions):
1659         Add c-invalidate-macro-cache to the C, C++, Obj entries.
1661 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
1663         * jka-compr.el (jka-compr-call-process):
1664         Apply `file-accessible-directory-p' only when the default directory is
1665         not remote.
1667 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
1669         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
1670         access of FILE2, if FILE1 does not exist.
1672         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1673         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1675         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1676         Add "PAGER=" to `process-environment'.
1678 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
1680         * progmodes/sql.el: Bug fix
1681         (sql-get-login-ext): Save login values in globals.
1682         (sql-get-login): Use new version of `sql-get-login-ext'.
1683         (sql-interactive-mode): Set global `sql-connection' to nil.
1684         (sql-connect): Set global values for connection.
1685         (sql-product-interactive): Save global values as buffer local.
1687 2012-02-29  Leo Liu  <sdl.web@gmail.com>
1689         * abbrev.el (define-abbrevs): Reset sys to nil.
1691 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1693         * files.el (file-equal-p): Rename from `files-equal-p'.
1694         Return nil when one or both files don't exist.
1695         (file-subdir-of-p): Now only top directory must exists,
1696         return nil if it doesn't.
1697         (copy-directory): No need to test with `file-subdir-of-p' after
1698         creating dir.
1699         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1700         to `file-equal-p'.
1702 2012-02-28  Glenn Morris  <rgm@gnu.org>
1704         * shell.el (shell-mode):
1705         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1706         * play/landmark.el (landmark-font-lock-face-O):
1707         * play/handwrite.el (handwrite):
1708         * play/gomoku.el (gomoku-O):
1709         * net/browse-url.el (browse-url-browser-display):
1710         * international/mule.el (define-charset):
1711         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1712         * filesets.el (filesets-find-file-delay):
1713         * eshell/em-xtra.el (eshell-xtra):
1714         * eshell/em-unix.el (eshell-grep):
1715         * emulation/viper.el (viper-mode):
1716         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1717         * emacs-lisp/easymenu.el (easy-menu-define):
1718         * calendar/timeclock.el (timeclock-use-display-time):
1719         * bs.el (bs-mode):
1720         * bookmark.el (bookmark-save-flag):
1721         Doc fix (standardize possessive apostrophe usage).
1723 2012-02-27  Chong Yidong  <cyd@gnu.org>
1725         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1726         Fix key-binding lookup for ESC key (Bug#9146).
1728         * font-lock.el (font-lock-specified-p): Rename from
1729         font-lock-spec-present.  Callers changed.
1731 2012-02-27  Daniel Hackney  <dan@haxney.org>
1733         * emacs-lisp/package.el (package-compute-transaction):
1734         Handle holding a package version to t in package-load-list.
1736 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1738         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1739         (tramp-get-inode, tramp-get-device): Use cached values.
1741 2012-02-26  Alan Mackenzie  <acm@muc.de>
1743         Check there is a font-lock specification before doing initial
1744         fontification.
1746         * font-core.el (font-lock-mode): Move the conditional from
1747         :after-hook to font-lock-initial-fontify.
1748         (font-lock-default-function): Move the check for a specification
1749         to font-lock-spec-present.
1751         * font-lock.el (font-lock-initial-fontify): Call ...
1752         (font-lock-spec-present): New function.
1754 2012-02-26  Jim Blandy  <jimb@red-bean.com>
1756         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1757         (gdb-send): Apply it to the operand of the '-interpreter-exec
1758         console' command, so that we can pass arguments with (say) quotes
1759         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
1761 2012-02-26  Chong Yidong  <cyd@gnu.org>
1763         * help-fns.el (describe-function-1): Clarify description of
1764         remapping (Bug#10844).
1766         * files.el (files-equal-p): Doc fix.
1767         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1768         and quit the loop once a mismatch is found.
1770 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1772         * bs.el (bs--show-with-configuration): Don't throw an error
1773         if the window cannot be split; otherwise, subsequent calls to
1774         bs-show fail, restoring a stale window config.  (Bug#10882)
1776 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1778         * term/ns-win.el (global-map): Bind ns-drag-file to
1779         ns-find-file (Bug#5855, Bug#10050).
1781 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1783         * calendar/parse-time.el (parse-time-string): Allow extractor to
1784         return nil.
1786 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1788         * net/tramp.el (tramp-file-name-for-operation):
1789         Add `files-equal-p' and `file-subdir-of-p'.
1791         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1792         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1793         Add COPY-CONTENTS argument.
1795 2012-02-25  Chong Yidong  <cyd@gnu.org>
1797         Add custom groups for VC backends, for consistency with vc-bzr.
1799         * vc/vc-arch.el (vc-arch):
1800         * vc/vc-cvs.el (vc-cvs):
1801         * vc/vc-git.el (vc-git):
1802         * vc/vc-hg.el (vc-hg):
1803         * vc/vc-mtn.el (vc-mtn):
1804         * vc/vc-rcs.el (vc-rcs):
1805         * vc/vc-sccs.el (vc-sccs):
1806         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1807         All relevant defcustoms reassigned.
1809 2012-02-25  Chong Yidong  <cyd@gnu.org>
1811         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1813         * term/x-win.el (x-initialize-window-system): Reduce default for
1814         x-selection-timeout to 5 seconds (Bug#8869).
1816 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1818         * files.el (files-equal-p, file-subdir-of-p): New functions.
1819         (copy-directory): Error when trying to copy a directory on itself.
1820         Add missing copy-contents arg to tramp handler.
1821         * dired-aux.el (dired-copy-file-recursive): Same.
1822         (dired-create-files): Modify destination when source is equal to
1823         dest when copying files.
1824         Return also when dest is a subdir of source.  (Bug#10489)
1826 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1828         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1829         (Bug#10874)
1831 2012-02-23  Alan Mackenzie  <acm@muc.de>
1833         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1834         parameter "after-hook:" to allow the expansion to run code after
1835         the execution of the mode hooks.
1837         * font-lock.el (font-lock-initial-fontify): New function extracted
1838         from font-lock-mode-internal.
1840         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1841         :after-hook.
1843 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1845         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1846         (completion--cache-all-sorted-completions): New function.
1847         (completion-all-sorted-completions): Use it.
1848         (completion--do-completion, minibuffer-force-complete):
1849         Use it to re-instate the flush hook.
1851         * icomplete.el (icomplete-completions): Replace last fix with a better
1852         one (bug#10850).
1854 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1856         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1857         when it might call us back infinitely (bug#10797).
1859 2012-02-23  Glenn Morris  <rgm@gnu.org>
1861         * minibuffer.el (completion-category-overrides): Doc fix.
1863 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1865         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1866         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1868 2012-02-23  Glenn Morris  <rgm@gnu.org>
1870         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1871         (authors-obsolete-files-regexps, authors-ignored-files)
1872         (authors-ambiguous-files, authors-renamed-files-alist):
1873         Add more entries.
1875 2012-02-23  Juri Linkov  <juri@jurta.org>
1877         * isearch.el (isearch-occur): Sync interactive spec with occur's
1878         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1880         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1882 2012-02-22  Juri Linkov  <juri@jurta.org>
1884         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1885         (ucs-insert): Doc fix.  Check for hex digits in the string.
1886         Don't display `nil' in the error message.  (Bug#10857)
1888 2012-02-22  Alan Mackenzie  <acm@muc.de>
1890         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1892 2012-02-22  Glenn Morris  <rgm@gnu.org>
1894         * ffap.el (ffap-c-path):
1895         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1897 2012-02-22  Chong Yidong  <cyd@gnu.org>
1899         * custom.el (load-theme): Doc fix.
1901 2012-02-22  Glenn Morris  <rgm@gnu.org>
1903         * dired-x.el (dired-guess-shell-alist-default):
1904         Remove escape sequences from nroff output.  (Bug#172)
1906 2012-02-21  Glenn Morris  <rgm@gnu.org>
1908         * vc/emerge.el (emerge-defvar-local):
1909         Set `permanent-local' property rather than unused `preserved'.
1911         * textmodes/picture.el (picture-delete-char): New alias.
1912         (picture-mode-map): Use it.  (Bug#10860)
1913         (picture-mode): Doc fix.
1915 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1917         * newcomment.el (uncomment-region-default): Remove unused binding.
1919 2012-02-21  Glenn Morris  <rgm@gnu.org>
1921         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1922         (picture-self-insert, picture-tab-chars): Doc fix.
1923         (picture-mode-map): Fix C-a, C-e.
1925 2012-02-20  Glenn Morris  <rgm@gnu.org>
1927         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1929 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1931         * icomplete.el (icomplete-completions): Check FROM arg before
1932         passing to substring (Bug#10850).
1934 2012-02-19  Chong Yidong  <cyd@gnu.org>
1936         * comint.el: Require ansi-color.
1937         (comint-output-filter-functions): Add ansi-color-process-output.
1939         * ansi-color.el: Don't set comint-output-filter-functions; it is
1940         now in the initial value defined in comint.el.
1941         (ansi-color-apply-face-function): New variable.
1942         (ansi-color-apply-on-region): Use it.
1943         (ansi-color-apply-overlay-face): New function.
1945         * shell.el (shell): No need to require ansi-color.
1946         (shell-mode): Use ansi-color-apply-face-function to highlight
1947         color escapes using font-lock-face property (Bug#10835).
1949 2012-02-19  Chong Yidong  <cyd@gnu.org>
1951         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1952         mode-line formats (Bug#10839).
1954 2012-02-18  Glenn Morris  <rgm@gnu.org>
1956         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1958         * mail/undigest.el (unforward-rmail-message): Doc fix.
1960         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1962 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1964         * international/characters.el (script-list): Sync with the latest
1965         Unicode Character Database.
1967 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1969         * international/titdic-cnv.el: Remove duplicate coding tag.
1970         * language/cham.el: Likewise.
1971         * language/tai-viet.el: Likewise.
1973 2012-02-18  Glenn Morris  <rgm@gnu.org>
1975         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1976         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1977         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1978         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1979         * calendar/holidays.el (holiday-bahai-holidays)
1980         (calendar-holidays, list-holidays):
1981         Use utf-8 Bahá'í in doc-strings, menus, etc.
1983 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
1985         * saveplace.el (save-place-ignore-files-regexp): New variable
1986         allowing for excluding files from saving their location of point.
1987         The default value matches the temporary commit message editing
1988         files from Git, SVN, Bazaar, and Mercurial.
1989         (save-place-to-alist): Use it.
1991 2012-02-17  Lawrence Mitchell <wence@gmx.li>
1992             Stefan Monnier  <monnier@iro.umontreal.ca>
1994         * newcomment.el (uncomment-region-default): Don't leave extra space
1995         when an arg is provided (bug#8150).
1997 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1999         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2001 2012-02-17  Glenn Morris  <rgm@gnu.org>
2003         * net/socks.el: Require network-stream.  (Bug#10599)
2005 2012-02-17  Kenichi Handa  <handa@m17n.org>
2007         * international/charprop.el:
2008         * international/uni-name.el:
2009         * international/uni-old-name.el:
2010         * international/uni-comment.el: Regenerate.
2012 2012-02-16  Glenn Morris  <rgm@gnu.org>
2014         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2015         Interactively in calendar buffer, give an error if not on a date.
2017 2012-02-15  Glenn Morris  <rgm@gnu.org>
2019         * shell.el (shell-delimiter-argument-list):
2020         Revert 2011-02-17 change.  (Bug#8027)
2022 2012-02-15  Chong Yidong  <cyd@gnu.org>
2024         * minibuffer.el (completion-at-point-functions): Doc fix.
2026         * custom.el (defcustom): Doc fix; note use of defvar.
2028 2012-02-15  Glenn Morris  <rgm@gnu.org>
2030         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2031         Doc fixes.
2033 2012-02-14  Glenn Morris  <rgm@gnu.org>
2035         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2037 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2039         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2040         way the ports list is computed.
2041         (smtpmail-query-smtp-server): Prompt the user for a port number if
2042         we can't connect to any of the standard ports (bug#10810).
2044 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2046         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2048 2012-02-13  Glenn Morris  <rgm@gnu.org>
2050         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2052 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2054         * net/gnutls.el (gnutls-trustfiles): New variable.
2055         (gnutls-negotiate): Use it.
2057 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2059         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2060         does its stuff if Gnus is running.
2062 2012-02-13  Alan Mackenzie  <acm@muc.de>
2064         Fix a loop in c-set-fl-decl-start.
2066         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2067         c-backward-syntactic-ws actually moves backwards.
2069 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2071         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2072         beginning so that all \C-o chars are removed.
2074 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2076         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2078 2012-02-12  Alan Mackenzie  <acm@muc.de>
2080         Fix infinite loop with long macros.
2081         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2083 2012-02-12  Chong Yidong  <cyd@gnu.org>
2085         * window.el (display-buffer): Doc fix (Bug#10785).
2087 2012-02-12  Glenn Morris  <rgm@gnu.org>
2089         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2090         (x-disown-selection-internal, x-get-selection-internal):
2091         Sync docs with the xselect.c versions.
2093         * allout-widgets.el: Add missing license notice.
2095 2012-02-11  Glenn Morris  <rgm@gnu.org>
2097         * select.el (x-get-selection-internal, x-own-selection-internal)
2098         (x-disown-selection-internal):
2099         * x-dnd.el (x-get-selection-internal): Update declarations.
2101         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2103         * window.el (window-sides-slots):
2104         * tool-bar.el (tool-bar-position):
2105         * term/xterm.el (xterm-extra-capabilities):
2106         * ses.el (ses-self-reference-early-detection):
2107         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2108         (verilog-auto-wire-type)
2109         (verilog-auto-delete-trailing-whitespace)
2110         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2111         (verilog-auto-tieoff-declaration):
2112         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2113         (sql-oracle-statement-starters, sql-oracle-scan-on):
2114         * progmodes/prolog.el (prolog-align-comments-flag)
2115         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2116         (prolog-left-indent-regexp, prolog-paren-indent-p)
2117         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2118         (prolog-types, prolog-mode-specificators)
2119         (prolog-determinism-specificators, prolog-directives)
2120         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2121         (prolog-electric-dot-flag)
2122         (prolog-electric-dot-full-predicate-template)
2123         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2124         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2125         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2126         (prolog-program-switches, prolog-prompt-regexp)
2127         (prolog-debug-on-string, prolog-debug-off-string)
2128         (prolog-trace-on-string, prolog-trace-off-string)
2129         (prolog-zip-on-string, prolog-zip-off-string)
2130         (prolog-use-standard-consult-compile-method-flag)
2131         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2132         (prolog-imenu-max-lines, prolog-info-predicate-index)
2133         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2134         (prolog-char-quote-workaround):
2135         * progmodes/cc-vars.el (c-defun-tactic):
2136         * net/tramp.el (tramp-encoding-command-interactive)
2137         (tramp-local-end-of-line):
2138         * net/soap-client.el (soap-client):
2139         * net/netrc.el (netrc-file):
2140         * net/gnutls.el (gnutls):
2141         * minibuffer.el (completion-category-overrides)
2142         (completion-cycle-threshold)
2143         (completion-pcm-complete-word-inserts-delimiters):
2144         * man.el (Man-name-local-regexp):
2145         * mail/feedmail.el (feedmail-display-full-frame):
2146         * international/characters.el (glyphless-char-display-control):
2147         * eshell/em-ls.el (eshell-ls-date-format):
2148         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2149         (lisp-lambda-list-keyword-parameter-indentation)
2150         (lisp-lambda-list-keyword-parameter-alignment):
2151         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2152         * dired-x.el (dired-omit-verbose):
2153         * cus-theme.el (custom-theme-allow-multiple-selections):
2154         * calc/calc.el (calc-highlight-selections-with-faces)
2155         (calc-lu-field-reference, calc-lu-power-reference)
2156         (calc-note-threshold):
2157         * battery.el (battery-mode-line-limit):
2158         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2159         (archive-7z-update):
2160         * allout.el (allout-prefixed-keybindings)
2161         (allout-unprefixed-keybindings)
2162         (allout-inhibit-auto-fill-on-headline)
2163         (allout-flattened-numbering-abbreviation):
2164         * allout-widgets.el (allout-widgets-auto-activation)
2165         (allout-widgets-icons-dark-subdir)
2166         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2167         (allout-widgets-theme-dark-background)
2168         (allout-widgets-theme-light-background)
2169         (allout-widgets-item-image-properties-emacs)
2170         (allout-widgets-item-image-properties-xemacs)
2171         (allout-widgets-run-unit-tests-on-load)
2172         (allout-widgets-time-decoration-activity)
2173         (allout-widgets-hook-error-post-time)
2174         (allout-widgets-track-decoration):
2175         Add missing :version tags to new defcustoms and defgroups.
2177         * progmodes/sql.el (sql-ansi-statement-starters)
2178         (sql-oracle-statement-starters): Add custom type.
2180         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2181         (prolog-system-version): Give it a type.
2183 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
2185         * term/pc-win.el (x-select-text, x-selection-owner-p)
2186         (x-own-selection-internal, x-disown-selection-internal)
2187         (x-get-selection-internal): Sync doc strings and argument lists
2188         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
2190 2012-02-11  Leo Liu  <sdl.web@gmail.com>
2192         * progmodes/python.el (python-end-of-statement): Fix infinite
2193         loop.  (Bug#10788)
2195 2012-02-10  Glenn Morris  <rgm@gnu.org>
2197         * international/mule-cmds.el (unify-8859-on-encoding-mode)
2198         (unify-8859-on-decoding-mode): Properly mark as obsolete.
2200 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2202         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2203         about SMTP before checking the From header.
2205         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2206         into own function for reuse by emacsbug.el.
2208 2012-02-10  Leo Liu  <sdl.web@gmail.com>
2210         * subr.el (condition-case-unless-debug): Rename from
2211         condition-case-no-debug.  All callers changed.
2212         (with-demoted-errors): Fix caller.
2214         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2215         * nxml/rng-valid.el (rng-do-some-validation):
2216         * emacs-lisp/package.el (package-refresh-contents)
2217         (package-menu-execute):
2218         * desktop.el (desktop-create-buffer):
2219         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2221 2012-02-10  Glenn Morris  <rgm@gnu.org>
2223         * textmodes/bibtex.el:
2224         Add missing :version tags for new/changed defcustoms.
2226         * files.el (remote-file-name-inhibit-cache): Doc fixes.
2228 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
2230         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2231         (smtpmail-via-smtp): Use it, or fall back on the From address.
2232         (smtpmail-send-it): Ditto.
2234 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2236         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2237         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
2238         (byte-compile-tmp-var): New const.
2239         (byte-compile-defvar): Use it to minimize .elc size.
2240         Just use `defvar' rather than simulate it (bug#10761).
2242 2012-02-09  Glenn Morris  <rgm@gnu.org>
2244         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
2246         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2247         Add :version tags.
2249         * progmodes/compile.el (compilation-error-screen-columns)
2250         (compilation-first-column, compilation-filter-start): Doc fixes.
2252         * vc/log-view.el (log-view-toggle-entry-display):
2253         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2255         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2256         (report-emacs-bug-can-use-xdg-email):
2257         (report-emacs-bug-insert-to-mailer): Doc fixes.
2258         (report-emacs-bug): Message fix.
2260         * net/browse-url.el (browse-url-can-use-xdg-open)
2261         (browse-url-xdg-open): Doc fixes.
2263         * electric.el (electric-indent-mode, electric-pair-mode)
2264         (electric-layout-rules, electric-layout-mode): Doc fixes.
2265         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2267 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
2269         * server.el (server-unselect-display): Don't inadvertently kill
2270         the current buffer.  (Bug#10729)
2272 2012-02-08  Glenn Morris  <rgm@gnu.org>
2274         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2275         (sql-list-table): Doc fixes.
2277         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2278         Comment out (does nothing).
2280         * completion.el (dynamic-completion-mode):
2281         * dirtrack.el (dirtrack-debug-mode):
2282         * electric.el (electric-layout-mode):
2283         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2284         * face-remap.el (text-scale-mode, buffer-face-mode):
2285         * iimage.el (iimage-mode):
2286         * image-mode.el (image-transform-mode):
2287         * minibuffer.el (completion-in-region-mode):
2288         * scroll-lock.el (scroll-lock-mode):
2289         * simple.el (next-error-follow-minor-mode):
2290         * tar-mode.el (tar-subfile-mode):
2291         * tooltip.el (tooltip-mode):
2292         * vcursor.el (vcursor-use-vcursor-map):
2293         * wid-browse.el (widget-minor-mode):
2294         * emulation/tpu-edt.el (tpu-edt-mode):
2295         * emulation/tpu-extras.el (tpu-cursor-free-mode):
2296         * international/iso-ascii.el (iso-ascii-mode):
2297         * language/thai-util.el (thai-word-mode):
2298         * mail/supercite.el (sc-minor-mode):
2299         * net/goto-addr.el (goto-address-mode):
2300         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2301         * progmodes/cwarn.el (cwarn-mode):
2302         * progmodes/flymake.el (flymake-mode):
2303         * progmodes/glasses.el (glasses-mode):
2304         * progmodes/hideshow.el (hs-minor-mode):
2305         * progmodes/pascal.el (pascal-outline-mode):
2306         * textmodes/enriched.el (enriched-mode):
2307         * vc/smerge-mode.el (smerge-mode):
2308         Doc fixes (minor mode argument).
2310 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
2312         * ls-lisp.el (ls-lisp-sanitize): New function.
2313         (ls-lisp-insert-directory): Use it to fix or remove any elements
2314         in file-alist with missing attributes.  (Bug#4673)
2316 2012-02-07  Alan Mackenzie  <acm@muc.de>
2318         Fix spurious recognition of c-in-knr-argdecl.
2320         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2321         putative K&R region.
2323 2012-02-07  Alan Mackenzie  <acm@muc.de>
2325         * progmodes/cc-engine.el (c-forward-objc-directive):
2326         Prevent looping in "#pragma mark @implementation".
2328 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
2330         * notifications.el (notifications-on-closed-signal): Make `reason'
2331         optional.  (Bug#10744)
2333 2012-02-07  Glenn Morris  <rgm@gnu.org>
2335         * emacs-lisp/easy-mmode.el (define-minor-mode):
2336         Doc fixes for the macro and the mode it defines.
2338         * image.el (imagemagick-types-inhibit): Doc fix.
2340         * cus-start.el (imagemagick-render-type): Add it.
2342 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
2344         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2345         Set the default at load time, too, so that `font-lock-fontify-buffer'
2346         can be called without setting up the entire mode first.  This fixes
2347         a bug in `mm-inline-text' with C MIME parts.
2349 2012-02-06  Chong Yidong  <cyd@gnu.org>
2351         * simple.el (list-processes--refresh): Delete exited processes
2352         (Bug#8094).
2354         * comint.el (comint-next-prompt): next-single-char-property-change
2355         and prev-single-char-property-change never return nil (Bug#8657).
2357         * custom.el (defcustom): Doc fix (Bug#9711).
2359 2012-02-05  Chong Yidong  <cyd@gnu.org>
2361         * cus-edit.el (custom-variable-reset-backup): Quote the value
2362         before storing it in the customized-value property (Bug#6712).
2363         (custom-display): Add a customization type tag.
2364         (custom-buffer-create-internal): Improve tooltip message.
2366         * wid-edit.el (widget-field-value-get): New optional arg to
2367         suppress trailing whitespace truncation.
2368         (character): Use it (Bug#2689).
2370 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
2372         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2373         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2375 2012-02-05  Chong Yidong  <cyd@gnu.org>
2377         * cus-edit.el (custom-variable-value-create): For mismatched
2378         types, show the current value (Bug#7600).
2380         * custom.el (defcustom): Doc fix.
2382 2012-02-05  Glenn Morris  <rgm@gnu.org>
2384         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2386 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
2388         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2389         (pp-buffer): Use `ignore-errors', `looking-at-p'.
2390         (pp-last-sexp): Use `looking-at-p'.
2392 2012-02-04  Glenn Morris  <rgm@gnu.org>
2394         * files.el (revert-buffer):
2395         Doc fix (mention revert-buffer-in-progress-p).
2397         * emacs-lisp/ert-x.el (ert-simulate-command):
2398         Check deferred-action-list (which is obsolete) is bound.
2400         * subr.el (with-wrapper-hook): Doc fixes.
2402         * simple.el (filter-buffer-substring-functions)
2403         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2405 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
2407         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2408         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
2410 2012-02-04  Leo Liu  <sdl.web@gmail.com>
2412         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2414 2012-02-04  Glenn Morris  <rgm@gnu.org>
2416         * image.el (image-extension-data): Add obsolete alias.
2418         * isearch.el (isearch-update): Doc fix.
2420         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2422         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2424 2012-02-03  Glenn Morris  <rgm@gnu.org>
2426         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
2427         (image-animate-timeout): Doc fix.
2429         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2431 2012-02-02  Glenn Morris  <rgm@gnu.org>
2433         * server.el (server-auth-dir): Doc fix.
2434         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
2436         * subr.el (run-mode-hooks): Doc fix.
2438 2012-02-02  Juri Linkov  <juri@jurta.org>
2440         * image-mode.el (image-toggle-display-image): Remove tautological
2441         `major-mode' from the `derived-mode-p' test.
2443 2012-02-02  Kenichi Handa  <handa@m17n.org>
2445         * composite.el (compose-region): Cancel previous change.
2447 2012-02-02  Kenichi Handa  <handa@m17n.org>
2449         * composite.el (compose-region, compose-string): Signal error for
2450         a null string component (Bug#6988).
2452 2012-02-01  Chong Yidong  <cyd@gnu.org>
2454         * view.el (view-buffer-other-window, view-buffer-other-frame):
2455         Handle special modes like view-buffer (Bug#10650).
2456         (view-buffer): Simplify.
2458         * frame.el (set-frame-font): Tweak meaning of third argument.
2460         * dynamic-setting.el (font-setting-change-default-font):
2461         Use set-frame-font (Bug#9982).
2463 2012-02-01  Glenn Morris  <rgm@gnu.org>
2465         * progmodes/compile.el (compilation-internal-error-properties):
2466         Respect compilation-first-column in the "*compilation*" buffer.
2468         * emacs-lisp/easy-mmode.el (define-minor-mode):
2469         Relax :variable's test for a named function.
2471 2012-01-31  Alan Mackenzie  <acm@muc.de>
2473         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2474         off by one error.
2476 2012-01-31  Chong Yidong  <cyd@gnu.org>
2478         * frame.el (set-frame-font): New arg ALL-FRAMES.
2480         * menu-bar.el (menu-set-font): Use set-frame-font.
2482         * faces.el (face-spec-reset-face): Don't apply unspecified
2483         attribute values to the default face.
2485 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
2487         * progmodes/cwarn.el (cwarn): Remove dead link.
2488         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2489         Remove * from defcustom docstrings.
2490         (turn-on-cwarn-mode): Make obsolete.
2491         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2492         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2494 2012-01-31  Glenn Morris  <rgm@gnu.org>
2496         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2497         Fix :variable handling of mode a symbol not equal to modefun.
2498         Allow named functions to be used as the cdr of :variable.
2500 2012-01-30  Glenn Morris  <rgm@gnu.org>
2502         * emacs-lisp/authors.el (authors-fixed-entries):
2503         Remove reference to deleted file rnewspost.el.
2505 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
2507         * window.el (window-with-parameter): Remove unused variable `windows'.
2508         (window--side-check): Remove unused variable `code'.
2509         (window--resize-siblings): Remove unused variable `first'.
2510         (adjust-window-trailing-edge): Remove unused variable `failed'.
2511         (window-deletable-p, window--delete): Remove unused variable `buffer'.
2512         Use `let', not `let*'.
2513         (balance-windows-2): Remove unused variable `found'.
2514         (window--state-put-2): Remove unused variable `splits'.
2515         (window-state-put): Remove unused variable `selected'.
2516         (same-window-p): Use `string-match-p'.
2517         (display-buffer-assq-regexp): Remove unused variable `value'.
2518         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2519         Mark argument ALIST as ignored.
2520         (pop-to-buffer): Remove unused variable `old-window'.
2522 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
2524         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2525         and .lzma compressed files.
2527 2012-01-29  Chong Yidong  <cyd@gnu.org>
2529         * frame.el (window-system-default-frame-alist): Doc fix.
2531         * dynamic-setting.el (font-setting-change-default-font): Don't
2532         change the default face if SET-FONT argument is non-nil (Bug#9982).
2534 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
2536         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2538 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
2540         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2541         breakpoints in files outside current directory (Bug#6098).
2543 2012-01-29  Chong Yidong  <cyd@gnu.org>
2545         * progmodes/python.el: Require ansi-color at top-level.
2547         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2548         Define and use in Emacs Lisp mode (Bug#9360).
2549         (lisp-mode-abbrev-table): Add doc.
2550         (lisp-mode-variables): Don't set local-abbrev-table.
2551         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2553 2012-01-28  Roland Winkler  <winkler@gnu.org>
2555         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2557 2012-01-28  Roland Winkler  <winkler@gnu.org>
2559         * textmodes/bibtex.el (bibtex-entry-alist): New function.
2560         (bibtex-set-dialect): Use it.  Either set global values of
2561         dialect-dependent variables or bind these variables buffer-locally
2562         (Bug#10254).
2563         (bibtex-mode): Call bibtex-set-dialect via
2564         hack-local-variables-hook.
2565         (bibtex-dialect): Update docstring.
2566         Add safe-local-variable predicate.
2567         (bibtex-entry-alist, bibtex-field-alist): Initialize via
2568         bibtex-set-dialect.
2569         (bibtex-mode-map): Define menu for each dialect.
2570         (bibtex-entry): Fix docstring.
2572 2012-01-28  Chong Yidong  <cyd@gnu.org>
2574         * eshell/esh-arg.el (eshell-quote-argument): New function.
2576         * eshell/esh-ext.el (eshell-invoke-batch-file):
2577         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2578         first arg to eshell-parse-command (Bug#10523).
2580 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2582         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2583         `default-directory' is non-nil.
2585 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2587         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2588         line that displays system-configuration-options.  (Bug#9924)
2590 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2592         * descr-text.el (describe-char): Show information about POS, in
2593         addition to information about the character at POS.  Improve and
2594         update the doc string.  Change "code point" to "code point in
2595         charset", to avoid confusion with the character's Unicode code
2596         point shown above that.  (Bug#10129)
2598 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2600         * descr-text.el (describe-char): Show the raw character, not only
2601         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
2602         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2603         for the reasons.
2605 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
2607         * emacs-lisp/package.el (package-install):
2608         Run package-refresh-contents if there is no archive yet (Bug#9798).
2610 2012-01-28  Chong Yidong  <cyd@gnu.org>
2612         * emacs-lisp/package.el (package-maybe-load-descriptor):
2613         New function, split from package-maybe-load-descriptor.
2614         (package-maybe-load-descriptor): Use it.
2615         (package-download-transaction): Fully load required packages
2616         inside the loop, so that `require' calls work (Bug#10593).
2617         (package-install): No need to call package-initialize now.
2619 2012-01-28  Chong Yidong  <cyd@gnu.org>
2621         * simple.el (deactivate-mark): Doc fix (Bug#8614).
2623         * tooltip.el (tooltip-mode): Doc fix.
2624         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2626         * frame.el (set-cursor-color): Doc fix (Bug#352).
2628         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2629         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2631         * cus-edit.el (custom-buffer-create-internal): Fix search button
2632         action (Bug#10542).
2633         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2635 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
2637         * dired.el (dired-mark-files-regexp):
2638         Include any subdirectory components.  (Bug#10445)
2640 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2642         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2643         Handle [host]:port syntax.  (Bug#10533)
2645 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
2647         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2649 2012-01-26  Glenn Morris  <rgm@gnu.org>
2651         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2652         * term.el (term-raw-escape-map): Use Control-X-prefix.
2653         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
2655 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
2657         * window.el (window-state-get, window--state-get-1): Don't deal
2658         with fixed-sizeness of windows.  Simplify code.
2660 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
2662         * window.el (window--state-get-1, window--state-put-2):
2663         Don't save and restore the mark.
2665 2012-01-25  Chong Yidong  <cyd@gnu.org>
2667         * custom.el (custom-variable-p): Doc fix.
2669 2012-01-25  Glenn Morris  <rgm@gnu.org>
2671         * dired.el (dired-goto-file): Handle some of the more common
2672         characters that `ls -b' escapes.  (Bug#10596)
2674         * progmodes/compile.el (compilation-next-error-function):
2675         Respect compilation-first-column in the "*compilation*" buffer.
2676         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
2678         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
2680 2012-01-24  Glenn Morris  <rgm@gnu.org>
2682         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
2684 2012-01-24  Julien Danjou  <julien@danjou.info>
2686         * color.el (color-rgb-to-hsl): Fix value computing.
2687         (color-hue-to-rgb): New function.
2688         (color-hsl-to-rgb): New function.
2689         (color-clamp, color-saturate-hsl, color-saturate-name)
2690         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2691         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2693 2012-01-24  Glenn Morris  <rgm@gnu.org>
2695         * vc/vc-rcs.el (vc-rcs-create-tag):
2696         * vc/vc-sccs.el (vc-sccs-create-tag):
2697         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2699 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2701         * eshell/esh-util.el (eshell-read-hosts-file):
2702         Skip comment lines.  (Bug#10549)
2704         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2706 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2708         * subr.el (display-delayed-warnings): Doc fix.
2709         (collapse-delayed-warnings): New function to collapse identical
2710         adjacent warnings.
2711         (delayed-warnings-hook): Add it.
2713 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2715         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2717         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2718         properties, when "login-as" is set.
2720         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2721         (tramp-default-user-alist): Don't add "pscp".
2722         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2723         property "login-as", if set.  (Bug#10530)
2725 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2727         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2728         "plink1" and "psftp".  (Bug#10530)
2730 2012-01-21  Kenichi Handa  <handa@m17n.org>
2732         * international/mule-cmds.el (prefer-coding-system): Show a
2733         warning message if the default value of file-name-coding-system
2734         was not changed.
2736 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2738         * windmove.el (windmove-reference-loc):
2739         Fix windmove-reference-loc miscalculation.
2741 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2743         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2744         default unit.
2746 2012-01-21  Glenn Morris  <rgm@gnu.org>
2748         * international/mule.el (auto-coding-alist): Add .tbz.
2750         * files.el (local-enable-local-variables): Doc fix.
2751         (inhibit-local-variables-regexps): Rename from
2752         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
2753         Doc fix.  Add some extensions from auto-coding-alist.
2754         (inhibit-local-variables-suffixes):
2755         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
2756         (inhibit-local-variables-p):
2757         New function, extracted from set-auto-mode-1.
2758         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
2759         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
2760         (hack-local-variables): Doc fix.  Make the mode-only case
2761         respect enable-local-variables and friends.
2762         Respect inhibit-local-variables-regexps for file-locals, but
2763         not for directory-locals.
2764         (set-visited-file-name):
2765         Take account of inhibit-local-variables-regexps.
2766         Whether it applies may change as the file name is changed.
2767         * jka-cmpr-hook.el (jka-compr-install):
2768         * jka-compr.el (jka-compr-uninstall):
2769         Update for inhibit-first-line-modes-suffixes name change.
2771 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2773         * help-macro.el (make-help-screen): Temporarily restore original
2774         binding for minor-mode-map-alist (Bug#10454).
2776 2012-01-19  Julien Danjou  <julien@danjou.info>
2778         * color.el (color-name-to-rgb): Use the white color to find the max
2779         color component value and return correctly computed values.
2780         (color-name-to-rgb): Add missing float conversion for max value.
2782 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2784         * window.el (window--state-get-1, window-state-get): Do not use
2785         special state value for window-persistent-parameters.
2786         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2787         (window--state-put-2): Reset all window parameters to nil before
2788         assigning values of persistent parameters.
2790 2012-01-18  Alan Mackenzie  <acm@muc.de>
2792         Eliminate sluggishness and hangs in fontification of "semicolon
2793         deserts".
2795         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2796         Change value 10000 -> 3000.
2797         (c-state-safe-place): Reformulate so it doesn't stack up an
2798         infinite number of wrong entries in c-state-nonlit-pos-cache.
2799         (c-determine-limit-get-base, c-determine-limit): New functions to
2800         determine backward search limits disregarding literals.
2801         (c-find-decl-spots): Amend commenting.
2802         (c-cheap-inside-bracelist-p): New function which detects "={".
2804         * progmodes/cc-fonts.el
2805         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2806         backward search.
2807         (c-font-lock-declarations): Fix an occurrence of point being
2808         undefined.  Check additionally for point being in a bracelist or
2809         near a macro invocation without a semicolon so as to avoid a
2810         fruitless time consuming search for a declarator.  Give a more
2811         precise search limit for declarators using the new
2812         c-determine-limit.
2814 2012-01-18  Glenn Morris  <rgm@gnu.org>
2816         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2817         (set-auto-mode): Doc fixes.
2819 2012-01-17  Glenn Morris  <rgm@gnu.org>
2821         * isearch.el (search-nonincremental-instead): Fix doc typo.
2823         * dired.el (dired-insert-directory): Handle newlines in directory name.
2824         (dired-build-subdir-alist): Unescape newlines in directory name.
2826 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2828         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2829         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2830         (tramp-action-terminal): Use it.  (Bug#10530)
2832 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2834         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2836 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2838         * window.el (window-state-ignored-parameters): Remove variable.
2839         (window--state-get-1): Rename argument MARKERS to IGNORE.
2840         Handle persistent window parameters.  Make copy of clone-of
2841         parameter only if requested.  (Bug#10348)
2842         (window--state-put-2): Install a window parameter only if it has
2843         a non-nil value or an existing parameter shall be overwritten.
2845 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2847         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2849 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2851         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2852         don't pass the (nil) value of `upnode' to string-match.
2854 2012-01-14  Chong Yidong  <cyd@gnu.org>
2856         * startup.el (command-line): Fix X resource class for cursorColor.
2857         Fix values recognized by the cursorBlink resource.
2859 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2861         * epg.el (epg--make-temp-file): Avoid permission race condition
2862         when running on old Emacs versions (bug#10403).
2864 2012-01-14  Glenn Morris  <rgm@gnu.org>
2866         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2868 2012-01-13  Alan Mackenzie  <acm@muc.de>
2870         Fix filling for when filladapt mode is enabled.
2872         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2873         c-mask-paragraph, pass in `fill-paragraph' rather than
2874         `fill-region-as-paragraph'.  (This is a reversion of a previous
2875         change.)
2876         * progmodes/cc-mode.el (c-basic-common-init):
2877         Make fill-paragraph-handle-comment buffer local and set it to nil.
2879 2012-01-13  Glenn Morris  <rgm@gnu.org>
2881         * dired.el (dired-switches-escape-p): New function.
2882         (dired-insert-directory): Use dired-switches-escape-p.
2883         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2885         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2887 2012-01-12  Glenn Morris  <rgm@gnu.org>
2889         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2890         changes in adaptive-fill-regexp.  (Bug#10276)
2892 2012-01-11  Alan Mackenzie  <acm@muc.de>
2894         Fix Emacs bug #10463 - put `widen's around the critical spots.
2896         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2897         widen around each invocation of c-state-pp-to-literal.  Remove an
2898         unused let variable.
2900 2012-01-11  Glenn Morris  <rgm@gnu.org>
2902         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2903         Doc fix.
2905 2012-01-10  Chong Yidong  <cyd@gnu.org>
2907         * net/network-stream.el (network-stream-open-starttls):
2908         Avoid emitting a confusing error message when the server gives a bad
2909         response to the capability command.
2911 2012-01-10  Glenn Morris  <rgm@gnu.org>
2913         * mail/unrmail.el (unrmail): Tweak previous change.
2915 2012-01-09  Chong Yidong  <cyd@gnu.org>
2917         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2919 2012-01-08  Alan Mackenzie  <acm@muc.de>
2921         Optimise font locking in long enum definitions.
2923         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2924         arm to a cond form to handle enums.
2925         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2926         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2928 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2930         * files.el (move-file-to-trash): Preserve default file modes on error.
2931         (Bug#10401)
2933 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2935         * faces.el (set-face-attribute): Clarify the meaning of the nil
2936         frame (bug#10294).
2938         * subr.el (with-selected-frame): Mention that the selected frame
2939         is restored (bug#9980).
2941         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2942         (bug#9759).
2944         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2945         (password-read): Don't autoload unused function.
2947 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2949         * progmodes/which-func.el (which-func-mode): Turn into a
2950         non-interactive function and mark as obsolete (bug#10428).
2952 2012-01-06  Chong Yidong  <cyd@gnu.org>
2954         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2955         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2956         functions, along with 1 and -1.
2958 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2960         * time.el (display-time-load-average)
2961         (display-time-default-load-average): Doc fixes.  See the thread
2962         starting at
2963         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2964         for the details.
2966 2012-01-06  Glenn Morris  <rgm@gnu.org>
2968         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2969         has no messages.  (Bug#10377)
2971         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2972         than Info-edit.  (Bug#10385)
2974         * time.el (display-time-load-average, display-time-next-load-average):
2975         Doc fixes.
2977         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2978         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2980         * calendar/calendar.el (calendar-mode):
2981         Locally set scroll-margin to 0.  (Bug#10379)
2983 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
2985         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
2987 2012-01-05  Glenn Morris  <rgm@gnu.org>
2989         * eshell/em-unix.el (diff-no-select): Autoload it.
2990         (eshell/diff): Use diff-no-select.  (Bug#10420)
2992 2012-01-05  Chong Yidong  <cyd@gnu.org>
2994         * shell.el (shell-dynamic-complete-functions): Revert last change.
2995         (shell-command-completion-function): New function.
2996         (shell-completion-vars): Use it to implement
2997         shell-completion-execonly (Bug#10417).
2999         * custom.el (enable-theme): Don't set custom-safe-themes.
3001         * cus-theme.el (custom-theme-merge-theme):
3002         Ignore custom-enabled-themes and custom-safe-themes.
3004 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3006         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3007         first prompt in `sql-interacive-mode'.
3008         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3009         keywords.
3010         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3011         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3012         context of original buffer.  Invoke `sql-login-hook'.
3014 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3016         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3017         letters in cite-prefix.
3019 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3021         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3023 2012-01-03  Chong Yidong  <cyd@gnu.org>
3025         * shell.el (shell-dynamic-complete-functions):
3026         Put pcomplete-completions-at-point, so as to try
3027         comint-filename-completion first (Bug#10417).
3029 2012-01-02  Richard Stallman  <rms@gnu.org>
3031         * battery.el (battery-status-function):
3032         Detect when to use battery-yeeloong-sysfs.
3033         (battery-echo-area-format): Add string for Yeeloong.
3034         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3035         (battery-yeeloong-sysfs): New function.
3037 2012-01-02  Chong Yidong  <cyd@gnu.org>
3039         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3040         (dirtrack): Merge code for handling relative filenames in prompt
3041         from shell-dir-cookie-watcher.
3042         (dirtrack-debug-message): New arg to avoid excess format calls.
3044         * shell.el (shell-dir-cookie-re): Variable deleted.
3045         (shell-dir-cookie-watcher): Function deleted.
3046         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3047         with dirtrack-mode.
3049 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3051         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3052         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3053         libgnutls-26.dll.
3055 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3057         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3059 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3061         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3062         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3064 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3066         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3067         also for alternative shells.
3068         (tramp-open-connection-setup-interactive-shell): Check, whether
3069         the shell is a busybox.
3070         (tramp-send-command): Don't suppress multiple prompts for
3071         busyboxes, it hurts.
3073 2011-12-28  Chong Yidong  <cyd@gnu.org>
3075         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3076         (gdb-get-source-file): Move mode line update to
3077         gdb-get-source-file (Bug#10087).
3079 2011-12-25  Chong Yidong  <cyd@gnu.org>
3081         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3082         gud-gdb-marker-filter without taking it as an argument.
3083         (gud-gdb-run-command-fetch-lines): Caller changed.
3084         (gud-gdb-completion-function): New variable.
3085         (gud-gdb-completion-at-point): Use it.
3086         (gud-gdb-completions-1): Split from gud-gdb-completions.
3088         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3089         function as separate arguments.
3090         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3091         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3092         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3093         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3094         (gdb-stopped, def-gdb-auto-update-trigger)
3095         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3096         (gdb-get-changed-registers, gdb-get-main-selected-frame):
3097         Callers changed.
3098         (gud-gdbmi-completions): New function.
3099         (gdb): Use it for generating the completion table.
3101 2011-12-24  Alan Mackenzie  <acm@muc.de>
3103         Introduce a mechanism to widen the region used in context font
3104         locking.  Use this to protect declarations from losing their contexts.
3106         * progmodes/cc-langs.el (c-before-font-lock-functions):
3107         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3108         (c-before-context-fontification-functions): New defvar, a list of
3109         functions to be run just before context (etc.) font locking.
3111         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3112         New, functionality extracted from
3113         c-neutralize-syntax-in-and-mark-CPP.
3114         (c-in-after-change-fontification): New variable.
3115         (c-after-change): Set c-in-after-change-fontification.
3116         (c-set-fl-decl-start): Rejig its interface, so it can be called
3117         from both after-change and context fontifying.
3118         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3119         New functions.
3120         (c-standard-font-lock-fontify-region-function): New variable.
3121         (c-font-lock-fontify-region): New function.
3123 2011-12-24  Juri Linkov  <juri@jurta.org>
3125         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3126         (Bug#10348)
3128 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
3130         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3131         existence of source file.  (Bug#10325)
3133 2011-12-23  Alan Mackenzie  <acm@muc.de>
3135         Fix unstable fontification inside templates.
3137         * progmodes/cc-langs.el (c-before-font-lock-functions):
3138         Newly created from the singular version.  The (c c++ objc) entry now
3139         additionally has c-set-fl-decl-start.  The other languages (apart
3140         from AWK) have that as a single entry.
3142         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3143         The functionality for "local" declarations has been extracted to
3144         c-set-fl-decl-start.
3146         * progmodes/cc-mode.el (c-common-init, c-after-change):
3147         Changes due to pluralisation of c-before-font-lock-functions.
3148         (c-set-fl-decl-start): New function, extracted from
3149         c-font-lock-enclosing-decls and enhanced.
3151 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
3153         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3155 2011-12-22  Juri Linkov  <juri@jurta.org>
3157         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
3159 2011-12-22  Chong Yidong  <cyd@gnu.org>
3161         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3163 2011-12-21  Drew Adams  <drew.adams@oracle.com>
3165         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
3167 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3169         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3171 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
3173         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
3174         highlighting and support.  Fix up comments for capitalization.
3175         (cfengine-mode-debug): New var.
3176         (cfengine3-mode): Change the modeline indicator to "CFE3".
3177         (cfengine3-font-lock-keywords): Improve defun highlighting.
3178         (cfengine2-actions): Rename from `cfengine-actions'.
3179         (cfengine2-font-lock-keywords): Rename from
3180         `cfengine-font-lock-keywords'.
3181         (cfengine2-imenu-expression): Rename from
3182         `cfengine-imenu-expression'.
3183         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3184         (cfengine2-beginning-of-defun): Rename from
3185         `cfengine-beginning-of-defun'.
3186         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3187         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3188         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
3189         modeline indicator to "CFE2".
3190         (cfengine-mode): Defalias to `cfengine-auto-mode'.
3191         (cfengine-mode-abbrevs): Mark obsolete.
3193 2011-12-21  Chong Yidong  <cyd@gnu.org>
3195         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3196         filename argument.
3198 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
3200         * window.el (window-normalize-buffer-to-display): Remove.
3201         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3203 2011-12-19  Chong Yidong  <cyd@gnu.org>
3205         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3206         Don't signal an error in a predicate function; return non-nil.
3207         (vc-dir-mark-file): Move the error here.
3208         (vc-dir-mark-unmark): If acting on the region, keep going if one
3209         of the entries cannot be marked/unmarked.
3210         (vc-dir-mark-all-files): If current entry is a directory, mark
3211         only child files, as documented.
3213 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3215         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3216         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3217         addition.
3219 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
3221         * term/ns-win.el (ns-get-selection-internal)
3222         (ns-store-selection-internal): Declare.
3223         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3224         Declare as obsolete.
3225         (ns-get-pasteboard, ns-paste-secondary):
3226         Use ns-get-selection-internal.
3227         (ns-set-pasteboard,  ns-copy-including-secondary):
3228         Use ns-store-selection-internal.
3230 2011-12-17  Chong Yidong  <cyd@gnu.org>
3232         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3233         (vc-deduce-fileset): Doc fix.
3235 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
3237         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3239 2011-12-13  Sam Steingold  <sds@gnu.org>
3241         * man.el (Man-getpage-in-background): When running under a
3242         window-system, ignore $MANWIDTH and $COLUMNS.
3244 2011-12-15  Kenichi Handa  <handa@m17n.org>
3246         * language/ethio-util.el: Change coding tag to utf-8-emacs.
3247         (setup-ethiopic-environment-internal): Comment out key-binding for
3248         ethio-toggle-punctuation.
3250 2011-12-13  Alan Mackenzie  <acm@muc.de>
3252         Add the switch statement to AWK Mode.
3254         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3255         "default" to the keywords regexp.
3257         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3258         expression as the rest.
3259         (c-nonlabel-token-key): Allow string literals for AWK.
3260         Refactor for the other modes.
3262         Large brace-block initialisation makes CC Mode slow: Fix.
3263         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3264         routines.  Limit backward searching in c-font-lock-enclosing.decl.
3266         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3267         pp-state and literal type in addition to the limits.
3268         (c-state-safe-place): New defun, extracted from c-state-literal-at.
3269         (c-state-literal-at): Use the above new defun.
3270         (c-slow-in-literal, c-fast-in-literal): Remove.
3271         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3273         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3274         being in a literal.  Add a limit for backward searching.
3276         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3277         c-slow-in-literal.
3279 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3281         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3283 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
3285         * window.el (delete-other-windows): Use correct frame in call to
3286         window-with-parameter.
3288 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
3290         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3291         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3292         (makefile-gmake-statements, makefile-makepp-statements):
3293         Use it and add new makepp keywords.
3294         (makefile-makepp-font-lock-keywords): Add new patterns.
3295         (makefile-match-function-end): Match new [...] and [[...]].
3297 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
3299         * ses.el (ses-call-printer-return, ses-cell-property-get)
3300         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3301         (ses-create-cell-variable, ses-reset-header-string)
3302         (ses-cell-set-formula, ses-repair-cell-reference-all)
3303         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3304         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3305         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3306         (ses-aset-with-undo, ses-load, ses-truncate-cell)
3307         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3308         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3309         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3310         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3311         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3312         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3313         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3314         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3316 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3318         * ses.el: The overall change is to add cell renaming, that is
3319         setting fancy names for cell symbols other than name matching
3320         "\\`[A-Z]+[0-9]+\\'" regexp .
3321         (ses-create-cell-variable): New defun.
3322         (ses-relocate-formula): Relocate formulas only for cells the
3323         symbols of which are not renamed, i.e. symbols whose names do not
3324         match regexp "\\`[A-Z]+[0-9]+\\'".
3325         (ses-relocate-all): Relocate values only for cells the symbols of
3326         which are not renamed.
3327         (ses-load): Create cells variables as the (ses-cell ...) are read,
3328         in order to check row col consistency with cell symbol name only
3329         for cells that are not renamed.
3330         (ses-replace-name-in-formula): New defun.
3331         (ses-rename-cell): New defun.
3333 2011-12-11  Chong Yidong  <cyd@gnu.org>
3335         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3336         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3338 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
3340         * window.el (other-window): Fix docstring.
3342 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3344         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3345         `from' or `to' address before taking its substring.
3346         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3347         encoded name is chopped in the middle of the encoded string, and
3348         thus displayed encoded.
3350 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
3352         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3354 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3356         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
3357         to use texinfo-update-node and commands that call it if the
3358         Texinfo file uses @node lines without next/prev/up pointers.
3359         Correct outdated description about texinfo-master-menu.
3360         (texinfo-all-menus-update, texinfo-master-menu)
3361         (texinfo-update-node, texinfo-every-node-update)
3362         (texinfo-multiple-files-update): Doc fix.  Warn against updating
3363         all the @node lines.
3364         (texinfo-master-menu): Only call texinfo-update-node if the prefix
3365         argument is numeric.  Explain better in the doc string what the
3366         function really does.
3367         (texinfo-insert-master-menu-list): Improve the error message
3368         displayed if there's no menu in the Top node.
3369         (Bug#2975)  See also this thread:
3370         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3372 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
3374         * speedbar.el (speedbar-supported-extension-expressions):
3375         Add .adb and .ads, commonly used for Ada source code (bug#10256).
3377 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
3379         * printing.el (pr-mode-alist):
3380         * simple.el (filter-buffer-substring-functions)
3381         (completion-list-insert-choice-function):
3382         * window.el (window-with-parameter, window-atom-root)
3383         (window-sides-slots, window-size-fixed, window-min-delta)
3384         (window-max-delta, window--resize-mini-window)
3385         (window--resize-child-windows-normal, window-tree)
3386         (delete-other-windows, quit-window, split-window)
3387         (display-buffer-record-window, special-display-buffer-names)
3388         (special-display-regexps, special-display-popup-frame)
3389         (same-window-p, split-window-sensibly)
3390         (display-buffer-overriding-action, display-buffer-alist)
3391         (display-buffer-base-action, display-buffer, switch-to-buffer)
3392         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3393         (fit-window-to-buffer, recenter-positions)
3394         (mouse-autoselect-window-state, mouse-autoselect-window-select):
3395         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3396         and remove unneeded backslashes in docstrings.
3398 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3400         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3402         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3403         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3404         end in ".mk".
3405         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3406         when reading the makefile (bug#10116).
3408 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3410         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3411         (bug#10116).
3413 2011-12-06  Glenn Morris  <rgm@gnu.org>
3415         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3417 2011-12-06  Chong Yidong  <cyd@gnu.org>
3419         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3421 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
3423         * textmodes/table.el (table-shorten-cell): Fix typo.
3425 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
3427         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3429 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
3431         * descr-text.el (describe-char): Fix display of strong
3432         right-to-left characters and directional embeddings and overrides.
3434         * simple.el (what-cursor-position): Fix display of codepoints of
3435         strong right-to-left characters.
3437 2011-12-05  Chong Yidong  <cyd@gnu.org>
3439         * faces.el (read-color): Doc fix.
3441 2011-12-05  Glenn Morris  <rgm@gnu.org>
3443         * align.el (align--set-marker): Add doc-string.
3444         Don't try to move something that is not a marker.  (Bug#10216)
3446 2011-12-04  Glenn Morris  <rgm@gnu.org>
3448         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3449         overly zealous deletion of trailing whitespace.
3451 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
3453         * server.el (server-delete-client): On Windows, do not try to delete
3454         the only terminal.
3455         (server-process-filter): On Windows, treat requests for a tty frame as
3456         if they were for a GUI frame if the running server is in GUI mode.
3458 2011-12-03  Glenn Morris  <rgm@gnu.org>
3460         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
3462 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3464         * electric.el: Streamline electric-indent's hook.
3465         (electric-indent-chars): Revert to simple list.
3466         (electric-indent-functions): New var.
3467         (electric-indent-post-self-insert-function): Use it.
3469         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3470         there's no inferior buffer (bug#10196).
3471         (prolog-consult-compile): Don't use toggle-read-only.
3473 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
3475         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3476         interrupt.  (Bug#10187)
3478 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3480         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3481         (bug#9160).
3483         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3484         (bug#10191).
3486 2011-12-02  Juri Linkov  <juri@jurta.org>
3488         * info.el (Info-search): Display "end of manual" when Isearch
3489         reaches the end of single-file Info manual.  (Bug#9918)
3491 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
3493         * isearch.el (isearch-message-prefix): Run the input method part
3494         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
3496 2011-12-02  Juri Linkov  <juri@jurta.org>
3498         * isearch.el (isearch-occur): Use `word-search-regexp' for
3499         `isearch-word'.
3500         (isearch-search-and-update): Add condition for `isearch-word' and
3501         call `word-search-regexp'.  (Bug#10145)
3503 2011-12-01  Glenn Morris  <rgm@gnu.org>
3505         * eshell/em-hist.el (eshell-hist-initialize):
3506         Handle eshell-history-size nil and HISTSIZE set or unset.
3507         (eshell-history-file-name, eshell-history-size): Fix custom type.
3509 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3513 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
3515         * progmodes/verilog-mode.el (verilog-pretty-expr):
3516         Rework verilog-pretty-expr to handle new assignment operators in system
3517         verilog, such as += *= and the like.
3518         (verilog-assignment-operator-re): Regular expression to find the
3519         assigment operator in a verilog assignment.
3520         (verilog-assignment-operation-re): Regular expression to find an
3521         assignment statement for pretty-expr.
3522         (verilog-in-attribute-p): Query returns true if point is in an
3523         attribute context; used to skip these for expression line up from
3524         pretty-expr.
3525         (verilog-in-parameter-p): Query returns true if point is in an
3526         parameter definition context; used to skip these for expression
3527         line up from pretty-expr.
3528         (verilog-in-parenthesis-p): Query returns true if point is in a
3529         parenthetical expression, specifically ( ) but not [ ] or { };
3530         used by pretty-expr.
3531         (verilog-just-one-space): If there is no space, don't add one.
3532         (verilog-get-lineup-indent-2): Specifically skip just attribute
3533         contexts for expression lineup, rather than skipping all
3534         parenthetical expressions.
3535         (verilog-calculate-indent): Fix comment, and fix indent.
3536         (verilog-do-indent): Indent declarations in lists (suggested by
3537         Joachim Lechner).
3538         (verilog-mode-abbrev-table): Populate abbrev mode with the various
3539         skeleton items.
3540         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3541         by Alain Mellan).
3543 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
3545         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3546         parameters with embedded comments.  Reported by Ray Stevens.
3547         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3548         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3549         Reported by Tim Holt.
3550         (verilog-auto): Fix AUTOing a upper module then AUTOing module
3551         instantiated by upper module causing wrong expansion until AUTOed a
3552         second time.  Reported by K C Buckenmaier.
3553         (verilog-diff-auto): Fix showing .* as a difference when
3554         `verilog-auto-star-save' off.  Reported by Dan Dever.
3555         (verilog-auto-reset, verilog-read-always-signals)
3556         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3557         temporary signals in reset list if
3558         verilog-auto-reset-blocking-in-non is nil, and match assignment
3559         style to each signal's assignment type, bug381.
3560         Reported by Thomas Esposito.
3561         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3562         (verilog-uvm-statement-re): Support UVM indentation and
3563         highlighting, with old OVM keywords only.
3564         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3565         Support AUTOTIEOFF creating non-wire data types.
3566         Suggested by Jonathan Greenlaw.
3567         (verilog-auto-insert-lisp, verilog-delete-to-paren)
3568         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3569         (verilog-inject-sense, verilog-read-inst-pins)
3570         (verilog-read-sub-decls, verilog-read-sub-decls-line):
3571         Fix mismatching parenthesis inside commented out code when deleting
3572         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
3573         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3574         non-numeric vector width.  Reported by Alex Reed.
3575         (verilog-auto-ascii-enum): Add "onehot" option to work around not
3576         detecting signals with parameter widths.  Reported by Alex Reed.
3577         (verilog-auto-delete-trailing-whitespace):
3578         With `verilog-auto-delete-trailing-whitespace' remove trailing
3579         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
3580         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3581         Fix verilog-scan-cache corruption when running user AUTO expansion
3582         hooks that call indentation routines.
3583         (verilog-simplify-range-expression): Fix typo ignoring lower case
3584         identifiers.
3585         (verilog-delete-auto): Fix delete-autos to also remove user created
3586         automatics, as long as they start with AUTO.
3587         (verilog-batch-diff-auto, verilog-diff-auto)
3588         (verilog-diff-function): Add `verilog-diff-auto' and bind to
3589         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
3590         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3591         (verilog-in-paren-quick, verilog-re-search-backward-quick)
3592         (verilog-re-search-forward-quick, verilog-syntax-ppss):
3593         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3594         is disabled and its cache will get corrupt, causing AUTOS not to
3595         expand.  Instead use only -quick functions.
3596         (verilog-scan-region): Fix scanning over escaped quotes.
3597         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3598         (verilog-re-search-backward-quick)
3599         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3600         related functions now ignore strings, to fix misparsing of strings
3601         with magic comments embedded in them.
3602         (verilog-read-auto-template):
3603         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3604         Reported by Brad Dobbie.
3605         (verilog-read-auto-template):
3606         Fix 'verilog-auto-inst-template-numbers' with comments.
3607         Reported by Brad Dobbie.
3608         (verilog-auto-inst, verilog-auto-inst-param)
3609         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3610         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
3611         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3612         debugging templates without merge conflicts, bug357.
3613         Reported by Brad Dobbie.
3614         (verilog-read-auto-template):
3615         Fix verilog-auto-inst-template-numbers with multiple templates.
3616         Reported by Brad Dobbie.
3617         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3618         abbrevs so user won't be asked to save.
3619         (verilog-read-auto-lisp-present): Fix to start at beginning of
3620         buffer in case called outside of verilog-auto.
3621         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3622         to "X-2".  Reported by Matthew Myers.
3623         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3624         all inputs from module templates.  Reported by Leith Johnson.
3625         (verilog-module-inside-filename-p): Fix locating programs as with
3626         modules.
3627         (verilog-auto-inst-port): Fix vl-width expressions when using
3628         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
3629         (verilog-decls-get-regs, verilog-decls-get-signals,
3630         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3631         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3632         verilog-read-decls): Combine reg and wire structures into one var
3633         structure to represent SystemVerilog concepts.
3634         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3635         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3636         (verilog-auto-wire-type, verilog-insert-definition):
3637         Add verilog-auto-wire-type and AUTOLOGIC to support using
3638         SystemVerilog "logic" keyword instead of "wire"/"reg".
3639         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3640         to declares outputs that also have assignments (presumably in an
3641         ifdef or generate if so there's not a driver conflict).
3642         Reported by Matthew Myers.
3643         (verilog-auto-declare-nettype, verilog-insert-definition):
3644         Add verilog-auto-declare-nettype to fix declarations using
3645         `default_nettype none.  Reported by Julian Gorfajn.
3646         (verilog-read-always-signals-recurse, verilog-read-decls)
3647         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3648         malformed end statement, bug325.  Reported by Joshua Wise and
3649         Andrew Drake.
3650         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3651         (verilog-inst-comment-re): Fix not deleting Interfaced comment
3652         when expanding .* in interfaces, bug320.
3653         Reported by Pierre-David Pfister.
3654         (verilog-read-module-name): Fix import statements between module
3655         name and open parenthesis, bug317.
3656         Reported by Pierre-David Pfister.
3657         (verilog-simplify-range-expression): Fix simplification of
3658         multiplications inside AUTOWIRE connections, bug303.
3659         (verilog-auto-inst-port): Support parameter expansion in
3660         multidimensional arrays.
3661         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3662         after "assert property".  Reported by Julian Gorfajn.
3663         (verilog-simplify-range-expression): Fix "couldn't merge" errors
3664         with multiplication, bug303.
3665         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3666         Reported by Jan Frode Lonnum.
3668 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
3670         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3671         (hfy-shell-file-name, hfy-shell):
3672         * international/fontset.el (x-decompose-font-name): Fix typos.
3674 2011-11-29  Ken Brown  <kbrown@cornell.edu>
3676         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3677         (gdb-version): Remove defvar.
3678         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3679         (gdb-gud-context-command, gdb-non-stop-handler)
3680         (gdb-current-context-command, gdb-stopped): Use it.
3681         (gdb-init-1): Enable pretty printing here.
3682         (gdb-non-stop-handler): Don't enable pretty-printing here.
3683         Check to see if the target supports non-stop mode; if not, turn off
3684         non-stop mode.  Use the following.
3685         (gdb-check-target-async): New defun.
3686         (gud-watch, gdb-stopped): Fix whitespace.
3687         (gdb-get-source-file): Don't try to display the source file if
3688         `gdb-main-file' is nil.
3690 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3692         * align.el: Try to generate fewer markers (bug#10047).
3693         (align--set-marker): New macro.
3694         (align-region): Use it.
3696 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3698         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3700 2011-11-29  Chong Yidong  <cyd@gnu.org>
3702         * indent.el (indent-for-tab-command, indent-according-to-mode):
3703         Doc fix.
3704         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3706 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3708         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3709         aware of remote file names.  (Bug#10124)
3711 2011-11-29  Chong Yidong  <cyd@gnu.org>
3713         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3715 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3717         * files.el (find-file): Don't use force-same-window (bug#10144).
3718         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3719         use pop-to-buffer if the selected window can't be used.
3720         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3722 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3724         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3725         special-mode-map.
3727 2011-11-28  Chong Yidong  <cyd@gnu.org>
3729         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3731 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3733         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3734           gdb-get-source-file-list on gdb-create-source-file-list.
3736 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3738         * whitespace.el (whitespace-newline): Use a different foreground
3739         color for 16-color light-background displays.
3741 2011-11-24  Chong Yidong  <cyd@gnu.org>
3743         * window.el (display-buffer--special-action): Doc fix.
3745 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
3747         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3748         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3749         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3750         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3751         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3752         (avl-tree-stack-first):
3753         * emacs-lisp/cconv.el (cconv--analyse-use):
3754         * net/gnutls.el (gnutls-negotiate): Fix typos.
3756 2011-11-24  Glenn Morris  <rgm@gnu.org>
3758         * lpr.el (lpr-windows-system, lpr-lp-system):
3759         * mail/binhex.el (binhex-begin-line):
3760         * progmodes/grep.el (grep-history, grep-find-history):
3761         * textmodes/flyspell.el:
3762         * vc/pcvs-defs.el (cvs-global-menu):
3763         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3764         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3765         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3767         * net/tls.el: Fix case of "GnuTLS".
3769         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3771         * version.el (emacs-build-system): Give it a doc-string.
3773 2011-11-24  Juri Linkov  <juri@jurta.org>
3775         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3777 2011-11-24  Glenn Morris  <rgm@gnu.org>
3779         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3780         if called on a non-mime message just toggle the headers.  (Bug#8006)
3782 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3784         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3785         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3786         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3787         (allout-rebullet-heading, allout-open-sibtopic)
3788         (allout-toggle-current-subtree-encryption)
3789         (allout-toggle-subtree-encryption, allout-encrypt-string)
3790         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3791         (allout-distinctive-bullets-string, allout-auto-activation):
3792         * window.el (window-normalize-buffer-to-display):
3793         * progmodes/verilog-mode.el (verilog-batch-indent):
3794         * textmodes/bibtex.el (bibtex-field-braces-opt)
3795         (bibtex-field-strings-opt):
3796         * vc/cvs-status.el (cvs-tree-merge):
3797         Fix typos.
3799 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3801         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3802         `non-essential' to t, in order to avoid remote connections.
3804 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3806         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3807         On MS-DOS and MS-Windows, compare with loaddefs.el
3808         case-insensitively.
3810 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3812         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3814 2011-11-23  Glenn Morris  <rgm@gnu.org>
3816         * paths.el (rmail-file-name): Reformat the doc-string so that it
3817         is picked up.
3819         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3820         (rmail-auto-file): Ignore case in the "special" field names,
3821         as mail-fetch-field does for all others.
3823         * mail/rmail.el (rmail-forward):
3824         * mail/rmailkwd.el (rmail-set-label):
3825         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3826         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3828         * mail/rmail.el (rmail-current-message): Doc fix.
3830         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3832 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3834         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3836 2011-11-22  Glenn Morris  <rgm@gnu.org>
3838         * mail/rmailmm.el (test-rmail-mime-handler)
3839         (test-rmail-mime-bulk-handler)
3840         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3842 2011-11-21  Juri Linkov  <juri@jurta.org>
3844         * calc/calc.el (calc-read-key-sequence):
3845         Let-bind `input-method-function' to nil.  (Bug#10018)
3847 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3849         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3850         Tell the caller that the next line needs recomputation, even
3851         though it doesn't start a sexp (bug#10094).
3853 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3855         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3857 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3859         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3860         Use force-same-window.
3862 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3864         * descr-text.el (describe-char-unicode-data):
3865         * json.el (json-string-escape):
3866         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3867         (Footnote-unicode, Footnote-style-p):
3868         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3870 2011-11-20  Chong Yidong  <cyd@gnu.org>
3872         * window.el (replace-buffer-in-windows): Restore interactive spec.
3874 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3876         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3878         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3879         (byte-compile-global-not-obsolete-vars): New var.
3880         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3881         Use it.
3882         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3884 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3886         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3887         * progmodes/pascal.el (electric-pascal-equal):
3888         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3889         * xml.el (xml-substitute-special): Fix typos.
3891 2011-11-20  Glenn Morris  <rgm@gnu.org>
3893         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3894         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3895         Doc fixes.
3896         (rmail-decode-mime-charset): Mark as obsolete.
3898         * mail/rmailsum.el (rmail-message-regexp-p-1):
3899         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3900         Before using mime functions, check they are set.  (Bug#10077)
3902 2011-11-19  Juri Linkov  <juri@jurta.org>
3904         * info.el (Info-finder-find-node): Use `package--builtins' instead
3905         of `package-alist'.  Use node names formed by the pattern "Keyword "
3906         and the keyword name.
3908 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3910         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3912 2011-11-19  Juri Linkov  <juri@jurta.org>
3914         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3915         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3916         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3917         `old-history', `old-history-forward'.  Add let-binding
3918         `window-selected'.  Remove calls to `kill-buffer',
3919         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3920         before calling `Info-find-node', so `Info-find-node-2' will reread
3921         the Info file.  Restore window positions only when `window-selected'
3922         is non-nil.
3924 2011-11-19  Juri Linkov  <juri@jurta.org>
3926         * isearch.el (isearch-lazy-highlight-new-loop):
3927         Remove condition `(not isearch-error)'.  (Bug#9918)
3929         * misearch.el (multi-isearch-search-fun): Add condition
3930         `(not bound)' to ignore lazy-highlighting search.
3931         Add the search-failed message "end of multi" when the end of
3932         multi-sequence is reached.  Uncapitalize the search-failed
3933         message "Repeat for next buffer".
3935         * info.el (Info-search): Add the search-failed message
3936         "end of the manual" when the end of the manual is reached
3937         in Isearch mode.
3939 2011-11-19  Juri Linkov  <juri@jurta.org>
3941         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3942         Use non-destructive `remove' instead of `delete' because
3943         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3944         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3946 2011-11-19  Juri Linkov  <juri@jurta.org>
3948         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3949         to nil instead of binding `search-ring' and `regexp-search-ring'.
3950         (Bug#9185)
3952 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3954         * simple.el (line-move): Force movement by logical lines for any
3955         hscrolled window, not only when auto-hscroll-mode is on.
3956         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3958 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3960         * language/european.el (macintosh): Define as alias for mac-roman.
3962 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3964         * mail/rmailmm.el (rmail-mime-display-header)
3965         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3966         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3967         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3968         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3969         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3970         of a raw aref.
3971         (rmail-mime-entity-segment): To get past the tagline, move forward
3972         2 more lines, to account for the 2 empty lines that precede and
3973         follow the line with the buttons.
3974         (rmail-mime-update-tagline): Move one more line, to get past the
3975         empty line that follows the buttons in the tagline.  (Bug#9520)
3977 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3979         * window.el (window-max-delta-1, window-min-delta-1)
3980         (window-min-size-1, window-state-get-1, window-state-put-1)
3981         (window-state-put-2): Use "window--" prefix.
3983 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3985         * emacs-lisp/smie.el: Improve warnings and conflict detection.
3986         (smie-warning-count): New var.
3987         (smie-set-prec2tab): Use it.
3988         (smie-bnf->prec2): Improve warnings.  Add docstring.
3989         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3990         (smie-bnf--set-class): New function.
3991         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
3992         corner case.
3994         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3995         (compilation-error-properties, compilation-move-to-column):
3996         Handle compilation-first-column while in the target buffer.
3998         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3999         Don't hardcode point-min==1.
4001         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4002         (eshell-rewrite-for-command): Remove workaround.
4003         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4004         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4005         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4007         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4009 2011-11-17  Glenn Morris  <rgm@gnu.org>
4011         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4012         Ignore buffer-local generated-autoload-file if it is the same
4013         as the global value.  (Bug#10049)
4015 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4017         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4018         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4019         (reftex-toc-previous-heading, reftex-toc-max-level)
4020         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4021         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4022         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4023         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4024         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4025         (reftex-toc-rename-label, reftex-toc-visit-location)
4026         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4027         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4028         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4029         leaving "*toc*" only for references to the buffer.
4031 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4033         * window.el (window-resize, delete-window, split-window):
4034         Replace window-splits by window-combination-resize.
4035         * cus-start.el (window-splits): Replace by window-combination-resize.
4037 2011-11-17  Glenn Morris  <rgm@gnu.org>
4039         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4040         Make bash entry derive from sh entry, not shell entry.
4042 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4044         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4045         properties of linked files.  (Bug#9879)
4047         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4048         local file name.
4050 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4052         * menu-bar.el (menu-bar-file-menu):
4053         * printing.el (pr-ps-utility):
4054         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4055         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4056         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4057         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4058         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4059         (icalendar--convert-cyclic-to-ical)
4060         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4061         (icalendar--convert-ical-to-diary)
4062         (icalendar--convert-recurring-to-diary)
4063         (icalendar--convert-non-recurring-all-day-to-diary)
4064         (icalendar-import-format-sample):
4065         * progmodes/idlw-shell.el (idlwave-shell-mode):
4066         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4067         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4068         (vhdl-ps-print-init): Fix typos.
4070 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4072         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4073         FSF and collapse date sequence, obscure author/maintainer email address
4074         better, remove extra version line, track relocation of author's webpage.
4076         * progmodes/python.el (python-pdbtrack-input-prompt)
4077         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4078         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4079         suggested in EmacsWiki page (tiny change):
4080         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4082 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4084         * expand.el (expand-pos, expand-index, expand-point):
4085         Remove redundant info from docstring.
4086         (expand-add-abbrevs): Doc fix.
4087         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4088         (expand-sample-perl-mode-expand-list): Fix typos.
4090         * net/dbus.el (dbus-event-member-name):
4091         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4092         * term/pc-win.el (msdos-create-frame-with-faces):
4093         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4095 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
4097         * window.el (split-window, window-state-get-1)
4098         (window-state-put-1, window-state-put-2): Rename occurrences of
4099         window-nest to window-combination-limit.
4100         * cus-start.el (window-nest): Rename to window-combination-limit.
4102 2011-11-16  Chong Yidong  <cyd@gnu.org>
4104         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4105         regexp (Bug#10033).
4107 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4110         `completing-read' will remove *Completions* and will preserve
4111         current-buffer for us.
4112         (tmm-add-prompt): Users of *Completions* will always (re)set its
4113         major mode.
4114         (tmm-old-comp-map): Remove.
4116 2011-11-16  Glenn Morris  <rgm@gnu.org>
4118         * mail/rmailedit.el: Require rmailmm when compiling.
4119         (rmail-old-mime-state): New declaration.
4120         (rmail-edit-current-message): If editing a mime message,
4121         edit the "raw" message from the mbox buffer.
4122         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
4124 2011-11-15  Glenn Morris  <rgm@gnu.org>
4126         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4127         which wasn't being used.  Add optional arg to force given state.
4128         (rmail-mime): Add optional arg to force given state.
4130 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4132         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4133         * frame.el (display-mm-dimensions-alist):
4134         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4135         (outline-move-subtree-down):
4136         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4137         (newsticker--treeview-do-get-node):
4138         * net/quickurl.el (quickurl-list-buffer-name):
4139         * progmodes/dcl-mode.el (dcl-mode):
4140         * progmodes/gdb-mi.el (gdb-mapcar*):
4141         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4143 2011-11-15  Glenn Morris  <rgm@gnu.org>
4145         * mail/rmail.el (rmail-file-coding-system): It's only ever used
4146         in a boolean sense, so just make it a boolean, and fix the doc.
4147         (rmail-show-mime-function, rmail-mime-feature)
4148         (rmail-require-mime-maybe): Doc fixes.
4149         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4151         * mail/rmailmm.el (rmail-show-mime): Doc fix.
4153 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4155         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4156         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4157         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4158         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4160 2011-11-15  Glenn Morris  <rgm@gnu.org>
4162         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4163         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4164         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4165         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4166         (rmail-mime, rmail-show-mime): Doc fixes.
4168         * term/ns-win.el (mode-line-frame-identification):
4169         Leave it alone.  (Bug#10051)
4171         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
4173         * mail/rmailout.el (rmail-output-to-rmail-buffer):
4174         Handle empty buffers.  (Bug#9978)
4176 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
4178         * international/mule.el (define-charset):
4179         * mail/rmailmm.el (rmail-mime-find-header-encoding):
4180         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4181         * progmodes/verilog-mode.el (verilog-backward-token):
4182         * textmodes/ispell.el (lookup-words):
4183         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4185 2011-11-14  Glenn Morris  <rgm@gnu.org>
4187         * progmodes/executable.el
4188         (executable-make-buffer-file-executable-if-script-p):
4189         Handle file-modes returning nil.
4191         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4192         message - not necessary, and causes problems.  (Bug#9831)
4194         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4196         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4198         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4199         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
4200         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4202 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
4204         * window.el (window-resize, delete-window): Use window-splits
4205         variable instead of function.
4206         (window-state-get-1, window-state-put-2, window-state-put):
4207         Don't deal with windows' splits status.
4209 2011-11-12  Glenn Morris  <rgm@gnu.org>
4211         * apropos.el (apropos-do-all, apropos-library, apropos-value)
4212         (apropos-documentation): Doc fixes.
4214 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
4216         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4217         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4219 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4221         * electric.el (electric-indent-post-self-insert-function): Make it
4222         possible for a char to only indent in some circumstances.
4223         (electric-indent-mode): Simplify.
4225 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
4227         * window.el (windows-with-parameter): Remove unused function.
4228         (windows-at-side): Rename to window-at-side-list.
4229         (window-check, window-atom-check, window-atom-check-1)
4230         (window-side-check, window-size-ignore, window-size-fixed-1)
4231         (window-in-direction-2): Prefix with "window--".
4232         (window-tree-1): Rename to window--subtree, fix doc-string.
4234 2011-11-11  Glenn Morris  <rgm@gnu.org>
4236         * subr.el (eval-after-load): If FILE is already loaded,
4237         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
4239 2011-11-10  Glenn Morris  <rgm@gnu.org>
4241         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4242         Call svn via vc-svn-command rather than vc-do-command.
4243         (vc-svn-command): Add --non-interactive.  (Bug#9993)
4244         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4246         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4247         Add toggle-read-only.  (Bug#7292)
4248         * files.el (toggle-read-only): Mention that it should only
4249         be used interactively.  (Bug#10006)
4251 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4253         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4254         Adjust regexp for OCaml warnings.
4256         * electric.el (electric-pair-post-self-insert-function): Let user
4257         turn it off buffer-locally (bug#9932).
4259         * progmodes/python.el (python-beginning-of-statement):
4260         Rewrite (bug#2703).
4262         * progmodes/compile.el: Better handle TABs (bug#9749).
4263         (compilation-internal-error-properties)
4264         (compilation-next-error-function): Obey the target buffer's
4265         compilation-error-screen-columns.
4267 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
4269         * progmodes/meta-mode.el: Remove obsolete comments.
4270         (meta-right-comment-regexp, meta-ignore-comment-regexp):
4271         Fix typos in docstrings.
4273 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
4275         * window.el (window-size-fixed-p): Rewrite doc-string.
4276         (window-resizable-p): Rename to window--resizable-p.  Update callers.
4277         (window--resizable): New function.  Make all callers of
4278         window-resizable call window--resizable instead.
4279         (window-resizable): Rewrite in terms of window--resizable.
4281 2011-11-08  Glenn Morris  <rgm@gnu.org>
4283         * progmodes/delphi.el (delphi-mode-syntax-table):
4284         Let define-derived-mode define a proper syntax table.  (Bug#9994)
4286 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4288         * window.el: Stay away from defsubst.
4289         (window-list-no-nils): Remove.
4290         (window-state-get-1, window-state-get): Use backquote instead.
4292 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4294         * emacs-lisp/find-func.el (find-function-read):
4295         Fix incorrect use of default argument in `completing-read'.
4297 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
4299         * window.el (display-buffer-function, special-display-function):
4300         Mention display-buffer-record-window but do not mention
4301         help-setup parameter in doc-strings.
4302         (window-min-delta): Fix doc-string typo.
4304 2011-11-08  Chong Yidong  <cyd@gnu.org>
4306         * window.el (window-total-height, window-total-width): Doc fix.
4307         (window-body-size): Move from C.
4308         (window-body-height, window-body-width): Move to C.
4310 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * window.el: Make special-display like display-buffer-alist (bug#9532).
4313         (display-buffer--special-action): New function, morphed
4314         from display-buffer--special.
4315         (display-buffer): Use it to handle special-display-buffers at higher
4316         priority (just after display-buffer-alist).
4317         (display-buffer-fallback-action, display-buffer--other-frame-action)
4318         (pop-to-buffer-same-window): Remove display-buffer--special.
4320 2011-11-07  Glenn Morris  <rgm@gnu.org>
4322         * calendar/cal-menu.el (cal-menu-set-date-title):
4323         Do nothing if not in a calendar.  (Bug#9976)
4325 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4327         * files.el (find-file): Always use selected-window.
4329 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
4331         * window.el (window-combinations): Make WINDOW argument
4332         mandatory.  Rewrite doc-string.
4333         (walk-window-subtree, window-atom-check, window-min-delta)
4334         (window-max-delta, window--resize-this-window)
4335         (window--resize-root-window-vertically, window-tree)
4336         (balance-windows, window-state-put): Rewrite doc-strings as to
4337         not mention the term "subwindow".
4338         (window--resize-subwindows-skip-p): Rename to
4339         window--resize-child-windows-skip-p.
4340         (window--resize-subwindows-normal): Rename to
4341         window--resize-child-windows-normal.
4342         (window--resize-subwindows): Rename to
4343         window--resize-child-windows.
4344         (window-or-subwindow-p): Rename to window--in-subtree-p.
4346 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4348         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4349         Ensure that mbox format messages end in two newlines (Bug#9974).
4351 2011-11-06  Chong Yidong  <cyd@gnu.org>
4353         * window.el (window-combination-p): Function deleted; its
4354         side-effect is not used in any existing code.
4355         (window-combinations, window-combined-p): Call window-*-child
4356         directly.
4358 2011-11-05  Chong Yidong  <cyd@gnu.org>
4360         * window.el (window-valid-p): Rename from window-any-p.
4361         (window-size-ignore, window-state-get): Callers changed.
4362         (window-normalize-window): Rename from window-normalize-any-window.
4363         New arg LIVE-ONLY, replacing window-normalize-live-window.
4364         (window-normalize-live-window): Delete.
4365         (window-combination-p, window-combined-p, window-combinations)
4366         (walk-window-subtree, window-atom-root, window-min-size)
4367         (window-sizable, window-sizable-p, window-size-fixed-p)
4368         (window-min-delta, window-max-delta, window-resizable)
4369         (window-resizable-p, window-full-height-p, window-full-width-p)
4370         (window-current-scroll-bars, window-point-1, set-window-point-1)
4371         (window-at-side-p, window-in-direction, window-resize)
4372         (adjust-window-trailing-edge, maximize-window, minimize-window)
4373         (window-deletable-p, delete-window, delete-other-windows)
4374         (record-window-buffer, unrecord-window-buffer)
4375         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4376         (quit-window, split-window, window-state-put)
4377         (set-window-text-height, fit-window-to-buffer)
4378         (shrink-window-if-larger-than-buffer): Callers changed.
4380 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
4382         * mail/rmail.el (rmail-simplified-subject): Decode subject with
4383         rfc2047-decode-string.
4384         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4385         warnings.
4387         * window.el (window-body-height, window-body-width): Mention in
4388         the doc string that the return values are in frame's canonical
4389         units.  (Bug#9949)
4391 2011-11-03  Alan Mackenzie  <acm@muc.de>
4393         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4394         change in cc-engine.el.
4396 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4398         * window.el (switch-to-buffer): Use `force-same-window' interactively.
4400 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
4402         * window.el (quit-window): Call unrecord-window-buffer after
4403         showing another buffer in the window.  (Bug#9937)
4404         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4406 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
4408         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4409         Accept status with more than 9 shelves.  (Bug#9935)
4410         Reported by Colin D Bennett <colin@gibibit.com>.
4412 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
4414         * help.el (with-help-window): Don't reference
4415         temp-buffer-show-specifiers in doc-string.
4417 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4419         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4420         menu-item.
4422 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4424         * whitespace.el: New version 13.2.2.
4425         (whitespace-newline-mode): Disable properly.  Reported by Sarah
4426         <EmacsWiki>.
4428 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
4430         * net/newst-treeview.el: Remove "Time-stamp".
4431         (newsticker--group-manage-orphan-feeds): Do not call
4432         newsticker--treeview-tree-update.
4433         (newsticker-treeview-update, newsticker-treeview):
4434         Call newsticker--treeview-tree-update if necessary.
4436 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
4438         * window.el (window-iso-combination-p, window-iso-combined-p)
4439         (window-iso-combinations): Remove "iso-" infix.
4440         Suggested by Chong Yidong.
4441         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4442         (window-max-delta-1, window-resize, window--resize-siblings)
4443         (window--resize-this-window, adjust-window-trailing-edge)
4444         (split-window, balance-windows-1)
4445         (shrink-window-if-larger-than-buffer):
4446         * calendar/calendar.el (calendar-generate-window):
4447         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4449 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4451         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4452         in place (bug#9907).
4453         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4454         (eshell-rewrite-if-command, eshell-rewrite-for-command)
4455         (eshell-structure-basic-command, eshell-rewrite-while-command)
4456         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4457         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4458         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4459         (eshell-do-pipelines-synchronously, eshell-eval-command):
4460         Use backquotes and prefer setq to set.
4461         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4462         (eshell-macrop): Use functionp.
4463         (eshell-do-eval): Handle multiple expressions in `while' body.
4465 2011-10-30  Chong Yidong  <cyd@gnu.org>
4467         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4468         instead of set-mark (Bug#9810).
4470 2011-10-30  Chong Yidong  <cyd@gnu.org>
4472         * window.el (split-window-below, split-window-right): Rename from
4473         split-window-above-each-other and split-window-side-by-side
4474         respectively.  All callers changed.
4475         (split-window-sensibly, split-window-sensibly): Use them.
4476         (split-window-keep-point): Doc fix.
4478         * isearch.el: Add isearch-scroll property to split-window-below
4479         and split-window-right.
4481         * follow.el (follow-mode):
4482         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4483         * progmodes/ada-xref.el (ada-gdb-application):
4484         * emulation/vip.el (vip-buffer-in-two-windows):
4485         * image-dired.el (image-dired-dired-with-window-configuration):
4486         * dired-x.el (dired-do-find-marked-files):
4487         * dired.el (dired-pop-to-buffer):
4488         * bs.el (bs--show-with-configuration):
4489         * vc/emerge.el (emerge-setup-windows):
4490         * textmodes/two-column.el (2C-two-columns):
4491         * textmodes/reftex-toc.el (reftex-toc):
4492         * progmodes/gdb-mi.el (gdb-setup-windows):
4493         * progmodes/fortran.el (fortran-window-create):
4494         * net/newst-treeview.el (newsticker--treeview-window-init):
4495         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4496         * emulation/tpu-edt.el (tpu-gold-map):
4497         * emulation/crisp.el (crisp-mode-map):
4498         * calendar/calendar.el (calendar-basic-setup): Callers changed.
4500 2011-10-29  Chong Yidong  <cyd@gnu.org>
4502         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4504         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4506         * textmodes/flyspell.el (flyspell-word): Fix char offset for
4507         forged Ispell output (Bug#7904).
4509         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4511 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4513         * doc-view.el: Avoid ugly errors about not finding nil.
4514         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4515         (doc-view-dvipdf-program, doc-view-unoconv-program)
4516         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4517         Avoid nil or absolute file name as default value.
4518         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4520 2011-10-28  Alan Mackenzie  <acm@muc.de>
4522         * progmodes/cc-defs.el (c-version): -> 5.32.2.
4524 2011-10-28  Alan Mackenzie  <acm@muc.de>
4526         Amend the handling of c-beginning/end-of-defun in nested declaration
4527         scopes.
4529         * progmodes/cc-vars.el (c-defun-tactic): Move here from
4530         cc-langs.el.  Change it to a defcustom.
4532         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4533         cc-vars.el.
4535         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4536         Prevent "class foo : bar" being spuriously recognized as a label.
4538         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4539         Add parameter `inclusive' (to include enclosing braces in the region).
4540         (c-widen-to-enclosing-decl-scope): New function.
4541         (c-while-widening-to-decl-block): New macro.
4542         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4543         outward for defun boundaries, and correspondingly change symbol
4544         `respect-enclosure' to `go-outward'.
4545         (c-declaration-limits): Change algorithm to report only the "innermost"
4546         defun's boundaries.
4548 2011-10-28  Deniz Dogan  <deniz@dogan.se>
4550         * net/rcirc.el (rcirc-mode): Use hard newlines.
4552 2011-10-28  Alan Mackenzie  <acm@muc.de>
4554         Amend to indent and fontify macros "which include their own semicolon"
4555         correctly, using the "virtual semicolon" mechanism.
4557         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4559         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4560         Recode to scan one line at a time rather than having \n and \r
4561         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4562         (c-forward-label): Amend for virtual semicolons.
4563         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4565         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4566         of the new C macros.
4568         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4569         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4570         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4571         (c-opt-cpp-macro-define): Make into a full language variable.
4572         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4573         AWK Mode (including \n, \r) removed, no longer needed.
4575         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4576         Invoke c-make-macro-with-semi-re.
4578         * progmodes/cc-vars.el (c-macro-with-semi-re):
4579         (c-macro-names-with-semicolon): New variables.
4580         (c-make-macro-with-semi-re): New function.
4582 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4584         * vc/log-edit.el: Fill empty field rather than adding new one.
4585         (log-edit-add-field): New function.
4586         (log-edit-insert-changelog): Use it.
4588 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4590         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4592 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4594         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4595         (gdb--check-interpreter): New function.
4596         (gdb): Use it.
4598 2011-10-27  Glenn Morris  <rgm@gnu.org>
4600         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4601         (least-positive-float, least-negative-float)
4602         (least-positive-normalized-float, least-negative-normalized-float)
4603         (float-epsilon, float-negative-epsilon):
4604         Remove unnecessary declarations.
4606         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4607         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4608         (least-positive-float, least-negative-float)
4609         (least-positive-normalized-float, least-negative-normalized-float)
4610         (float-epsilon, float-negative-epsilon): Add doc-strings,
4611         based on those in cl.texi.
4613         * files.el (set-visited-file-name): If the major-mode changed,
4614         reload the local variables.  (Bug#9796)
4616 2011-10-27  Chong Yidong  <cyd@gnu.org>
4618         * subr.el (change-major-mode-after-body-hook): New hook.
4619         (run-mode-hooks): Run it.
4621         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4622         Use change-major-mode-before-body-hook.
4624         * simple.el (fundamental-mode):
4625         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4626         change introducing fundamental-mode-hook.
4628 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
4630         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4632 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
4634         * ido.el (ido-file-name-all-completions-1): Do not require
4635         tramp.el explicitly.  (Bug#7583)
4637 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4639         * progmodes/octave-mod.el:
4640         * progmodes/octave-inf.el: Update maintainer.
4642 2011-10-26  Chong Yidong  <cyd@gnu.org>
4644         * subr.el (with-wrapper-hook): Rewrite doc.
4646 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
4648         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4649         filenames "/method:foo:".  (Bug#9793)
4651 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4653         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4654         (bug#9865).
4656 2011-10-24  Glenn Morris  <rgm@gnu.org>
4658         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
4660 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
4662         * notifications.el: Add the requirement of a running D-Bus session
4663         bus to the Commentary.
4665 2011-10-24  Juri Linkov  <juri@jurta.org>
4667         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4668         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4669         (Bug#9364)
4671 2011-10-24  Juri Linkov  <juri@jurta.org>
4673         * info.el (Info-following-node-name-re): Add newline to the list
4674         of allowed characters for leading space.  (Bug#9824)
4676 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4678         * progmodes/octave-inf.el (inferior-octave-mode-map):
4679         Fix C-c C-h binding.
4680         * progmodes/octave-mod.el (octave-help): Remove.
4682 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
4684         Sync with Tramp 2.2.3.
4686         * net/tramp-cache.el (top): Pacify byte-compiler using
4687         `init-file-user' and `site-run-file'.
4689         * net/trampver.el: Update release number.
4691 2011-10-23  Chong Yidong  <cyd@gnu.org>
4693         * files.el (toggle-read-only): Remove obsolete comment about
4694         version control.
4696         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4697         for toggle-read-only.  Note that this hasn't called vc-next-action
4698         since 2008-05-02, though it wasn't documented at the time.
4700         * vc/ediff-init.el (ediff-toggle-read-only-function):
4701         Use toggle-read-only.
4703 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4705         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4706         of c-parse-state.
4708         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4709         correct faulty logical expression.
4710         (c-parse-state-state, c-record-parse-state-state):
4711         (c-replay-parse-state-state): New defvar/defuns.
4712         (c-debug-parse-state): Use new functions.
4714 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4716         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4717         last fix.  Use window-in-direction correctly.
4719 2011-10-21  Chong Yidong  <cyd@gnu.org>
4721         * progmodes/idlwave.el (idlwave-mode):
4722         * progmodes/vera-mode.el (vera-mode): No need to set
4723         require-final-newline; that's done in prog-mode.
4724         Suggested by Stefan Monnier.
4726 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4728         * mouse.el (mouse-drag-window-above)
4729         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4730         (mouse-drag-mode-line-1, mouse-drag-header-line)
4731         (mouse-drag-vertical-line-rightward-window): Remove.
4732         (mouse-drag-line): New function.
4733         (mouse-drag-mode-line, mouse-drag-header-line)
4734         (mouse-drag-vertical-line): Call mouse-drag-line.
4735         * window.el (window-at-side-p, windows-at-side): New functions.
4737 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4739         * tar-mode.el (tar-grind-file-mode):
4740         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4742 2011-10-21  Chong Yidong  <cyd@gnu.org>
4744         * progmodes/idlwave.el (idlwave-mode):
4745         * progmodes/vera-mode.el (vera-mode):
4746         Use mode-require-final-newline.
4748 2011-10-20  Glenn Morris  <rgm@gnu.org>
4750         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
4752 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
4754         * emulation/cua-base.el (cua-set-mark): Fix case of string.
4756 2011-10-20  Chong Yidong  <cyd@gnu.org>
4758         * emulation/cua-base.el (cua-mode):
4759         * mail/footnote.el (footnote-mode):
4760         * mail/mailabbrev.el (mail-abbrevs-mode):
4761         * net/xesam.el (xesam-minor-mode):
4762         * progmodes/bug-reference.el (bug-reference-mode):
4763         * progmodes/cap-words.el (capitalized-words-mode):
4764         * progmodes/compile.el (compilation-minor-mode)
4765         (compilation-shell-minor-mode):
4766         * progmodes/gud.el (gud-tooltip-mode):
4767         * progmodes/hideif.el (hide-ifdef-mode):
4768         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4769         * progmodes/subword.el (subword-mode):
4770         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4771         * progmodes/which-func.el (which-function-mode):
4772         * term/tvi970.el (tvi970-set-keypad-mode):
4773         * term/vt100.el (vt100-wide-mode):
4774         * textmodes/flyspell.el (flyspell-mode):
4775         * textmodes/ispell.el (ispell-minor-mode):
4776         * textmodes/nroff-mode.el (nroff-electric-mode):
4777         * textmodes/paragraphs.el (use-hard-newlines):
4778         * textmodes/refill.el (refill-mode):
4779         * textmodes/reftex.el (reftex-mode):
4780         * textmodes/rst.el (rst-minor-mode):
4781         * textmodes/sgml-mode.el (html-autoview-mode)
4782         (sgml-electric-tag-pair-mode):
4783         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4784         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4785         * emulation/crisp.el (crisp-mode):
4786         * emacs-lisp/eldoc.el (eldoc-mode):
4787         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4788         minor mode behavior.
4790 2011-10-19  Juri Linkov  <juri@jurta.org>
4792         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4793         the list of hard-coded chars with escape-glyph face.
4795 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4797         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4799 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4801         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4802         running process.
4804 2011-10-19  Glenn Morris  <rgm@gnu.org>
4806         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4807         Ignore ignored files.  (Bug#9726)
4809 2011-10-19  Chong Yidong  <cyd@gnu.org>
4811         Doc fix for minor modes, stating that an omitted argument enables
4812         the mode unconditionally when called from Lisp.
4814         * abbrev.el (abbrev-mode):
4815         * allout.el (allout-mode):
4816         * autoinsert.el (auto-insert-mode):
4817         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4818         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4819         (global-auto-revert-mode):
4820         * battery.el (display-battery-mode):
4821         * composite.el (global-auto-composition-mode)
4822         (auto-composition-mode):
4823         * delsel.el (delete-selection-mode):
4824         * desktop.el (desktop-save-mode):
4825         * dired-x.el (dired-omit-mode):
4826         * dirtrack.el (dirtrack-mode):
4827         * doc-view.el (doc-view-minor-mode):
4828         * double.el (double-mode):
4829         * electric.el (electric-indent-mode, electric-pair-mode):
4830         * emacs-lock.el (emacs-lock-mode):
4831         * epa-hook.el (auto-encryption-mode):
4832         * follow.el (follow-mode):
4833         * font-core.el (font-lock-mode):
4834         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4835         * help.el (temp-buffer-resize-mode):
4836         * hilit-chg.el (highlight-changes-mode)
4837         (highlight-changes-visible-mode):
4838         * hi-lock.el (hi-lock-mode):
4839         * hl-line.el (hl-line-mode, global-hl-line-mode):
4840         * icomplete.el (icomplete-mode):
4841         * ido.el (ido-everywhere):
4842         * image-file.el (auto-image-file-mode):
4843         * image-mode.el (image-minor-mode):
4844         * iswitchb.el (iswitchb-mode):
4845         * jka-cmpr-hook.el (auto-compression-mode):
4846         * linum.el (linum-mode):
4847         * longlines.el (longlines-mode):
4848         * master.el (master-mode):
4849         * mb-depth.el (minibuffer-depth-indicate-mode):
4850         * menu-bar.el (menu-bar-mode):
4851         * minibuf-eldef.el (minibuffer-electric-default-mode):
4852         * mouse-sel.el (mouse-sel-mode):
4853         * msb.el (msb-mode):
4854         * mwheel.el (mouse-wheel-mode):
4855         * outline.el (outline-minor-mode):
4856         * paren.el (show-paren-mode):
4857         * recentf.el (recentf-mode):
4858         * reveal.el (reveal-mode, global-reveal-mode):
4859         * rfn-eshadow.el (file-name-shadow-mode):
4860         * ruler-mode.el (ruler-mode):
4861         * savehist.el (savehist-mode):
4862         * scroll-all.el (scroll-all-mode):
4863         * scroll-bar.el (scroll-bar-mode):
4864         * server.el (server-mode):
4865         * shell.el (shell-dirtrack-mode):
4866         * simple.el (auto-fill-mode, transient-mark-mode)
4867         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4868         (line-number-mode, column-number-mode, size-indication-mode)
4869         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4870         * strokes.el (strokes-mode):
4871         * time.el (display-time-mode):
4872         * t-mouse.el (gpm-mouse-mode):
4873         * tool-bar.el (tool-bar-mode):
4874         * tooltip.el (tooltip-mode):
4875         * type-break.el (type-break-mode-line-message-mode)
4876         (type-break-query-mode):
4877         * view.el (view-mode):
4878         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4879         (global-whitespace-mode, global-whitespace-newline-mode):
4880         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4882         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4883         Fix autogenerated docstring.
4885 2011-10-19  Juri Linkov  <juri@jurta.org>
4887         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4888         by checking environment variables "DESKTOP_SESSION" and
4889         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4891 2011-10-19  Juri Linkov  <juri@jurta.org>
4893         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4894         (browse-url-chromium-program, browse-url-chromium-arguments):
4895         New defcustoms.
4896         (browse-url-default-browser): Check for `browse-url-chromium' and
4897         call `browse-url-chromium-program'.
4898         (browse-url-chromium): New command.  (Bug#9779)
4900 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4902         * facemenu.el (list-colors-duplicates): On Windows, detect more
4903         duplicates by assuming that only colors matching "^System" are
4904         special "system colors".  (Bug#9722)
4906 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4908         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4909         to distinguish the author from the committer.
4911 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4913         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4915 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4917         * international/mule.el (sgml-html-meta-auto-coding-function):
4918         Add support for detecting encoding in HTML5 specified only as
4919         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4920         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4922 2011-10-18  Glenn Morris  <rgm@gnu.org>
4924         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4926 2011-10-18  Chong Yidong  <cyd@gnu.org>
4928         * faces.el (cursor): Doc fix.
4930 2011-10-17  Chong Yidong  <cyd@gnu.org>
4932         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4934 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4936         * dirtrack.el (dirtrack): Support shell buffers with path
4937         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4939 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4941         * json.el: Bump version to 1.3 and note change in History.
4942         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4944 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4946         * comint.el (comint-insert-input, comint-send-input)
4947         (comint-get-old-input-default, comint-backward-matching-input)
4948         (comint-next-prompt): Use nil instead of `input' for field property of
4949         past user input (bug#114).
4951         * minibuffer.el (completion--replace): Inherit surrounding properties
4952         (bug#114).
4953         (minibuffer-complete-and-exit): Use it.
4955         * comint.el (comint--table-subvert): Quote the all-completions output
4956         (bug#9160).
4958 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4960         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4962         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4963         window on right of selected.  (Bug#9350) Reword other window
4964         entries and separate them from frame entries.
4966 2011-10-15  Glenn Morris  <rgm@gnu.org>
4968         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4969         Doc fixes.
4971 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4973         * net/network-stream.el (network-stream-open-starttls):
4974         Improve detection of failure due to lack of TLS support.
4976         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4977         putting the input text in front and in bold.
4979 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4981         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4983         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4984         empty buffer.
4986         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4987         unread-command-events rather than pushing yet-another event.
4989 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
4991         * mail/sendmail.el (sendmail-query-once): Improve the wording of
4992         the explanation of the possible choices.  Make the options passed
4993         to completing-read shorter.
4995 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4997         * textmodes/flyspell.el (flyspell-large-region): Make sure
4998         extended character mode is used if defined (Bug#1339).
5000 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5002         * simple.el (what-cursor-position): Fix the display of the
5003         character info for LRE, LRO, RLE, and RLO characters by appending
5004         an invisible PDF.
5006 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5008         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5009         even in case of error; add debug spec; simplify data flow.
5010         (with-timeout-handler): Remove.
5012 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5014         Fix Bug#6019, Bug#9315.
5016         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5017         complete `buffer-file-name', the local file name part could look
5018         remotely (for example on VMS).
5020         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5021         `tramp-run-real-handler'.
5022         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5023         already quoted by '"'.
5025         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5026         Let `file-name-handler-alist' be nil, the local file name part
5027         could look remotely (for example on VMS).
5029 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5031         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5032         from here...
5033         (flyspell-post-command-hook): ...to here.
5035 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5037         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5038         if not needed.
5039         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5040         using completion.  Protect against "slow" callers.
5041         Remove the "message hack".
5043 2011-10-11  Juri Linkov  <juri@jurta.org>
5045         * isearch.el (isearch-lazy-highlight-word): New variable.
5046         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5047         Use it.  (Bug#9727)
5049 2011-10-11  Glenn Morris  <rgm@gnu.org>
5051         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5052         like f90-previous-statement does.
5054 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5056         * eshell/eshell.el (eshell-command): History should be saved
5057         only in interactive use, to avoid error.
5059 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5061         * minibuffer.el (completion-file-name-table): Fix last change,
5062         i.e. ignore normal errors but not the other ones.
5064 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5066         * window.el (special-display-buffer-names)
5067         (special-display-regexps): Remove some remnants of earlier
5068         changes from doc-strings.
5069         (quit-windows-on): New function.
5071         * vc/vc.el (vc-revert, vc-rollback):
5072         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5073         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5074         (Bug#6183) (Bug#7074) (Bug#7447)
5076 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5078         * window.el (frame-auto-hide-function): Add version tag.
5079         (Bug#9699)
5081 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5083         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5084         condition.
5086 2011-10-09  Leo Liu  <sdl.web@gmail.com>
5088         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5089         (Bug#9701)
5091 2011-10-08  Glenn Morris  <rgm@gnu.org>
5093         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5094         before the first code statement zero indent.  (Bug#9690)
5096 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
5098         * simple.el (count-words-region): Always count in the region.
5099         Report the number of lines and characters too.
5100         (count-words): New command, which counts in the buffer if the
5101         region is inactive, as count-words-region used to.
5102         (count-words--message): New function.  Handle plurals.
5103         (count-lines-region): Make it an alias for count-words-region.
5105         * bindings.el (esc-map): Replace count-lines-region with
5106         count-words-region.
5108 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
5110         * window.el (window--delete): Delete dedicated frame
5111         unconditionally when argument KILL is non-nil.  (Bug#9699)
5112         (switch-to-buffer): Fix doc-string typo.
5114 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5116         * eshell/eshell.el (eshell-command): Avoid using hooks.
5118 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
5120         * bindings.el ([M-left],[M-right]): Bind to left-word and
5121         right-word respectively.
5123 2011-10-07  Glenn Morris  <rgm@gnu.org>
5125         * cus-start.el (debug-on-quit): Fix custom type.
5127 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5129         * subr.el (define-key-after): Clarify that the function is not
5130         useful for non-menu keymaps.
5132         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5134 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5136         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5137         in current minibuffer (Fix bug with recursive minibuffers).
5139 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
5141         * progmodes/gdb-mi.el (gdb): Doc fix.
5143 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
5145         * window.el (frame-auto-hide-function): New option replacing
5146         frame-auto-delete.  Suggested by Stefan Monnier.
5147         (window--delete): Call frame-auto-hide-function instead of
5148         investigating frame-auto-delete.
5149         (window-point-1, set-window-point-1): New functions.
5150         (window-in-direction, record-window-buffer, window-state-get-1)
5151         (display-buffer-record-window): Use window-point-1 instead of
5152         window-point.
5153         (set-window-buffer-start-and-point): Use set-window-point-1.
5155 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5157         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5159 2011-10-05  Glenn Morris  <rgm@gnu.org>
5161         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5162         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
5164 2011-10-05  Leo Liu  <sdl.web@gmail.com>
5166         * subr.el (read-char-choice): Fix argument to buffer-live-p which
5167         works with buffer object.
5169 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5171         * mpc.el (mpc-tool-bar-map): Add labels.
5173 2011-10-04  Glenn Morris  <rgm@gnu.org>
5175         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5177 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
5179         * window.el (window--delete): New function.
5180         (frame-auto-delete): Resuscitate option.
5181         (bury-buffer, replace-buffer-in-windows)
5182         (quit-window): Rewrite using window--delete.
5183         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5184         Pass display-buffer-mark-dedicated to window--display-buffer-2
5185         (Bug#9639).
5187 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5189         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5190         returns a list (bug#9554).  Add remote file name completion.
5191         * comint.el (comint--table-subvert): Curry and get quote&unquote
5192         functions as arguments.
5193         (comint--complete-file-name-data): Adjust call accordingly.
5194         * pcomplete.el (pcomplete--table-subvert): Remove.
5195         (pcomplete-completions-at-point): Use comint--table-subvert instead.
5197         * minibuffer.el (completion-table-case-fold): Use currying.
5198         (completion--styles-type, completion--cycling-threshold-type):
5199         New constants.
5200         (completion-styles, completion-category-overrides)
5201         (completion-cycle-threshold): Use them.
5202         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5203         completion-table-case-fold.
5205 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
5207         * minibuffer.el (completion-category-overrides): Fix type of styles
5208         and add more user friendly tags (bug#9660).
5210 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5212         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5213         (mule-input-method-string): New widget.
5214         (default-input-method, language-info-custom-alist): Use it.
5216 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5218         * pcomplete.el: Require comint.
5219         (pcomplete--common-suffix): Remove.
5220         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5221         (pcomplete--table-subvert): Sync with comint--table-subvert.
5222         (pcomplete--entries): Use comint-completion-file-name-table.
5223         * comint.el (comint-unquote-filename): Simplify.
5224         (comint-completion-file-name-table): New function (bug#9616).
5225         (comint--complete-file-name-data): Use it.
5227         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5228         (pcmpl-gnu-tar-buffer): Remove.
5229         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5230         around.  Make sure pcomplete-suffix-list is only changed temporarily.
5231         Don't look inside the tar's file if it's too large.
5233 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
5235         * cus-edit.el (custom-mode-map):
5236         * epa.el (epa-key-list-mode-map):
5237         * man.el (Man-mode-map):
5238         * startup.el (splash-screen-keymap):
5239         * simple.el (special-mode-map): Use scroll-up-command and
5240         scroll-down-command.
5242         * progmodes/idlw-help.el (idlwave-help-mode-map):
5243         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5244         * net/newst-plainview.el (newsticker-mode-map):
5245         * emulation/ws-mode.el (wordstar-mode-map):
5246         * emulation/vi.el (vi-com-map):
5247         * calc/calc-graph.el (calc-graph-show-dumb):
5248         * term/sun.el (terminal-init-sun):
5249         * term/ns-win.el (global-map):
5250         * progmodes/grep.el (grep-mode-map):
5251         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5252         * mail/rmail.el (rmail-mode-map):
5253         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5255         * custom.el (custom-safe-themes, load-theme): Treat value of t for
5256         custom-safe-themes as special.
5258 2011-10-01  Julien Danjou  <julien@danjou.info>
5260         * notifications.el (notifications-notify): Fix docstring.
5262 2011-10-01  Per Starbäck  <per@starback.se>
5264         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
5266 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
5268         * startup.el (command-line-1): Fix last fix by inserting
5269         initial-scratch-message into *scratch* before displaying it.
5270         (Bug#9605) and (Bug#9636)
5272 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
5274         * simple.el (line-move): If auto-hscroll-mode is disabled and the
5275         window is hscrolled, move by logical lines.  (Bug#9607)
5276         (line-move-visual): Update the doc string to the above effect.
5278 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
5280         * window.el (display-buffer-record-window): When WINDOW is the
5281         selected window use `point' instead of `window-point'.  (Bug#9626)
5283         * startup.el (command-line-1): Use insert-before-markers when
5284         inserting initial-scratch-message.  (Bug#9605)
5286         * help.el (help-window): Remove variable.
5288 2011-09-29  Glenn Morris  <rgm@gnu.org>
5290         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5292 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
5294         * descr-text.el (describe-char-categories): Accept category
5295         descriptions more than one line long.
5297 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5299         * simple.el (delete-trailing-whitespace): Fix last change.
5301         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5302         Don't confuse "y => 3" as the beginning of a `y' operation.
5304         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5305         object has more than 4 slots (bug#9613).
5307 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
5309         * subr.el (with-output-to-temp-buffer):
5310         * net/quickurl.el (quickurl, quickurl-browse-url):
5311         Fix typos in docstrings.
5313 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
5315         * minibuffer.el (completion-styles)
5316         (completion-category-overrides): Cross reference each other in doc
5317         strings.
5319 2011-09-27  Glenn Morris  <rgm@gnu.org>
5321         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5322         to split-string.  (Bug#9606)
5324 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5326         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5327         (bug#9615).
5329 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
5331         * emacs-lisp/package.el (list-packages): Fix echo area message.
5333 2011-09-27  Leo Liu  <sdl.web@gmail.com>
5335         * ido.el (ido-read-internal): Accept cons cell HIST arg.
5337 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
5339         * net/dbus.el (dbus-unregister-object): Don't release services for
5340         registered signals.  (Bug#9581)
5342 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
5344         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5345         function that picks between cfengine 2 and 3 support
5346         automatically.  Update docs accordingly.
5348 2011-09-22  Kenichi Handa  <handa@m17n.org>
5350         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5351         ZERO.
5352         (indian-itrans-v5-table-for-tamil): New variable.
5353         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5355 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
5357         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5358         that's true if the current command involved collapsing of text.
5359         It's reset to false at the beginning of the next command.
5360         (allout-post-command-business): Move the cursor to the beginning
5361         of entry if the cursor is hidden and collapsing activity just
5362         happened.
5364 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
5366         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5367         tracking (Bug#9541).
5369 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
5371         * net/newst-reader.el (newsticker-html-renderer)
5372         (newsticker-show-news): Automatically load html rendering package
5373         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
5374         because w3m-fill-column is let-bound" and the error "Symbol's value
5375         as variable is void: w3m-fill-column".
5377 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
5379         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5380         Release services only if they are defined.  (Bug#9581)
5382 2011-09-23  Richard Stallman  <rms@gnu.org>
5384         * textmodes/paragraphs.el (forward-sentence): For backwards case,
5385         distinguish start of paragraph from start of its text.
5387         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5389         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5390         (rmail-generate-viewer-buffer): Put that hook on view buffer.
5391         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5393 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
5395         * international/mule-diag.el (mule-diag): Insert a newline after
5396         each fontset description.
5398 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5400         * simple.el (delete-trailing-whitespace):
5401         Document last change; simplify.
5403 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
5405         * simple.el (delete-trailing-whitespace): Also delete
5406         extra newlines at the end of the buffer.
5408         * textmodes/picture.el: Make motion commands obey shift-select-mode.
5409         (picture-newline): Use forward-line so as to ignore fields.
5411 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * subr.el (with-wrapper-hook): Fix edebug spec.
5415 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5417         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5418         (bug#4538).
5420 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
5422         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5423         Fix nasty bug using wrong cached values.
5425 2011-09-23  Alan Mackenzie  <acm@muc.de>
5427         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5429 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
5431         * window.el (pop-to-buffer): Ensure right window is selected if we
5432         chose another frame.
5434 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
5436         * simple.el (what-cursor-position): Use get-char-property-change
5437         and next-single-char-property-change, to be able to show display
5438         properties that come from overlays as well as text properties.
5440 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
5442         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5444         * cmuscheme.el (run-scheme, switch-to-scheme):
5445         * cus-edit.el (customize-group, custom-buffer-create)
5446         (customize-browse):
5447         * info.el (info):
5448         * shell.el (shell):
5449         * mail/sendmail.el (mail):
5450         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5452 2011-09-22  Richard Stallman  <rms@gnu.org>
5454         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5455         move back only to line beg, don't move back over blank lines.
5457 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
5459         * files.el (copy-directory): Set directory attributes only in case
5460         they could be retrieved from the source directory.  (Bug#9565)
5462 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
5464         * progmodes/hideshow.el (hs-looking-at-block-start-p)
5465         (hs-find-block-beginning, hs-hide-level-recursive):
5466         Ignore strings as well as comments.  (Bug#9502)
5468 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
5470         * progmodes/sql.el (sql-comint-postgres):
5471         Convert port number to a string.  (Bug#9566)
5473 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
5475         * window.el (quit-window): Undedicate window when switching to
5476         previous buffer.  Reported by Thierry Volpiatto
5477         <thierry.volpiatto@gmail.com>.
5478         (special-display-popup-frame): When popping up a new frame reset
5479         its previous buffers to nil.  Simplify code.
5481 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
5483         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5484         and process filter, as done also in `shell-command'.
5486 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
5488         * window.el (set-window-buffer-start-and-point):
5489         Call set-window-start with NOFORCE argument t.
5490         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5491         (quit-window): Reword doc-string.  Handle new format of
5492         quit-restore parameter.  Don't delete window if it has a
5493         previous buffer we can show instead of the present one.
5494         (display-buffer-record-window): Rewrite using a new format for
5495         the quit-restore window parameter
5496         (special-display-popup-frame, display-buffer-same-window)
5497         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5498         (display-buffer-pop-up-window, display-buffer-use-some-window):
5499         Adapt symbol passed to display-buffer-record-window.
5500         * help.el (help-window-setup): Handle new format of quit-restore
5501         parameter.
5503 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5505         * faces.el (face-list): Fix docstring (bug#9564).
5507         * window.el (display-buffer--action-function-custom-type):
5508         Don't include internal functions in the Custom interface.
5510 2011-09-20  Juri Linkov  <juri@jurta.org>
5512         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5513         (Info-forward-node, Info-backward-node, Info-next-preorder)
5514         (Info-last-preorder): Use it.  (Bug#9528)
5516 2011-09-20  Juri Linkov  <juri@jurta.org>
5518         * info.el (Info-last-preorder): Visit last menu item only when
5519         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5521 2011-09-20  Julien Danjou  <julien@danjou.info>
5523         * password-cache.el (password-cache-remove): Remove entries even if the
5524         value is nil, so that password with a nil value (negative caching) is
5525         possible to invalidate.
5527 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
5529         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5530         all whitespace around breakpoint.  (Bug#9553)
5531         (f90-find-breakpoint): Only break at whitespace inside a comment.
5533 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5535         * minibuffer.el (completion-file-name-table): Keep track of errors.
5536         (completion-table-with-predicate): Handle the case where pred1 is nil.
5537         * pcomplete.el (pcomplete-completions-at-point): Simplify.
5539 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5541         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5542         (debugger-return-value): Signal an error if the debugging context does
5543         not await any return value.
5545         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5546         * image-mode.el (image-toggle-display-text)
5547         (image-toggle-display-image): Stay away from evil `intangible'.
5549 2011-09-19  Leo Liu  <sdl.web@gmail.com>
5551         * replace.el (occur-revert-arguments): Make it permanent-local.
5552         (occur-mode): Don't call font-lock-defontify.
5554 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
5556         * net/ldap.el (ldap-search-internal): Don't push empty search
5557         result (Bug#9508).
5559 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5561         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5563 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
5565         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5566         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5568 2011-09-18  Juri Linkov  <juri@jurta.org>
5570         * buff-menu.el (Buffer-menu-mode-map):
5571         * dired.el (dired-mode-map):
5572         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5573         (lisp-interaction-mode-map):
5574         * emacs-lisp/package.el (package-menu-mode-map):
5575         * epa.el (epa-key-list-mode-map):
5576         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5577         (menu-bar-options-menu):
5578         * outline.el (outline-mode-menu-bar-map):
5579         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5580         * vc/vc-dir.el (vc-dir-menu-map):
5581         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5582         Capitalize non-function content words in menu item strings.
5584         * dired.el (dired-mode-map): Add menu item for
5585         `image-dired-dired-toggle-marked-thumbs'.
5587 2011-09-18  Juri Linkov  <juri@jurta.org>
5589         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5590         to `isearch-case-fold-search' and restore its original value
5591         after the `isearch-mode' call.
5593 2011-09-18  Juri Linkov  <juri@jurta.org>
5595         * progmodes/grep.el (grep-process-setup): Don't check code for 1
5596         because `zgrep' returns 1 for successful matches (bug#9226).
5598 2011-09-18  Juri Linkov  <juri@jurta.org>
5600         * info.el (Info-extract-menu-node-name): Check the second match
5601         for empty string (second test-case of bug#9528).
5602         (Info-last-preorder): Let-bind `Info-history' to nil to not add
5603         intermediate nodes to the history (first test-case of bug#9528).
5605 2011-09-18  Juri Linkov  <juri@jurta.org>
5607         * info.el (Info-mode-syntax-table): New variable.
5608         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5610 2011-09-18  Juri Linkov  <juri@jurta.org>
5612         * info.el (Info-file-supports-index-cookies):
5613         Increment line-beginning-position's arg from 3 to 4 because makeinfo
5614         outputs one more line for long file names (bug#4142).
5616 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5618         * newcomment.el (comment-normalize-vars): If prompting for
5619         comment-start, set comment-start-skip too (Bug#8424).
5621 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
5623         * icomplete.el: Fix previous fix of Bug#5849.
5624         (icomplete-mode): Don't set completion-show-inline-help.
5625         (icomplete-minibuffer-setup): Set completion-show-inline-help
5626         locally during icompletion.
5628 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5630         * woman.el (woman2-process-escapes): Don't delete unrecognized
5631         escapes (Bug#7843).
5633         * files.el (inhibit-first-line-modes-regexps): Add image files.
5634         (hack-local-variables-prop-line): Return nil for malformed
5635         prop-lines (Bug#9044).
5637 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
5639         * net/tramp.el (top): Don't require 'shell.
5640         (tramp-methods): Fix docstring.
5641         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5642         Return complete remote file name.  Handle "smb" case.
5643         Use `tramp-tmpdir', if defined for the respective method.
5644         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5646         * net/tramp-compat.el (top): Require 'shell.
5648         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5649         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5650         `tramp-current-host'.
5651         (tramp-get-remote-tmpdir): Remove.
5653         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5654         `tramp-tmpdir' entries.
5655         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5656         (tramp-smb-handle-file-attributes): Ignore errors.
5657         (tramp-smb-wait-for-output): Check also for process end.
5659 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5661         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5662         when sending QUIT (bug#9312).
5664 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
5666         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5667         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5668         occur-mode-display-occurrence.
5669         (occur-edit-mode): Add usage message.
5670         (occur-cease-edit): New command.
5671         (occur-after-change-function): Use text properties to find the
5672         position of the prefix text.
5673         (occur-engine): Set stickiness of prefix text properties.
5675 2011-09-17  Glenn Morris  <rgm@gnu.org>
5677         * progmodes/etags.el (complete-tag):
5678         Fix call to completion-in-region.  (Bug#9526)
5680 2011-09-17  Juri Linkov  <juri@jurta.org>
5682         * textmodes/ispell.el (ispell-word): Add to the error message
5683         the word, ispell program name and current dictionary (bug#9121).
5684         (ispell-tex-arg-end): Capitalize "error" in the error message.
5686 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5688         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5689         check.  (Bug#4251)
5691 2011-09-17  Juri Linkov  <juri@jurta.org>
5693         * window.el (window-safe-min-height, window-safe-min-width):
5694         Fix typos (followup to bug#9522).
5696 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5698         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5700 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5702         * simple.el (line-move): If goal-column is set, move by logical
5703         lines, not by display lines.  (Bug#971)
5704         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5705         to reflect the above change.
5707 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5709         * image.el (imagemagick-register-types): Use regexp-opt.
5711 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5713         * window.el (display-buffer-base-action): Rename from
5714         display-buffer-default-action.  Make default value empty.
5715         (display-buffer-overriding-action): Convert to defvar.
5716         (display-buffer-fallback-action): New var.
5718 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5720         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5721         declaration.
5722         (package--add-to-archive-contents): If there is a duplicate entry
5723         with an older version, remove it.
5724         (package-menu-mark-delete, package-menu-mark-install)
5725         (package-menu-mark-unmark): Make unused args optional.
5726         (package-menu-mark-obsolete-for-deletion):
5727         Use package-menu-get-status instead of a regexp search.
5728         (package-menu-get-status): Use tabulated-list-entry.
5729         (package-menu-mark-upgrades): New command.
5730         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5731         (package-menu-execute): Do installation before deletion.
5732         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5733         instead of checking major-mode.
5734         (package-menu--find-upgrades): New function.
5736 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5738         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5739         passwords in the log buffer.
5740         (smtpmail-process-filter): Update the process marker so that the
5741         "broken by peer" status message is inserted in the right place.
5743 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5745         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5746         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5747         bibtex-completion-at-point-function.
5748         (bibtex-completion-at-point-function): Use them.
5750         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5752         * mpc.el (mpc-constraints-tag-lookup): New function.
5753         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5754         also to browser "album|playlist".
5756 2011-09-14  Juri Linkov  <juri@jurta.org>
5758         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
5759         (isearch-edit-string): Use length of `isearch-string' when
5760         `isearch-fail-pos' returns nil.
5761         (isearch-message): Remove duplicate code and call
5762         `isearch-fail-pos' with arg `t'.
5764 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5766         * replace.el (occur-mode-goto-occurrence): Don't force using other
5767         window (Bug#9499).
5769         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5771 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5773         * window.el (display-buffer-window): Remove.
5774         (display-buffer-record-window): Use help-setup window parameter
5775         instead of variable display-buffer-window.
5776         (display-buffer-function, special-display-buffer-names)
5777         (special-display-function): Mention help-setup parameter instead
5778         of display-buffer-window in doc-string.
5779         * help.el (help-window-setup): New argument help-window.
5780         Use help-window-setup parameter instead of display-buffer-window.
5781         Reword some messages.
5782         (with-help-window): Pass window used for displaying the buffer
5783         to help-window-setup.  Don't set display-buffer-window.
5785 2011-09-13  Glenn Morris  <rgm@gnu.org>
5787         * emacs-lisp/debug.el (debugger-make-xrefs):
5788         Preserve point.  (Bug#9462)
5790 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5792         * window.el (window-deletable-p): Use next-frame.
5794 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5796         * window.el (window-auto-delete): Remove.
5797         (window-deletable-p): Remove argument FORCE.  Don't deal with
5798         dedication and previous buffers.
5799         (switch-to-prev-buffer): Don't delete window.
5800         (delete-windows-on): Delete a window's frame if and only if the
5801         window is dedicated.
5802         (replace-buffer-in-windows): Delete buffer's window or frame if
5803         and only if window is dedicated.
5804         (quit-window): Handle quit-restore as before last change.
5805         (bury-buffer): Delete window only if window-deletable-p returns t.
5807 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5809         * window.el (window-deletable-p): Never delete the last frame on a
5810         given terminal.
5812 2011-09-13  Glenn Morris  <rgm@gnu.org>
5814         * help.el (describe-key-briefly): Copy previous standard-output change.
5816 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5818         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5820 2011-09-13  Glenn Morris  <rgm@gnu.org>
5822         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5823         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5825 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5827         * dired-aux.el (dired-mark-read-string): Don't return default
5828         value on empty input (Bug#9361).
5829         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5830         Omit initial minibuffer contents.
5831         (dired-do-chmod): Signal an error on empty input.
5832         (dired-mark-read-string): Don't return default on empty input.
5834         * files.el (file-modes-symbolic-to-number): Doc fix.
5836 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5838         * international/mule-cmds.el (ucs-completions): Remove.
5839         (read-char-by-name): Use complete-with-action instead; add metadata.
5841 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5843         * window.el (display-buffer--action-function-custom-type)
5844         (display-buffer--action-custom-type): New vars.
5845         (display-buffer-alist, display-buffer-default-action)
5846         (display-buffer-overriding-action): Add defcustom types.
5848         * frame.el (delete-other-frames): Doc fix (Bug#276).
5850 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5852         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5854 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5856         Change modes that used same-window-* vars to use switch-to-buffer.
5858         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5859         Use switch-to-buffer.
5861         * cus-edit.el (customize-group, custom-buffer-create)
5862         (customize-browse, custom-buffer-create-other-window):
5863         Use switch-to-buffer or switch-to-buffer-other-window.
5865         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5866         (Info-prev, Info-up, Info-speedbar-goto-node)
5867         (info-display-manual): Use switch-to-buffer.
5868         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5870         * mail/sendmail.el (mail): Use switch-to-buffer.
5871         (mail-recover): Use switch-to-buffer-other-window.
5873         * cmuscheme.el (run-scheme, switch-to-scheme):
5874         * ielm.el (ielm):
5875         * shell.el (shell):
5876         * net/rlogin.el (rlogin):
5877         * net/telnet.el (telnet, rsh):
5878         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5880 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5882         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5884 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5886         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5887         so don't mention it (bug#9301).
5888         (dired-sort-toggle-or-edit): Clarify string further.
5890         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5891         match `x', `w32' and `ns', like the manual says (bug#9029).
5893         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5894         (process-kill-buffer-query-function): Mention the buffer name in
5895         the query.
5897         * image-mode.el (image-next-line): The line parameter is mandatory
5898         (bug#9258).
5900         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5901         which can be useful (bug#9301).
5903         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5905         * subr.el (match-string): Mention that the current buffer should
5906         be the same as the search was done in (bug#9282).
5908         * facemenu.el: Disable the remove-* commands if the mark isn't
5909         active (bug#9162).
5911 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5913         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5914         of display-buffer.
5915         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5917         * replace.el (occur-mode-goto-occurrence)
5918         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5919         and display-buffer.
5921         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5922         display-buffer.
5924         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5925         special-display and same-window variables.
5926         (mail-other-window): Use switch-to-buffer-other-window.
5927         (mail-other-frame): USe switch-to-buffer-other-frame.
5929         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5930         Use display-buffer-other-frame.
5931         (gdb-display-gdb-buffer): Use pop-to-buffer.
5933         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5935         * progmodes/python.el: Don't set same-window-buffer-names.
5937         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5939         * window.el (display-buffer-alist): Add *Python*.
5941 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5943         * window.el (display-buffer-alist): Add entry for buffers
5944         previously handled same-window-*.
5945         (display-buffer-alist, display-buffer-default-action)
5946         (display-buffer-overriding-action): Mark as risky.
5947         (display-buffer-alist): Document action function changes.
5948         (display-buffer--same-window-action)
5949         (display-buffer--other-frame-action): New variables.
5950         (switch-to-buffer, display-buffer-other-frame): Use them.
5951         (display-buffer): Rename reuse-frame entry to reusable-frames.
5952         (display-buffer-reuse-selected-window): Function deleted.
5953         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5954         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5955         (display-buffer-special): New function.
5956         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5957         display-buffer-reuse-or-pop-window.  Split off special-display
5958         part into display-buffer-special.
5959         (display-buffer-use-some-window): Don't perform any special
5960         pop-up-frames handling.
5961         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5962         (display-buffer--maybe-same-window): Rename from
5963         display-buffer-maybe-same-window.
5965         * info.el: Don't set same-window-regexps.
5966         (info-setup): New function.
5967         (info-other-window, info): Call it.
5969         * cus-edit.el: Don't set same-window-regexps.
5970         (customize-group): New argument.
5971         (customize-group-other-window): Use it.
5972         (customize-face, customize-face-other-window): Likewise.
5973         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5975         * net/rlogin.el:
5976         * net/telnet.el:
5977         * progmodes/gud.el: Don't set same-window-regexps.
5979         * cmuscheme.el:
5980         * ielm.el:
5981         * shell.el:
5982         * mail/sendmail.el:
5983         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5985 2011-09-10  Juri Linkov  <juri@jurta.org>
5987         * isearch.el (isearch-edit-string): Remove obsolete mention of
5988         `C-w' (`isearch-yank-word-or-char') from docstring.
5989         (isearch-query-replace): Fix typo in docstring (bug#9466).
5991 2011-09-10  Juri Linkov  <juri@jurta.org>
5993         * paren.el (show-paren-function): Don't show escaped parens.
5994         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
5996 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
5998         * mail/sendmail.el (mml-to-mime, mml-attach-file)
5999         (mm-default-file-encoding): Remove autoload forms, they are
6000         replaced with autoload cookies in mml.el and mm-encode.el.
6001         (mail-add-attachment): New command.
6002         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6003         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6004         the doc string.
6005         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6007 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6009         * simple.el (count-words-region): Use buffer if there's no region
6010         (bug#9429).
6012 2011-09-09  Juri Linkov  <juri@jurta.org>
6014         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6015         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6016         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6018 2011-09-09  Alan Mackenzie  <acm@muc.de>
6020         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6021         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6023 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6025         Fix for Savannah bug#9392.
6026         * simple.el (mail-encode-mml): New defvar.
6028         * mail/rmail.el (mail-encode-mml): Add a defvar.
6029         (rmail-enable-mime-composing): Default to t.
6030         (rmail-forward): Use MIME method of forwarding only if both
6031         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6032         Set mail-encode-mml non-nil if the MIME method was used.
6034         * mail/sendmail.el (mml-to-mime): Add autoload form.
6035         (mail-encode-mml): Add a defvar.
6036         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6037         to nil.
6038         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6039         message through mml-to-mime, and reset mail-encode-mml to nil.
6041 2011-09-09  Glenn Morris  <rgm@gnu.org>
6043         * woman.el (woman-if-body): When processing an .el block,
6044         do not delete the next .el block as well.  (Bug#9447)
6045         (woman-special-characters): Add oq, cq, and hy characters.
6047 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6049         * window.el (window-deletable-p): Make sure window is live before
6050         invoking window-prev-buffers.
6052 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6054         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6056 2011-09-08  Juri Linkov  <juri@jurta.org>
6058         * progmodes/compile.el (compilation-environment): Make it
6059         a defcustom (bug#8340).
6061 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6063         * window.el (frame-auto-delete): Rename to window-auto-delete.
6064         Make it control auto-deletion of windows and/or frames.
6065         (window-deletable-p): New argument FORCE.  Rewrite conditions
6066         for deleting window/frame.  (Bug#9419)
6067         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6068         Rewrite handling of case when window/frame can be deleted.
6069         (delete-windows-on): Call window-deletable-p with new FORCE
6070         argument t.  (Bug#9456)
6072 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6074         * help-mode.el (help-mode): Restore autoload.
6076 2011-09-07  Juri Linkov  <juri@jurta.org>
6078         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6079         `compilation-environment'.  Set buffer-local
6080         `compilation-environment' to `thisenv' later after (funcall mode).
6081         (Bug#8340)
6083         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6084         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6085         instead of replacing its value.  (Bug#8340)
6087 2011-09-07  Juri Linkov  <juri@jurta.org>
6089         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6090         based on text properties put by `grep-filter' instead of matching
6091         escape sequences.
6092         (grep-mode): Set buffer-local `compilation-error-screen-columns'
6093         to the value of `grep-error-screen-columns' (bug#9438).
6095 2011-09-07  Juri Linkov  <juri@jurta.org>
6097         * simple.el (next-error-highlight, next-error-highlight-no-select):
6098         Doc fix (bug#9432).
6100 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6102         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6103         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
6105 2011-09-07  Leo Liu  <sdl.web@gmail.com>
6107         * net/rcirc.el (rcirc-mode): Conditionally initialize
6108         rcirc-input-ring.
6110 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6112         * emacs-lisp/find-func.el (find-function-C-source): Only set
6113         find-function-C-source-directory after checking that we found a source
6114         file there (bug#9440).
6116 2011-09-06  Alan Mackenzie  <acm@muc.de>
6118         * isearch.el (isearch-other-meta-char): Wherever a key list is
6119         unread, "unread" the prefix arg, too.  This fixes bug #8901.
6121 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6123         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6125 2011-09-05  Juri Linkov  <juri@jurta.org>
6127         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6129 2011-09-05  Juri Linkov  <juri@jurta.org>
6131         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6132         keeping point where processing of grep matches begins, and
6133         continue to delete remaining escape sequences from the same point.
6134         (grep-filter): Make leading zero optional in "0?1;31m" because
6135         git-grep emits "\033[1;31m" escape sequences unlike expected
6136         "\033[01;31m" as GNU Grep does (bug#9408).
6137         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6139 2011-09-05  Juri Linkov  <juri@jurta.org>
6141         * subr.el (y-or-n-p): Capitalize "yes".
6143 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
6145         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
6146         `tramp-cache-unload-hook' where appropriate.
6147         (tramp-methods): Rename `tramp-remote-sh' to
6148         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
6149         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6151         * net/tramp-sh.el (top): Don't require 'shell.
6152         (tramp-methods): Add `tramp-remote-shell' and
6153         `tramp-remote-shell-args' entries.
6154         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6155         (tramp-sh-handle-shell-command): Remove.
6156         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6157         Use `tramp-remote-shell'.
6159 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
6161         * mail/sendmail.el (sendmail-query-once-function): Delete.
6162         (sendmail-query-once): Save directly to send-mail-function.
6163         Update message-send-mail-function too.
6165         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6167 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6169         * progmodes/python.el (python-mode-map): Use correct function to
6170         start python interpreter from menu-bar (as reported by Geert
6171         Kloosterman).
6172         (inferior-python-mode-map): Fix typo.
6173         (python-shell-map): Remove.
6175 2011-09-03  Deniz Dogan  <deniz@dogan.se>
6177         * net/rcirc.el (rcirc-print): Simplify code for
6178         rcirc-scroll-show-maximum-output.  There is no need to walk
6179         through all windows to find the right one.
6181 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6183         * help.el (help-return-method): Doc fix.
6185 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
6187         * window.el (window-deletable-p): Don't return a non-nil value
6188         when there's a buffer that was shown in the window before.
6189         (Bug#9419)
6190         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6191         Set window's previous buffers to nil.
6193 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
6195         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6196         newline before and after the tag line, so it doesn't interfere
6197         with determining the paragraph direction of bidirectional text.
6199 2011-09-03  Leo Liu  <sdl.web@gmail.com>
6201         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
6203 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6205         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6206         (pop-to-buffer): Change interactive spec.  Pass second argument
6207         directly to display-buffer.
6208         (display-buffer): Fix interactive spec.  Use functionp to
6209         distinguish between a function and a list of functions.
6211         * abbrev.el (edit-abbrevs):
6212         * arc-mode.el (archive-extract):
6213         * autoinsert.el (auto-insert):
6214         * bookmark.el (bookmark-bmenu-list):
6215         * files.el (find-file):
6216         * view.el (view-buffer):
6217         * progmodes/compile.el (compilation-goto-locus):
6218         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6220 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6222         * window.el (display-buffer-alist): Doc fix.
6223         (display-buffer): Add docstring.  Don't treat
6224         display-buffer-default specially.
6225         (display-buffer-reuse-selected-window)
6226         (display-buffer-same-window, display-buffer-maybe-same-window)
6227         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6228         (display-buffer-pop-up-window)
6229         (display-buffer-reuse-or-pop-window)
6230         (display-buffer-use-some-window): New functions.
6231         (display-buffer-default-action): Use them.
6232         (display-buffer-default): Delete.
6233         (pop-to-buffer-1): Fix choice of actions.
6235 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6237         * minibuffer.el (completion--insert-strings): Don't get confused by
6238         completion entries that end with an LF char.
6240 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
6242         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6244 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
6246         * window.el (display-buffer): Restore interactive spec.
6247         (display-buffer-same-window, display-buffer-other-window):
6248         New functions.
6249         (pop-to-buffer-1): New function.  Use the above.
6250         (pop-to-buffer, pop-to-buffer-same-window): Use it.
6251         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6253         * view.el (view-buffer-other-window, view-buffer-other-frame):
6254         Just use pop-to-buffer.
6256 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6258         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
6260 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
6262         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
6264 2011-08-31  Richard Stallman  <rms@gnu.org>
6266         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6267         of the separation of rmail-view-buffer from rmail-buffer.
6268         If you say no to "replace original", the decrypt is in the
6269         view buffer.  If you say yes, the decrypt goes into the
6270         rmail buffer also.
6272 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
6274         * window.el (display-buffer-window): Rewrite doc-string.
6275         (display-buffer-record-window): New function.
6276         (display-buffer-macro-specifiers)
6277         (display-buffer-even-window-sizes, display-buffer-set-height)
6278         (display-buffer-set-width, display-buffer-in-window)
6279         (display-buffer-reuse-window, display-buffer-split-specifiers)
6280         (display-buffer-side-specifiers, display-buffer-split-window-1)
6281         (display-buffer-split-window, display-buffer-split-atom-window)
6282         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6283         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6284         (display-buffer-other-window-means-other-frame)
6285         (display-buffer-normalize-special)
6286         (display-buffer-normalize-default)
6287         (display-buffer-normalize-argument)
6288         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6289         (display-buffer-normalize-specifiers, display-buffer-frame)
6290         (display-buffer-same-window, display-buffer-same-frame)
6291         (display-buffer-other-window)
6292         (display-buffer-same-frame-other-window)
6293         (display-buffer-other-frame, pop-to-buffer-same-window)
6294         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6295         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6296         (switch-to-buffer-same-frame)
6297         (switch-to-buffer-other-window-same-frame)
6298         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6299         (display-buffer-alist-set-1, display-buffer-alist-set-2)
6300         (display-buffer-alist-set): Remove.
6301         (display-buffer-function, special-display-buffer-names)
6302         (special-display-regexps, special-display-function):
6303         In doc-string refer to display-buffer-window and quit-restore
6304         parameter.
6305         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6306         (special-display-frame-alist, special-display-popup-frame)
6307         (same-window-buffer-names, same-window-regexps, same-window-p)
6308         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6309         (split-window-preferred-function, split-height-threshold)
6310         (split-width-threshold, window-splittable-p)
6311         (split-window-sensibly, window--try-to-split-window)
6312         (window--frame-usable-p, even-window-heights)
6313         (window--even-window-heights, window--display-buffer-1)
6314         (window--display-buffer-2, display-buffer-other-frame):
6315         Restore old Emacs 23 code, order and doc-strings where applicable.
6316         (display-buffer-default, display-buffer-assq-regexp): New functions.
6317         (display-buffer-alist): Rewrite doc-string.
6318         (display-buffer-default-action)
6319         (display-buffer-overriding-action): New variables.
6320         (display-buffer, switch-to-buffer): Rewrite.
6321         (pop-to-buffer): Restore Emacs 23 behavior but use
6322         window-normalize-buffer-to-display.
6323         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6324         Restore Emacs 23 behavior but use
6325         window-normalize-buffer-to-switch-to.
6326         (pop-to-buffer-same-window): Rewrite.
6327         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6328         Rewrite using Emacs 23 options.
6330 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
6332         * net/tramp.el (tramp-root-regexp): Remove.
6333         (tramp-completion-file-name-regexp-unified)
6334         (tramp-completion-file-name-regexp-separate)
6335         (tramp-completion-file-name-regexp-url): Don't use leading volume
6336         letter on win32 systems.  (Bug#5303, Bug#9311)
6337         (tramp-drop-volume-letter): Simplify definition.
6338         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6340 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6342         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6343         (bug#9356).
6345 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
6347         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6349 2011-08-29  Juri Linkov  <juri@jurta.org>
6351         * isearch.el (isearch-done): Don't display message "Mark saved"
6352         when arg `edit' is non-nil to prevent its flicker in the echo area.
6354 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6356         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6357         obsolete packages for deletion.
6359 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
6361         * help-mode.el (help-mode-map): Add special-mode-map to parent.
6362         (help-mode): Derive help-mode from special-mode.  Don't invoke
6363         view-mode from help-mode.
6364         (help-xref-override-view-map): Remove.
6365         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6366         view-mode is not used anymore.
6368 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6370         * server.el (server-port): Doc fix.
6372         * cus-theme.el (custom-theme-choose-mode): Inherit from
6373         special-mode (Bug#9124).
6374         (custom-theme-choose-mode-map): Add special-mode to parent.
6376 2011-08-28  Alan Mackenzie  <acm@muc.de>
6378         * progmodes/cc-fonts.el
6379         (c-make-font-lock-BO-decl-search-function): New function.
6380         (c-basic-matchers-after - "Fontify the clauses after various
6381         keywords"): Extract the three keyword lists for the 3 erroneous
6382         constructs from the list of four, and use the new function above
6383         in place of an old one.
6385 2011-08-28  Deniz Dogan  <deniz@dogan.se>
6387         * net/rcirc.el (rcirc-insert-prev-input)
6388         (rcirc-insert-next-input): Remove unused argument.
6390 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6392         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6394 2011-08-27  Alan Mackenzie  <acm@muc.de>
6396         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6397         handle function pointer parameters properly.
6399 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
6401         * window.el (display-buffer-reuse-window): Fix case where
6402         selected window was reused with non-nil OTHER-WINDOW argument.
6403         (Bug#9381)
6405 2011-08-27  Deniz Dogan  <deniz@dogan.se>
6407         * net/rcirc.el (rcirc-check-auth-status): Adding support for
6408         oftc's NickServ messages.
6410 2011-08-27  Glenn Morris  <rgm@gnu.org>
6412         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
6414 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
6416         * emacs-lisp/package.el (package-install): Call package-initialize
6417         if called interactively.
6419 2011-08-26  Leo Liu  <sdl.web@gmail.com>
6421         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
6423 2011-08-25  Juri Linkov  <juri@jurta.org>
6425         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6426         `search-whitespace-regexp' (bug#9364).
6428 2011-08-25  Juri Linkov  <juri@jurta.org>
6430         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6431         `regexp-search-ring' to their global values to protect from
6432         updating by `read-from-minibuffer' (bug#9185).
6434 2011-08-25  Juri Linkov  <juri@jurta.org>
6436         * textmodes/ispell.el (ispell-command-loop): Add newline
6437         at the end of the "Use option `i'..." line.
6439 2011-08-25  Juri Linkov  <juri@jurta.org>
6441         * battery.el (display-battery-mode): If `battery-status-function'
6442         or `battery-mode-line-format' is nil, display the message and set
6443         `display-battery-mode' to nil (bug#9363).
6445 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
6447         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6448         bidi-string-mark-left-to-right; they are unnecessary now.
6450 2011-08-25  Deniz Dogan  <deniz@dogan.se>
6452         * net/quickurl.el: Documentation typo fixes.
6454 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
6456         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6458 2011-08-25  Glenn Morris  <rgm@gnu.org>
6460         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6462         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6463         (smtpmail-via-smtp): Handle nil response from smtp.
6465 2011-08-24  Juri Linkov  <juri@jurta.org>
6467         * proced.el (proced-marked): Inherit from `error' instead of
6468         `font-lock-warning-face'.
6470         * ibuffer.el (ibuffer-marked-face): Change default face from
6471         `font-lock-warning-face' to `warning'.
6472         (ibuffer-deletion-face): Change default face from
6473         `font-lock-type-face' to `error'.
6475         * battery.el (battery-update): Use the face `error' instead of
6476         `font-lock-warning-face' (bug#6117).
6478 2011-08-24  Juri Linkov  <juri@jurta.org>
6480         * faces.el (success): Change face color from "Green3" to
6481         "ForestGreen" on light background (bug#9353).
6483 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
6485         * window.el (quit-window): Rename from quit-restore-window.
6486         Use same arglist as old quit-window.
6487         (frame-auto-delete): Doc fix.
6489         * view.el (view-mode-exit): Use quit-window.
6491 2011-08-24  Juri Linkov  <juri@jurta.org>
6493         * isearch.el (isearch-ring-adjust1): Start visiting previous
6494         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6495         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6496         for empty search string (when the last search string is reused
6497         automatically) to adjust the isearch ring to the last element and
6498         prepare the correct index for further M-p commands (bug#9185).
6500 2011-08-24  Kenichi Handa  <handa@m17n.org>
6502         * international/ucs-normalize.el: If decomposition property of
6503         CHAR is the default one (i.e. a list of CHAR itself), treat it as
6504         nil.
6505         (nfd, nfkd): Likewise.
6507 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6509         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6510         from process filters aren't reliably transmitted to the surrounding
6511         accept-process-output.
6512         (mpc-proc-check): New function.
6513         (mpc-proc-sync): Use it (bug#8293)
6515 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6517         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6518         Add compatibility functions (bug#9313).
6520 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
6522         * cus-start.el (all): Add entry for bidi-paragraph-direction.
6524         * international/uni-bidi.el: Regenerate.
6526 2011-08-23  Kenichi Handa  <handa@m17n.org>
6528         * international/charprop.el:
6529         * international/uni-bidi.el:
6530         * international/uni-category.el:
6531         * international/uni-combining.el:
6532         * international/uni-comment.el:
6533         * international/uni-decimal.el:
6534         * international/uni-decomposition.el:
6535         * international/uni-digit.el:
6536         * international/uni-lowercase.el:
6537         * international/uni-mirrored.el:
6538         * international/uni-name.el:
6539         * international/uni-numeric.el:
6540         * international/uni-old-name.el:
6541         * international/uni-titlecase.el:
6542         * international/uni-uppercase.el: Regenerate.
6544 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
6546         * help.el (help-window-setup): Fix message displayed when other
6547         window is reused.  (Bug#9341)
6549 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6551         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6552         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6554         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6555         Mark obsolete.
6556         * shell.el (shell-parse-pcomplete-arguments): New function.
6557         (shell-completion-vars): Use it instead (bug#9160).
6559 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6562         strings and comments (bug#9333).
6564         * emacs-lisp/debug.el (debug-arglist): New function.
6565         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
6566         (debug-on-entry-1): Handle interpreted closures (bug#9120).
6568 2011-08-22  Juri Linkov  <juri@jurta.org>
6570         * progmodes/compile.el (compilation-mode-font-lock-keywords):
6571         Revert regexp that highlights output switches to its old
6572         pre-2010-10-28 value and remove one `?' from it (bug#9319).
6574         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6575         to check for empty output (bug#9226).
6577 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
6579         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6580         symbol-constituent as the default, as that stops font-lock from
6581         working properly (Bug#8843).
6583 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6585         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6586         `coding-system-for-*' around the process open call to avoid
6587         auth-source side effects.
6588         (smtpmail-try-auth-methods): Expand the secret password.
6589         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6590         probe hangs.
6592 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6594         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6596         * emacs-lisp/find-func.el (find-function-noselect): New arg
6597         lisp-only.
6599         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6600         signal an error for built-in functions (Bug#6664).
6602 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6604         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6605         (smtpmail-try-auth-methods): Use it.
6607 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6609         * font-lock.el (font-lock-fontify-region)
6610         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6611         (font-lock-default-unfontify-buffer)
6612         (font-lock-default-fontify-region)
6613         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6615         * progmodes/compile.el (compilation-error-properties):
6616         Fix confusion between file struct and message struct (Bug#9319).
6617         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6618         `ant' regexp.
6620         * net/browse-url.el (browse-url-firefox): Don't call
6621         browse-url-firefox-sentinel unless using -remote (Bug#9328).
6623 2011-08-20  Glenn Morris  <rgm@gnu.org>
6625         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6627         * tutorial.el (tutorial--default-keys): Update some default bindings.
6629         * files.el (hack-local-variables): Fully ignore case for "mode:".
6631 2011-08-20  Alan Mackenzie  <acm@muc.de>
6633         Resolve invalid use of a regexp in regexp-opt.
6635         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6636         detection for a java annotation.
6638         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6639         detection for a java annotation.
6641         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6642         handling for java.
6643         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6645 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
6647         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6648         (Bug#9274).
6650 2011-08-20  Alan Mackenzie  <acm@muc.de>
6652         Fontify CPP expressions correctly when starting in the middle of
6653         such a construct.  Mainly for when jit-lock etc. starts a chunk
6654         here.
6656         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6657         variable.
6658         (c-make-font-lock-search-form): New function, extracted from
6659         c-make-font-lock-search-function.
6660         (c-make-font-lock-search-function): Use the above function.
6661         (c-make-font-lock-context-search-function): New function.
6662         (c-cpp-matchers): Enhance the preprocessor expression case with
6663         the above function
6664         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6665         which takes an expression.
6667         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6669 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
6671         * window.el (display-buffer-reuse-window)
6672         (display-buffer-pop-up-window): Don't reuse or split a side
6673         window.
6675 2011-08-19  Glenn Morris  <rgm@gnu.org>
6677         * files.el (hack-local-variables-prop-line, hack-local-variables):
6678         Downcase "Mode:".  (Bug#9331)
6680 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
6682         * international/characters.el: Add L and R categories.
6684         * subr.el (bidi-string-mark-left-to-right): Rename from
6685         string-mark-left-to-right.  Use category search.
6687         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6689 2011-08-18  Juri Linkov  <juri@jurta.org>
6691         * faces.el (error, warning, success): New faces with definitions
6692         copied from old default values of `font-lock-warning-face',
6693         `compilation-warning', `compilation-info' (bug#6117).
6695         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6697         * progmodes/compile.el (compilation-error): Inherit from `error'.
6698         (compilation-warning): Inherit from `warning'.
6699         (compilation-info): Inherit from `success'.
6701         * dired.el (dired-marked): Inherit from `warning'.
6702         (dired-flagged): Inherit from `error'.
6704 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6706         * mail/smtpmail.el (auth-source): Require to avoid problems with
6707         binding variables (bug#9298).  Also clean up some unused
6708         autoloads.
6710         * net/network-stream.el (network-stream-open-starttls):
6711         Support using starttls.el without using gnutls-cli.
6713 2011-08-17  Juri Linkov  <juri@jurta.org>
6715         * progmodes/grep.el (rgrep): Handle the case when
6716         `grep-find-command' is a cons cell (bug#9278).
6718 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6720         * window.el (display-buffer-pop-up-frame): Run frame creation
6721         function with BUFFER current (as special-display-popup-frame
6722         does).  Reported by Drew Adams.
6724 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6726         * epa-mail.el: Simplify GnuPG group expansion using
6727         epg-expand-group.
6728         (epa-mail-group-alist, epa-mail-group-modtime)
6729         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6730         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6731         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6732         Remove.
6734 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6736         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6738 2011-08-16  Alan Mackenzie  <acm@muc.de>
6740         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6741         Correct, to avoid the inside of macros.
6743 2011-08-16  Richard Stallman  <rms@gnu.org>
6745         * epa-mail.el: Handle GnuPG group definitions.
6746         (epa-mail-group-alist, epa-mail-group-modtime)
6747         (epa-mail-gnupg-conf-file): New variables.
6748         (epa-mail-parse-groups, epa-mail-sync-groups)
6749         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6750         (epa-mail-expand-recipients): New functions.
6751         (epa-mail-encrypt): Call epa-mail-expand-recipients.
6753         * mail/rmail.el (rmail-epa-decrypt): New command.
6755         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6756         Don't bind buffer-read-only, just inhibit-read-only.
6757         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6758         (epa-decrypt-armor-in-region): Make error message clearer.
6760 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6762         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6763         and "a2b" to "ab" for `prefix'.
6765 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6767         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6768         filter groups.
6769         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6770         Fourquet (Bug#8804).
6772 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6774         * startup.el (argi): Declare as global variable (bug#9275).
6776 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6778         * subr.el (string-mark-left-to-right): Search the entire string
6779         for RTL script, not just the terminating character.  Doc fix.
6781 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6783         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6784         New function.
6785         (js--regexp-literal, js-syntax-propertize-function): Remove.
6786         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6787         (js-mode-map): Don't rebind electric keys.
6788         (js-insert-and-indent): Remove.
6789         (js-mode): Setup electric-layout and electric-indent instead.
6791         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6793 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6795         * epa.el (epa-progress-callback-function): Fix the logic of
6796         displaying progress.
6797         * epa-file.el (epa-file-insert-file-contents): Make progress
6798         display more user-friendly.
6799         (epa-file-write-region): Ditto.
6801 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6803         * subr.el (string-mark-left-to-right): New function.
6805         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6806         Use string-mark-left-to-right.
6807         (list-buffers-noselect): Caller changed.
6809         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6810         Use string-mark-left-to-right.
6811         (tabulated-list-print): Recenter after moving point.
6813 2011-08-10  Juri Linkov  <juri@jurta.org>
6815         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6816         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6817         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6819 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6821         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6822         (Bug#7554).
6824 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6826         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6827         character.  (Bug#6594)
6829 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6831         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6832         (image-dired--with-db-file): New macro.
6833         (image-dired-write-tags, image-dired-remove-tag)
6834         (image-dired-create-gallery-lists, image-dired-write-comments)
6835         (image-dired-get-comment, image-dired-mark-tagged-files)
6836         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6837         (image-dired-gallery-generate): Use insert-file-contents.
6839         * time.el (display-time-world-list, display-time-world-display):
6840         * time-stamp.el (time-stamp-string):
6841         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6842         set-time-zone-rule (Bug#7337).
6844 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6846         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6847         (epg-error-to-string, epg-errors-to-string): New function.
6848         (epg-wait-for-completion): Reverse errors list.
6849         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6850         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6851         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6852         (epg-sign-keys, epg-generate-key-from-file)
6853         (epg-generate-key-from-string): Format errors by using
6854         epg-errors-to-string (bug#9255).
6855         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6857 2011-08-07  Juri Linkov  <juri@jurta.org>
6859         * faces.el (list-faces-display): Remove extra angle bracket
6860         from `help-mode-map'.
6862         * info.el (Info-history-toc-nodes): Doc fix.
6864         * longlines.el (longlines-mode): Doc fix.
6866 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6869         of statements and in a few more cases (bug#9183).
6871         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6872         New functions.
6873         (cl-transform-lambda): Use them (bug#9239).
6875 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6877         * window.el (display-buffer-same-window)
6878         (display-buffer-same-frame, display-buffer-other-window)
6879         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6880         (pop-to-buffer-other-window)
6881         (pop-to-buffer-same-frame-other-window)
6882         (pop-to-buffer-other-frame): Make them defuns.
6883         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6885 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6887         * subr.el (make-composed-keymap): Move from C.  Change calling
6888         convention, and improve docstring to bring attention to a subtle point.
6889         * minibuffer.el (completing-read-default): Adjust accordingly.
6891 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6893         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6894         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6896         * net/trampver.el: Update release number.
6898 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6900         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6901         "in" (bug#9190).
6903 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6905         * mail/sendmail.el (sendmail-query-once): Restore the current
6906         buffer after querying (bug#9074).
6908         * dired.el (dired-flagged): Use different faces for marked and
6909         flagged files (bug#6117).
6911         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6912         (bug#4433).
6914         * ido.el (ido-mode): Switch off the message if called
6915         non-interactively.
6917         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6918         before 587, since it appears that that's more likely to work for
6919         more people.
6921         * cus-edit.el (custom-file): When running under emacs -q, always
6922         refuse to save the customizations, even if the .emacs file doesn't
6923         exist.
6925         * info.el: Remove the `Info-beginning-of-buffer' function
6926         (bug#8325).
6928         * net/network-stream.el (network-stream-open-starttls):
6929         Use `starttls-available-p' to see whether starttls.el can be used.
6931 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6933         * window.el (display-buffer-in-window): Don't set dedicated status
6934         of window here (Bug#9215).
6935         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6936         (display-buffer-pop-up-side-window)
6937         (display-buffer-in-side-window): Set dedicated status of window here.
6939 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6941         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6942         before binding generated-autoload-file.
6944 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6946         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6948 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6950         Sync with Tramp 2.2.2.
6952         * net/trampver.el: Update release number.
6954 2011-07-30  Juri Linkov  <juri@jurta.org>
6956         * dired-aux.el (dired-touch-initial): Remove function.
6957         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6958         current time, and `default' to the last modification time of the
6959         current marked file (bug#6887).
6961 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6963         * simple.el (goto-line): Use string-to-number to provide a
6964         numeric argument to read-number (bug#9163).
6966 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6968         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6969         connection process, it could be nil.
6971 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6973         Simplify url handling in rcirc-mode.
6975         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6976         (rcirc-browse-url-at-mouse): Remove.
6977         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6979 2011-07-26  Alan Mackenzie  <acm@muc.de>
6981         Fontify bitfield declarations properly.
6983         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6984         (c-symbol-chars): Now exported as a lang variable.
6985         (c-not-primitive-type-keywords): New lang variable.
6987         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6988         QT keyword "more" to prevent "more slots: ...." being spuriously
6989         parsed as a bitfield declaration.
6991         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6992         Refactor and enhance to handle bitfield declarations.
6993         (c-punctuation-in): New function.
6994         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6995         declarations properly.
6997 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
6999         * calendar/icalendar.el (icalendar--all-events): Take care of
7000         multiple vcalendars in a single file.
7001         (icalendar--convert-float-to-ical): Checkdoc fixes.
7003 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7005         * image.el (insert-image): Clarifying docstring.
7007 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7009         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7010         `tramp-send-command-and-check' if there is no error.
7011         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7013 2011-07-22  Alan Mackenzie  <acm@muc.de>
7015         Prevent cc-langs.elc being loaded at run time.
7017         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7018         cc-langs.
7020         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7021         "(require 'cc-langs)".  Quote a form so it will evaluate at
7022         (cc-mode's) compilation time.
7024 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7026         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7027         loading.  (Bug#9114)
7029 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7031         * window.el (display-buffer-pop-up-window)
7032         (display-buffer-pop-up-side-window)
7033         (display-buffer-in-side-window): Call display-buffer-set-height
7034         and display-buffer-set-width after setting the new window's
7035         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7037 2011-07-20  Sam Steingold  <sds@gnu.org>
7039         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7040         (etags-tags-included-tables): Call `convert-standard-filename' on
7041         the file names contained in TAGS so that windows Emacs can handle
7042         TAGS files created by cygwin ctags.
7044 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7046         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7047         which apparently didn't work.
7049 2011-07-19  Roland Winkler  <winkler@gnu.org>
7051         * proced.el (proced-send-signal): For *Marked Processes* buffer
7052         put point at beginning of buffer.
7054 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7056         * proced.el (proced-format): Make header lines align with the text
7057         (bug#1779).
7059 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7061         * view.el (view-buffer): Allow running in `special' modes if we're
7062         visiting a file (bug#8615).
7064 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7066         * window.el (display-buffer-alist-of-strings-p)
7067         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7068         New functions.
7069         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7070         more accurately.
7072 2011-07-18  Alan Mackenzie  <acm@muc.de>
7074         Fontify declarators properly when, e.g., a jit-lock chunk begins
7075         inside a declaration.
7077         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7079         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7080         New function.
7081         (c-complex-decl-matchers): Insert reference to
7082         c-font-lock-enclosing-decls.
7084         * progmodes/cc-engine.el (c-backward-single-comment):
7085         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7086         to nil around calls to (forward-comment -1).
7088 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7090         * image.el (put-image): Doc typo fix.
7092         * progmodes/etags.el (tags-search): Doc typo fix.
7094         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7095         password if we get errors 550 to 554.
7097 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7099         * net/gnutls.el (gnutls-log-level): Remove.
7101         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7102         indentation character (bug#6380).
7104         * files.el (buffer-offer-save): Made permanently local (bug#6241).
7106         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7107         to clarify what the problem is (bug#4291).
7109         * simple.el (current-kill): Clarify what
7110         `interprogram-paste-function' does (bug#7500).
7111         (auto-fill-mode): Document `auto-fill-function' in relation to
7112         `auto-fill-mode' (bug#2470).
7114 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
7116         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7117         method if slot is read-only (bug#9035).
7119 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
7121         * frame.el (select-frame-set-input-focus): New argument NORECORD.
7122         * window.el (pop-to-buffer): Select window used even if it was
7123         selected before, see discussion of (Bug#8615), (Bug#6954).
7124         Pass argument NORECORD on to select-frame-set-input-focus.
7126 2011-07-15  Glenn Morris  <rgm@gnu.org>
7128         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
7129         Respect help-form.
7131 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
7133         * net/gnutls.el (gnutls-min-prime-bits): New variable.
7134         (gnutls-negotiate): Use it.
7136 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7138         * net/gnutls.el (gnutls-negotiate):
7139         Upcase `gnutls-algorithm-priority'.
7141 2011-07-15  Glenn Morris  <rgm@gnu.org>
7143         * jka-compr.el (jka-compr-verbose): Move from here...
7144         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
7145         Add missing :version tag.
7146         * info.el: No need to require jka-compr when compiling.
7148 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7150         * net/gnutls.el (gnutls-algorithm-priority): New variable.
7151         (gnutls-negotiate): Use it.
7153         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7155         * info.el (Info-beginning-of-buffer): New command.
7156         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7157         announcing `b' as the key (bug#8325).
7158         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7160         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7162         * international/mule-cmds.el
7163         (describe-specified-language-support): Make the error message
7164         clearer (bug#8905).
7166         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7168         * isearch.el (isearch-barrier): Add a doc string, since it's
7169         mentioned in a function doc string (bug#8678).
7171 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
7173         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7174         buffer argument (Bug#9083) and self-identifying label argument.
7176 2011-07-15  Glenn Morris  <rgm@gnu.org>
7178         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
7180 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7182         * man.el (Man-fontify-manpage): Fix message when formatting the
7183         man page (bug#7929).
7185 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7187         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7188         argument LRM; if non-nil, append an invisible LRM character to the
7189         buffer name.
7190         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7191         last argument non-nil, when formatting buffer names.
7192         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7193         paragraph direction.
7195 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7197         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7198         the man page name (bug#7929).
7200         * image.el (put-image): Mention the `put-image' overlay property
7201         (bug#7834).
7203         * scroll-bar.el (set-scroll-bar-mode): Mention that
7204         `scroll-bar-mode' lists the values (bug#7772).
7206         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7207         command (bug#7729).
7209         * rect.el (apply-on-rectangle): Return the point after the last
7210         operation.
7211         (string-rectangle): Go to the point after the last operation
7212         (bug#7522).
7214         * printing.el (pr-toggle-region): Clarify the documentation
7215         slightly (bug#7493).
7217         * time.el (display-time-update):
7218         Allow `display-time-mail-function' to return nil (bug#7158).
7219         Fix suggested by Detlev Zundel.
7221         * vc/diff.el (diff): Clarify the order the file names are read
7222         (bug#7111).
7224         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7225         the doc string (bug#7015).
7227         * font-lock.el (font-lock-maximum-decoration): Mention what
7228         numeric levels mean (bug#6935).
7230         * startup.el (initial-buffer-choice): Don't mention the `none'
7231         selection, which is against policy.
7233 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
7235         * window.el (display-buffer-normalize-special):
7236         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7238 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7240         * subr.el (version<, version<=, version=): Mention "-CVS" and
7241         "-12345" alpha version numbers.
7243 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7245         * bindings.el: Add advertised binding for set-mark-command
7246         (Bug#5772).
7248 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7250         * bindings.el (mode-line-other-buffer):
7251         * bookmark.el (bookmark-bmenu-2-window):
7252         * bs.el (bs-cycle-next, bs-cycle-previous):
7253         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7254         switch-to-buffer.
7256         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7257         Delete.
7259 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
7261         * follow.el (follow-debug-message, follow-redisplay):
7262         * jka-cmpr-hook.el (with-auto-compression-mode):
7263         Fix typos in docstrings.
7265 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7267         * subr.el (with-silent-modifications): Clarify somewhat what the
7268         macro inhibits (bug#6525).
7270         * simple.el (eval-expression): Note what it does if called
7271         interactively (bug#6495).
7273 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7275         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7276         Use pop-to-buffer buffer-or-name if it is nil.
7278         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7279         Remove switch-to-buffer.
7281 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7283         * files.el (make-directory): Clarify that an error will be raised
7284         if there's an error (bug#6397).
7286         * startup.el (initial-buffer-choice): Add `none' as a choice
7287         (bug#6234).
7289         * subr.el (add-hook): Clarify section about buffer-local hooks
7290         (bug#6218).
7292         * dired.el (dired-flagged): Clarify doc string (bug#6117).
7294 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7296         * tabify.el (untabify): Preserve the current column so that point
7297         doesn't move (bug#6032).
7299 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7301         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7302         Rewrite to avoid awkward possessive "s" (bug#5986).
7304 2011-07-13  Glenn Morris  <rgm@gnu.org>
7306         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
7307         (dired-insert-directory): Give a message the first time
7308         if ls is found not to support --dired.
7310 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7312         * simple.el (toggle-truncate-lines): Clarify what is toggled
7313         (bug#5580).  Text by Drew Adams.
7315 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7317         * simple.el (blink-matching-open): Make the error message from the
7318         last change less verbose.
7320 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
7322         * font-lock.el (font-lock-comment-face): Use the high contrast
7323         "yellow" color for font-lock-comment-face on low color terminals
7324         using a dark background color (bug#4221).
7326 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7328         * dired.el (dired-insert-set-properties): Make the doc string
7329         reflect what it does now (bug#5325).
7331         * simple.el (blink-matching-open): Say that we were unable to find
7332         the match within the limit, if we're limited (bug#5122).
7334         * international/mule-cmds.el (prefer-coding-system): Add an
7335         example (bug#4869).
7337         * progmodes/etags.el (tags-search): Document `file-list-form'
7338         (bug#4731).
7340 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
7342         * net/browse-url.el (browse-url-default-browser)
7343         (browse-url-browser-function): Make the default browser choice a
7344         bit more logical (bug#4300).  Also clean up the doc string.
7346 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7348         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7349         binary endings (bug#4440).
7351 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7353         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7354         which can be pretty annoying (bug#8971).
7356         * jka-compr.el (jka-compr-verbose): New variable, and use
7357         throughout (bug#8971).
7359         * info.el (Info-find-file): Fall back on the installation
7360         directory if we can't find the info node anywhere else.
7362 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
7364         * vc/vc.el (vc-revert-file):
7365         Don't set file time-stamp in the past.  (Bug#5181)
7367 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7369         * files.el (after-find-file): Give a better error message when
7370         trying to find a symlink that points to a file that doesn't exist
7371         (bug#4398).
7373         * progmodes/cc-vars.el: Remove (probably) misleading comment
7374         (bug#4396).
7376 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7378         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7380 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7382         * mouse-sel.el: Hack restoring functionality, while keeping
7383         compatibility with 2010-07-03 changes to mouse selection.
7384         (mouse-sel-primary-overlay): New var.
7385         (mouse-sel-selection-alist): Use it.
7386         (mouse-sel-mode): Doc fix; remove points that are default features
7387         of mouse.el.
7389 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7391         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7392         Fix previous fix (bug#2490).
7394 2011-07-12  Roland Winkler  <winkler@gnu.org>
7396         * textmodes/bibtex.el (bibtex-initialize):
7397         Use pop-to-buffer-same-window.
7398         (bibtex-search-entries): Fix interactive call.
7400 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7402         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7403         Fontise bytecomp Error lines more correctly (bug#2490).
7404         Fix suggested by Johan Bockgård.
7406         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7408         * dired-x.el (dired-guess-default): Use `delete-dups'.
7410 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7412         * dired.el (dired-mark-prompt):
7413         * dired-aux.el (dired-read-shell-command): Doc fix.
7415 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7417         * mail/sendmail.el (sendmail-query-once):
7418         Use `customize-save-variable' unconditionally, now that it works under
7419         emacs -Q.
7421         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7423         * cus-edit.el (custom-file): Take an optional no-error variable.
7424         (customize-save-variable): Set the variable, and give a warning if
7425         running under "emacs -q".
7427 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
7429         * loadhist.el (unload-feature-special-hooks):
7430         Add `auto-coding-functions', `fill-nobreak-predicate' and
7431         `find-directory-functions' (bug#5327).
7433 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7435         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7437         * cus-edit.el (custom-guess-name-alist): -alist variables should
7438         use the `alist' type (bug#3120).  Suggested by Drew Adams.
7440         * printing.el: Add documentation to all the `pr-toggle-' commands.
7442 2011-07-11  Leo Liu  <sdl.web@gmail.com>
7444         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7445         backends where it makes sense (bug#2623).
7447 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7449         * dired-x.el (dired-guess-default): Remove duplicate shell command
7450         entries (bug#2028).
7451         (dired-guess-default): Fix grammar in doc string (bug#2028).
7452         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7454         * subr.el (remove-duplicates): New conveniency function.
7456 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7458         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7459         (bug#1526).
7461 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
7463         * window.el (display-buffer-normalize-default): Don't invert
7464         meaning of even-window-heights.  Reported by Eli Zaretskii
7465         <eliz@gnu.org>.
7467 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
7469         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7471 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
7473         * window.el (display-buffer): Fix arguments to
7474         display-buffer-reuse-window in last change.
7476         * faces.el (link): Use a less saturated blue on light backgrounds.
7478         * startup.el (fancy-startup-text, fancy-about-text)
7479         (fancy-startup-tail): Use font-lock faces, for background safety.
7481 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
7483         * emulation/viper-cmd.el (viper-change-state-to-vi):
7484         Limit triggering of abbrev expansion (Bug#9038).
7486 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
7488         * window.el (display-buffer-default-specifiers): Remove.
7489         (display-buffer-macro-specifiers): Remove default specifiers.
7490         (display-buffer-alist): Default to nil.
7491         (display-buffer-reuse-window): New optional argument other-window.
7492         (display-buffer-pop-up-window): Allow splitting internal
7493         windows.  Check whether a live window was created.
7494         (display-buffer-other-window-means-other-frame)
7495         (display-buffer-normalize-arguments): Rename to
7496         display-buffer-normalize-argument and rewrite.  Set the
7497         other-window specifier.
7498         (display-buffer-normalize-special): New function.
7499         (display-buffer-normalize-options): Rename to
7500         display-buffer-normalize-default and rewrite.
7501         (display-buffer-normalize-options-inhibit): Remove.
7502         (display-buffer-normalize-specifiers): Rewrite.
7503         (display-buffer): Process other-window specifier and call
7504         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
7505         more faithfully.
7506         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7507         (display-buffer-alist-set): Don't handle 'unset default values.
7508         (display-buffer-in-window, display-buffer-alist-set):
7509         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
7510         <tassilo@member.fsf.org>.
7512 2011-07-09  Leo Liu  <sdl.web@gmail.com>
7514         * register.el (insert-register): Restore accidental change on
7515         2011-06-26.  (Bug#9028)
7517 2011-07-09  Glenn Morris  <rgm@gnu.org>
7519         * subr.el (remq): Handle the empty list.  (Bug#9024)
7521 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
7523         * mail/sendmail.el (send-mail-function): No longer delay custom
7524         initialization.
7525         * custom.el (custom-initialize-delay): Doc fix.
7527 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7529         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7531 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
7533         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7534         human-friendly prompt.
7536 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7538         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7539         provided by a particular plugin.
7541 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7543         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7544         save customizations (with "emacs -Q"), just set the variable
7545         instead of erroring out.
7547         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7549 2011-07-08  Juri Linkov  <juri@jurta.org>
7551         * arc-mode.el (archive-zip-expunge, archive-zip-update)
7552         (archive-zip-update-case): Use 7z if found by `executable-find'.
7553         The order of searching the available programs is the same as in
7554         `archive-zip-extract' (bug#8968).
7556 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7558         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7559         (menu-bar-options-menu): Tweak descriptions.
7561 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7563         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7564         menu items into verb phrases (bug#1421).  Also refill to fit under
7565         80 columns.
7567 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7569         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7570         (Info-read-node-name): Doc fix (Bug#1084).
7572         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7573         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7574         (end-of-sexp, beginning-of-sexp)
7575         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7576         (forward-symbol, forward-same-syntax, word-at-point)
7577         (sentence-at-point): Doc fix (Bug#1144).
7579 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7581         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7582         should cover it (bug#1281).
7584         * cus-edit.el (custom-show): Mark as obsolete.
7586         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7587         negotiation fails, then possibly try again with a non-encrypted
7588         connection (bug#9017).
7590         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7591         be used.
7593 2011-07-07  Richard Stallman  <rms@gnu.org>
7595         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7596         property, and handle its changed format.
7597         Look for the correct line number.
7598         Use file's line contents (but not past first =) to find
7599         correct line in message.
7601 2011-07-07  Kenichi Handa  <handa@m17n.org>
7603         * international/characters.el (build-unicode-category-table):
7604         Delete it.
7605         (unicode-category-table): Set it by unicode-property-table-internal.
7607         * international/mule-cmds.el (char-code-property-alist): Move to
7608         to src/chartab.c.
7609         (get-char-code-property): Call unicode-property-table-internal to
7610         load a file.  Call get-unicode-property-internal where necessary.
7611         (put-char-code-property): Call unicode-property-table-internal to
7612         load a file.  Call put-unicode-property-internal where necessary.
7613         put-unicode-property-internal where necessary.
7614         (char-code-property-description):
7615         Call unicode-property-table-internal to load a file.
7617         * international/charprop.el:
7618         * international/uni-bidi.el:
7619         * international/uni-category.el:
7620         * international/uni-combining.el:
7621         * international/uni-comment.el:
7622         * international/uni-decimal.el:
7623         * international/uni-decomposition.el:
7624         * international/uni-digit.el:
7625         * international/uni-lowercase.el:
7626         * international/uni-mirrored.el:
7627         * international/uni-name.el:
7628         * international/uni-numeric.el:
7629         * international/uni-old-name.el:
7630         * international/uni-titlecase.el:
7631         * international/uni-uppercase.el: Regenerate.
7633         * loadup.el: Load international/charprop.el before
7634         international/characters.
7636 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7638         * window.el (next-buffer, previous-buffer): Signal an error if
7639         called from a minibuffer window.
7641         * bindings.el: Revert 2011-07-04 change.
7643 2011-07-06  Richard Stallman  <rms@gnu.org>
7645         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7646         (rmail-mime-insert-bulk, rmail-mime-insert-text):
7647         Treat markers like ints.
7648         (rmail-mime-entity): Doc fix.
7650 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7652         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7653         defcustom again for backwards compatibility.
7655         * simple.el (shell-command-on-region): Fill.
7657         * dired-aux.el (dired-kill-line): Add a doc string.
7659         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7660         to "\\sw\\|\\s_" (bug#358).
7662         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7663         (dired-unmark-backward): Ditto.
7664         (dired-flag-backup-files): Ditto.
7666         * dired-x.el (dired-mark-sexp): Ditto.
7668 2011-07-06  Richard Stallman  <rms@gnu.org>
7670         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7671         (rmail-mime-entity): New arg TRUNCATED.
7672         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7673         New functions.
7674         (rmail-mime-save): Warn if entity is truncated.
7675         (rmail-mime-toggle-hidden): Likewise, for showing.
7676         (rmail-mime-process-multipart): Record when an entity is truncated.
7678         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7679         if ENTITY is a string.
7681 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7683         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7684         of faces when `M-C-x'-ing their definitions (bug#8378).
7685         Also clean up the code slightly.
7687         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7688         because that makes the colors go away.
7690         * mail/sendmail.el (send-mail-function): Change the default to
7691         `sendmail-query-once'.
7692         (sendmail-query-once): Add an autoload cookie.
7694         * net/network-stream.el (network-stream-open-starttls): Try using
7695         a plain connection even if the server offered STARTTLS, and we
7696         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7697         capability.  This should make smtpmail.el work in slightly more
7698         configurations.
7700 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7702         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7703         New defun.
7704         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7706 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7708         * progmodes/sql.el: Version 3.0
7709         (sql-product-alist): Add product :completion-object,
7710         :completion-column, and :statement attributes.
7711         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7712         (sql-mode-syntax-table): Mark all punctuation.
7713         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7714         ansi keywords.
7715         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7716         (sql-mode-oracle-font-lock-keywords): Improve.
7717         (sql-oracle-show-reserved-words): New function for development.
7718         (sql-product-font-lock): Simplify for source code buffers.
7719         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7720         New functions.
7721         (sql-highlight-product): Set product specific syntax table.
7722         (sql-mode-map): Add statement movement functions.
7723         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7724         New variable.
7725         (sql-statement-regexp, sql-beginning-of-statement)
7726         (sql-end-of-statement, sql-signum): New functions.
7727         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7728         (sql-show-sqli-buffer): Bug fix.
7729         (sql-interactive-mode): Store connection data as buffer local.
7730         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7731         with sql-interactive-mode.
7732         (sql-save-connection): Save buffer local settings.
7733         (sql-connection-menu-filter): Change menu entry name.
7734         (sql-product-interactive): Bug fix.
7735         (sql-preoutput-hold): New variable.
7736         (sql-interactive-remove-continuation-prompt): Bug fixes.
7737         (sql-debug-redirect): New variable.
7738         (sql-str-literal): New function.
7739         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7740         Redesign.
7741         (sql-oracle-save-settings, sql-oracle-restore-settings)
7742         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7743         (sql-completion-object, sql-completion-column)
7744         (sql-completion-sqlbuf): New variables.
7745         (sql-build-completions-1, sql-build-completions)
7746         (sql-try-completion): New functions.
7747         (sql-read-table-name): Use them.
7748         (sql-contains-names): New buffer local variable.
7749         (sql-list-all, sql-list-table): Use it.
7750         (sql-oracle-completion-types): New variable.
7751         (sql-oracle-completion-object, sql-sqlite-completion-object)
7752         (sql-postgres-completion-object): New functions.
7754 2011-07-06  Glenn Morris  <rgm@gnu.org>
7756         * window.el (pop-to-buffer): Doc fix.
7758 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
7760         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7762 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7764         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7766         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7768 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7770         * button.el (button): Inherit from link face.  Suggested by Dan
7771         Nicolaescu.
7773 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7775         * progmodes/gdb-mi.el: Fit in 80 columns.
7776         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7777         switch-to-buffer.
7779         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7780         if imenu is simply not configured (bug#8941).
7782 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7784         * allout.el (allout-post-undo-hook): New allout outline-change
7785         event hook to signal undo activity.
7786         (allout-post-command-business): Run allout-post-undo-hook if an
7787         undo just occurred.
7788         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7789         * allout-widgets.el (allout-widgets-after-undo-function):
7790         Ensure the integrity of the current item's decoration after it has been
7791         in the vicinity of an undo.
7792         (allout-widgets-mode): Include allout-widgets-after-undo-function
7793         on the new allout-post-undo-hook.
7795 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7797         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7798         Let define-derived-mode define it.
7799         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7800         cycles of abbrev-table inheritance (bug#8998).
7802 2011-07-05  Roland Winkler  <winkler@gnu.org>
7804         * textmodes/bibtex.el: Add support for biblatex.
7805         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7806         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7807         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7808         (bibtex-entry-alist, bibtex-field-alist): New variables.
7809         (bibtex-entry-field-alist): Obsolete alias for
7810         bibtex-BibTeX-entry-alist.
7811         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7812         (bibtex-set-dialect): New command.
7813         (bibtex-entry-type, bibtex-entry-head)
7814         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7815         Bind via bibtex-set-dialect.
7816         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7817         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7818         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7819         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7820         Define via bibtex-set-dialect.
7821         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7822         Obey bibtex-no-opt-remove-re.
7823         (bibtex-vec-push, bibtex-vec-incr): New functions.
7824         (bibtex-format-entry, bibtex-field-list)
7825         (bibtex-print-help-message, bibtex-validate)
7826         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7828 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7830         * progmodes/compile.el (compilation-goto-locus):
7831         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7832         * bs.el (bs-cycle-next, bs-cycle-previous):
7833         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7834         * bindings.el (mode-line-other-buffer):
7835         * autoinsert.el (auto-insert):
7836         * arc-mode.el (archive-extract):
7837         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7839 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7841         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7842         Fix check of `emacs-lock-unlockable-modes'.
7843         Coerce true values of `emacs-lock--try-unlocking' to t.
7845 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7847         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7848         * emacs-lock.el: New file.
7850 2011-07-05  Julien Danjou  <julien@danjou.info>
7852         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7853         than `boundp' to check if face is set.
7855 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7857         * register.el (registerv-make):
7858         * window.el (window-min-height): Fix typos in docstrings.
7860 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7862         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7863         Update doc string.
7865 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7867         * server.el (server-execute): Catch quit and call
7868         `server-return-error' to pass the error back to emacsclient and
7869         close the connection (bug#8942).
7871 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7873         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7874         insecure exception for current topic.  Also note that auto-saves
7875         are handled differently.
7877         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7878         State variables for tracking auto-save inhibition situation.
7880         (allout-write-contents-hook-handler): Rename from
7881         'allout-write-file-hook-handler', and describe how it depends on
7882         write-contents-functions sensitivity to non-nil value to prevent
7883         file write.
7885         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7886         this in individual buffers, only in the starting buffer, so this
7887         is not the right way for us to inhibit auto-save in a buffer
7888         according to its condition.
7890         (allout-mode): Use new allout-write-contents-hook-handler, and
7891         only with write-contents-functions.  Remove auto-save provisions -
7892         they're implemented elsewhere.
7894         (allout-before-change-handler): If undo is in progress, note that
7895         for attention of allout-post-command-business.
7897         (allout-post-command-business): If the command we're following was
7898         an undo, check for change in the status of encrypted items and
7899         adjust auto-save inhibitions accordingly.
7901         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7902         according to whether there are or aren't any plain-text topics
7903         pending encryption.
7905         (allout-inhibit-auto-save-info-for-decryption):
7906         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7907         if there are plain-text topics pending encryption.
7909         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7910         buffer-saved-size and some allout state to not inhibit auto-saves
7911         if there are no longer any plain-text topics pending encryption.
7913         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7914         No longer provide for exemption of the current topic.
7916 2011-07-04  Juri Linkov  <juri@jurta.org>
7918         Add 7z operations to delete and save changed members (bug#8968).
7919         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7920         New defcustoms.
7921         (archive-7z-write-file-member): New function.
7922         (archive-7z-summarize): Fix the number of dashes in the
7923         listing output.
7925 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7927         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7928         (bug#8958).
7930 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7932         * bindings.el: Ignore next-buffer and previous-buffer in
7933         minibuffer-local-map.
7935         * font-lock.el (font-lock-builtin-face): Change light background
7936         color to dark slate blue (Bug#6693).
7938 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7940         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7942 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7944         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7945         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7946         Add switch-to-buffer.
7948 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7950         * isearch.el (isearch-search-fun-function): Clarify further the
7951         meaning of the function returned.
7953 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7955         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7957         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7958         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7959         Use it.
7960         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7961         `tramp-default-remote-path' does not exist.
7962         (tramp-send-command-and-read): New optional argument NOERROR.
7963         (tramp-open-connection-setup-interactive-shell)
7964         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7965         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7966         (tramp-process-sentinel): Flush also process' connection property.
7967         (tramp-sh-handle-start-file-process): Do not set process
7968         sentinel.  It is done now ...
7969         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7971 2011-07-04  MON KEY  <monkey@sandpframing.com>
7973         * play/animate.el (animate-string): Doc fixes and allow changing
7974         the buffer name (bug#5417).
7976 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7978         * play/animate.el (animation-buffer-name): Rename from *animate*.
7980 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7982         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7983         This is simpler and helps future-proof the code.
7984         (timer-until): Use time-subtract and float-time.
7985         (timer--time-less-p): Use time-less-p.
7987 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7989         * type-break.el (timep): Use the value of `float-time' to avoid a
7990         byte-compiler warning.
7992         * server.el (server-eval-and-print): Return any result, even nil.
7994 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7996         * type-break.el: Accept time formats that the builtins accept.
7997         (timep, type-break-time-difference): Accept any format that
7998         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7999         This is simpler and helps future-proof the code.
8000         (type-break-time-difference): Round rather than ignoring
8001         subseconds components.
8003 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8005         * info.el (Info-apropos-matches): Make non-interactive, since it
8006         doesn't seem to do anything useful as a command (bug#8829).
8008 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8010         * frame.el (frame-background-mode, frame-set-background-mode):
8011         Move from faces.el.
8012         (frame-default-terminal-background): New function.
8014         * custom.el (custom-push-theme): Don't record faces in `changed'
8015         theme; this doesn't work correctly for per-frame face settings.
8016         (disable-theme): Use face-set-after-frame-default to reset faces.
8017         (custom--frame-color-default): New function.
8019 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8021         * dired.el (dired-flagging-regexp): Remove unused variable
8022         (bug#8769).
8024 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8026         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8027         `perl-Test2' extend to match possible "fail #N" rep count
8028         (bug#8377).
8030 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8032         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8033         `smtpmail-via-smtp' now returns the error instead of nil.
8035         * isearch.el (isearch-search-fun-function): Clarify the doc string
8036         (bug#8101).
8038 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8040         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8041         unnecessary spaces (bug#8987).
8043 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8045         * net/network-stream.el (open-network-stream): Use the
8046         :end-of-capability command thoughout.
8048 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8050         * net/network-stream.el (open-network-stream): Add the
8051         :end-of-capability command parameter, used by pop3.el.
8053 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8055         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8057         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8058         for list)" (bug#6475).
8060         * files.el (file-expand-wildcards): Ignore non-readable
8061         sub-directories while trying to find matches instead of signaling
8062         an error (bug#6297).
8064         * man.el (Man-reference-regexp): Allow matching possible
8065         word-wrapped references (bug#6289).
8067         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8068         for consistency with the other vc buffers (bug#6197).
8069         (vc-checkin): Ditto.
8071         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8073         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8075 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8077         * custom.el (defcustom): Clarify that :set is only used in the
8078         Customize user interface (bug#6089).
8080         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8081         associated with a file, refuse to run instead of erroring out
8082         (bug#6084).
8084         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8085         the doc string, since it appears that using `fill-column' always
8086         controls the width (bug#7845).
8088         * simple.el (shell-command-on-region): Say where the error output
8089         went if `shell-command-default-error-buffer' is set (bug#6857).
8091 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
8093         * allout.el (allout-yank-processing): Adjust cursor position for
8094         backwards-deleted space.
8096         (allout-rebullet-heading): Register changes with
8097         allout-exposure-changed-hook, so the modified topic is properly
8098         decorated.
8100 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8102         * minibuffer.el (completion-in-region): Document PREDICATE
8103         (bug#7136).
8105         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8106         of keyword/argument pairs (bug#6904).
8108         * replace.el (multi-occur):
8109         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8111 2011-07-02  Drew Adams  <drew.adams@oracle.com>
8113         * dired.el (dired-mark-if): Make the message about whether it's
8114         marking or unmarking clearer (bug#8523).
8116 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8118         * disp-table.el (display-table-print-array): New function.
8119         (describe-display-table): Use it to print the vectors more pretty
8120         (Bug#8859).
8122 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
8124         * window.el (window-state-get-1): Don't assign clone numbers.
8125         Add clone-of item to list of window parameters.
8126         (window-state-put-2): Don't process clone numbers.
8127         (display-buffer-alist): Fix doc-string.
8129 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8131         * subr.el (remq): Don't allocate if it's not needed.
8132         (keymap--menu-item-binding, keymap--menu-item-with-binding)
8133         (keymap--merge-bindings): New functions.
8134         (keymap-canonicalize): Use them to refine the canonicalization.
8135         * minibuffer.el (minibuffer-local-completion-map)
8136         (minibuffer-local-must-match-map): Move initialization from C.
8137         (minibuffer-local-filename-completion-map): Move initialization from C;
8138         don't inherit from anything here.
8139         (minibuffer-local-filename-must-match-map): Make obsolete.
8140         (completing-read-default): Use make-composed-keymap to combine
8141         minibuffer-local-filename-completion-map with either
8142         minibuffer-local-must-match-map or
8143         minibuffer-local-filename-completion-map.
8145 2011-07-01  Glenn Morris  <rgm@gnu.org>
8147         * type-break.el (type-break-time-sum): Use dolist.
8149         * textmodes/flyspell.el (flyspell-word-search-backward):
8150         Replace CL function.
8152 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8154         * mouse.el (mouse--strip-first-event): New function.
8155         (function-key-map): Use it to map fringe clicks to normal clicks
8156         by default.
8158         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8159         (vc-bzr-revision-completion-table): Add support for annotate and date.
8161         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8162         inherit from parent.
8164 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8166         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8167         (dired-show-file-type): Doc fixup (bug#8818).
8169         * dired.el (dired-mode): Fix up the doc string as suggested by
8170         Drew Adams (bug#8817).
8172         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8173         cookie, since the manual says that it should be possible to add
8174         this function to `find-file-hook' (bug#8709).
8176 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8178         * progmodes/cfengine.el: Moved all cfengine3.el functionality
8179         here.  Noted Ted Zlatanov as the maintainer.
8180         (cfengine-common-settings, cfengine-common-syntax): New functions
8181         to set up common things between `cfengine-mode' and
8182         `cfengine3-mode'.
8183         (cfengine3-mode): New mode.
8184         (cfengine3-defuns cfengine3-defuns-regex
8185         (cfengine3-class-selector-regex cfengine3-category-regex)
8186         (cfengine3-vartypes cfengine3-font-lock-keywords)
8187         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8188         (cfengine3-indent-line): Add from cfengine3.el.
8190 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
8192         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8194         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8196 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
8198         * window.el (same-window-buffer-names, same-window-regexps)
8199         (same-window-p, special-display-frame-alist)
8200         (special-display-popup-frame, special-display-function)
8201         (special-display-buffer-names, special-display-regexps)
8202         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8203         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8204         (split-window-preferred-function, split-height-threshold)
8205         (split-width-threshold, even-window-heights)
8206         (display-buffer-mark-dedicated, window-splittable-p)
8207         (split-window-sensibly, window-safely-shrinkable-p):
8208         Un-obsolete.
8209         (display-buffer): Don't spread args with function specifier
8210         because special-display-popup-frame won't like it.
8212 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
8214         Time-stamp simplifications and fixes.
8215         These improve accuracy slightly, and future-proof the code
8216         against some potential changes to current-time format.
8218         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8219         by using time-since and float-time.
8221         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8222         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
8223         + NNN microseconds".
8225         * type-break.el (type-break-time-sum): Rewrite using time-add.
8227         * play/hanoi.el (hanoi-current-time-float): Remove.
8228         All uses replaced by float-time.
8230         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8231         This yields a more-accurate answer.
8232         (rng-time-to-float): Remove; no longer needed.
8234         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8236         * calendar/timeclock.el (timeclock-seconds-to-time):
8237         Defalias to seconds-to-time, since they're the same thing.
8239         * emacs-lisp/elp.el (elp-elapsed-time):
8240         * emacs-lisp/benchmark.el (benchmark-elapse):
8241         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8243 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8245         * window.el (bury-buffer): Don't iconify the only frame.
8246         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8247         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
8249 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
8251         * eshell/em-smart.el (eshell-smart-display-navigate-list):
8252         Add mouse-yank-primary.
8254 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8256         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8258 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8260         * emacs-lisp/find-func.el (find-library--load-name): New fun.
8261         (find-library-name): Use it to find relative load names when provided
8262         absolute file name (bug#8803).
8264 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8266         * textmodes/flyspell.el (flyspell-word): Consider words that
8267         differ only in case as potential doublons (bug#5687).
8269         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8270         Remove two rather uninteresting debugging-like messages to make
8271         debbugs.el more silent.
8273         * comint.el (comint-password-prompt-regexp): Accept "Response" as
8274         a password-like phrase.
8276 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
8278         * progmodes/cc-guess.el: New file.
8280         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8282         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8283         derived from `c-basic-common-init'.
8285         * progmodes/cc-mode.el (top-level): Require cc-guess.
8286         (c-basic-common-init): Use `cc-choose-style-for-mode'.
8288 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
8290         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8292 2011-06-30  Alan Mackenzie  <acm@muc.de>
8294         * progmodes/cc-engine.el (c-guess-continued-construct):
8295         Correct the handling of template-args-cont, particularly for when font
8296         lock is disabled.  Name this case as "CASE G".
8298 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
8300         * allout.el (allout-yank-processing): Fix injection of extra space
8301         between bullet and non-whitespace character in first topic when
8302         pasting, ensuring that the actual spacing in the pasted topic
8303         following the bullet char is preserved.  This extra space was
8304         causing pasted encrypted topics to get a decrypted status even
8305         when the content was actually still encrypted.  Now the decryption
8306         status from before the paste is preserved.
8308         (allout-flag-region): Set all allout overlays so they evaporate
8309         when reduced to zero length (evanescent), to prevent overlay
8310         leakage.
8312 2011-06-30  Glenn Morris  <rgm@gnu.org>
8314         * w32-fns.el (w32-charset-info-alist): Declare.
8316         * find-dired.el (find-grep-options): Simplify.
8318         * term/ns-win.el (ns-set-resource): Declare.
8320         * ses.el (row, col): Declare dynamic variables honestly.
8322         * textmodes/reftex-parse.el (index-tags): Declare.
8324 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
8326         * cus-edit.el (customize-push-and-save): New function.
8328         * files.el (hack-local-variables-confirm): Use it.
8330         * custom.el (load-theme): New arg NO-CONFIRM.
8331         Use customize-push-and-save (Bug#8720).
8332         (custom-enabled-themes): Doc fix.
8334         * cus-theme.el (customize-create-theme)
8335         (custom-theme-merge-theme): Callers to load-theme changed.
8337 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8339         * thingatpt.el (thing-at-point-short-url-regexp): Require that
8340         short URLs have at least one dot in them (bug #7614).
8342         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8343         nil, because using a pty is apparently too slow (bug #895).
8345 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8347         * mail/sendmail.el (sendmail-query-once): New function.
8348         (sendmail-query-once-function): New variable.
8350 2011-06-29  Glenn Morris  <rgm@gnu.org>
8352         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8354         * ses.el (top-level): Require cl when compiling.
8355         (ses-set-localvars): Fix error statement.
8356         Call it at compile time to silence a storm of warnings.
8358 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
8360         * window.el (normalize-live-buffer): Rename to
8361         window-normalize-buffer.
8362         (normalize-live-frame): Rename to window-normalize-frame.
8363         (normalize-any-window): Rename to window-normalize-any-window.
8364         (normalize-live-window): Rename to window-normalize-live-window.
8365         (make-window-atom): Rename to window-make-atom.
8366         (window-resize-reset): Rename to window--resize-reset.
8367         (window-resize-reset-1): Rename to window--resize-reset-1.
8368         (resize-mini-window): Rename to window--resize-mini-window.
8369         (resize-subwindows-skip-p): Rename to
8370         window--resize-subwindows-skip-p.
8371         (resize-subwindows-normal): Rename to
8372         window--resize-subwindows-normal.
8373         (resize-subwindows): Rename to window--resize-subwindows.
8374         (resize-other-windows): Rename to window--resize-siblings.
8375         (resize-this-window): Rename to window--resize-this-window.
8376         (resize-root-window): Rename to window--resize-root-window.
8377         (resize-root-window-vertically): Rename to
8378         window--resize-root-window-vertically.
8379         (normalize-buffer-to-display): Rename to
8380         window-normalize-buffer-to-display.
8381         (normalize-buffer-to-switch-to): Rename to
8382         window-normalize-buffer-to-switch-to.
8383         Correspondingly update all callers of the functions listed
8384         above.
8385         (display-buffer-alist, display-buffer-normalize-arguments)
8386         (display-buffer-normalize-options, display-buffer)
8387         (display-buffer-alist-set): Use "function" instead of
8388         "fun-with-args".
8390 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
8392         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8393         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
8394         debbugs.gnu.org.  Mention acknowledgment email.
8396 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8398         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8399         buffer multibyteness, since it shouldn't matter.
8401 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
8403         * window.el (display-buffer-in-side-window): Handle dedicated
8404         windows as in display-buffer-reuse-window.
8405         (display-buffer-normalize-alist): Use value of override
8406         specifier.
8407         (display-buffer-normalize-specifiers): Use value of
8408         other-window-means-other-frame specifier.
8409         (display-buffer-alist): Rewrite some texts in widgets.
8410         (display-buffer): Spread arguments when calling function
8411         specified by fun-with-args.
8413 2011-06-28  Deniz Dogan  <deniz@dogan.se>
8415         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8416         Unnest `let'.
8418         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8419         selectors (Bug#5732).
8420         (css-proprietary-nmstart-re): Use `regexp-opt'.
8422 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
8424         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8425         (eshell-ls-date-format): New defcustom.
8426         (eshell-ls-file): Use it.
8428 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8430         * help-fns.el (describe-variable): Fix message for terminal-local vars.
8432 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
8434         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8435         (ange-ftp-make-tmp-name): New arg.
8436         (ange-ftp-file-local-copy): Use it.
8438 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
8440         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8441         no-conversion (Bug#8870).
8443 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
8445         * window.el (window-right, window-left, window-child)
8446         (window-child-count, window-last-child)
8447         (window-iso-combination-p, walk-window-tree-1)
8448         (window-atom-check-1, window-tree-1, delete-window)
8449         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8450         new naming conventions - window-vchild, window-hchild,
8451         window-next and window-prev are now called window-top-child,
8452         window-left-child, window-next-sibling and window-prev-sibling
8453         respectively.
8454         (resize-window-reset): Rename to window-resize-reset.
8455         (resize-window-reset-1): Rename to window-resize-reset-1.
8456         (resize-window): Rename to window-resize.
8457         (window-min-height, window-min-width)
8458         (resize-mini-window, resize-this-window, resize-root-window)
8459         (resize-root-window-vertically, adjust-window-trailing-edge)
8460         (enlarge-window, shrink-window, maximize-window)
8461         (minimize-window, delete-window, quit-restore-window)
8462         (split-window, balance-windows, balance-windows-area-adjust)
8463         (balance-windows-area, window-state-put-2)
8464         (display-buffer-even-window-sizes, display-buffer-set-height)
8465         (display-buffer-set-width, set-window-text-height)
8466         (fit-window-to-buffer): Rename all "resize-window" prefixed
8467         calls to use the "window-resize" prefix convention.
8468         (display-buffer-alist): Fix symbol for label specifier.
8469         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8470         corresponding specifier.
8471         Reported by Juanma Barranquero <lekktu@gmail.com>.
8473 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8475         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8476         convention.
8477         (ses-call-printer): Does not pass an empty string to formatter when the
8478         cell is empty to keep from barking printer Calc math-format-value.
8480 2011-06-27  Richard Stallman  <rms@gnu.org>
8482         * battery.el (battery-mode-line-limit): New variable.
8483         (battery-update): Handle it.
8485         * mail/rmailmm.el (rmail-mime-process-multipart):
8486         Handle truncated messages.
8488 2011-06-27  Glenn Morris  <rgm@gnu.org>
8490         * progmodes/flymake.el (flymake-err-line-patterns):
8491         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
8493 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8495         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8496         (ses--clean-!, ses--clean-_): New functions.
8497         (ses-range): Add configurability of readout order, and conversion
8498         to Calc vector.
8500         * ses.el (ses-repair-cell-reference-all): New function.
8501         (ses-cell-symbol): Set macro as safe, so that it can be used in
8502         formulas.
8504         * ses.el: Update cycle detection algorithm.
8505         (ses-localvars): Add ses--Dijkstra-attempt-nb and
8506         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8507         (ses-set-localvars): New function.
8508         (ses-make-cell): Add property-list as a cell element.
8509         (ses-cell-property-get-fun, ses-cell-property-get)
8510         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8511         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8512         New functions.
8513         (ses-cell-property-set, ses-cell-property-pop)
8514         (ses-cell-property-get-handle): New macro.
8515         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8516         New aliases, used for code readability.
8517         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8518         cycle detection.
8519         (ses-self-reference-early-detection): New defcustom.
8520         (ses-formula-references): Robustify against self-referring cells.
8521         (ses-mode): Use ses-set-localvars.
8522         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8523         before lauching the update processing.
8524         (ses-initialize-Dijkstra-attempt): New function.
8525         (ses-recalculate-cell): Update for cycle detection based on
8526         Dijkstra algorithm.
8528         * ses.el: Fix commenting and indenting convention.
8530 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8532         * bs.el (bs-cycle-next): Complete last change.
8534 2011-06-27  Drew Adams  <drew.adams@oracle.com>
8536         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8538 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8540         * net/network-stream.el (network-stream-open-starttls):
8541         Don't re-get capabilities unless we've reestablished connection.
8542         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8544         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8545         to binary to possibly avoid line encoding issues on Windows (among
8546         other things).
8548 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8550         * net/network-stream.el (open-network-stream): Return an :error
8551         saying what the problem was, if possible.
8553         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8554         server.
8556         * net/network-stream.el (network-stream-open-starttls): If we
8557         wanted to use STARTTLS, and the server offered it, but we weren't
8558         able to because we had no STARTTLS support, then close the connection.
8559         (open-network-stream): Return an :error element, if present.
8561 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8563         * hl-line.el (hl-line-sticky-flag): Doc fix.
8564         (global-hl-line-sticky-flag): New option (Bug#8323).
8565         (global-hl-line-highlight): Obey it.
8567         * vc/vc.el (vc-revert-show-diff): Default to t.
8569 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
8571         * allout-widgets.el (allout-widgets-post-command-business):
8572         Stop decorating intermediate isearch matches.  They're not being
8573         undecorated when an isearch is continued past, and isearch
8574         automatically collapses them.  This leads to "widget leaks", where
8575         decorated items accumulate in collapsed areas.  Lines with lots of
8576         hidden widgets can slow down cursor travel, substantially.
8577         Too much complicated machinery would be needed to ensure undecoration,
8578         so we're doing without this nicety.
8580         (allout-widgets-tally-string): Don't try to do a hash-table-count
8581         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
8582         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8583         *Messages* when allout-widgets-maintain-tally is t.
8585 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
8587         * window.el (display-buffer-normalize-argument): Rename to
8588         display-buffer-normalize-arguments.  Handle special meaning of
8589         LABEL argument.  Respect special-display-function when popping up
8590         a new frame.  Fix code searching for a window showing the buffer
8591         on another frame.
8592         (display-buffer-normalize-specifiers):
8593         Call display-buffer-normalize-arguments.
8594         (display-buffer-in-window): Don't undedicate the window if its
8595         buffer remains the same.
8596         Reported by Drew Adams <drew.adams@oracle.com>.
8597         (display-buffer-alist): Add choice for same-window macro
8598         specfier.
8599         (display-buffer): Mention special meaning of LABEL argument in
8600         doc-string.  Fix quoting.  Don't pop up a new frame even as
8601         fallback.
8603 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
8605         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8606         avoid deleting the current window in some cases (bug#8911).
8608 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
8610         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8611         (Bug#8934)
8613 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8615         * net/network-stream.el (network-stream-open-starttls):
8616         Use built-in TLS support if `gnutls-available-p' is true.
8617         (network-stream-open-tls): Ditto.
8619 2011-06-26  Leo Liu  <sdl.web@gmail.com>
8621         * register.el (registerv): New struct.
8622         (registerv-make): New function.
8623         (jump-to-register, describe-register-1, insert-register):
8624         Support the jump-func, print-func and insert-func slot of a registerv
8625         struct.  (Bug#8415)
8627 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8629         * vc/vc.el (vc-revert-show-diff): New defcustom.
8630         (vc-diff-internal): New arg specifying diff buffer.
8631         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
8632         reuse an existing *vc-diff* buffer (Bug#8927).
8634         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8636 2011-06-26  Glenn Morris  <rgm@gnu.org>
8638         * progmodes/f90.el (f90-critical-indent): New option.
8639         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8640         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8641         (f90-mode): Doc fix.
8642         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8643         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8644         (f90-beginning-of-block, f90-next-block, f90-indent-region)
8645         (f90-match-end): Handle block, critical.
8647 2011-06-25  Glenn Morris  <rgm@gnu.org>
8649         * calendar/diary-lib.el (diary-included-files): Doc fix.
8650         (diary-include-files): New function, extracted from
8651         diary-include-other-diary-files and diary-mark-included-diary-files.
8652         (diary-include-other-diary-files, diary-mark-included-diary-files):
8653         Just call diary-include-files.
8654         (diary-mark-entries): Reset diary-included-files on first call.
8656         * calendar/diary-lib.el (diary-mark-entries)
8657         (diary-mark-included-diary-files):
8658         Visit included diary-files in temp buffers.
8660         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8661         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8662         (f90-start-block-re, f90-imenu-generic-expression)
8663         (f90-looking-at-program-block-start, f90-no-block-limit):
8664         Add support for submodules.
8666         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8667         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8669 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
8671         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8672         buffer-file-type before setting its value, to avoid disastrous
8673         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
8675 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8677         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8679         * ses.el (ses-unload-function):
8680         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8682         * proced.el (proced-unload-function):
8683         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8685 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8687         * server.el (server-create-window-system-frame): Add parameters arg.
8688         (server-process-filter): Doc fix.  Handle frame-parameters.
8690 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8692         Fix bug#8730, bug#8781.
8694         * loadhist.el (unload--set-major-mode): New function.
8695         (unload-feature): Use it.
8697         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8698         (python-unload-function): New function.
8700 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8704 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8706         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8707         the candidates list.
8709 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8711         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8713 2011-06-23  Richard Stallman  <rms@gnu.org>
8715         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8716         (rmail-variables): Set next-error-move-function.
8717         (rmail-what-message): Take argument POS.
8718         (rmail-next-error-move): New function.
8720 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8722         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8723         messages for adjacent non-terminals.
8725 2011-06-23  Richard Stallman  <rms@gnu.org>
8727         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8728         (rmail-show-message-1): Preserve buffer modified flag.
8729         (rmail-start-mail): Don't specify use of rmail-mail-return;
8730         that's done by mail-bury now.
8731         (rmail-mail-return): Handle arg NEWBUF.
8733 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8735         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8736         SIZE is a number.
8738 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8740         * window.el (get-lru-window, get-mru-window)
8741         (get-largest-window): Never return a minibuffer window.
8742         (display-buffer-pop-up-window): Fix a bug that could lead to
8743         reusing the minibuffer window.
8744         (display-buffer): Pass original specifier argument to
8745         display-buffer-function instead of the normalized one.
8746         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8748 2011-06-22  Leo Liu  <sdl.web@gmail.com>
8750         * minibuffer.el (completing-read-function)
8751         (completing-read-default): Move from minibuf.c
8753 2011-06-22  Richard Stallman  <rms@gnu.org>
8755         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8756         to Rmail even if not started by a special Rmail command.
8758         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8759         Copy the buffer currently showing just one message.
8761 2011-06-22  Roland Winkler  <winkler@gnu.org>
8763         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8764         (bibtex-clean-entry): First delete the old key so that a
8765         customized algorithm for generating the new key does not get
8766         confused by the old key.
8767         (bibtex-url): Obey regexp of first step.
8768         (bibtex-search-entries): Do not use add-to-list with local
8769         list-var.
8771 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8773         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8774         stored a user name, then query for the password first, instead of
8775         waiting for SMTP to give an error message and the trying again.
8777 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8779         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8780         BUFFER in call-process.
8782 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8784         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8785         QUIT twice.
8786         (smtpmail-try-auth-methods): Require user name and password from
8787         auth-source.
8789 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8791         * window.el (display-buffer-default-specifiers)
8792         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8793         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8794         (split-window): Normalize SIDE argument (Bug#8916).
8796         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8797         (special-display-frame-alist, special-display-popup-frame):
8798         Remove duplicate declarations.  These are now in window.el.
8800 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8802         * mail/smtpmail.el (smtpmail-via-smtp):
8803         Set :use-starttls-if-possible so that we always use STARTTLS if the
8804         server supports it.  SMTP servers that support STARTTLS commonly
8805         require it.
8807         * net/network-stream.el (network-stream-open-starttls): Support
8808         upgrading to STARTTLS always, even if we don't have built-in support.
8809         (open-network-stream): Add the :always-query-capabilities keyword.
8811         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8812         upgrades with `open-network-stream', and rely solely on
8813         auth-source for all credentials.  Big changes throughout the file,
8814         but in particular:
8815         (smtpmail-auth-credentials): Remove.
8816         (smtpmail-starttls-credentials): Remove.
8817         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8818         MAIL FROM, too.
8820         * net/network-stream.el (network-stream-open-starttls):
8821         Provide support for client certificates both for external and built-in
8822         STARTTLS.
8823         (auth-source): Require.
8824         (open-network-stream): Document the :client-certificate keyword.
8825         (network-stream-certificate): Change cert-cert to cert and
8826         cert-key to key.
8828 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8830         * net/tramp-cache.el (top): Don't load the persistency file when
8831         "emacs -Q" has been called.
8833 2011-06-21  Tim Harper  <timcharper@gmail.com>
8835         * term/ns-win.el (ns-initialize-window-system):
8836         Set application-specific `ApplePressAndHoldEnabled' system
8837         resource to NO as it is not yet supported by the NS port.
8839 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8841         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8842         (list-dynamic-libraries): ...not here.
8844 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8846         * subr.el (sha1): Implement sha1 using secure-hash.
8848 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8850         * window.el (display-buffer-alist): In default value do not
8851         enforce searching a window on any but the selected frame.
8852         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8853         (display-buffer-select-window): Remove function.
8854         (display-buffer-in-window): When a window on another frame gets
8855         reused, do not select it any more but just raise its frame if
8856         necessary (Bug#8851) and (Bug#8856).
8857         (display-buffer-normalize-options): Handle pop-up-frames related
8858         options more faithfully.
8859         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8860         window if it is on another frame.
8861         (display-buffer-alist, display-buffer-default-specifiers):
8862         Don't make new frame unsplittable by default.
8863         (display-buffer-normalize-argument): Fix doc-string typo and use
8864         'same-frame-other-window instead of 'other-window when associating
8865         with display-buffer-macro-specifiers.
8867 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8869         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8870         New functions.
8871         (5x5-mode-map, 5x5-mode-menu): Bind them.
8872         (5x5-draw-grid): Tweak the solver's rendering.
8874 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8876         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8877         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8879 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8881         * menu-bar.el: Use function variable instead of switch-to-buffer.
8882         (menu-bar-select-buffer-function): New variable.
8883         (menu-bar-update-buffers): Use it (bug#8876).
8885 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8887         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8888         variable's status.
8890 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8892         * x-dnd.el (x-dnd-version-from-flags)
8893         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8894         and long as number (Bug#8899).
8895         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8897 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8899         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8900         (completion-try-completion, completion-all-completions): Compute the
8901         metadata argument if it's missing; make it optional (bug#8795).
8903         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8904         (widget-complete): Use new :completion-function property.
8905         (widget-completions-at-point): New function.
8906         (default): Use :completion-function instead of :complete.
8907         (widget-default-completions): Rename from widget-default-complete;
8908         Rewrite.
8909         (widget-string-complete, widget-file-complete, widget-color-complete):
8910         Remove functions.
8911         (file, symbol, function, variable, coding-system, color):
8912         * international/mule-cmds.el (default-input-method, charset)
8913         (language-info-custom-alist):
8914         * cus-edit.el (face): Use new property :completions.
8916         * progmodes/pascal.el (pascal-completions-at-point): New function.
8917         (pascal-mode): Use it.
8918         (pascal-mode-map): Use completion-at-point.
8919         (pascal-toggle-completions): Make obsolete.
8920         (pascal-complete-word, pascal-show-completions):
8921         * progmodes/octave-mod.el (octave-complete-symbol):
8922         Redefine as obsolete alias.
8923         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8924         Signal absence of completion info for old Octave,
8925         (inferior-octave-complete): Redefine as obsolete alias.
8926         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8927         (meta-completions-at-point): Rename from meta-complete-symbol and
8928         adapt it for use on completion-at-point-functions.
8929         (meta-common-mode): Use it.
8930         (meta-looking-at-backward, meta-match-buffer): Remove.
8931         (meta-complete-symbol): Redefine as obsolete alias.
8932         (meta-common-mode-map): Use completion-at-point.
8933         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8934         (makefile-mode-map): Use completion-at-point.
8935         (makefile-completions-at-point): Rename from makefile-complete and
8936         adapt it for use on completion-at-point-functions.
8937         (makefile-mode): Use it.
8938         (makefile-complete): Redefine as obsolete alias.
8940 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8942         * net/rcirc.el: Delete trailing whitespaces once and for all.
8944 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8946         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8948 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8950         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8952         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8954 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8956         * window.el (display-buffer-other-window-means-other-frame):
8957         Call display-buffer-normalize-alist.
8958         (display-buffer-normalize-specifiers-1): Rename to
8959         display-buffer-normalize-argument.  New argument other-frame.
8960         Rewrite.
8961         (display-buffer-normalize-specifiers-2): Rename to
8962         display-buffer-normalize-options.
8963         (display-buffer-normalize-alist-1): New function.
8964         (display-buffer-normalize-specifiers-3): Rename to
8965         display-buffer-normalize-alist.
8966         Call display-buffer-normalize-alist-1.
8967         (display-buffer-normalize-options-inhibit): New variable.
8968         (display-buffer-normalize-specifiers): Rewrite calling
8969         display-buffer-normalize-alist,
8970         display-buffer-normalize-argument, and
8971         display-buffer-normalize-options.  Don't call the latter if
8972         display-buffer-normalize-options-inhibit is non-nil.
8973         (frame-auto-delete): New option.
8974         (window-deletable-p): Use frame-auto-delete.
8975         (window-list-no-nils, window-state-ignored-parameters)
8976         (window-state-get-1, window-state-get, window-state-put-list)
8977         (window-state-put-1, window-state-put-2, window-state-put):
8978         New functions.
8979         (display-buffer-normalize-options): Move special-display-p group
8980         after pop-up-frame group (Bug#8851) and (Bug#8856).
8982 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
8984         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8985         groups (Bug#8776).
8986         (rx-submatch-n): New function.
8987         (rx): Document it.
8989         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8990         (Bug#8768).
8992         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8994         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8996         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8997         anytime existing face settings are present (Bug#8889).
8999         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9000         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9001         Remove unused argument.
9003 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9005         * window.el (display-buffer-default-specifiers):
9006         Remove pop-up-frame.  Add pop-up-window-min-height,
9007         pop-up-window-min-width, and another reuse-window specifier
9008         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9009         (display-buffer-normalize-specifiers-2):
9010         Handle split-height-threshold and split-width-threshold also when
9011         pop-up-windows is unset.  Add a reuse-window specifier for the
9012         case popping up a new window fails.
9013         (special-display-popup-frame): Remove double quoting.
9014         (display-buffer-normalize-specifiers-1): Fix thinko.
9016 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9018         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9019         according to comint-completion-addsuffix.
9021         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9022         (pcomplete-suffix-list): Mark as obsolete.
9023         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9024         pcomplete-seen in the closure.
9025         (pcomplete-comint-setup): Setup completion-at-point as well.
9026         (pcomplete--entries): New function.
9027         (pcomplete--env-regexp): New var.
9028         (pcomplete-entries): Rewrite to work with partial-completion and
9029         without relying on pcomplete-suffix-list.
9030         (pcomplete-pare-list): Remove, unused.
9032 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9034         * window.el (display-buffer-alist): Set pop-up-window-min-height
9035         and pop-up-window-min-width in default value.  Reported by
9036         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9037         other-window-means-other-frame.
9038         (display-buffer-macro-specifiers): Comment out entry for
9039         other-window specifier.
9040         (display-buffer-other-window-means-other-frame): New function.
9041         (display-buffer-normalize-specifiers-1): New arguments
9042         buffer-name and label.  Treat other-window case specially.
9043         (display-buffer-normalize-specifiers-2): Treat other-window case
9044         specially.
9045         (display-buffer-normalize-specifiers-3): New function.
9046         (display-buffer-normalize-specifiers):
9047         Call display-buffer-normalize-specifiers-3.
9049 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9051         * window.el (same-window-p): Fix two typos introduced when
9052         adding with-no-warnings.
9053         (display-buffer-normalize-specifiers-1): Don't check
9054         pop-up-frames for 'unset initialization.
9055         (display-buffer-normalize-specifiers-2): Major rewrite using
9056         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9057         (pop-up-frames, display-buffer-reuse-frames)
9058         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9059         Suggested by David Engster <deng@randomsample.de>.
9060         (even-window-heights): Initialize to 'unset.
9061         (display-buffer-alist-set): Handle new 'unset initializations.
9062         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9063         other window case.
9065 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9067         * window.el (display-buffer-normalize-specifiers-1):
9068         Respect current value of pop-up-frames for most reasonable values of
9069         second argument of display-buffer (Bug#8865).
9070         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9071         (switch-to-buffer-other-window-same-frame)
9072         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9073         Adams (Bug#8875).
9074         (display-buffer): Don't check noninteractive when calling
9075         display-buffer-pop-up-frame.
9076         (display-buffer-pop-up-frame): Never pop up a frame in
9077         noninteractive mode (Bug#8857).
9078         (enlarge-window, shrink-window): Don't report an error when the
9079         window can't be resized as requested (Bug#8862).
9081 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9083         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9085         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9087         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9089 2011-06-15  Alan Mackenzie  <acm@muc.de>
9091         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9092         for declarators, disable knr checking to speed up for normal files.
9093         2: Refactor, replacing a sequence of nested if forms by a cond form.
9095 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9097         * net/network-stream.el (open-network-stream): Add the keyword
9098         :always-query-capabilities for the case where you want to force a
9099         `plain' network connection, but the protocol still requires the
9100         capabilitiy command (i.e., SMTP and EHLO).
9102         * subr.el (process-live-p): Rename from `process-alive-p' for
9103         consistency with other `-live-p' functions.
9105 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9107         * window.el (same-window-buffer-names, same-window-regexps)
9108         (special-display-frame-alist, special-display-popup-frame)
9109         (special-display-function, special-display-buffer-names)
9110         (special-display-regexps, pop-up-frame-alist)
9111         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9112         (pop-up-windows, split-window-preferred-function)
9113         (split-height-threshold, split-width-threshold, even-window-heights)
9114         (display-buffer-mark-dedicated): Don't encourage the use of
9115         display-buffer-alist from Elisp code.
9117 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
9119         * progmodes/python.el (python-mode): Derive from prog-mode.
9120         * progmodes/ps-mode.el (ps-mode):
9121         * progmodes/mixal-mode.el (mixal-mode):
9122         * progmodes/cfengine.el (cfengine-mode):
9123         * progmodes/ld-script.el (ld-script-mode): Likewise.
9125 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
9127         * window.el (display-buffer-alist): Trim default value to avoid
9128         popping up a new frame (Bug#8857) or reusing an arbitrary window
9129         on another frame.
9130         (display-buffer): Do not fall back on popping up a new frame in
9131         batch mode (Bug#8857).
9133 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
9135         * cus-theme.el (describe-theme-1): Use custom-theme-p.
9136         (custom-theme-summary): New function.
9137         (customize-themes): Use it.
9139 2011-06-13  Glenn Morris  <rgm@gnu.org>
9141         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9143 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
9145         * help.el (help-window): Remove variable.
9146         (help-window-point-marker, temp-buffer-max-height)
9147         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9148         (help-print-return-message): Don't set help-window.
9149         (resize-temp-buffer-window): Rewrite cod eand doc-string.
9150         (help-window-setup-finish): Remove.
9151         (help-window-display-message, help-window-setup)
9152         (with-help-window): Major rewrite based on new
9153         display-buffer-window variable.
9155         * help-mode.el (help-mode-finish): Remove help-window related
9156         code.
9158         * view.el (view-exits-all-viewing-windows): Remove reference to
9159         view-return-to-alist in doc-string.
9160         (view-return-to-alist): Make obsolete.
9161         (view-buffer): Call pop-to-buffer-same-window and remove
9162         undo-window code.
9163         (view-buffer-other-window): Call pop-to-buffer-other-window and
9164         simplify code.  Ignore second argument.
9165         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9166         simplify code.  Ignore second argument.
9167         (view-return-to-alist-update): Make obsolete.
9168         (view-mode-enter): Rename second argument to QUIT-RESTORE.
9169         Rewrite using quit-restore window parameters.
9170         (view-mode-exit): Rename second argument to EXIT-ONLY.
9171         Rewrite using quit-restore-window.
9172         (View-exit, View-exit-and-edit, View-leave, View-quit)
9173         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9174         appropriate arguments.
9175         (view-end-message): Use quit-restore window parameter.
9177         * window.el (display-buffer-function): Rewrite doc-string.
9178         (display-buffer-window, display-buffer-alist): New variables.
9179         (display-buffer-split-specifiers)
9180         (display-buffer-side-specifiers)
9181         (display-buffer-macro-specifiers): New constants.
9182         (display-buffer-even-window-sizes, display-buffer-set-height)
9183         (display-buffer-set-width, display-buffer-select-window)
9184         (display-buffer-in-window, display-buffer-reuse-window)
9185         (display-buffer-split-window-1, display-buffer-split-window)
9186         (display-buffer-split-atom-window, display-buffer-pop-up-window)
9187         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9188         (display-buffer-in-side-window, normalize-buffer-to-display)
9189         (display-buffer-normalize-specifiers-1)
9190         (display-buffer-normalize-specifiers-2)
9191         (display-buffer-normalize-specifiers, display-buffer-frame):
9192         New functions.
9193         (display-buffer): Major rewrite.
9194         (display-buffer-other-window, display-buffer-other-frame)
9195         (pop-to-buffer, switch-to-buffer-other-window)
9196         (switch-to-buffer-other-frame): Rewrite.
9197         (display-buffer-same-window, display-buffer-same-frame)
9198         (display-buffer-same-frame-other-window)
9199         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9200         (pop-to-buffer-other-window)
9201         (pop-to-buffer-same-frame-other-window)
9202         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9203         (switch-to-buffer-other-window-same-frame): New functions.
9204         (same-window-p, special-display-p): Rewrite disabling warnings.
9205         Make obsolete.
9206         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9207         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9208         Make obsolete
9209         (same-window-buffer-names, same-window-regexps)
9210         (special-display-frame-alist, special-display-popup-frame)
9211         (special-display-function, special-display-buffer-names)
9212         (special-display-regexps, pop-up-frame-alist)
9213         (pop-up-frame-function, split-window-preferred-function)
9214         (split-height-threshold, split-width-threshold)
9215         (even-window-heights): Make obsolete.
9217 2011-06-12  Glenn Morris  <rgm@gnu.org>
9219         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
9220         Misc simplifications.
9222 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
9224         * window.el (window-safely-shrinkable-p): Restore function which
9225         was inadvertently removed in change from 2011-06-11.  Declare as
9226         obsolete.
9228         * calendar/calendar.el (calendar-generate-window):
9229         Use window-iso-combined-p instead of combination of one-window-p and
9230         window-safely-shrinkable-p.
9232 2011-06-12  Glenn Morris  <rgm@gnu.org>
9234         * progmodes/fortran.el (fortran-mode-syntax-table):
9235         * progmodes/f90.el (f90-mode-syntax-table):
9236         Set % to punctuation.  (Bug#8820)
9237         (f90-find-tag-default): Remove, no longer needed.
9239 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
9241         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9243 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
9245         * image.el (image-animated-p): Return animation delay in seconds.
9246         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9247         (image-animate-timeout): Remove DELAY argument.  Don't assume
9248         every subimage has the same delay; get it from image-animated-p.
9249         (image-animate): Caller changed.
9251 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
9253         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9254         to ignored backtrace functions.
9256 2011-06-11  Glenn Morris  <rgm@gnu.org>
9258         * calendar/appt.el (appt-disp-window-function): Doc fix.
9259         (appt-check): Handle overlapping appointments.  (Bug#8337)
9261 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
9263         * window.el (window-tree-1, window-tree): New functions, moving
9264         the latter to window.el.
9265         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9266         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9267         (bw-refresh-edges): Remove.
9268         (balance-windows-1, balance-windows-2): New functions.
9269         (balance-windows): Rewrite in terms of window tree functions,
9270         balance-windows-1 and balance-windows-2.
9271         (bw-adjust-window): Remove.
9272         (balance-windows-area-adjust): New function with functionality of
9273         bw-adjust-window but using resize-window.
9274         (set-window-text-height): Rewrite doc-string.
9275         Use normalize-live-window and resize-window.
9276         (enlarge-window-horizontally, shrink-window-horizontally):
9277         Rename argument to DELTA.
9278         (window-buffer-height): New function.
9279         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9280         Rewrite using new window resize routines.
9281         (kill-buffer-and-window, mouse-autoselect-window-select):
9282         Use ignore-errors instead of condition-case.
9283         (quit-window): Call delete-frame instead of delete-windows-on
9284         for the only buffer on frame.
9286 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9288         * loadup.el (top-level): Load window before files for the sake
9289         of replace-buffer-in-windows.
9291         * files.el (read-buffer-to-switch)
9292         (switch-to-buffer-other-window)
9293         (switch-to-buffer-other-frame, display-buffer-other-frame):
9294         Move to window.el.
9296         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9297         (previous-buffer): Move to window.el.
9299         * bindings.el (unbury-buffer): Move to window.el.
9301         * window.el (delete-other-windows-vertically): Move after
9302         definition of delete-other-windows.
9303         (other-window, delete-windows-on, replace-buffer-in-windows):
9304         Move here from window.c.
9305         (record-window-buffer, unrecord-window-buffer)
9306         (set-window-buffer-start-and-point, switch-to-prev-buffer)
9307         (switch-to-next-buffer): New functions.
9308         (get-next-valid-buffer, last-buffer, next-buffer): Move here
9309         from simple.el.  Call switch-to-next-buffer.
9310         (previous-buffer): Move here from simple.el.
9311         Call switch-to-prev-buffer.
9312         (bury-buffer): Move here from buffer.c.  Switch to previous
9313         buffer when window cannot be deleted.
9314         (unbury-buffer): Move here from bindings.el.
9315         (ctl-x-map): Move binding for other-window from window.c to
9316         here.
9317         (read-buffer-to-switch, switch-to-buffer-other-window)
9318         (switch-to-buffer-other-frame): Move here from files.el.
9319         (normalize-buffer-to-switch-to): New functions.
9320         (switch-to-buffer): Move here from buffer.c.
9321         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9323 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9325         * window.el (window-min-height, window-min-width): Move here
9326         from window.c.  Add defcustoms and rewrite doc-strings.
9327         (resize-mini-window, resize-window): New functions.
9328         (adjust-window-trailing-edge, enlarge-window, shrink-window):
9329         Move here from window.c.
9330         (maximize-window, minimize-window): New functions.
9331         (delete-window, delete-other-windows, split-window): Move here
9332         from window.c.
9333         (window-split-min-size): New function.
9334         (split-window-keep-point): Mention split-window-above-each-other
9335         instead of split-window-vertically.
9336         (split-window-above-each-other, split-window-vertically):
9337         Rename split-window-vertically to split-window-above-each-other
9338         and provide defalias for old definition.
9339         (split-window-side-by-side, split-window-horizontally):
9340         Rename split-window-horizontally to split-window-side-by-side
9341         and provide defalias for the old definition.
9342         (ctl-x-map): Move bindings for delete-window,
9343         delete-other-windows and enlarge-window here from window.c.
9344         Replace bindings for split-window-vertically and
9345         split-window-horizontally by bindings for
9346         split-window-above-each-other and split-window-side-by-side.
9348         * cus-start.el (all): Remove entries for window-min-height and
9349         window-min-width.  Add entries for window-splits and
9350         window-nest.
9352 2011-06-09  Glenn Morris  <rgm@gnu.org>
9354         * calendar/appt.el (appt-mode-line): New function.
9355         (appt-check, appt-disp-window): Use it.
9357         * files.el (hack-one-local-variable-eval-safep):
9358         Allow minor-modes with explicit +/-1 arguments.
9360 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
9362         * term/xterm.el (xterm): Add defgroup.
9363         (xterm-extra-capabilities): Add defcustom to supply known xterm
9364         capabilities, skip querying them, or query them (default).
9365         (terminal-init-xterm): Use it.
9366         (terminal-init-xterm-modify-other-keys): New function to set up
9367         modifyOtherKeys support to simplify `terminal-init-xterm'.
9369 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
9371         * window.el (resize-window-reset, resize-window-reset-1)
9372         (resize-subwindows-skip-p, resize-subwindows-normal)
9373         (resize-subwindows, resize-other-windows, resize-this-window)
9374         (resize-root-window, resize-root-window-vertically)
9375         (window-deletable-p, window-or-subwindow-p)
9376         (frame-root-window-p): New functions.
9378 2011-06-09  Glenn Morris  <rgm@gnu.org>
9380         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9381         (ange-ftp-get-files): Use it.
9383 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9385         * mail/sendmail.el (mail-recover-1, mail-recover):
9386         * files.el (recover-file, recover-session):
9387         Handle dired-listing-switches not being just a single short option.
9389 2011-06-09  Glenn Morris  <rgm@gnu.org>
9391         * calendar/appt.el (appt-display-message, appt-disp-window):
9392         Handle lists of appointments.
9394 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9396         * window.el (one-window-p): Move down in code.
9397         Rewrite doc-string.
9398         (window-current-scroll-bars): Rewrite doc-string.
9399         Normalize live window argument.
9400         (walk-windows, get-window-with-predicate, count-windows):
9401         Rewrite doc-string.  Use window-list-1.
9402         (window-in-direction-2, window-in-direction, get-mru-window):
9403         New functions.
9405 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
9407         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9408         Doc fix (Bug#8713).
9410 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
9412         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9414 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
9416         * loadhist.el (unload-feature-special-hooks):
9417         Add `comint-output-filter-functions'.
9419 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
9421         * calendar/appt.el (appt-check): Move some initializations into the let.
9423 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9425         * window.el (window-height): Defalias to window-total-height.
9426         (window-width): Defalias to window-body-width.
9428 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
9430         * image-mode.el (image-toggle-animation): New command.
9431         (image-mode-map): Bind it to RET.
9432         (image-mode): Update message.
9433         (image-toggle-display-image): Avoid a spurious cache flush.
9434         (image-transform-rotation): Doc fix.
9435         (image-transform-properties): Return quickly in the normal case.
9436         (image-animate-loop): Rename from image-animate-max-time.
9438         * image.el (image-animate-max-time): Move to image-mode.el.
9439         (create-animated-image): Remove unnecessary function.
9440         (image-animate): Rename from image-animate-start.  New arg.
9441         (image-animate-stop): Remove; just use image-animate-timer.
9442         (image-animate-timer): Use car-safe.
9443         (image-animate-timeout): Rename argument.
9445 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
9447         * window.el (get-lru-window, get-largest-window): Move here from
9448         window.c.  Rename first argument to ALL-FRAMES.
9449         Rephrase doc-strings.
9450         (get-buffer-window-list): Rewrite using window-list-1.
9451         Rephrase doc-string.
9452         (window-safe-min-height, window-safe-min-width): New constants.
9453         (window-size-ignore, window-min-size, window-min-size-1)
9454         (window-sizable, window-sizable-p, window-size-fixed-1)
9455         (window-size-fixed-p, window-min-delta-1, window-min-delta)
9456         (window-max-delta-1, window-max-delta, window-resizable)
9457         (window-resizable-p, window-total-height, window-total-width)
9458         (window-body-width): New functions.
9459         (window-full-height-p, window-full-width-p): Rewrite using
9460         window-total-size.
9461         (window-body-height): Rewrite using window-body-size.
9463 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
9465         * window.el (window-right, window-left, window-child)
9466         (window-child-count, window-last-child, window-any-p)
9467         (normalize-live-buffer, normalize-live-frame)
9468         (normalize-any-window, normalize-live-window)
9469         (window-iso-combination-p, window-iso-combined-p)
9470         (window-iso-combinations)
9471         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9472         (windows-with-parameter, window-with-parameter)
9473         (window-atom-root, make-window-atom, window-atom-check-1)
9474         (window-atom-check, window-side-check, window-check):
9475         New functions.
9476         (ignore-window-parameters, window-sides, window-sides-vertical)
9477         (window-sides-slots): New variables.
9478         (window-size-fixed): Move down in code.  Minor doc-string fix.
9480 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
9482         * comint.el (comint-dynamic-complete-as-filename)
9483         (comint-dynamic-complete-filename): Correctly call
9484         completion-in-region.
9486 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9488         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9489         in last change.
9491 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9493         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9494         (rcirc): Use it to prompt for encryption.
9496 2011-06-05  Roland Winkler  <winkler@gnu.org>
9498         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9499         (bibtex-search-entries): New command bound to C-c C-a.
9500         (bibtex-display-entries): New function.
9502 2011-06-05  Roland Winkler  <winkler@gnu.org>
9504         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9505         (bibtex-insert-kill): After yanking insert newline if necessary.
9506         (bibtex-initialize): Call bibtex-string-files-init only once.
9507         (bibtex-mode): Do not call easy-menu-add.
9508         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9509         (bibtex-yank): Set arg properly if nil.
9511 2011-06-05  Roland Winkler  <winkler@gnu.org>
9513         * textmodes/bibtex.el (bibtex-search-entry-globally):
9514         New variable.
9515         (bibtex-search-entry): Use it.
9517 2011-06-05  Roland Winkler  <winkler@gnu.org>
9519         * textmodes/bibtex.el (bibtex-entry-format): New option
9520         sort-fields.
9521         (bibtex-format-entry, bibtex-reformat): Honor this option.
9522         (bibtex-parse-entry): Return fields in proper order.
9524 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
9526         * doc-view.el (doc-view-remove-if): Move computation of result out
9527         of `dolist' to silence misleading lexical-binding warning.
9529 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
9531         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9532         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9534 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9536         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9537         "SunOS 5.10".
9539 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9541         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9542         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9543         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9544         (tramp-parse-putty):
9545         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9546         (tramp-completion-function-alist-ssh)
9547         (tramp-completion-function-alist-telnet)
9548         (tramp-completion-function-alist-su)
9549         (tramp-completion-function-alist-putty): Set `tramp-autoload'
9550         cookie.
9552         * net/tramp-ftp.el:
9553         * net/tramp-sh.el:
9554         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9555         load "tramp.el" `tramp-set-completion-function'.
9557 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * shell.el: Require and use pcomplete.
9560         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9561         (shell-completion-vars): Set pcomplete-default-completion-function.
9563 2011-06-04  Deniz Dogan  <deniz@dogan.se>
9565         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9566         `memq' (Bug#8799).
9568 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9570         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9572 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
9574         * bs.el (bs--mark-unmark, bs--nth-wrapper):
9575         * mpc.el (mpc-select-extend, mpc-songpointer-context):
9576         * vc/log-view.el (log-view-beginning-of-defun):
9577         * vc/smerge-mode.el (smerge-apply-resolution-patch)
9578         (smerge-refine-forward, smerge-refine-chopup-region):
9579         Silence warning for unused `dotimes' counter variables.
9581 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9583         * net/tramp.el (tramp-with-progress-reporter): Rename from
9584         with-progress-reporter.  Use `declare'.
9585         * net/tramp-smb.el:
9586         * net/tramp-sh.el:
9587         * net/tramp-gvfs.el: Update all uses.
9589 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
9591         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9592         buffer isn't killed before making it current.
9594 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9596         Silence various byte-compiler warnings.
9597         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9598         `access-type' and new obsolescence format.
9599         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9600         new format.
9601         (byte-compile-check-variable): New `access-type' argument.
9602         Only warn if the access-type is obsolete.
9603         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9604         (byte-compile-variable-set): Adjust callers.
9605         * help-fns.el (describe-variable): Adjust to new obsolescence format.
9606         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9607         setting it as obsolete.
9608         * simple.el (minibuffer-completing-symbol):
9609         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9610         access as obsolete.
9611         * minibuffer.el (minibuffer-completing-file-name): Don't make it
9612         obsolete yet.
9613         * international/quail.el (quail-mouse-choose-completion): Remove unused
9614         code referring to obsolete var.
9615         (quail-choose-completion-string): Remove.
9616         * server.el (server-clients-with, server-kill-buffer-query-function)
9617         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9618         * proced.el (proced-send-signal):
9619         * emacs-lisp/lisp.el (lisp-complete-symbol):
9620         Replace completion-annotate-function with completion-extra-properties.
9622 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9624         * simple.el (goto-line): Use read-number.
9625         (overriding-map-is-bound): Remove.
9626         (saved-overriding-map): Change default.
9627         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9628         Take the map as argument.
9629         (universal-argument, negative-argument, digit-argument): Use it.
9630         (restore-overriding-map): Adjust.
9631         (do-auto-fill): Use fill-forward-paragraph.
9632         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9634         * minibuffer.el (minibuffer-inactive-mode-map): New var.
9635         (minibuffer-inactive-mode): New major mode.
9636         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9637         the *Messages* buffer" hack.
9638         (mouse-popup-menubar): Don't burp if the event is a normal key.
9640         Miscellaneous tweaks.
9641         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9642         lexical scoping as in subr.el's dolist and dotimes.
9643         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9644         Silence compiler warning.
9645         * thingatpt.el (forward-whitespace): Trivial coding style fix.
9646         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9647         * international/ccl.el (ccl-compile): Trivial simplification.
9648         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9649         * emacs-lisp/testcover.el (testcover-end): Remove spurious
9650         `printflag' argument.
9651         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9652         Purecopy the whole obsolescence data.
9654 2011-06-01  Leo Liu  <sdl.web@gmail.com>
9656         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9657         improve doc-string as suggested by Marco Pessotto
9658         <melmothx@gmail.com>.
9659         (rcirc-print): Fix last change.
9661 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9663         * minibuffer.el (complete-with-action): Return nil for the metadata and
9664         boundaries of non-functional tables.
9665         (completion-table-dynamic): Return nil for the metadata.
9666         (completion-table-with-terminator): Add default case, using
9667         complete-with-action.
9668         (completion--metadata): New function.
9669         (completion-all-sorted-completions, minibuffer-completion-help): Use it
9670         to try and avoid pathological performance problems.
9671         (completion--embedded-envvar-table): Return `category' metadata.
9673 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9675         * subr.el (process-alive-p): New tiny convenience function.
9677 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9679         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9680         content but also its previous major mode.
9682 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
9684         * emacs-lisp/debug.el (debug): Restore the previous content of the
9685         *Backtrace* buffer when we exit with C-M-c.
9687 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9689         * minibuffer.el: Add metadata method to completion tables.
9690         (completion-category-overrides): New defcustom.
9691         (completion-metadata, completion--field-metadata)
9692         (completion-metadata-get, completion--styles)
9693         (completion--cycle-threshold): New functions.
9694         (completion-try-completion, completion-all-completions):
9695         Add `metadata' argument to choose completion-styles.
9696         (completion--do-completion): Use metadata to choose cycling.
9697         (completion-all-sorted-completions): Use metadata for sorting.
9698         Remove :completion-cycle-penalty which is not needed any more.
9699         (completion--try-word-completion): Add `metadata' argument.
9700         (minibuffer-completion-help): Check metadata for annotation function
9701         and sorting.
9702         (completion-file-name-table): Return `category' metadata.
9703         (minibuffer-completing-file-name): Make obsolete.
9704         * simple.el (minibuffer-completing-symbol): Make obsolete.
9705         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9706         completion-try-completion.
9708 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9710         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9712 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9714         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9715         (rcirc-print): Decode all incoming messages (bug#8744).
9716         (rcirc-decode-coding-system): Allow value nil for automatic coding
9717         system detection.
9719 2011-06-01  Glenn Morris  <rgm@gnu.org>
9721         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9723 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9725         * image.el (image-animate-max-time): Allow nil and t values.
9726         Default to nil.
9727         (create-animated-image): Doc fix.
9728         (image-animate-start): Remove second arg; just use
9729         image-animate-max-time.
9730         (image-animate-timeout): Doc fix.  Args changed.
9732         * image-mode.el (image-toggle-display-image): Ensure that the
9733         image spec passed to the animate timer is the same object as in
9734         the buffer's display property (Bug#6981).
9735         (image-transform-properties): Doc fix.
9737         * image.el (image-animate-max-time): Default to nil.
9739 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9741         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9742         entire buffer list (Bug#8184).
9744 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9746         * image.el (imagemagick-types-inhibit)
9747         (imagemagick-register-types): Doc fix.
9749 2011-05-29  Deniz Dogan  <deniz@dogan.se>
9751         * net/rcirc.el (rcirc): Use the user's stored encryption method by
9752         default.
9754 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9756         * select.el: Don't perform clipboard-manager saving in hooks;
9757         leave the hooks empty.
9759 2011-05-28  Leo Liu  <sdl.web@gmail.com>
9761         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9762         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9763         (occur-edit-mode): New major mode (Bug#8463).
9764         (occur-after-change-function): New function.
9765         (occur-engine): Give Occur tags a read-only property.
9767 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9769         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9771 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9773         * bindings.el (help-echo): Make the initial non-indicator dash
9774         empty on graphical terminals (Bug#7295).
9776         * files.el (auto-mode-alist): Move config rule after the
9777         in-stripping one (Bug#8547).
9779         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9781         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9782         setting (Bug#8740).
9784 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9786         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9787         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9788         (Bug#8539).
9790 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9792         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9794 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9796         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9797         (hs-hide-block-at-point, hs-find-block-beginning)
9798         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9799         (Bug#8279).
9801 2011-05-28  Glenn Morris  <rgm@gnu.org>
9803         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9805 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9807         * help-fns.el (describe-function-1): If the function is a derived
9808         major mode, print the parent mode.
9810         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9811         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9813 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9815         * minibuffer.el (completion--capf-wrapper): Check applicability before
9816         returning non-nil for non-exclusive completion data.
9817         * progmodes/etags.el (tags-completion-at-point-function):
9818         * info-look.el (info-lookup-completions-at-point): Mark as
9819         non-exclusive.
9820         (info-complete): Adjust accordingly.
9822         * info-look.el: Convert to lexical-binding and completion-at-point.
9823         (info-lookup-completions-at-point): New function.
9824         (info-complete): Use it and completion-in-region.
9826 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9828         * isearch.el: Let M-e start with point at the first mismatched char.
9829         (isearch-fail-pos): New function.
9830         (isearch-edit-string): Use it.
9832 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9834         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9836 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9838         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9839         traversal functions for avl-trees.
9840         (avl-tree--stack): New struct.
9841         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9842         (avl-tree-enter): Add optional `updatefun' arg.
9843         (avl-tree--do-enter): Add optional `updatefun' arg.
9844         Change return value.
9845         (avl-tree-delete): Add optional `test' and `nilflag' args.
9846         (avl-tree--do-delete): Add `test' and `nilflag' args.
9847         Change return value.
9848         (avl-tree-member): Add optional `nilflag'
9849         (avl-tree-member-p): New function.
9850         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9851         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9852         (avl-tree-stack-empty-p): New functions.
9854         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9855         avl-tree--del-balance1 and make it work both ways.
9856         (avl-tree--del-balance2): Remove.
9857         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9858         make it work both ways.
9859         (avl-tree--enter-balance2): Remove.
9860         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9861         New macros.
9862         (avl-tree--mapc, avl-tree-map): Add direction argument.
9864 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9866         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9868 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9870         * select.el: Support clipboard managers with built-in function
9871         x-clipboard-manager-save, via delete-frame-functions and
9872         kill-emacs-hook.
9873         (xselect-convert-to-targets): Add MULTIPLE target to list.
9874         (xselect-convert-to-save-targets): New function.
9876 2011-05-27  Kenichi Handa  <handa@m17n.org>
9878         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9879         let-binding rfc2047-encode-encoded-words to nil.
9881 2011-05-27  Glenn Morris  <rgm@gnu.org>
9883         * mail/emacsbug.el: Don't require url-util.
9885         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9887         * files.el (set-auto-mode):
9888         Also respect mode: entries at the end of the file.  (Bug#8586)
9890 2011-05-26  Glenn Morris  <rgm@gnu.org>
9892         * files.el (hack-local-variables-prop-line, hack-local-variables):
9893         Downcase mode names, as seems to be traditional.
9894         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9896         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9897         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9899 2011-05-25  Julien Danjou  <julien@danjou.info>
9901         * textmodes/rst.el (rst-define-level-faces): Do not define face
9902         symbol if it is already defined.
9904 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9906         * play/5x5.el (5x5-new-game, 5x5-randomize):
9907         Reset 5x5-solver-output to nil when a new grid is cast.
9908         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9909         these debugging traces, as defmacro breaks the compiled code.
9911 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9913         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9915 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9917         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9918         (vc-bzr-sha1): Adapt.
9920         * sha1.el: Remove.  Function `sha1' is now builtin.
9922         * bindings.el: Provide sha1 feature.
9924 2011-05-24  Kenichi Handa  <handa@m17n.org>
9926         * mail/sendmail.el: Require `rfc2047'.
9927         (mail-insert-from-field): Do not perform RFC2047 encoding.
9928         (mail-encode-header): New function.
9929         (sendmail-send-it): Set buffer-file-coding-system of the work
9930         buffer to the return value of select-message-coding-system.
9931         Call mail-encode-header.
9933         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9935 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9937         * mail/supercite.el (sc-default-cite-frame):
9938         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9940 2011-05-24  Glenn Morris  <rgm@gnu.org>
9942         * progmodes/python.el (brm-menu): Declare.
9944         * emulation/viper.el (viper-set-hooks): Declare.
9946         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9947         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9948         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9949         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9950         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9951         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9953 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9955         Add an :exit-function for completion-at-point.
9957         * minibuffer.el (completion--done): New fun.
9958         (completion--do-completion): Use it.  New arg `expect-exact'.
9959         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9960         since completion--do-completion does it for us now.
9961         (minibuffer-force-complete): Use completion--done and
9962         completion--replace.  Handle sole-completion case with more care.
9963         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9964         (completion-extra-properties): New var.
9965         (completion-annotate-function): Make obsolete.
9966         (minibuffer-completion-help): Adjust accordingly.
9967         Use completion-list-insert-choice-function.
9968         (completion-at-point, completion-help-at-point):
9969         Bind completion-extra-properties.
9970         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9971         * simple.el (completion-list-insert-choice-function): New var.
9972         (completion-setup-function): Preserve it.
9973         (choose-completion): Pay attention to it, shuffle the code a bit.
9974         (choose-completion-string): New arg `insert-function'.
9976         * textmodes/bibtex.el: Convert to lexical binding.
9977         (bibtex-mode-map): Use completion-at-point.
9978         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9979         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9980         (bibtex-complete): Define as obsolete alias.
9981         (bibtex-complete-internal): Remove.
9982         (bibtex-format-entry): Remove unused sub-group in regexp.
9983         * shell.el (shell--command-completion-data)
9984         (shell-environment-variable-completion):
9985         * pcomplete.el (pcomplete-completions-at-point):
9986         * comint.el (comint--complete-file-name-data): Use :exit-function
9987         instead of completion-table-with-terminator so it also works for
9988         choose-completion.
9990 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9992         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9994         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9995         (bug#8710).
9997         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9999 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10001         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10002         customization variable and implement: If non-nil, auto-fill will
10003         be inhibited while on topic's header line.
10005 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10007         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10008         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10009         always have a solution in grid size = 5 cases.
10010         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10011         (5x5-solver-output, 5x5-log-buffer): New vars.
10012         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10013         Make these variables buffer local to achieve 5x5 multi-session-ness.
10014         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10015         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10016         (5x5-solve-suggest): New funs.
10017         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10018         randomize a grid so that we ensure that there is always a solution.
10019         (5x5-make-random-grid): Allow other movement than flipping.
10021 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10023         * emacs-lisp/advice.el (ad-read-advised-function):
10024         Use `function-called-at-point' as the default, if it has
10025         advice and passes PREDICATE.
10027 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10029         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10030         byte-compile-lambda if it's actually a lambda.
10032         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10033         Fix function quoting.  Use backquote better.
10035 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10037         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10038         matching (Bug#8516).
10040 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10042         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10043         different face (Bug#8178).
10045 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10047         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10048         defface (Bug#8144).
10050 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10052         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10053         funcall as well (bug#8712).  Warn when performing those conversions.
10054         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10056         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10058 2011-05-22  Glenn Morris  <rgm@gnu.org>
10060         * files.el (hack-local-variables-prop-line): Small simplifications.
10061         (hack-local-variables, hack-local-variables-prop-line):
10062         If MODE-ONLY, return the mode, rather than just `t'.
10064 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10066         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10068 2011-05-21  Glenn Morris  <rgm@gnu.org>
10070         * files.el (hack-local-variables-prop-line, hack-local-variables):
10071         If only interested in the mode, don't bother doing the other stuff.
10073         * image-mode.el (image-after-revert-hook):
10074         Redraw all frames on which the image is visible.  (Bug#8567)
10076         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10078         * wid-edit.el (widget-checklist-match-inline):
10079         Fix 2011-04-19 change.  (Bug#8649)
10081 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10084         Also allow singlespace after single-letter capitals followed by a dot.
10086         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10087         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10089 2011-05-20  Nix  <nix@esperi.org.uk>
10091         * files.el (basic-save-buffer-2):
10092         Fix handling of break-hardlink-on-save with non-existent files.
10094 2011-05-19  Deniz Dogan  <deniz@dogan.se>
10096         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10097         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10099 2011-05-19  Glenn Morris  <rgm@gnu.org>
10101         * progmodes/f90.el (f90-type-def-re):
10102         Handle "type, bind(c)".  (Bug#8691)
10104         * emacs-lisp/autoload.el (batch-update-autoloads):
10105         Set autoload-excludes by parsing loadup.el rather than Makefiles.
10107 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
10109         * net/tramp.el (tramp-process-actions): Set "first-password-request"
10110         property for the correct connection in case of multihops.
10112 2011-05-18  Glenn Morris  <rgm@gnu.org>
10114         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10115         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10117         Rationalize calendar handling of day and month abbrev-arrays.
10118         * calendar/calendar.el (calendar-customized-p): New function.
10119         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10120         (calendar-day-name-array, calendar-month-name-array): Doc fix.
10121         Add :set function.
10122         (calendar-abbrev-length, calendar-day-abbrev-array)
10123         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10124         (calendar-day-abbrev-array, calendar-month-abbrev-array):
10125         Elements may no longer be nil.
10126         (calendar-day-name, calendar-month-name):
10127         Update for changed nature of abbrev arrays.
10128         * calendar/diary-lib.el (diary-name-pattern):
10129         Update for changed nature of abbrev arrays.
10130         (diary-mark-entries-1): Update calendar-make-alist calls.
10131         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10132         * calendar/cal-html.el (cal-html-day-abbrev-array):
10133         Simply inherit from calendar-day-abbrev-array.
10135 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10137         * progmodes/grep.el (grep-mode): Disable default
10138         compilation-directory-matcher setting (bug#8684).
10140 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
10142         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10143         instead of "head" and "tail".  There were problems with SunOS 5.9,
10144         and it performs better.
10146 2011-05-17  Glenn Morris  <rgm@gnu.org>
10148         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10150         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10151         Replace obsolete function.
10153         * shell.el (pcomplete-parse-arguments-function): Declare.
10155         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10156         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10157         (appt-check): Doc fixes.
10158         (appt-disp-window-function, appt-delete-window-function):
10159         Remove needless special case in custom :type.
10160         (appt-display-count): Default to 0, not nil.
10161         (appt-check): Reset appt-display-count to 0, not nil.
10163 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
10165         * progmodes/python.el (python-font-lock-keywords):
10166         Add the Python 3.X keyword "nonlocal" (bug#8639).
10168 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10170         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10172 2011-05-16  Kevin Ryde  <user42@zip.com.au>
10174         * info-look.el (makefile-automake-mode): New setups, looking in
10175         automake manual, then makefile-mode.
10176         (makefile-mode): Remove automake manual, have it just in
10177         makefile-automake-mode since there's various things different or
10178         not relevant to plain make.
10179         (makefile-mode): Remove "other-modes" non-existent automake-mode,
10180         believe a hypothetical automake-mode would go to makefile-mode,
10181         not the other way around.
10183 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
10185         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10186         hunk-end tags (Bug#8672).
10188         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10189         vc-annotate-show-diff-revision-at-line (Bug#8671).
10191 2011-05-14  Glenn Morris  <rgm@gnu.org>
10193         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10194         in the middle of an existing one with multiple authors.  (Bug#8645)
10195         (change-log-font-lock-keywords): Also handle multiple author lines
10196         with leading tabs.  (Bug#8644)
10198         * calendar/appt.el (appt-check): Rename some local variables.
10199         Some simplification/reordering.
10201         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10202         (feedmail-sendmail-f-doesnt-sell-me-out)
10203         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10204         (feedmail-debug-sit-for, feedmail-queue-express-hook)
10205         (feedmail-queue-runner-message-sender): Set :version.
10206         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10207         (bbdb-dwim-net-address, vm-mail): Declare.
10208         (feedmail-binmail-gnulinuxish-template):
10209         Rename from feedmail-binmail-linuxish-template.
10210         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10211         Use insert-buffer-substring.
10213 2011-05-14  Bill Carpenter  <bill@carpenter.org>
10215         * mail/feedmail.el (feedmail-patch-level): Increase.
10216         (feedmail-debug): New custom group.
10217         (feedmail-confirm-outgoing-timeout)
10218         (feedmail-sendmail-f-doesnt-sell-me-out)
10219         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10220         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10221         (feedmail-sender-line, feedmail-from-line)
10222         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10223         (feedmail-spray-this-address)
10224         (feedmail-spray-address-fiddle-plex-list)
10225         (feedmail-queue-use-send-time-for-date)
10226         (feedmail-queue-use-send-time-for-message-id)
10227         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10228         (feedmail-buffer-eating-function):
10229         Doc fixes.
10230         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10231         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10232         (feedmail-message-action-scroll-down): New functions.
10233         (feedmail-queue-directory, feedmail-queue-draft-directory):
10234         Use expand-file-name.
10235         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10236         Remove C-v help entry.
10237         (feedmail-queue-buffer-file-name): New variable.
10238         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10239         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10240         (feedmail-message-action-send-strong, feedmail-message-action-edit)
10241         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10242         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10243         (feedmail-message-action-toggle-spray)
10244         (feedmail-run-the-queue-no-prompts)
10245         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10246         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10247         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10248         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10249         (feedmail-envelope-deducer, feedmail-fiddle-from)
10250         (feedmail-fiddle-sender, feedmail-default-date-generator)
10251         (feedmail-fiddle-date, feedmail-fiddle-message-id)
10252         (feedmail-fiddle-spray-address)
10253         (feedmail-fiddle-list-of-spray-fiddle-plexes)
10254         (feedmail-fiddle-list-of-fiddle-plexes)
10255         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10256         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10257         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10258         Change default.  Doc fix.
10259         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10260         (feedmail-binmail-linuxish-template): New constant.
10261         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
10262         Respect feedmail-sendmail-f-doesnt-sell-me-out.
10263         (feedmail-send-it): Add debug call.
10264         Use feedmail-queue-buffer-file-name, and
10265         feedmail-send-it-immediately-wrapper.
10266         (feedmail-message-action-send): Add debug call.
10267         Use feedmail-send-it-immediately-wrapper.
10268         (feedmail-queue-express-to-queue): Add debug call.
10269         Run feedmail-queue-express-hook.
10270         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
10271         (feedmail-message-action-help-blat):
10272         Rename from feedmail-queue-send-edit-prompt-help-first.
10273         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
10274         Check line-endings.  Handle errors better.
10275         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10276         Doc fix.  Add debug call.
10277         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
10278         Use feedmail-queue-send-edit-prompt-inner.
10279         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10280         (feedmail-queue-send-edit-prompt-inner): New function, extracted
10281         from feedmail-queue-send-edit-prompt.
10282         (feedmail-queue-send-edit-prompt-help)
10283         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10284         (feedmail-tidy-up-slug): Add debug call.
10285         Respect feedmail-queue-slug-suspect-regexp.
10286         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10287         (feedmail-dump-message-to-queue): Add debug call.
10288         Expand queue-directory.
10289         (feedmail-dump-message-to-queue): Change message slightly.
10290         Use feedmail-say-chatter.
10291         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
10292         (feedmail-send-it-immediately-wrapper): New function.
10293         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
10294         Insert empty string rather than newline.  Handle full-frame case.
10295         Use catch/throw.  Use feedmail-say-chatter.
10296         (feedmail-fiddle-from): Try mail-host-address.
10297         (feedmail-default-message-id-generator): Doc fix.
10298         Bind system-time-locale.  Handle missing end.
10299         (feedmail-fiddle-x-mailer): Add debug call.
10300         Handle feedmail-x-mailer-line being nil.
10301         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10302         Add debug call.  Use buffer-substring-no-properties.
10303         (feedmail-say-debug, feedmail-say-chatter): New functions.
10304         (feedmail-find-eoh): Give an explicit error.
10306 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
10308         * net/newst-treeview.el (newsticker-treeview-face): Change default
10309         family from helvetica to sans.
10310         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10311         etc/images/newsticker.
10313         * net/newst-reader.el (newsticker-feed-face): Change default
10314         family from helvetica to sans.
10316         * net/newst-plainview.el (newsticker-new-item-face)
10317         (newsticker-old-item-face, newsticker-immortal-item-face)
10318         (newsticker-obsolete-item-face, newsticker-date-face)
10319         (newsticker-statistics-face): Change default family from
10320         helvetica to sans.
10321         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10322         etc/images/newsticker.
10324         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10325         (newsticker--process-auto-mark-filter-match): : Tell user about
10326         auto-marking.
10328 2011-05-13  Didier Verna  <didier@xemacs.org>
10330         Common Lisp indentation improvements on defmethod and lambda-lists.
10331         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10332         TODO entries.
10333         (lisp-lambda-list-keyword-parameter-indentation)
10334         (lisp-lambda-list-keyword-parameter-alignment)
10335         (lisp-lambda-list-keyword-alignment): New customizable user options.
10336         (lisp-indent-defun-method): Improve docstring.
10337         (extended-loop-p): Fix comment.
10338         (lisp-indent-lambda-list-keywords-regexp): New variable.
10339         (lisp-indent-lambda-list): New function.
10340         (lisp-indent-259): Use it.
10341         (lisp-indent-defmethod): Support for more than one
10342         method qualifier and properly indent methods lambda-lists.
10343         (defgeneric): Provide a missing common-lisp-indent-function property.
10345 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10347         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10348         bounds for the empty string (bug#8667).
10350 2011-05-13  Glenn Morris  <rgm@gnu.org>
10352         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10354         * mail/sendmail.el (sendmail-program): Try executable-find first.
10355         (sendmail-send-it): `sendmail-program' cannot be unbound.
10357         * calendar/appt.el (appt-make-list): Simplify.
10358         (appt-time-msg-list): Doc fix.
10359         (appt-check): Change mode-line message at the time of the appointment.
10361 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10363         * progmodes/ld-script.el (ld-script-keywords)
10364         (ld-script-builtins): Update keywords list.
10366 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10368         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10370         * shell.el (shell-completion-vars): New function.
10371         (shell-mode):
10372         * simple.el (read-shell-command): Use it.
10373         (blink-matching-open): No need for " [...]" in minibuffer-message.
10375 2011-05-12  Glenn Morris  <rgm@gnu.org>
10377         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10378         (appt-check): Simplify.
10380 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
10382         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10383         literal "/dev/null".
10385 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10387         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10388         Fix typo.
10390 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
10392         * progmodes/which-func.el (which-function):
10393         Use add-log-current-defun instead of add-log-current-defun-function,
10394         which might not be defined (Bug#8260).
10396 2011-05-12  Glenn Morris  <rgm@gnu.org>
10398         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10399         Let byte-compile-initial-macro-environment always take precedence.
10401 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10403         * net/rcirc.el: Add support for SSL/TLS connections.
10404         (rcirc-server-alist): New field `encryption'.
10405         (rcirc): Check `encryption' settings.
10406         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
10407         Merge make-local-variable into `set'.
10408         (rcirc--connection-open-p): New function.
10409         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10410         the process is not a network process (e.g. running gnutls-cli).
10411         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10412         Make rcirc-(en|de)code-coding-system local here.
10413         (rcirc-mode): Merge make-local-variable into `set'.
10414         (rcirc-parent-buffer): Make permanent buffer-local.
10415         (rcirc-multiline-minor-mode): Don't do it here.
10416         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10417         there's no server buffer.
10419 2011-05-11  Glenn Morris  <rgm@gnu.org>
10421         * newcomment.el (comment-kill): Prefix "unused" local.
10423         * term/w32console.el (get-screen-color): Declare.
10425         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10426         Handle symbol elements of byte-compile-initial-macro-environment.
10428 2011-05-10  Leo Liu  <sdl.web@gmail.com>
10430         * bookmark.el (bookmark-bmenu-mode-map):
10431         Bind bookmark-bmenu-search to `/'.
10433         * mail/footnote.el: Convert to utf-8 encoding.
10434         (footnote-unicode-string, footnote-unicode-regexp): New variable.
10435         (Footnote-unicode): New function.
10436         (footnote-style-alist): Add unicode style to the list.
10437         (footnote-style): Doc fix.
10439 2011-05-10  Jim Meyering  <meyering@redhat.com>
10441         Fix doubled-word typos.
10442         * international/quail.el (quail-insert-kbd-layout): and and -> and
10443         * kermit.el: and and -> and
10444         * net/ldap.el (ldap-search-internal): to to -> to
10445         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10446         * progmodes/js.el (js-mode): and and -> and
10447         * textmodes/artist.el (artist-move-to-xy): at at -> at
10448         (artist-draw-region-trim-line-endings): if if -> if
10449         And Safetyc -> Safety.
10450         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10452 2011-05-10  Glenn Morris  <rgm@gnu.org>
10453             Stefan Monnier  <monnier@iro.umontreal.ca>
10455         * files.el (hack-one-local-variable-eval-safep):
10456         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
10458 2011-05-10  Glenn Morris  <rgm@gnu.org>
10460         * calendar/diary-lib.el (diary-list-entries-hook)
10461         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10462         (diary-nongregorian-marking-hook, diary-list-entries)
10463         (diary-include-other-diary-files, diary-mark-entries)
10464         (diary-mark-included-diary-files): Doc fixes.
10466 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10468         * misc.el: Require tabulated-list.el during compilation.
10470 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10472         * progmodes/compile.el (compilation-start):
10473         Run compilation-filter-hook for the async case too.
10474         (compilation-filter-hook): Doc fix.
10476 2011-05-09  Deniz Dogan  <deniz@dogan.se>
10478         * wdired.el: Remove outdated installation comment.  Fix usage
10479         comment.
10481 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10483         * misc.el: Implement new command `list-dynamic-libraries'.
10484         (list-dynamic-libraries--loaded-only-p): New variable.
10485         (list-dynamic-libraries--refresh): New function.
10486         (list-dynamic-libraries): New command.
10488 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10490         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10491         Fix the ant regexp to handle end-line and end-column info from jikes.
10492         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
10493         higher priority to avoid clobbering by gnu.
10495 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10497         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10498         if the face has existing theme settings (Bug#8454).
10500 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
10502         * progmodes/perl-mode.el (perl-imenu-generic-expression):
10503         Only match variables declared via `my' or `our' (Bug#8261).
10505         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10506         special file names `.' and `..' (Bug#8259).
10508 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10510         * progmodes/grep.el (grep-mode-font-lock-keywords):
10511         Remove buffer-changing entries.
10512         (grep-filter): New function.
10513         (grep-mode): Add it to compilation-filter-hook.
10515         * progmodes/compile.el (compilation-filter-hook)
10516         (compilation-filter-start): New defvars.
10517         (compilation-filter): Call compilation-filter-hook prior to
10518         updating the process mark.
10520 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10524 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
10526         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10527         mailclient-send-it even if window-system is nil.  (Bug#8595)
10529         * term/w32console.el (terminal-init-w32console):
10530         Call get-screen-color and use its output to set the frame
10531         background-mode.  (Bug#8597)
10533 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10535         Make bytecomp.el understand that defmethod defines funs (bug#8631).
10536         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10537         New functions.
10538         (defgeneric, eieio--defmethod): Use them.
10539         (eieio-defgeneric): Remove.
10540         (defmethod): Call defgeneric in a way visible to the byte-compiler.
10542 2011-05-07  Glenn Morris  <rgm@gnu.org>
10544         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10545         Use let rather than let*.
10546         (timeclock-find-discrep): Remove unused local.
10548         * calendar/diary-lib.el (diary-comment-start): Doc fix.
10550         * calendar/appt.el (appt-time-msg-list): Doc fix.
10552 2011-05-06  Noah Friedman  <friedman@splode.com>
10554         * apropos.el (apropos-print-doc): Only use
10555         emacs-lisp-docstring-fill-column when it is bound to an integer,
10556         per that variable's documentation.
10558 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10560         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10561         and warnings are not silently discarded (e.g. use -d instead of -P).
10563 2011-05-06  Glenn Morris  <rgm@gnu.org>
10565         * calendar/appt.el (appt-message-warning-time): Doc fix.
10566         (appt-warning-time-regexp): New option.
10567         (appt-make-list): Respect appt-message-warning-time.
10569         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10570         New options.
10571         (diary-add-to-list): Strip comments from the displayed string.
10572         (diary-mode): Set comment-start and comment-end.
10574         * vc/diff-mode.el (smerge-refine-subst): Declare.
10575         (diff-refine-hunk): Don't require smerge-mode when compiling.
10577 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
10579         * simple.el (list-processes): Return nil as the docstring says.
10581 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10583         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10584         to "".
10585         (ange-ftp-write-region, ange-ftp-insert-file-contents)
10586         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10587         determining of binary transfer.  (Bug#7383)
10589 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10591         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10592         Fix port computation bug.  (Bug#8618)
10594 2011-05-05  Glenn Morris  <rgm@gnu.org>
10596         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10598         * simple.el (shell-dynamic-complete-functions)
10599         (comint-dynamic-complete-functions): Declare.
10601         * net/network-stream.el (gnutls-negotiate):
10602         * simple.el (tabulated-list-print): Fix declarations.
10604         * progmodes/gud.el (syntax-symbol, syntax-point):
10605         Remove unnecessary and incorrect declarations.
10607         * emacs-lisp/check-declare.el (check-declare-scan):
10608         Handle byte-compile-initial-macro-environment in bytecomp.el
10610 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10612         Fix earlier half-done eieio-defmethod change (bug#8338).
10613         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10614         Streamline and change calling convention.
10615         (defmethod): Adjust accordingly and simplify.
10616         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10617         new eieio--defmethod.
10618         (slot-boundp): Minor CSE simplification.
10620 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
10622         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10623         (glasses-make-readable): Use glasses-separate-capital-groups.
10625 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
10627         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10628         (warning-series): Doc fix.
10629         (display-warning): Don't try to create the buffer if we just found it.
10631 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
10633         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10634         (autoload-find-generated-file): New function.
10635         (generate-file-autoloads): Bind generated-autoload-file to
10636         buffer-file-name.
10637         (update-file-autoloads, update-directory-autoloads):
10638         Use autoload-find-generated-file.  If called interactively, prompt for
10639         output file (Bug#7989).
10640         (batch-update-autoloads): Doc fix.
10642 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
10644         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10646 2011-05-04  Glenn Morris  <rgm@gnu.org>
10648         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10649         function, so it follows changes in calendar-date-style.
10650         (diary-fancy-date-matcher): New function.
10651         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10652         (diary-fancy-font-lock-fontify-region-function):
10653         Use diary-fancy-date-pattern as a function.
10655         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10656         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
10658 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
10660         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10661         instead of positional arguments.  Allow :keylist and :crlfiles
10662         arguments.
10663         (open-gnutls-stream): Call it.
10665         * net/network-stream.el (network-stream-open-starttls): Adjust to
10666         call `gnutls-negotiate' with :process and :hostname arguments.
10668 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * minibuffer.el (completion--message): New function.
10671         (completion--do-completion, minibuffer-complete)
10672         (minibuffer-force-complete, minibuffer-complete-word): Use it.
10673         (completion--do-completion): Don't ignore completion-auto-help when in
10674         icomplete-mode.
10676         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10677         internal encoding (e.g. tibetan zero is not whitespace).
10678         (global-whitespace-mode): Prefer save-current-buffer.
10679         (whitespace-trailing-regexp): Remove useless save-match-data.
10680         (whitespace-empty-at-bob-regexp): Minor simplification.
10682 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
10684         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10686 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10688         * textmodes/ispell.el (ispell-add-per-file-word-list):
10689         Use `concat' to create string for insertion.
10691 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10693         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10694         Avoid open-line which runs post-self-insert-hook.
10695         (bibtex-fill-entry): Remove unused `end' var.
10697 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10699         * textmodes/ispell.el (ispell-add-per-file-word-list):
10700         Protect against `nil' value of `comment-start' (Bug#8579).
10702 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10704         * isearch.el (isearch-yank-pop): New command.
10705         (isearch-mode-map): Bind it to `M-y'.
10706         (isearch-forward): Mention it.
10708 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * simple.el (minibuffer-complete-shell-command): Remove.
10711         (minibuffer-local-shell-command-map): Use completion-at-point.
10712         (read-shell-command): Setup completion vars here instead.
10713         (read-expression-map): Bind TAB to symbol completion.
10715         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10716         error directly rather via storing it into `results'.
10718 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10720         * vc/diff.el: Fix description.
10722 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10724         * server.el (server-eval-at): New function.
10726 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10728         * net/network-stream.el (open-network-stream): Take a :nowait
10729         parameter and pass it on to `make-network-process'.
10730         (network-stream-open-plain): Ditto.
10732 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10734         * faces.el (face-spec-set-match-display): Don't match toolkit
10735         options on terminal frames.
10737 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10739         * progmodes/pascal.el: Use lexical binding.
10740         (pascal-mode-map): Remove author preferences.
10742         * pcomplete.el (pcomplete-std-complete): Don't abuse
10743         completion-at-point.
10745 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10747         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10748         removing code that has been dead since 1991 or so.
10750         * startup.el (command-line): When warning about "_emacs", use a
10751         delayed warning to allow the user to filter it out.
10753 2011-04-28  Deniz Dogan  <deniz@dogan.se>
10755         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10756         user has not joined.
10758 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10760         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10761         aren't any completions at point.
10763 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10765         * subr.el (display-delayed-warnings): New function.
10766         (delayed-warnings-hook): New variable.
10768 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         * minibuffer.el (completion-at-point, completion-help-at-point):
10771         Don't presume that a given completion-at-point-function will always
10772         use the same calling convention.
10774         * pcomplete.el (pcomplete-completions-at-point):
10775         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10776         pcomplete-seen is non-nil.
10777         (pcomplete-comint-setup): Also recognize the new comint/shell
10778         completion functions.
10779         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10780         pcomplete-seen is non-nil.
10782 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10784         * calendar/icalendar.el (diary-lib): Add require statement.
10785         (icalendar--create-uid): Read out a uid from a text-property on
10786         the first character in the entry.  This allows for code to add its
10787         own uid to the entry.
10788         (icalendar--convert-float-to-ical): Add export of
10789         `diary-float'-entries save for those with the optional DAY
10790         argument.
10792 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10794         * subr.el (shell-quote-argument): Use alternate escaping strategy
10795         when we spot a variable reference in a string.
10797 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10799         * cus-start.el (all): Define customization for debug-on-event.
10801 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10803         * subr.el (shell-quote-argument): Escape correctly under Windows.
10805 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10807         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10809 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10811         * net/tramp.el (tramp-process-actions): Add POS argument.
10812         Delete region between POS and (pos).
10814         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10815         Use `nil' position in `tramp-process-actions' call.
10816         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10818         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10819         position in `tramp-process-actions' call.
10821         * net/trampver.el: Update release number.
10823 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10825         * custom.el (defcustom): Obey lexical-binding.
10827         Fix octave-inf completion problems reported by Alexander Klimov.
10828         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10829         Inherit from octave-mode-syntax-table.
10830         (inferior-octave-mode): Set info-lookup-mode.
10831         (inferior-octave-completion-at-point): New function.
10832         (inferior-octave-complete): Use it and completion-in-region.
10833         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10834         comint-filename-completion.
10835         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10836         symbol elements which shouldn't be word elements.
10837         (octave-font-lock-keywords, octave-beginning-of-defun)
10838         (octave-function-header-regexp): Adjust regexps accordingly.
10839         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10841 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10843         * net/gnutls.el (gnutls-errorp): Declare before first use.
10845 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10847         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10848         verify-error, and verify-hostname-error parameters.  Check whether
10849         default trustfile exists before going to use it.  Add missing
10850         argument to gnutls-message-maybe call.  Return value.
10851         Reported by Claudio Bley <claudio.bley@gmail.com>.
10852         (open-gnutls-stream): Add usage example.
10854         * net/network-stream.el (network-stream-open-starttls): Give host
10855         parameter to `gnutls-negotiate'.
10856         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10857         * subr.el (shell-quote-argument): Escape correctly under Windows.
10859 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10861         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10862         Use correct match group (bug#8438).
10864 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10866         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10867         (package-menu--generate): New arg specifying packages to show.
10868         (package-menu-refresh, package-menu-execute, list-packages):
10869         Callers changed.
10870         (package-show-package-list): New function, replacing deleted
10871         package--list-packages (renamed because it is non-internal).
10873         * finder.el (finder-list-matches): Use package-show-package-list
10874         instead of deleted package--list-packages.
10876         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10877         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10878         (vc-annotate-mode-map): Bind it to RET.
10880 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10882         * progmodes/etags.el (next-file): Don't use set-buffer to change
10883         buffers (Bug#8478).
10885 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10887         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10889         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10890         (apropos-accumulator): Doc fix.
10891         (apropos-function, apropos-macro, apropos-command)
10892         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10893         (apropos-plist): Add face property.
10894         (apropos-symbols-internal): Fix indentation.
10895         (apropos-print): Simplify help, and recognize apropos-multi-type.
10896         (apropos-print-doc): Use button-type-get to extract the button's
10897         face property.  Fill docstring (Bug#8352).
10899 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10901         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10903         * play/mpuz.el (mpuz-silent): Doc fix.
10904         (mpuz-mode-map): Use mapc.
10905         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10906         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10907         Fix typos in docstrings.
10909         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10910         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10912         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10914 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10916         * minibuffer.el (completion--do-completion): Avoid the "Next char
10917         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10919         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10920         mouse-2 into unread-command-events, it is interpreted correctly.
10922         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10923         (image-toggle-display): Doc fix.
10925 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10927         * textmodes/page.el (what-page): Use line-number-at-pos to
10928         calculate line number (Bug#6825).
10930 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10932         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10933         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10934         Pass argument NO-DEFAULT to `find-tag-interactive'.
10936 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10938         Lexical-binding cleanup.
10940         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10941         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10942         * progmodes/ada-prj.el (ada-prj-initialize-values)
10943         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10944         (ada-prj-show-value):
10945         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10946         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10947         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10948         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10949         * progmodes/bug-reference.el (bug-reference-push-button):
10950         * progmodes/fortran.el (fortran-line-length):
10951         * progmodes/glasses.el (glasses-change):
10952         * progmodes/octave-mod.el (octave-fill-paragraph):
10953         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10954         (python-pdbtrack-grub-for-buffer, python-sentinel):
10955         * progmodes/sql.el (sql-save-connection):
10956         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10957         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10958         Mark unused parameters.
10960         * progmodes/compile.el (compilation--flush-directory-cache)
10961         (compilation--flush-parse, compile-internal): Mark unused parameters.
10962         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10963         (compilation-next-error-function): Remove unused variable `timestamp'.
10965         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10966         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10968         * progmodes/dcl-mode.el (dcl-end-of-command):
10969         Remove unused variable `start'.
10970         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10971         (dcl-option-value-basic, dcl-option-value-offset)
10972         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10973         Mark unused parameters.
10974         (dcl-save-local-variable): Remove unused variable `val'.
10975         (mode): Declare.
10977         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10978         Mark unused parameters.
10979         (delphi-ignore-changes): Move before first use.
10980         (delphi-charset-token-at): Remove unused variable `start'.
10981         (delphi-else-start): Remove unused variable `if-count'.
10982         (delphi-comment-block-start, delphi-comment-block-end):
10983         Remove unused variable `kind'.
10984         (delphi-indent-line): Remove unused variable `new-point'.
10986         * progmodes/ebrowse.el (ebrowse-files-list)
10987         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10988         Mark unused parameters.  Don't quote `lambda'.
10989         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10990         Don't quote `lambda'.
10991         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10992         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10993         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10994         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10995         Use `ignore-errors'.
10996         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10997         (ebrowse-view/find-file-and-search-pattern)
10998         (ebrowse-view/find-member-declaration/definition):
10999         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11000         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11001         Rename parameter PREFIX-ARG to PREFIX.
11002         (ebrowse-tags-read-name): Remove unused variables `start' and
11003         `member-info'.
11004         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11005         to `tags-file'.
11007         * progmodes/etags.el (local-find-tag-hook): Declare.
11008         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11009         Mark unused parameters.
11011         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11012         (executable-interpret): Mark unused parameter.
11014         * progmodes/flymake.el (flymake-process-sentinel)
11015         (flymake-after-change-function)
11016         (flymake-create-temp-with-folder-structure)
11017         (flymake-get-include-dirs-dot): Mark unused parameters.
11018         (flymake-safe-delete-directory): Remove unused variable `err'.
11020         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11021         (speedbar-timer-fn, speedbar-line-text)
11022         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11023         (speedbar-center-buffer-smartly): Declare functions.
11024         (gdb-find-watch-expression): Remove unused variable `array'.
11025         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11026         (gdb-starting): Mark unused parameters.
11027         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11028         (gdb-table-string): Remove unused variable `res'.
11029         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11030         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11031         (gdb-display-buffer): Remove unused variable `cur-size'.
11033         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11034         allow lexical-binding compilation.
11035         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11036         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11037         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11038         Mark unused parameters.
11039         (gud-gdb-marker-filter): Remove unused variable `match'.
11040         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11041         lambda expressions and funcall them, instead of using `fset'.
11043         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11044         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11046         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11047         variable `header-beg'; use `let'.
11049         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11050         `restart', `last-sexp' and `at-do'.
11052         * progmodes/js.el (js--debug): Mark unused parameter.
11053         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11054         (js--splice-into-items): Remove unused variable `item'.
11055         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11057         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11058         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11059         (makefile-complete): Remove unused variable `try'.
11060         (makefile-fill-paragraph, makefile-match-function-end):
11061         Mark unused parameters.
11063         * progmodes/octave-inf.el (inferior-octave-complete):
11064         Remove unused variable `proc'.
11065         (inferior-octave-output-digest): Mark unused parameter.
11067         * progmodes/perl-mode.el (perl-calculate-indent):
11068         Remove unused variable `err'.
11070         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11071         (prolog-indent-line): Mark unused parameters.
11072         (prolog-indent-line): Remove unused variable `beg'.
11074         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11075         (reporter-dont-compact-list): Declare.
11077         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11078         Remove unused variable `char'.
11079         (sh-debug): Mark unused parameter.
11080         (sh-get-indent-info): Remove unused variable `start'.
11081         (sh-calculate-indent): Remove unused variable `var'.
11083         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11084         (simula-electric-keyword): Remove unused variable `null'.
11085         (simula-search-backward, simula-search-forward): Remove unused
11086         variables `begin' and `end'.
11088         * progmodes/vera-mode.el (vera-guess-basic-syntax):
11089         Remove unused variable `pos'.
11090         (vera-electric-tab, vera-comment-uncomment-region):
11091         Mark unused parameters.
11092         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11094 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
11096         * emacs-lisp/package.el (package--builtins, package-alist)
11097         (package-load-descriptor, package-built-in-p, package-activate)
11098         (define-package, package-installed-p)
11099         (package-compute-transaction, package-buffer-info)
11100         (package--push): Doc fix.  Distinguish more clearly between
11101         version strings and version lists.
11103 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
11105         Lexical-binding cleanup.
11107         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11108         (5x5-make-mutate-best):
11109         * play/fortune.el (fortune-in-buffer):
11110         * play/gomoku.el (gomoku-init-display):
11111         * play/solitaire.el (solitaire, solitaire-do-check):
11112         * play/tetris.el (tetris-default-update-speed-function):
11113         Mark unused parameters.
11115         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11116         (bubbles--shift): Remove unused variable `char-org'.
11117         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
11118         (bubbles--show-images): Remove unused variable `char'.
11120         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11121         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11122         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11123         (decipher-analyze-buffer): Use ?\s.
11124         (decipher-make-checkpoint): Remove unused variable `mapping'.
11126         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11128         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11129         Remove unused variable `result'; use `let'.
11131         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11132         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11133         (gametree-children-shown-p, gametree-compute-reduced-score):
11134         Use `ignore-errors'.
11136         * play/handwrite.el (ps-lpr-switches): Declare.
11137         (handwrite): Remove unused variables `pmin' and `lastp'.
11139         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11141         * play/landmark.el (landmark-init-display)
11142         (landmark-update-naught-weights): Mark unused parameters.
11143         (landmark-y): Remove unused variable `noise'.  Simplify.
11144         (landmark-human-plays): Remove unused variable `score'.
11146         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11147         (mpuz-try-proposal): Remove unused variable `game'.
11149         * play/zone.el (life-patterns): Declare.
11151 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
11153         * vc/vc.el (ediff-vc-internal): Declare function.
11155 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11157         * shell.el: Use lexical-binding and std completion UI.
11158         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11159         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11160         comint-preoutput-filter-functions rather than on
11161         comint-output-filter-functions.
11162         (shell-command-completion, shell--command-completion-data)
11163         (shell-filename-completion, shell-environment-variable-completion)
11164         (shell-c-a-p-replace-by-expanded-directory): New functions.
11165         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11166         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11167         (shell-dynamic-complete-environment-variable): Use them.
11168         (shell-dynamic-complete-as-environment-variable)
11169         (shell-dynamic-complete-as-command): Remove.
11170         (shell-match-partial-variable): Match past point.
11171         * comint.el: Clean up use of completion-at-point-functions.
11172         (comint-completion-at-point): New function.
11173         (comint-mode): Use it completion-at-point-functions.
11174         (comint-dynamic-complete): Make it obsolete.
11175         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11176         (comint-c-a-p-replace-by-expanded-history): New function.
11177         (comint-dynamic-complete-functions)
11178         (comint-replace-by-expanded-history): Use it.
11179         * minibuffer.el (completion-table-with-terminator): Allow dynamic
11180         termination strings.  Try harder to avoid second try-completion.
11181         (completion-in-region-mode-map): Disable bindings that don't work yet.
11183         * comint.el: Use lexical-binding.  Require CL.
11184         (comint-dynamic-complete-functions): Use comint-filename-completion.
11185         (comint-completion-addsuffix): Tweak custom type.
11186         (comint-filename-completion, comint--common-suffix)
11187         (comint--common-quoted-suffix, comint--table-subvert)
11188         (comint--complete-file-name-data): New functions.
11189         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11190         (comint-dynamic-list-filename-completions): Use them.
11191         (comint-dynamic-simple-complete): Make obsolete.
11193         * minibuffer.el (completion-in-region-mode):
11194         Keep completion-in-region-mode--predicate global.
11195         (completion-in-region--postch):
11196         Assume completion-in-region-mode--predicate is not null.
11198         * progmodes/flymake.el (flymake-start-syntax-check-process):
11199         Obey `dir'.  Simplify.
11201         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11202         we're in VC after all.
11204 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
11206         * vc/vc.el (vc-diff-build-argument-list-internal)
11207         (vc-version-ediff, vc-ediff): New commands.
11208         (vc-version-diff): Use vc-diff-build-argument-list-internal.
11210 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11212         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11213         add sanity check.
11215         * obsolete/erc-hecomplete.el: Make obsolete.
11216         * obsolete/: Standardize obsolescence info in the header.
11218 2011-04-20  Glenn Morris  <rgm@gnu.org>
11220         * calendar/solar.el (solar-horizontal-coordinates):
11221         Use the longitude argument rather than `calendar-longitude'.
11222         (solar-date-next-longitude): Remove unused locals.
11224 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11226         * whitespace.el: New version 13.2.1.
11228 2011-04-20  felix  <EmacsWiki>  (tiny change)
11230         * whitespace.el (global-whitespace-mode): Keep highlight when
11231         switching between major modes on a file.
11233 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11235         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11236         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11237         multi-line comments as well.
11239 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
11241         Lexical-binding cleanup.
11243         * arc-mode.el (archive-mode-revert):
11244         * cmuscheme.el (scheme-interactively-start-process):
11245         * custom.el (custom-initialize-delay):
11246         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11247         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11248         * emacs-lock.el (emacs-lock-clear-sentinel):
11249         * ezimage.el (defezimage):
11250         * follow.el (follow-avoid-tail-recenter):
11251         * fringe.el (set-fringe-mode-1):
11252         * generic-x.el (bat-generic-mode-compile):
11253         * help-mode.el (help-info-variable, help-do-xref)
11254         (help-mode-revert-buffer):
11255         * help.el (view-emacs-todo):
11256         * iswitchb.el (iswitchb-completion-help):
11257         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11258         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11259         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11260         * locate.el (locate-update):
11261         * longlines.el (longlines-encode-region)
11262         (longlines-after-change-function):
11263         * outline.el (outline-isearch-open-invisible):
11264         * ps-def.el (declare-function, charset-dimension, char-width)
11265         (encode-char):
11266         * ps-mule.el (ps-mule-plot-string):
11267         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11268         (recentf-edit-list-select, recentf-edit-list-validate)
11269         (recentf-open-files-action):
11270         * rect.el (delete-whitespace-rectangle-line)
11271         (rectangle-number-line-callback):
11272         * register.el (window-configuration-to-register)
11273         (frame-configuration-to-register):
11274         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11275         * select.el (xselect-convert-to-string, xselect-convert-to-length)
11276         (xselect-convert-to-targets, xselect-convert-to-delete)
11277         (xselect-convert-to-filename, xselect-convert-to-charpos)
11278         (xselect-convert-to-lineno, xselect-convert-to-colno)
11279         (xselect-convert-to-os, xselect-convert-to-host)
11280         (xselect-convert-to-user, xselect-convert-to-class)
11281         (xselect-convert-to-name, xselect-convert-to-integer)
11282         (xselect-convert-to-atom, xselect-convert-to-identity):
11283         * subr.el (declare, ignore, process-kill-without-query)
11284         (text-clone-maintain):
11285         * terminal.el (te-get-char, te-tic-sentinel):
11286         * tool-bar.el (tool-bar-make-keymap):
11287         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11288         * type-break.el (type-break-mode, type-break-noninteractive-query):
11289         * view.el (View-back-to-mark):
11290         * wid-browse.el (widget-browse-action, widget-browse-widget)
11291         (widget-browse-widgets, widget-browse-sexp):
11292         * widget.el (define-widget-keywords):
11293         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11294         Mark unused parameters.
11296         * align.el (align-adjust-col-for-rule): Mark unused parameter.
11297         (align-areas): Remove unused variable `look'.
11298         (align-region): Remove unused variables `real-end' and `pos-list'.
11300         * apropos.el (apropos-score-doc): Remove unused variable `i'.
11302         * bindings.el (mode-line-modified, mode-line-remote):
11303         Mark unused parameters.
11304         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11306         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11307         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11309         * comint.el (comint-history-isearch-pop-state)
11310         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11311         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11312         (comint-substitute-in-file-name): Doc fix.
11314         * completion.el (cmpl-statistics-block): Mark unused parameter.
11315         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11316         (save-completions-to-file, load-completions-from-file):
11317         Remove unused local variable `e'.
11319         * composite.el (compose-chars): Remove unused variable `len'.
11320         (lgstring-insert-glyph): Remove unused variable `g'.
11321         (compose-glyph-string): Remove unused variables `ascent',
11322         `descent', `lbearing' and `rbearing'.
11323         (compose-glyph-string-relative): Remove unused variables
11324         `lbearing', `rbearing' and `wadjust'.
11325         (compose-gstring-for-graphic): Remove unused variables `header',
11326         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
11327         (compose-gstring-for-terminal): Remove unused variables `header'
11328         and `nchars'.  Use `let', not `let*'.
11330         * cus-edit.el (Custom-set, Custom-save, custom-reset)
11331         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11332         (Custom-buffer-done, custom-buffer-create-internal)
11333         (custom-browse-visibility-action, custom-browse-group-tag-action)
11334         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11335         (widget-magic-mouse-down-action, custom-toggle-parent)
11336         (custom-add-parent-links, custom-toggle-hide-variable)
11337         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11338         (custom-toggle-hide-face, face, hook, custom-group-link-action)
11339         (custom-face-menu-create, custom-variable-menu-create, get)
11340         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11341         (custom-reset-standard-save-and-update): Remove unused variable `value'.
11342         (customize-apropos): Remove unused variable `tests'.
11343         (custom-group-value-create): Remove unused variable `hidden-p'.
11344         (sort-fold-case): Declare.
11346         * cus-theme.el (custom-reset-standard-faces-list)
11347         (custom-reset-standard-variables-list): Declare.
11348         (customize-create-theme, custom-theme-revert, custom-theme-write)
11349         (custom-theme-choose-mode, customize-themes, custom-theme-save):
11350         Mark unused parameters.
11352         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11354         * delim-col.el (delimit-columns-max): Move defvar before first use.
11356         * descr-text.el (describe-char-categories): Don't quote `lambda'.
11357         (describe-char): Don't quote `lambda'.  Mark unused parameter.
11359         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11360         (auto-insert): Declare.
11361         (desktop-restore-file-buffer): Rename desktop-* parameters;
11362         mark unused ones.
11363         (desktop-create-buffer): Rename desktop-* parameters and bind them.
11364         (desktop-buffer): Rename desktop-* parameters.
11366         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11367         (dframe-reposition-frame-xemacs, dframe-help-echo)
11368         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11369         Mark unused parameters.
11371         * dired-aux.el (backup-extract-version-start, overwrite-query)
11372         (overwrite-backup-query, rename-regexp-query)
11373         (rename-non-directory-query): Declare.
11374         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11375         (dired-add-entry): Remove unused variable `orig-file-name'.
11376         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11377         Use parameter PRESERVE-TIME instead of accessing dynamic variable
11378         `dired-copy-preserve-time' directly.
11379         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11380         (dired-insert-subdir-newpos): Rename unused variable `pos'.
11382         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11383         (dired-virtual-revert, dired-make-relative-symlink):
11384         Mark unused parameters.
11385         (manual-program): Declare.
11386         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11387         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11388         wrapped in `with-no-warnings' to avoid replacing one warning by another.
11390         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11392         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11394         * echistory.el (electric-history-in-progress, Helper-return-blurb):
11395         Declare.
11397         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11399         * electric.el (Electric-command-loop): Rename parameter
11400         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11402         * expand.el (expand-in-literal): Remove unused variable `here'.
11404         * facemenu.el (facemenu-add-new-color):
11405         Remove unused variable `docstring'.
11407         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11408         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11409         (face-attr-construct): Mark unused parameter.  Doc fix.
11410         (read-color): Remove unused variable `hex-string'.
11412         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11413         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11414         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11415         (display-buffer-other-frame): Remove unused variable `old-window'.
11416         (kill-buffer-hook): Declare.
11417         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11418         Mark unused parameters.
11419         (after-find-file): Pass 1 to `auto-save-mode', not t.
11421         * files-x.el (auto-insert): Declare.
11422         (modify-file-local-variable-prop-line): Remove unused variable `val'.
11424         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11425         variable `buf'.  Mark unused parameter.
11426         (find-lisp-insert-directory): Mark unused parameter.
11428         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11429         (format-encode-region): Remove unused variables `cur-buf' and `result'.
11430         (format-common-tail): Remove, unused.
11431         (format-deannotate-region): Remove unused variable `loc'.
11432         (format-annotate-region): Remove unused variable `p'.
11433         (format-annotate-single-property-change): Remove unused variables
11434         `default' and `tail'.
11436         * forms.el (read-file-filter): Declare.
11437         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11439         * frame.el (frame-creation-function-alist): Mark unused parameter.
11440         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11442         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11443         Remove unused parameters.
11444         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11445         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11447         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11448         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11449         (hfy-prepare-tag-map): Mark unused parameters.
11450         (htmlfontify-buffer): Use `called-interactively-p'.
11452         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11453         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11454         (ibuffer-do-occur): Mark unused parameters.
11455         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11456         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11458         * ibuffer.el: Don't quote `lambda'.
11459         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11460         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11461         Mark unused parameters.
11463         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11464         (ido-completing-read): Mark unused parameters.
11465         (ido-copy-current-word): Mark unused parameters;
11466         remove unused variable `name'.
11467         (ido-sort-merged-list): Remove unused parameter `dirs'.
11469         * ielm.el (ielm-input-sender): Mark unused parameter.
11470         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11471         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11472         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11473         `ielm-string' as a dynamic variable accessible from the IELM prompt.
11474         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
11476         * image-dired.el (image-dired-display-thumbs): Remove unused
11477         variables `curr-file' and `count'.
11478         (image-dired-remove-tag): Remove unused variable `start'.
11479         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11480         variable `curr-file'
11481         (image-dired-rotate-original): Remove unused variable `temp-file'.
11482         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11483         Remove unused variable `file'.
11484         (image-dired-gallery-generate): Remove unused variable `curr'.
11485         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11487         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11489         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11491         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11493         * isearch.el (minibuffer-history-symbol): Declare.
11494         (isearch-edit-string): Remove unused variable `err'.
11495         (isearch-message-prefix, isearch-message-suffix):
11496         Mark unused parameters.
11498         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11500         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11502         * makesum.el (double-column): Remove unused variable `cnt'.
11504         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11505         (ido-ignore-item-temp-list): Declare.
11507         * mouse-drag.el (mouse-drag-throw): Remove unused variables
11508         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11509         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11510         (mouse-drag-drag): Remove unused variables `mouse-delta' and
11511         `mouse-col-delta'.
11513         * mouse-sel.el (mouse-extend-internal):
11514         Remove unused variable `orig-window-frame'.
11516         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11517         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11518         Move declarations before first use.
11519         (pcomplete-opt): Mark unused parameters; doc fix.
11521         * proced.el (proced-revert): Mark unused parameter.
11522         (proced-send-signal): Remove unused variable `err'.
11524         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11525         Rename parameter PREFIX-ARG to ARG.
11526         (ps-basic-plot-string, ps-basic-plot-whitespace):
11527         Mark unused parameters.
11529         * replace.el (replace-count): Define.
11530         (occur-revert-function): Mark unused parameters.
11531         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11532         (isearch-case-fold-search, isearch-string): Declare.
11533         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11534         bind `case-fold-search'.  Remove unused variables `beg' and `end',
11535         and simplify.
11536         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11537         COUNT and bind `replace-count'.
11538         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11539         to COUNT.
11541         * savehist.el (print-readably, print-string-length): Declare.
11543         * shadowfile.el (shadow-expand-cluster-in-file-name):
11544         Remove unused variable `cluster'.
11545         (shadow-copy-file): Remove unused variable `i'.
11546         (shadow-noquery, shadow-clusters, shadow-site-cluster)
11547         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11548         (shadow-define-literal-group, shadow-define-regexp-group)
11549         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11551         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11552         (shell): Use `called-interactively-p'.
11553         (shell-directory-tracker): Remove unused variable `chdir-failure'.
11555         * simple.el (compilation-context-lines, comint-file-name-quote-list)
11556         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11557         (delete-backward-char): Remove unused variable `ocol'.
11558         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11559         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11560         (event-apply-hyper-modifier, event-apply-shift-modifier)
11561         (event-apply-control-modifier, event-apply-meta-modifier):
11562         Mark unused parameters.
11563         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11564         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11566         * speedbar.el (speedbar-ignored-directory-expressions)
11567         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11568         (speedbar-find-file, speedbar-dir-follow)
11569         (speedbar-directory-buttons-follow, speedbar-tag-find)
11570         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11571         (speedbar-buffers-line-directory, speedbar-buffer-click):
11572         Mark unused parameters.
11573         (speedbar-tag-file): Remove unused variable `mode'.
11574         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11576         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11578         * talk.el (talk): Remove unused variable `display'.
11580         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11581         (tar-write-region-annotate): Mark unused parameter.
11583         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11584         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11585         Declare them, wrapped in `with-no-warnings' to avoid replacing one
11586         warning by another.
11588         * time-stamp.el (time-stamp-string-preprocess):
11589         Remove unused variable `require-padding'.
11591         * tree-widget.el (widget-glyph-enable): Declare.
11592         (tree-widget-action): Mark unused parameter.
11594         * w32-fns.el (x-get-selection): Mark unused parameter.
11595         (autoload-make-program, generated-autoload-file): Declare.
11597         * wdired.el (wdired-revert): Mark unused parameters.
11598         (wdired-xcase-word): Remove unused variable `err'.
11600         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11601         (whitespace-help-scroll): Remove unused variable `data-help'.
11603         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11604         (widget-image-insert, widget-after-change, default)
11605         (widget-default-format-handler, widget-default-notify)
11606         (widget-default-prompt-value, widget-info-link-action)
11607         (widget-url-link-action, widget-function-link-action)
11608         (widget-variable-link-action, widget-file-link-action)
11609         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11610         (widget-field-prompt-internal, widget-field-action, widget-field-match)
11611         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11612         (widget-insert-button-action, widget-delete-button-action, visibility)
11613         (widget-documentation-link-action, widget-documentation-string-action)
11614         (widget-const-prompt-value, widget-regexp-match, symbol)
11615         (widget-coding-system-prompt-value)
11616         (widget-key-sequence-value-to-external, sexp)
11617         (widget-sexp-value-to-internal, character, vector, cons)
11618         (widget-choice-prompt-value, widget-boolean-prompt-value)
11619         (widget-color--choose-action): Mark unused parameters.
11620         (widget-item-match-inline, widget-choice-match-inline)
11621         (widget-checklist-match, widget-checklist-match-inline)
11622         (widget-group-match): Rename parameter VALUES to VALS.
11623         (widget-field-value-set): Remove unused variable `size'.
11624         (widget-color-action): Remove unused variables `value' and `start'.
11626         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11627         variable `dir'.  Doc fix.
11628         (windmove-find-other-window): Don't pass it.
11630         * window.el (count-windows): Mark unused parameter.
11631         (bw-adjust-window): Remove unused variable `err'.
11633         * woman.el (woman-file-name): Remove unused variable `default'.
11634         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11635         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11636         (global-font-lock-mode): Declare.
11637         (woman-decode-region): Mark unused parameter.
11638         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11640         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11641         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11642         (x-dnd-handle-moz-url): Remove unused variable `title'.
11643         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11645         * xml.el (xml-parse-tag, xml-parse-attlist):
11646         Remove unused variable `pos'.
11648 2011-04-19  Glenn Morris  <rgm@gnu.org>
11650         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11651         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11652         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11653         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11654         * calendar/cal-html.el (cal-html-insert-minical):
11655         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11656         (calendar-mark-date-pattern):
11657         Prefix "unused" locals.
11659         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11660         optional argument `style'.
11662         * calendar/appt.el (appt-make-list):
11663         * calendar/cal-china.el (calendar-chinese-date-string):
11664         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11665         (diary-hebrew-yahrzeit):
11666         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11667         * calendar/calendar.el (calendar-generate-window):
11668         * calendar/time-date.el (time-to-days):
11669         Remove unused local variables.
11671 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
11673         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11674         glyphless-char-display table.
11675         (tabulated-list-glyphless-char-display): New var.
11677 2011-04-18  Sam Steingold  <sds@gnu.org>
11679         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11680         to acknowledgments.
11682 2011-04-17  Glenn Morris  <rgm@gnu.org>
11684         * calendar/diary-lib.el (diary-sexp-entry):
11685         * calendar/holidays.el (holiday-sexp):
11686         Set debug-on-error rather than the removed stack-trace-on-error.
11688 2011-04-16  Glenn Morris  <rgm@gnu.org>
11690         * progmodes/f90.el: Use lexical-binding.
11691         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11693 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11695         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11696         (mail-mode): Setup mailalias completion here instead.
11697         * mail/mailalias.el: Use lexical-binding.
11698         (pattern, mailalias-done): Declare dynamic.
11699         (mail-completion-at-point-function): New function, from mail-complete.
11700         (mail-complete): Use it.
11701         (mail-completion-expand): New function.
11702         (mail-get-names): Use it.
11703         (mail-directory, mail-directory-process, mail-directory-stream):
11704         Don't use `pattern' for lexically bound arg.
11706         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11708         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11709         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11710         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11712         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11713         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11714         (byte-interactive-p): Define them again, for use when inlining
11715         old code.
11717 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11719         * loadup.el: Use `string-to-number', not `string-to-int'.
11721 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11723         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11724         gud-gdb-complete-command.
11725         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11726         (gud-gdb-completion-at-point): New function.
11727         (gud-gdb-completions): Remove.
11729 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11731         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11732         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11733         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11734         whether `executable-find' is bound.
11736         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11738 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11740         * minibuffer.el (completion-in-region-mode-predicate)
11741         (completion-in-region-mode--predicate): New vars.
11742         (completion-in-region, completion-in-region--postch)
11743         (completion-in-region-mode): Use them.
11744         (completion--capf-wrapper): Also return the hook function.
11745         (completion-at-point, completion-help-at-point):
11746         Adjust and provide a predicate.
11748         Preserve arg names for advice of subr and lexical functions (bug#8457).
11749         * help-fns.el (help-function-arglist): Consolidate the subr and
11750         new-byte-code cases.  Add argument `preserve-names' to extract names
11751         from the docstring when needed.
11752         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11753         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11754         (ad-arglist): Use help-function-arglist's new arg.
11755         (ad-definition-type): Use cond.
11757 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
11759         * autorevert.el (auto-revert-handler):
11760         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11761         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11762         Don't quote lambda.
11764         * image-mode.el (image-transform-set-scale):
11765         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11767 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11769         * net/network-stream.el (network-stream-open-starttls): Only do
11770         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11771         Upgrades via gnutls-cli are too slow to be done opportunistically.
11773 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11775         * dframe.el (dframe-current-frame): Remove spurious quote.
11777 2011-04-12  Glenn Morris  <rgm@gnu.org>
11779         * calendar/cal-tex.el (cal-tex-end-document):
11780         Try to automatically use latin1 input if needed.
11782         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11783         Don't try to cons a mark onto an empty element.
11785 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11787         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11788         buffers.
11789         (ido-kill-buffer-at-head): Support killing virtual buffers.
11791 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11793         * minibuffer.el (completion-show-inline-help): New var.
11794         (completion--do-completion, minibuffer-complete)
11795         (minibuffer-force-complete, minibuffer-complete-word):
11796         Inhibit minibuffer messages if completion-show-inline-help is nil.
11798         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11799         to avoid interference from inline help (Bug#5849).
11801 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11803         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11804         Fix typo.
11806 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11808         * image-mode.el (image-toggle-display-image): Signal an error if
11809         not in Image mode.
11810         (image-transform-mode, image-transform-resize)
11811         (image-transform-set-rotation): Doc fix.
11812         (image-transform-set-resize): Delete.
11813         (image-transform-set-scale, image-transform-fit-to-height)
11814         (image-transform-fit-to-width): Handle image-toggle-display-image
11815         and image-transform-resize directly.
11817 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11819         * doc-view.el (doc-view-fit-width-to-window)
11820         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11821         New functions for fitting the shown image to the Emacs window size.
11822         (doc-view-mode-map): Add bindings for the new functions.
11824 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11826         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11827         Fix typo in docstring.
11829 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11831         * files.el (file-size-human-readable): Produce one digit after
11832         decimal, like "ls -lh" does.
11834         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11835         the file size representation.
11837         * simple.el (list-processes): If async subprocesses are not
11838         available, error out with a clear error message.
11840 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11842         * help.el (help-form-show): New function, to be called from C.
11843         Put help-form output in a buffer named differently than *Help*.
11845 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11847         * files.el (file-size-human-readable): New function.
11849         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11850         computing the representation inline.  Don't require `cl'.
11852 2011-04-08  Glenn Morris  <rgm@gnu.org>
11854         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11856         * net/browse-url.el (browse-url-firefox):
11857         Test system-type, not system-configuration.
11859         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11860         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11861         Use log-edit-empty-buffer-p.  (Bug#7598)
11863         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11864         (rlogin-mode-map): Initialize in the defvar.
11865         (rlogin): Use ignore-errors.
11867         * replace.el (occur-mode-map): Some fixes for menu items.
11869 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11871         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11873 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11875         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11876         issuing unused warnings.
11878         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11879         macro directly.
11881         * simple.el: Lisp reimplement of list-processes.  Based on an
11882         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11883         (process-menu-mode): New major mode.
11884         (list-processes--refresh, list-processes):
11885         (process-menu-visit-buffer): New functions.
11887         * files.el (save-buffers-kill-emacs): Don't assume any return
11888         value of list-processes, which is undocumented anyway.
11890 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11892         * emacs-lisp/tabulated-list.el: New file.
11894         * emacs-lisp/package.el: Use Tabulated List mode.
11895         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11896         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11897         table format using Tabulated List mode variables.
11898         (package--push): New macro, replacing package-list-maybe-add.
11899         (package-menu--generate): Use package--push.  Renamed from
11900         package--generate-package-list.
11901         (package-menu-refresh, list-packages): Use it.
11902         (package-menu--print-info): Rename from package-print-package.
11903         Return insertion data instead of inserting it directly.
11904         (package-menu-describe-package, package-menu-execute):
11905         Use tabulated-list-get-id.
11906         (package-menu-mark-delete, package-menu-mark-install)
11907         (package-menu-mark-unmark, package-menu-backup-unmark)
11908         (package-menu-mark-obsolete-for-deletion):
11909         Use tabulated-list-put-tag.
11910         (package--list-packages, package-menu-revert)
11911         (package-menu-get-package, package-menu-get-version)
11912         (package-menu-sort-by-column): Functions deleted.
11913         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11914         (package-menu--status-predicate, package-menu--version-predicate)
11915         (package-menu--name-predicate)
11916         (package-menu--description-predicate): Handle arguments in the
11917         Tabulated List format.
11918         (package-list-packages-no-fetch): Call list-packages.
11920 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11922         * files.el (after-find-file-from-revert-buffer): Remove variable.
11923         (after-find-file): Don't bind it.
11924         (revert-buffer-in-progress-p): New variable.
11925         (revert-buffer): Bind it.
11926         Pass nil for `after-find-file-from-revert-buffer'.
11928         * saveplace.el (save-place-find-file-hook): Use new variable
11929         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11931 2011-04-06  Glenn Morris  <rgm@gnu.org>
11933         * Makefile.in (AUTOGEN_VCS): New variable.
11934         (autoloads): Use $AUTOGEN_VCS.
11936         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11937         * calendar/calendar.el (calendar-mode-map):
11938         Check for toolkit scroll bars.  (Bug#8305)
11940 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11942         * minibuffer.el (completion-in-region--postch)
11943         (completion-in-region-mode): Remove unnecessary messages.
11945 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11947         * font-lock.el (font-lock-refresh-defaults):
11948         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11949         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11951         * info.el (Info-directory-list, Info-read-node-name-2)
11952         (Info-split-parameter-string): Doc fixes.
11953         (Info-virtual-nodes): Reflow docstring.
11954         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11955         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11956         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11957         Fix typos in docstrings.
11958         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11959         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11960         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11961         (Info-restore-desktop-buffer): Mark unused parameters.
11962         (Info-directory-find-file, Info-directory-find-node)
11963         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11964         (Info-virtual-index-find-node, Info-apropos-find-file)
11965         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11966         Mark unused parameters; fix typos in docstrings.
11967         (Info-virtual-index): Remove unused local variable `nodename'.
11969 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11971         * net/rcirc.el: Update my e-mail address.
11972         (rcirc-mode-map): Remove M-o binding.
11974 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11976         * startup.el (command-line): Save the cursor's theme-face
11977         directly, instead of using face-override-spec.
11979         * custom.el (load-theme): Minor optimization in assigning faces.
11981 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11983         * help-fns.el (describe-variable): Complete all variables having
11984         documentation, including keywords.
11985         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11987 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11989         Convert to lexical-binding.
11991         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11992         (bs--get-marked-string, bs--get-modified-string)
11993         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11994         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11995         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11997         * ehelp.el (electric-help-execute-extended)
11998         (electric-help-ctrl-x-prefix):
11999         * hexl.el (hexl-revert-buffer-function):
12000         * linum.el (linum-after-change, linum-after-scroll):
12001         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12003         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12005 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12007         * epa-dired.el:
12008         * epa-mail.el:
12009         * epa-hook.el:
12010         * epa-file.el:
12011         * epa.el:
12012         * epg.el: Use lexical binding.
12014 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12016         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12018         * textmodes/flyspell.el (flyspell-word): Recognize default
12019         dictionary case for flyspell-mark-duplications-exceptions.
12020         Use regexp matching for languages.
12021         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12022         default dictionary (Bug#7926).
12024 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12026         * emacs-lisp/package.el (package--with-work-buffer):
12027         Recognize https URLs.
12029         * net/network-stream.el: Move from gnus/proto-stream.el.
12030         Change prefix to network-stream throughout.
12031         (open-protocol-stream): Merge into open-network-stream, leaving
12032         open-protocol-stream as an alias.  Handle nil BUFFER args.
12034         * subr.el (open-network-stream): Move to net/network-stream.el.
12036 2011-04-02  Glenn Morris  <rgm@gnu.org>
12038         * find-dired.el (find-exec-terminator): New option.
12039         (find-ls-option): Test for -ls support.
12040         (find-ls-subdir-switches): Test for -b in find-ls-option.
12041         (find-dired, find-grep-dired): Doc fixes.
12042         (find-dired): Use find-exec-terminator.
12044         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12045         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12046         (find-name-arg): Remove purecopy.
12048         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12049         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12050         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12051         accordingly.  Don't add the null-device if not needed.
12053         * files.el (save-some-buffers): Doc fix.
12055 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12057         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12059 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12061         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12062         Use `dolist' rather than `mapcar'.
12064 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12066         Add lexical binding.
12068         * subr.el (apply-partially): Use new closures rather than CL.
12069         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12070         (dolist, dotimes): Use slightly different expansion for lexical code.
12071         (functionp): Move to C.
12072         (letrec): New macro.
12073         (with-wrapper-hook): Use it and apply-partially instead of CL.
12074         (eval-after-load): Preserve lexical-binding.
12075         (save-window-excursion, with-output-to-temp-buffer): Turn them
12076         into macros.
12078         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12080         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12081         than the arglist.
12082         (help-add-fundoc-usage): Don't add `Not documented'.
12083         (help-function-arglist): Handle closures, subroutines, and new
12084         byte-code-functions.
12085         (help-make-usage): Remove leading underscores.
12086         (describe-function-1): Handle closures.
12087         (describe-variable): Use special-variable-p for completion.
12089         * files.el (lexical-binding): Declare safe.
12091         * emacs-lisp/pcase.el: Don't use destructuring-bind.
12092         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
12093         (pcase): Add `let' pattern.
12094         Change memoization so it actually works.
12095         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12096         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12097         <let>: New case.
12099         * emacs-lisp/macroexp.el: Use lexical binding.
12100         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
12101         Don't convert ' to #' without checking that it's indeed quoting
12102         a lambda.
12104         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12105         Use eval-sexp-add-defvars.
12106         (eval-sexp-add-defvars): New fun.
12108         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12110         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12111         Don't autoload.
12112         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12113         than the internal `byte-compile-lambda'.
12114         (defmethod): Don't hide code under quotes.
12115         (eieio-defmethod): New `code' argument.
12117         * emacs-lisp/eieio-comp.el: Remove.
12119         * emacs-lisp/edebug.el (edebug-eval-defun)
12120         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12121         (edebug-toggle): Avoid `eval'.
12123         * emacs-lisp/disass.el (disassemble-internal): Handle new
12124         `closure' objects.
12125         (disassemble-1): Handle new byte codes.
12127         * emacs-lisp/cl.el (pushnew): Silence warning.
12129         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12130         (cl-byte-compile-throw): Remove.
12131         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12133         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12134         closures.
12136         * emacs-lisp/cconv.el: New file.
12138         * emacs-lisp/bytecomp.el: Use lexical binding instead of
12139         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
12140         (byte-compile-initial-macro-environment):
12141         Handle declare-function here.
12142         (byte-compile--lexical-environment): New var.
12143         (byte-stack-ref, byte-stack-set, byte-discardN)
12144         (byte-discardN-preserve-tos): New lap codes.
12145         (byte-interactive-p): Don't use any more.
12146         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12147         New macros.
12148         (byte-compile-lapcode): Use them and handle new lap codes.
12149         (byte-compile-obsolete): Remove.
12150         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12151         (byte-compile-arglist-warn): Check late def of inlinable funs.
12152         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12153         since they should have been expanded by now.
12154         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12155         (byte-compile-from-buffer): Remove unused second arg.
12156         (byte-compile-preprocess): New function.
12157         (byte-compile-toplevel-file-form): New function to distinguish
12158         file-form calls from outside from file-form calls from hunk-handlers.
12159         (byte-compile-file-form): Simplify.
12160         (byte-compile-file-form-defsubst): Remove.
12161         (byte-compile-file-form-defmumble): Simplify now that
12162         byte-compile-lambda always returns a byte-code-function.
12163         (byte-compile): Preprocess.
12164         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12165         Remove, not used any more.
12166         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12167         (byte-compile-make-args-desc): New funs.
12168         (byte-compile-lambda): Handle lexical functions.  Always return
12169         a byte-code-function.
12170         (byte-compile-reserved-constants): New var, to make up room for
12171         closed-over variables.
12172         (byte-compile-constants-vector): Obey it.
12173         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12174         (byte-compile-macroexpand-declare-function): New function.
12175         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12176         byte-code-functions.
12177         (byte-compile-form): Check obsolescence here.
12178         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12179         (byte-compile-variable-ref): Remove.
12180         (byte-compile-dynamic-variable-op): New fun.
12181         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12182         (byte-compile-variable-set): New funs.
12183         (byte-compile-discard): Add 2 args.
12184         (byte-compile-stack-ref, byte-compile-stack-set)
12185         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12186         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12187         macroexpand-all instead.
12188         (byte-compile-quote-form): Remove.
12189         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12190         (byte-compile-bind, byte-compile-unbind): New funs.
12191         (byte-compile-let): Handle let* and lexical binding.
12192         (byte-compile-let*): Remove.
12193         (byte-compile-catch, byte-compile-unwind-protect)
12194         (byte-compile-track-mouse, byte-compile-condition-case):
12195         Handle a new :fun-body form, used for lexical scoping.
12196         (byte-compile-save-window-excursion)
12197         (byte-compile-with-output-to-temp-buffer): Remove.
12198         (byte-compile-defun): Simplify.
12199         (byte-compile-stack-adjustment): New fun.
12200         (byte-compile-out): Use it.
12201         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12203         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12204         handler any more.
12206         * emacs-lisp/byte-opt.el: Use lexical binding.
12207         (byte-inline-lapcode): Remove (to bytecomp).
12208         (byte-compile-inline-expand): Pay attention to inlining to/from
12209         lexically bound code.
12210         (byte-compile-unfold-lambda): Don't handle byte-code-functions
12211         any more.
12212         (byte-optimize-form-code-walker): Don't handle save-window-excursion
12213         any more and don't call compiler-macros.
12214         (byte-compile-splice-in-already-compiled-code): Remove.
12215         (byte-code): Don't inline any more.
12216         (disassemble-offset): Receive `bytes' as argument rather than via
12217         dynamic scoping.
12218         (byte-compile-tag-number): Declare before first use.
12219         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12220         `return' even if make-spliceable.
12221         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12222         obsolete interactive-p.
12223         (byte-optimize-lapcode): Optimize new lap-codes.
12224         Don't trip up on new form of `byte-constant' lap code.
12226         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12228         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12230         * custom.el (custom-initialize-default, custom-declare-variable):
12231         Use `defvar'.
12233         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12234         New variables.
12235         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12236         (COMPILE_FIRST): Add macroexp and cconv.
12237         * makefile.w32-in: Mirror changes in Makefile.in.
12239         * vc/cvs-status.el:
12240         * vc/diff-mode.el:
12241         * vc/log-edit.el:
12242         * vc/log-view.el:
12243         * vc/smerge-mode.el:
12244         * textmodes/bibtex-style.el:
12245         * textmodes/css.el:
12246         * startup.el:
12247         * uniquify.el:
12248         * minibuffer.el:
12249         * newcomment.el:
12250         * reveal.el:
12251         * server.el:
12252         * mpc.el:
12253         * emacs-lisp/smie.el:
12254         * doc-view.el:
12255         * dired.el:
12256         * abbrev.el: Use lexical binding.
12258 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
12260         * info.el (info-display-manual): New function.
12262 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12264         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12266 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
12268         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12269         an entry for that server in rcirc-authinfo.  (Bug#8385)
12271 2011-03-31  Glenn Morris  <rgm@gnu.org>
12273         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12275         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12277 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
12279         * progmodes/python.el (python-default-interpreter)
12280         (python-python-command-args, python-jython-command-args)
12281         (python-which-shell, python-which-args, python-which-bufname)
12282         (python-file-queue, python-comint-output-filter-function)
12283         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12284         variables and functions.
12286 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12288         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12289         (completion-in-region-mode): New minor mode.
12290         (completion-in-region): Use it.
12291         (completion-in-region--data, completion-in-region-mode-map): New vars.
12292         (completion-in-region--postch): New function.
12293         (completion--capf-misbehave-funs, completion--capf-safe-funs):
12294         New vars.
12295         (completion--capf-wrapper): New function.
12296         (completion-at-point): Use it to track well-behavedness of
12297         hook functions.
12298         (completion-help-at-point): New command.
12300 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
12302         * vc/add-log.el (add-change-log-entry): Don't use whitespace
12303         syntax class to search for whitespace on a single line
12304         (Message-ID: <4D938140.4030905@redhat.com>).
12306 2011-03-30  Leo Liu  <sdl.web@gmail.com>
12308         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12309         New commands.
12310         (edit-abbrevs-map): Bind them here.
12311         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
12313 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
12315         * allout.el (allout-hide-by-annotation, allout-flag-region):
12316         Reduce possibility of overlay leakage by making them volatile.
12318         * allout-widgets.el (allout-widgets-tally): Define as nil so the
12319         hash is not shared between buffers.  Mode initialization is
12320         responsible for giving it a useful starting value.
12321         (allout-item-span): Reduce possibility of overlay leakage by
12322         making them volatile.
12323         (allout-widgets-count-buttons-in-region): Add diagnostic function
12324         for tracking down button overlay leaks.
12326 2011-03-29  Leo Liu  <sdl.web@gmail.com>
12328         * ido.el (ido-read-internal): Use the default history var
12329         minibuffer-history if no HISTORY is specified.
12331 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
12333         * net/imap.el (imap-shell-open, imap-process-connection-type):
12334         Use imap-process-connection-type for 'shell' streams as well as
12335         Kerberos, SSL, other subprocesses.
12337 2011-03-28  Leo Liu  <sdl.web@gmail.com>
12339         * abbrev.el (abbrev-table-empty-p): New function.
12340         (prepare-abbrev-list-buffer): Place empty abbrev tables after
12341         nonempty ones.  (Bug#5937)
12343 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
12345         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12347 2011-03-27  Leo Liu  <sdl.web@gmail.com>
12349         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12350         for foreground and background colors.
12351         (ansi-color-make-color-map): Adapt.
12353 2011-03-25  Leo Liu  <sdl.web@gmail.com>
12355         * midnight.el (midnight-time-float): Remove.  Note it calculates
12356         the microsecond component incorrectly and seconds-to-time does the
12357         same job.
12358         Remove redundant (require 'timer).
12360         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12361         (ido-completions): Remove unused arguments.  (Bug#8329)
12363 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12365         * minibuffer.el (completion--flush-all-sorted-completions):
12366         Remove itself from hook.
12367         (completion-at-point): Let the functions perform the completion
12368         immediately and return nil or t.
12369         * comint.el (comint-dynamic-complete-functions): Now identical to
12370         completion-at-point-functions.
12371         (comint-dynamic-list-input-ring): Remove unused var `index'.
12372         (comint--match-partial-filename, comint--unquote&expand-filename):
12373         New funs, split from comint-match-partial-filename.
12374         (comint-dynamic-complete): Use completion-at-point.
12375         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12377 2011-03-24  Drew Adams  <drew.adams@oracle.com>
12379         * thingatpt.el: Support `defun'.
12381 2011-03-23  Leo Liu  <sdl.web@gmail.com>
12383         * abbrevlist.el: Move to obsolete/abbrevlist.el.
12385         * help-mode.el (help-mode-finish): Tweak regexp.
12387 2011-03-23  Glenn Morris  <rgm@gnu.org>
12389         * eshell/esh-opt.el (eshell-eval-using-options):
12390         Do not bind unused local variable `eshell-option-stub'.
12392         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12394 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12396         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12397         keymap variable in `with-no-warnings' to avoid a warning when the
12398         keymap has been already `defconst'ed.
12400 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12402         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12403         encode all chars in abbrevs; otherwise use emacs-mule or
12404         utf-8-emacs.  (Bug#8308)
12406 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12408         * simple.el (backward-delete-char-untabify):
12409         Avoid warning about using `delete-backward-char'.
12411         * image.el (image-type-file-name-regexps): Make it variable.
12412         `imagemagick-register-types' modifies it, and the user may want
12413         to add new extensions for known image types.
12414         (imagemagick-register-types): Throw error if not using ImageMagick.
12416 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12418         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12419         located before rcirc-prompt-end-marker.
12420         (rcirc-complete): Error if point is not after rcirc prompt.
12421         Handle the case when table is nil.
12422         (rcirc-user-authenticated): Define to fix compiler warning.
12424 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
12426         * custom.el (custom--inhibit-theme-enable): Make it affect only
12427         custom-theme-set-variables and custom-theme-set-faces.
12428         (provide-theme): Ignore custom--inhibit-theme-enable.
12429         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12430         (custom-enabling-themes): Delete variable.
12431         (enable-theme): Accept only loaded themes as arguments.
12432         Ignore the special custom-enabled-themes variable.
12433         (custom-enabled-themes): Forbid themes from setting this.
12434         Eliminate use of custom-enabling-themes.
12435         (custom-push-theme): Quote "changed" custom var entry.
12437 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12439         * ido.el (ido-read-internal): Add ido-selected to history instead
12440         of user input.
12442 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12444         * subr.el (deferred-action-list, deferred-action-function):
12445         Mark obsolete.
12447 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12449         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12450         change on 2011-02-13 (bug#8309).
12452         * minibuffer.el (read-file-name-function): Change default value.
12453         (read-file-name--defaults): Rename from read-file-name-defaults.
12454         (read-file-name-default): Rename from read-file-name.
12455         (read-file-name): Call read-file-name-function.
12457 2011-03-21  Glenn Morris  <rgm@gnu.org>
12459         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12460         Doc fixes.
12462 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
12464         * cus-theme.el: Add missing provide statement.
12465         (customize-create-theme): Extract theme value correctly.
12466         (custom-theme-visit-theme): Autoload.
12467         (customize-create-theme): Prompt before inserting default faces.
12469 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
12471         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12472         units and musical notes.
12474 2011-03-20  Leo Liu  <sdl.web@gmail.com>
12476         * ido.el (ido-read-internal): Use completing-read-default.
12477         (ido-completing-read): Fix compatibility with completing-read.
12479 2011-03-20  Christian Ohler  <ohler@gnu.org>
12481         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12482         (ert-delete-all-tests): Use `called-interactively-p' rather than
12483         `interactive-p'.
12484         (ert--make-xrefs-region): Respect END.
12486 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12488         * dired-aux.el (dired-create-directory): Signal an error if the
12489         directory already exists (Bug#8246).
12491         * facemenu.el (list-colors-display): Call list-faces-display
12492         inside with-help-window.
12493         (list-colors-print): Use display property to align the final
12494         column, instead of checking window-width.
12496 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
12498         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12499         windows-nt systems.
12500         (emerge-protect-metachars): Quote correctly for ms-dos and
12501         windows-nt systems.
12503 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
12505         * info.el (info-initialize): Replace all uses of `:' with
12506         path-separator for compatibility with non-Unix systems.
12507         Cache quoting of path-separator.  (Bug#8258)
12509 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
12511         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12512         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12513         (mouse-avoidance-mode): Fix typos in docstrings.
12515 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12517         * startup.el (package-subdirectory-regexp): Move from package.el.
12518         Omit \\` and \\', and let callers add them.
12520         * emacs-lisp/package.el (package-strip-version)
12521         (package-load-all-descriptors): Add \\` and \\' to
12522         package-subdirectory-regexp before using it.
12523         (package-untar-buffer): New arg DIR; ensure that file untars only
12524         into this expected directory.  Remove superfluous delete-region.
12525         (package-unpack): Caller changed.
12526         (package-tar-file-info): Use package-subdirectory-regexp.
12528 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12530         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12531         diff-mode-shared-map (bug#8284).
12532         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12534 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12536         * calendar/time-date.el (format-seconds): Use assoc instead of
12537         assoc-string, since assoc-string doesn't exist in XEmacs.
12539 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
12541         * custom.el (custom-known-themes): Reflow docstring.
12542         (custom-theme-load-path): Fix typo in docstring.
12543         (load-theme): Fix typo in error message.
12544         (custom-available-themes, custom-variable-theme-value):
12545         Use `let', not `let*'.
12547 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12549         * calc/README: Mention inclusion of musical notes.
12551         * calc/calc-units.el (calc-lu-quant): Rename from
12552         `calc-logunits-quantity'.
12553         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12554         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12555         (calc-db): Rename from `calc-dblevel'.
12556         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12557         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12558         (calc-np): Rename from `calc-nplevel'.
12559         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12560         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12561         (calc-lu-plus): Rename from `calc-logunits-add'.
12562         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12563         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12564         (calc-lu-minus): Rename from `calc-logunits-sub'.
12565         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12566         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12567         (calc-lu-times): Rename from `calc-logunits-mul'.
12568         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12569         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12570         (calc-lu-divide): Rename from `calc-logunits-div'.
12571         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12572         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12574         * calc/calc-ext.el (calc-init-extensions): Update the names of the
12575         functions being autoloaded.
12577         * calc/calc.el (calc-lu-power-reference): Rename from
12578         `calc-logunits-power-reference'.
12579         (calc-lu-field-reference): Rename from
12580         `calc-logunits-field-reference'.
12582         * calc/calc-help.el (calc-l-prefix-help):
12583         Mention musical note functions.
12585 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12587         * minibuffer.el (completion-all-sorted-completions):
12588         Use :completion-cycle-penalty text property if present.
12590 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
12592         * allout.el (allout-yank-processing): Adjust for new rebulleting
12593         regime so bullet being yanked is used without prompting the user
12594         for a choice.
12596 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12598         * startup.el (command-line): Warn the user that _emacs is deprecated.
12600 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12602         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12603         (delphi-verbose, delphi-comment-face, delphi-string-face)
12604         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12605         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12606         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12607         (delphi-new-comment-line, delphi-font-lock-defaults)
12608         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12609         Fix typos in docstrings.
12611 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
12613         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12614         Invert the roles of character and string values for INSTEAD, so a
12615         string is used for the more common case of a defaulting prompt.
12617 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12619         * progmodes/ruby-mode.el (ruby-backward-sexp):
12620         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12621         * play/gamegrid.el (gamegrid-make-face):
12622         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12623         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12624         * notifications.el (notifications-notify):
12625         * net/xesam.el (xesam-search-engines):
12626         * net/quickurl.el (quickurl-list-insert):
12627         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12629 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
12631         * startup.el (command-line): Update package subdirectory regexp.
12633 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12635         * allout.el (allout-abbreviate-flattened-numbering)
12636         (allout-mode-deactivate-hook): Fix up obsolescence "date".
12638         * subr.el (read-char-choice): Only show the cursor after the prompt,
12639         not after the answer.
12641 2011-03-15  Kevin Ryde  <user42@zip.com.au>
12643         * help-fns.el (variable-at-point): Skip leading quotes, if any
12644         (bug#8253).
12646 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12648         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12649         warning message.
12651 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
12653         * shell.el (shell): When called interactively, offer to change the
12654         shell file name on remote hosts.
12656 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
12658         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12659         integration for LDAP parameters.  The host, base, user or binddn,
12660         and secret tokens can be specified in a netrc file, for instance.
12661         This is optional because an `auth-source' parameter must be
12662         specified in the search attributes.
12664 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
12666         * help.el (describe-mode): Link to the mode's definition (bug#8185).
12668 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12670         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12671         into declaration.  Remove redundant and harmful binding.
12673 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12675         * files.el (file-ownership-preserved-p): Pass `integer' as an
12676         explicit 2nd argument to `file-attributes'.  If the file's owner
12677         is the Administrators group on Windows, and the current user is
12678         Administrator, consider that a match.
12680         * server.el (server-ensure-safe-dir): Consider server directory
12681         safe on MS-Windows if its owner is the Administrators group while
12682         the current Emacs user is Administrator.  Use `=' to compare
12683         numerical UIDs, since they could be integers or floats.
12685 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12687         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12689 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12691         Sync with Tramp 2.2.1.
12693         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12695         * net/trampver.el: Update release number.
12697 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12699         * progmodes/compile.el (compilation--previous-directory): Fix up
12700         various nil/dead-marker mismatches (bug#8014).
12701         (compilation-directory-properties, compilation-error-properties):
12702         Don't call it at a position past the one we're about to change.
12704         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12705         Disable obsolescence warnings in the file that declares it.
12707 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12709         * allout-widgets.el (allout-widgets-tally):
12710         Initialize allout-widgets-tally as a hash table rather than nil to
12711         prevent mode-line redisplay warnings.  Also, clarify the module
12712         description and fix a comment typo.
12714 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12716         * help-fns.el (describe-variable): Don't complete keywords.
12717         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12719 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12721         * emacs-lisp/package.el (package-version-join): Impose a standard
12722         string representation for pre/alpha/beta version lists.
12723         (package-unpack-single): Standardize the directory name by passing
12724         it through package-version-join.
12725         (package-strip-rcs-id): Accept any version string that does not
12726         signal an error in version-to-list.
12728 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12730         * simple.el (delete-trailing-whitespace): Return nil for the
12731         benefit of `write-file-functions'.
12733 2011-03-10  Glenn Morris  <rgm@gnu.org>
12735         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12737         * vc/vc-git.el (vc-git-program): New option.
12738         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12739         (vc-git--call): Use it.
12741         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12743         * cus-edit.el (Custom-newline): If no button at point, look
12744         for a subgroup button at start-of-line.  (Bug#2298)
12746         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12748 2011-03-10  Julien Danjou  <julien@danjou.info>
12750         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12751         `cursor-type' is nil.
12753 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
12755         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12757 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
12759         * allout.el: Change so yank of distinctive-bullet items
12760         preserves the existing header prefix, rebulleting it if necessary,
12761         rather than replacing it.  This is necessary for proper operation
12762         of cooperative addons like allout-widgets.
12763         (allout-make-topic-prefix, allout-rebullet-heading):
12764         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12765         value as alternate bullet to be used, instead of prompting the user
12766         for a bullet character.
12768 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12770         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12771         Do not use `tramp-file-name-port', because this returns also
12772         `tramp-default-port'.
12774 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12776         * net/rcirc.el (rcirc-handler-001): Remove useless
12777         with-rcirc-process-buffer.
12778         (rcirc-check-auth-status): Swap arguments to string-match.
12780 2011-03-09  Glenn Morris  <rgm@gnu.org>
12782         * shell.el (shell-mode):
12783         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12785         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12786         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12788 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12790         * emacs-lisp/package.el (package-refresh-contents)
12791         (package-menu-execute): Use condition-case-no-debug.
12793 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12795         * simple.el (shell-command-to-string): Use `process-file'.
12797         * emacs-lisp/package.el (package-tar-file-info): Handle also
12798         remote files.
12800         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12801         Use `equal' for upload base check.
12803 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12805         * textmodes/texinfo.el (texinfo-environments):
12806         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12808 2011-03-08  Glenn Morris  <rgm@gnu.org>
12810         * cus-start.el (cursor-in-non-selected-windows):
12811         Fix :set quoting oddness.  (Bug#8192)
12813         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12814         in some setf expressions.  (Bug#2159)
12816 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12818         * custom.el (custom-available-themes): Return themes in
12819         alphabetical order.
12821 See ChangeLog.15 for earlier changes.
12823 ;; Local Variables:
12824 ;; coding: utf-8
12825 ;; End:
12827   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12829   This file is part of GNU Emacs.
12831   GNU Emacs is free software: you can redistribute it and/or modify
12832   it under the terms of the GNU General Public License as published by
12833   the Free Software Foundation, either version 3 of the License, or
12834   (at your option) any later version.
12836   GNU Emacs is distributed in the hope that it will be useful,
12837   but WITHOUT ANY WARRANTY; without even the implied warranty of
12838   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12839   GNU General Public License for more details.
12841   You should have received a copy of the GNU General Public License
12842   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.