Fix application of menu-bar-mode etc. by X resources.
[emacs.git] / lisp / ChangeLog
blob6710082665aef6c4ce9d22bf525d979d2f895fde
1 2012-04-27  Chong Yidong  <cyd@gnu.org>
3         * startup.el (x-apply-session-resources): New function.
5         * term/ns-win.el (ns-initialize-window-system):
6         * term/w32-win.el (w32-initialize-window-system):
7         * term/x-win.el (x-initialize-window-system): Use it to properly
8         set menu-bar-mode and other vars from X resources, even if the
9         initial frame is not a window-system frame (Bug#2299).
11         * subr.el (read-key): Avoid running filter function when setting
12         up temporary tool bar entries (Bug#9922).
14 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
16         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
17         (Bug#11344)
19 2012-04-27  Chong Yidong  <cyd@gnu.org>
21         * select.el (xselect--encode-string): New function, split from
22         xselect-convert-to-string.
23         (xselect-convert-to-string): Use it.
24         (xselect-convert-to-filename, xselect-convert-to-os)
25         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
26         returned strings are properly encoded (Bug#11315).
28 2012-04-27  Chong Yidong  <cyd@gnu.org>
30         * simple.el (delete-active-region): Move to killing custom group.
32 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
34         * progmodes/which-func.el (which-func-current): Quote %
35         characters for mode-line processing.
37 2012-04-21  Chong Yidong  <cyd@gnu.org>
39         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
40         reaching eob (Bug#11286).
42 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
44         * progmodes/gdb-mi.el (gdb-control-level): New variable.
45         (gdb): Make it buffer-local and init to zero.
46         (gdb-control-commands-regexp): New variable.
47         (gdb-send): Don't wrap in "-interpreter-exec console" if
48         gdb-control-level is positive.  Increment gdb-control-level
49         whenever the command matches gdb-control-commands-regexp, and
50         decrement it each time the command is "end".  (Bug#11279)
52 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
54         * window.el (adjust-window-trailing-edge, enlarge-window)
55         (shrink-window, window-resize):
56         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
57         windows (Bug#11276).
59 2012-04-27  Chong Yidong  <cyd@gnu.org>
61         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
62         fix "missing prefix" warning.  All callers changed.
64 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * emacs-lisp/assoc.el: Move to obsolete/.
68 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
70         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
72         * term/ns-win.el (ns-define-service):
73         * progmodes/pascal.el (pascal-goto-defun):
74         * progmodes/js.el (js--read-tab):
75         * progmodes/etags.el (tags-lazy-completion-table):
76         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
77         * emacs-lisp/ewoc.el (ewoc--wrap):
78         * emacs-lisp/assoc.el (aput, adelete, amake):
79         * doc-view.el (doc-view-convert-current-doc):
80         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
82 2012-04-26  Chong Yidong  <cyd@gnu.org>
84         * image.el (image-type-from-buffer): Only return supported image
85         type (Bug#9045).
87         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
88         value, for symmetry with diff-end-of-hunk.
89         (diff-split-hunk, diff-find-source-location)
90         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
91         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
92         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
93         compute the relevant hunk or file properly (Bug#6005).
94         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
96 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * vc/vc-mtn.el:
99         * vc/vc-hg.el:
100         * vc/vc-git.el:
101         * vc/vc-dir.el:
102         * vc/vc-cvs.el:
103         * vc/vc-bzr.el:
104         * vc/vc-arch.el:
105         * vc/vc.el: Replace lexical-let by lexical-binding.
106         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
107         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
108         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
110 2012-04-26  Chong Yidong  <cyd@gnu.org>
112         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
113         (diff-mode-shared-map): Bind it to / and [remap undo].
115         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
116         (ediff-window-setup-function): Use it as the default, to set up
117         windows based on whether the current frame is graphical (Bug#2138).
118         (ediff-choose-window-setup-function-automatically): Make obsolete.
120         * vc/ediff-init.el: Always define ediff-pixel-width/height.
122 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
124         * ffap.el: Remove old code for obsolete package.
125         (ffap-complete-as-file-p): Remove.
127         Use completion-table-with-quoting for comint and pcomplete.
128         * comint.el (comint--unquote&requote-argument)
129         (comint--unquote-argument, comint--requote-argument): New functions.
130         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
131         (comint-quote-filename): Use regexp-opt-charset.
132         (comint--common-suffix, comint--common-quoted-suffix)
133         (comint--table-subvert): Remove.
134         (comint-unquote-function, comint-requote-function): New vars.
135         (comint--complete-file-name-data): Use them with
136         completion-table-with-quoting.
137         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
138         * pcomplete.el (pcomplete-arg-quote-list)
139         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
140         (pcomplete-unquote-argument-function): Default to non-nil.
141         (pcomplete-unquote-argument): Simplify.
142         (pcomplete--common-quoted-suffix): Remove.
143         (pcomplete-requote-argument-function): New var.
144         (pcomplete--common-suffix): New function.
145         (pcomplete-completions-at-point): Use completion-table-with-quoting
146         and completion-table-subvert.
148         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
149         (minibuffer--double-dollars): Preserve properties.
150         (completion--sifn-requote): New function.
151         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
153         * minibuffer.el: Add support for completion of quoted/escaped data.
154         (completion-table-with-quoting, completion-table-subvert): New funs.
155         (completion--twq-try, completion--twq-all): New functions.
156         (completion--nth-completion): New function.
157         (completion-try-completion, completion-all-completions): Use it.
159 2012-04-25  Leo Liu  <sdl.web@gmail.com>
161         * progmodes/python.el (python-pdbtrack-get-source-buffer):
162         Use compilation-message if available to find real filename.
164 2012-04-25  Chong Yidong  <cyd@gnu.org>
166         * vc/diff-mode.el (diff-setup-whitespace): New function.
167         (diff-mode): Use it.
169         * vc/diff.el (diff-sentinel):
170         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
171         Whitespace mode variables based on diff style (Bug#8612).
173 2012-04-25  Leo Liu  <sdl.web@gmail.com>
175         * progmodes/python.el (python-send-region): Add suffix .py to the
176         temp file.
178         * files.el (auto-mode-alist): Use javascript-mode instead.
180 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
182         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
184         * soap-client.el (soap-resolve-references-for-sequence-type)
185         (soap-resolve-references-for-array-type): Hack to prevent self
186         references, see Bug#9.
187         (soap-parse-envelope): Report the contents of the 'detail' node
188         when receiving a fault reply.
189         (soap-parse-envelope): Report the contents of the entire 'detail' node.
191         * soap-inspect.el (soap-sample-value-for-simple-type)
192         (soap-inspect-simple-type): New function.
194         * soap-client.el (soap-simple-type): New struct.
195         (soap-default-xsd-types, soap-default-soapenc-types)
196         (soap-decode-basic-type, soap-encode-basic-type):
197         support unsignedInt and double basic types.
198         (soap-resolve-references-for-simple-type)
199         (soap-parse-simple-type, soap-encode-simple-type): New function.
200         (soap-parse-schema): Parse xsd:simpleType declarations.
202         * soap-client.el (soap-default-xsd-types)
203         (soap-default-soapenc-types): Add integer, byte and anyURI types.
204         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
205         the local name of "soapenc:Array".
206         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
207         decoding integer, byte and anyURI xsd types.
209 2012-04-25  Chong Yidong  <cyd@gnu.org>
211         * cus-edit.el (custom-buffer-create-internal): Update header text.
213 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
215         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
216         settings on 'system-type', not on 'window-system'.  On MS-Windows,
217         set interactive-mode on in GDB.
219 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
221         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
222         (ruby-syntax-propertize-regexp): Remove.
223         (ruby-syntax-propertize-function): Split regexp into chunks.
224         Match following code directly.
226 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
228         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
229         (ruby-syntax-propertize-regexp): New function.
230         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
231         by a special keyword.
233         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
234         (ruby-syntax-general-delimiters-goto-beg)
235         (ruby-syntax-propertize-general-delimiters): New functions.
236         (ruby-syntax-propertize-function): Use them to handle GDL.
237         (ruby-font-lock-keywords): Move old handling of GDL...
238         (ruby-font-lock-syntactic-keywords): .. to here.
239         (ruby-calculate-indent): Adjust indentation for GDL.
241 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
243         * notifications.el (top): Remove unneeded declarations.
244         (notifications-specification-version): Change to "1.2".
245         (notifications-interface, notifications-notify-method)
246         (notifications-close-notification-method): Fix docstring.
247         (notifications-get-capabilities-method): New defconst.
248         (notifications-notify): Add :action-items, :resident and
249         :transient hints.  Change "image_data" to "image-data" and
250         "image_path" to "image-path".
251         (notifications-get-capabilities): New defun.
253 2012-04-24  Leo Liu  <sdl.web@gmail.com>
255         * progmodes/python.el: Move hideshow setup to the end.
257 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
259         * window.el (handle-select-window): Clear echo area since this is
260         no more done by read_char (Bug#11304).
262 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
264         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
265         and `/ M' to filter-derived-mode.
266         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
267         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
268         (ibuffer-mark-by-mode): Use default rather than initial-input.
269         (ibuffer-filter-by-derived-mode): Autoload and require-match.
271 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
273         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
274         (ibuffer-filter-by-derived-mode): New filter.
275         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
277 2012-04-23  Andreas Politz  <politza@fh-trier.de>
279         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
281 2012-04-23  Chong Yidong  <cyd@gnu.org>
283         * cus-edit.el (customize-apropos, customize-apropos-options):
284         Disable matching of non-option variables (Bug#11176).
285         (customize-option, customize-option-other-window)
286         (customize-changed-options): Doc fix.
287         (customize-apropos-options, customize-apropos-faces)
288         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
290         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
291         Fix word list splitting (Bug#11132).
292         (apropos-symbol, apropos-keybinding, apropos-label)
293         (apropos-property, apropos-function-button)
294         (apropos-variable-button, apropos-misc-button): New faces.
295         (apropos-symbol-face, apropos-keybinding-face)
296         (apropos-label-face, apropos-property-face, apropos-match-face):
297         Variables removed (Bug#8396).
298         (apropos-library-button, apropos-format-plist, apropos-print)
299         (apropos-print-doc, apropos-describe-plist): Callers changed.
301 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
303         * net/xesam.el (xesam-mode-map): Use let-bound map in
304         initialization.  (Bug#11292)
306 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
308         Preserve ispell session localwords when switching back to
309         original buffer.
311         * ispell.el (ispell-buffer-session-localwords): New buffer-local
312         variable to hold buffer session localwords.
313         (ispell-kill-ispell): add option 'clear to delete session
314         localwords.
315         (ispell-command-loop, ispell-change-dictionary)
316         (ispell-buffer-local-words): Preserve session localwords when
317         needed.
319         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
320         Preserve session localwords when needed.
322 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
324         * ispell.el (ispell-insert-word) Remove unneeded function using
325         obsolete `translation-table-for-input'.
326         (ispell-word, ispell-process-line, ispell-complete-word):
327         Use plain `insert' instead of removed `ispell-insert-word'.
329 2012-04-22  Chong Yidong  <cyd@gnu.org>
331         * cus-edit.el (custom-variable-menu)
332         (custom-variable-reset-saved, custom-face-menu)
333         (custom-face-reset-saved): If there is no saved value, make the
334         "reset-saved" operation bring back the default (Bug#9509).
335         (custom-face-state): Properly detect themed faces.
337         * faces.el (face-spec-set): Stop supporting deprecated form of
338         third arg.
340 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
342         Move functions from C to Lisp.  Make non-blocking method calls
343         the default.  Implement further D-Bus standard interfaces.
345         * net/dbus.el (dbus-message-internal): Declare function.
346         Remove unneeded function declarations.
347         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
348         (dbus-message-type-method-return, dbus-message-type-error)
349         (dbus-message-type-signal): Declare variables.  Remove local
350         definitions.
351         (dbus-interface-dbus, dbus-interface-peer)
352         (dbus-interface-introspectable, dbus-interface-properties)
353         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
354         Adapt docstring.
355         (dbus-interface-objectmanager): New defconst.
356         (dbus-call-method, dbus-call-method-asynchronously)
357         (dbus-send-signal, dbus-method-return-internal)
358         (dbus-method-error-internal, dbus-register-service)
359         (dbus-register-signal, dbus-register-method): New defuns, moved
360         from dbusbind.c
361         (dbus-call-method-handler, dbus-setenv)
362         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
363         New defuns.
364         (dbus-call-method-non-blocking): Make it an obsolete function.
365         (dbus-unregister-object, dbus-unregister-service)
366         (dbus-handle-event, dbus-register-property)
367         (dbus-property-handler): Obey the new structure of
368         `bus-registered-objects'.
369         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
370         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
371         Use `dbus-call-method'.
373 2012-04-22  Chong Yidong  <cyd@gnu.org>
375         * cus-edit.el (custom-commands, custom-reset-menu)
376         (Custom-reset-standard): Tweak labels.
377         (custom-reset-button-menu): Change default to t.
378         (custom-buffer-create-internal): For the custom-reset-button-menu
379         case, put the revert button first.
380         (custom-group-subtitle): New face.
381         (custom-group-value-create): Align docstring to a specific column.
383         * wid-edit.el (widget-documentation-link-add): Don't handle
384         indentation in this function.
385         (widget-documentation-string-indent-to): New function.
386         (widget-documentation-string-value-create): Use it.
388         * autorevert.el (auto-revert):
389         * epg-config.el (epg):
390         * ibuffer.el (ibuffer):
391         * mpc.el (mpc):
392         * ses.el (ses):
393         * eshell/eshell.el (eshell):
394         * net/ange-ftp.el (ange-ftp):
395         * progmodes/ebnf2ps.el (postscript):
396         * progmodes/flymake.el (flymake):
397         * progmodes/prolog.el (prolog):
398         * progmodes/verilog-mode.el (verilog-mode):
399         * progmodes/which-func.el (which-func):
400         * term/xterm.el (xterm):
401         * textmodes/picture.el (picture):
402         * textmodes/tildify.el (tildify):
403         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
404         customization buffers.
406 2012-04-22  Alan Mackenzie  <acm@muc.de>
408         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
409         Adding a ) can hide the resulting (..) from searches.  Fix it.
410         Bound the backward search to the position of the existing (.
412 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
414         * progmodes/verilog-mode.el (verilog-mode): Check whether
415         which-func-modes is t before adding verilog-mode.
416         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
418 2012-04-21  Leo Liu  <sdl.web@gmail.com>
420         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
422 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
424         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
425         filling of the last column of a table (Bug#5635).
426         (woman-find-next-control-line): New arg, specifying an additional
427         regexp component for the control line.
428         (woman2-roff-buffer): Use it.
429         (woman-break-table): New function.
430         (woman2-TS): Use it.
432 2012-04-21  Chong Yidong  <cyd@gnu.org>
434         * woman.el (woman-set-buffer-display-table, woman-decode-region)
435         (woman-horizontal-escapes, woman-negative-vertical-space)
436         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
437         (WoMan-warn-ignored): Use ?\s instead of ?\ .
439 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
441         * minibuffer.el (completion-file-name-table): Complete user names.
443 2012-04-20  Leo Liu  <sdl.web@gmail.com>
445         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
446         and pcase-let*.
448 2012-04-20  Chong Yidong  <cyd@gnu.org>
450         * server.el (server-execute): Respect initial-buffer-choice if it
451         is a string and there are no files to open (Bug#2825).
452         (server-create-window-system-frame, server-create-tty-frame):
453         Don't switch buffers here.
454         (server-process-filter): Only try to open a window system frame if
455         compiled with graphical support (Bug#8314).
457 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
459         * battery.el (battery-echo-area-format): Display remaining time
460         for sysfs backend too (Bug#11269).
461         (battery-linux-sysfs): Fix conditional for the charge.
463 2012-04-20  Chong Yidong  <cyd@gnu.org>
465         * progmodes/gdb-mi.el (gdb): Revert previous change.
466         (gdb-inferior-io--init-proc): New function.
467         (gdb-init-1): Use it.
468         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
469         responsible for allocating a new pty and hooking it to gdb when
470         the old pty gets an EIO due to process exit.
471         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
472         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
473         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
475 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
477         * window.el (window-min-size, window-sizable, window-min-delta)
478         (window-max-delta, window--resizable, window-resizable)
479         (window-total-size, window-full-height-p, window-full-width-p)
480         (window-in-direction, window--resize-mini-window, window-resize)
481         (window--resize-child-windows-normal)
482         (window--resize-child-windows, window--resize-siblings)
483         (window--resize-this-window, adjust-window-trailing-edge)
484         (enlarge-window, shrink-window): Doc fixes.
486 2012-04-20  Chong Yidong  <cyd@gnu.org>
488         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
489         New function to call delete-process on the gdb-inferior buffer's pty.
490         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
491         pty process (Bug#11273).
492         (gdb-update): New arg to suppress talking to the gdb process.
493         (gdb-done-or-error): Use it.
494         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
495         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
496         sentinel not being called.
498         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
500         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
502 2012-04-20  Glenn Morris  <rgm@gnu.org>
504         * net/network-stream.el (open-network-stream): Doc fix.
506 2012-04-20  Chong Yidong  <cyd@gnu.org>
508         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
510 2012-04-20  Alan Mackenzie  <acm@muc.de>
512         Ensure searching for keywords is case sensitive.
514         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
515         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
516         (c-defun-name, c-mark-function, c-cpp-define-name)
517         (c-comment-indent, c-scan-conditionals, c-indent-defun)
518         (c-context-line-break): Bind case-fold-search to nil.
520         * progmodes/cc-mode.el (c-font-lock-fontify-region):
521         Bind case-fold-search to nil.
523 2012-04-20  Chong Yidong  <cyd@gnu.org>
525         * mail/sendmail.el (mail-bury): Call return action with the right
526         Rmail buffer (Bug#11242).
528         * server.el (server-process-filter): Handle corner case where both
529         tty and nowait options are present (Bug#11102).
531 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
533         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
534         (top level): Put into the executable the ident-style '$Id:' tag on
535         windows-nt as well.
537 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
539         * electric.el (electric-indent-post-self-insert-function): Check that
540         electric-indent-mode is enabled in current buffer.
542 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
544         * imenu.el (imenu-progress-message): Restore; it is "used" in
545         erc/erc-imenu.el and net/snmp-mode.el.
547 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
549         * avoid.el (mouse-avoidance-mode): Mark unused arg.
550         (mouse-avoidance-nudge-mouse): Remove unused binding.
552         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
554         * descr-text.el (describe-char):
555         * progmodes/python.el (python-describe-symbol):
556         Don't call `toggle-read-only', set `buffer-read-only'.
558         * imenu.el (imenu-default-goto-function): Mark unused args.
559         (imenu-progress-message): Remove obsolete macro; all callers changed.
561         * subr.el (keymap-canonicalize): Remove unused binding.
562         (read-passwd): Mark unused arg.
564         * tutorial.el (tutorial--display-changes): Remove unused binding.
565         (tutorial--save-tutorial-to): Remove unused variable.
567         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
568         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
569         (package-generate-autoloads, package-menu--generate)
570         (package-menu--find-upgrades): Remove unused bindings.
572         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
573         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
574         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
575         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
576         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
577         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
578         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
579         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
580         (cua-delete-char-rectangle): Mark unused args.
581         (cua-align-rectangle): Remove unused binding.
583         * mail/rmail.el (compilation--message->loc)
584         (epa--find-coding-system-for-mime-charset): Declare.
586         * net/dbus.el (dbus-register-service): Declare.
587         (dbus-name-owner-changed-handler): Remove unused binding.
589         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
590         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
591         (nxml-scan-backward-within): Mark unused arg.
592         (nxml-dynamic-markup-word): Remove unused binding.
594         * mouse.el (mouse-menu-major-mode-map):
595         * emacs-lisp/authors.el (authors-scan-change-log)
596         (authors-add-to-author-list):
597         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
598         * emacs-lisp/smie.el (smie-auto-fill):
599         * mail/sendmail.el (mail-bury):
600         * mail/unrmail.el (unrmail):
601         * net/tls.el (open-tls-stream):
602         * textmodes/picture.el (picture-mouse-set-point):
603         Remove unused bindings.
605 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
607         * net/tramp.el (tramp-action-password): Let-bind
608         `enable-recursive-minibuffers' to t.
610 2012-04-18  Sam Steingold  <sds@gnu.org>
612         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
613         instead of 'string to accommodate values like [f11].
614         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
615         * progmodes/gdb-mi.el: Likewise.
617 2012-04-18  Leo Liu  <sdl.web@gmail.com>
619         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
620         current buffer.
621         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
622         LOCAL is nil.
624 2012-04-18  Chong Yidong  <cyd@gnu.org>
626         * simple.el (line-move): Use forward-line if in batch mode
627         (Bug#11053).
629 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
631         * files.el (after-find-file): Do not try to add a final newline if
632         the buffer is read-only (Bug#11156).
634 2012-04-17  Richard Stallman  <rms@gnu.org>
636         * mail/rmail.el (rmail-start-mail):
637         Pass (rmail-mail-return...) for the return-action.
638         Pass (rmail-yank-current-message...) for the yank-action.
639         (rmail-yank-current-message): New function.
640         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
641         (rmail-reply): Likewise.
642         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
644         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
645         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
646         buffer, not newbuf.
648 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
650         * server.el (server-ensure-safe-dir): Simplify.
652 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
654         * emacs-lisp/smie.el: Provide smarter auto-filling.
655         (smie-auto-fill): New function.
656         (smie-setup): Use it.
658         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
660 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
662         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
663         (comment-indent): Use it.
665 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
667         * ses.el: The overall change is to add cell renaming, that is
668         setting fancy names for cell symbols other than name matching
669         "\\`[A-Z]+[0-9]+\\'" regexp .
670         (ses-localvars): Add ses--renamed-cell-symb-list.
671         (ses-create-cell-variable): New defun.
672         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
673         (ses-relocate-formula): Relocate formulas only for cells the
674         symbols of which are not renamed, i.e. symbols whose names do not
675         match regexp "\\`[A-Z]+[0-9]+\\'".
676         (ses-relocate-all): Relocate values only for cells the symbols of
677         which are not renamed.
678         (ses-load): Create cells variables as the (ses-cell ...) are read,
679         in order to check row col consistency with cell symbol name only
680         for cells that are not renamed.
681         (ses-replace-name-in-formula): New defun.
682         (ses-rename-cell): New defun.
684 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
686         * progmodes/perl-mode.el (perl-indent-parens-as-block):
687         New option (bug#11118).
688         (perl-calculate-indent): Respect it.
690 2012-04-17  Glenn Morris  <rgm@gnu.org>
692         * dired-aux.el (dired-mark-read-string): Doc fix.
694 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
696         * dired-aux.el (dired-mark-read-string): Offer optional completion.
697         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
699 2012-04-17  Glenn Morris  <rgm@gnu.org>
701         * mouse.el (mouse-drag-track):
702         * speedbar.el (speedbar-frame-mode):
703         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
705 2012-04-16  Leo Liu  <sdl.web@gmail.com>
707         * progmodes/python.el: Trivial cleanup.
709 2012-04-16  Glenn Morris  <rgm@gnu.org>
711         * vc/vc.el (vc-string-prefix-p):
712         * vc/pcvs-util.el (cvs-string-prefix-p):
713         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
714         * mpc.el (mpc-string-prefix-p):
715         Make all of these into obsolete aliases for string-prefix-p.
716         Update callers.
717         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
719         * textmodes/two-column.el: Move custom options to the start.
720         (frame-width): Remove compat definition.
721         (2C-associate-buffer, 2C-dissociate):
722         Use with-current-buffer rather than save-excursion.
723         (2C-dissociate): Force a mode-line update.
724         (2C-autoscroll): Use ignore-errors.
726         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
727         Autoload trivia.
729         * emacs-lisp/cl-extra.el (*random-state*):
730         Remove unnecessary declaration.
732         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
734         * play/cookie1.el (cookie-snarf):
735         Give an explicit error if input file cannot be read.
737         * play/yow.el (yow-file): Use expand-file-name rather than concat.
739         * progmodes/perl-mode.el (c-macro-expand):
740         Remove unnecessary autoload (it is in loaddefs.el).
742         * textmodes/picture.el (picture-desired-column)
743         (picture-update-desired-column): Convert comments to doc-strings.
744         (picture-substitute): Remove function.
745         (picture-mode-map): Initialize in the defvar.
747         * woman.el: Remove eval-after-load for tar-mode.
748         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
749         (woman-tar-extract-file): Autoload it.
751         * frame.el (automatic-hscrolling): Make this alias obsolete.
753 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
755         * ispell.el (ispell-set-spellchecker-params): Post-process
756         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
757         (ispell-dictionary-base-alist): Revert to original XEmacs
758         friendly version for default.  [:alpha:] will be added in
759         `ispell-set-spellchecker-params' if needed
761 2012-04-16  Chong Yidong  <cyd@gnu.org>
763         * image.el (imagemagick--extension-regexp): New variable.
764         (imagemagick-register-types): Use it.
765         (imagemagick-types-inhibit): Add :set function.  Allow new value
766         of t to inhibit all types.
768         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
769         so we can preload it.
771         * loadup.el (fboundp): Preload regexp-opt, needed by
772         imagemagick-register-types.
774 2012-04-15  Chong Yidong  <cyd@gnu.org>
776         * frame.el (scrolling): Remove nearly unused customization group.
778         * scroll-all.el (scroll-all-mode): Move to windows group.
780 2012-04-15  Chong Yidong  <cyd@gnu.org>
782         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
784 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
786         Avoid the use of ((lambda ...) ...) in lexical-binding code.
787         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
789 2012-04-15  Glenn Morris  <rgm@gnu.org>
791         * simple.el (process-file-side-effects): Doc fix.
793 2012-04-15  Glenn Morris  <rgm@gnu.org>
795         * international/mule-cmds.el (set-language-environment): Doc fix.
797 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
799         * server.el (server-auth-key, server-generate-key): Doc fixes.
800         (server-get-auth-key): Doc fix.  Use `string-match-p'.
801         (server-start): Reflow docstring.
803 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
805         * server.el (server-generate-key): `called-interactively-p'
806         requires a parameter.
808 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
810         * server.el (server-auth-key): New variable.
811         (server-generate-key, server-get-auth-key): New function.
812         (server-start): Use the new variable and functions to allow
813         setting a permanent server key (bug#9423).
815 2012-04-14  Leo Liu  <sdl.web@gmail.com>
817         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
819 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
821         Spelling fixes.
822         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
823         Emacs uses American spelling.
825 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
827         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
828         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
829         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
830         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
832 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
834         * progmodes/which-func.el (which-func-modes): Change default.
836 2012-04-14  Kim F. Storm  <storm@cua.dk>
838         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
839         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
841 2012-04-14  Chong Yidong  <cyd@gnu.org>
843         * custom.el (custom-theme-set-variables): Doc fix.
845 2012-04-14  Glenn Morris  <rgm@gnu.org>
847         * international/mule.el (set-auto-coding-for-load): Doc fix.
849 2012-04-14  Alan Mackenzie  <acm@muc.de>
851         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
852         imenu work again for Objective C Mode.  Correct the *-index values,
853         these having been disturbed by a previous change in 2011-08.
855         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
856         Correct two search limits.
858 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
860         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
862 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
864         * international/characters.el: Fix sorting.
866 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
868         * international/characters.el: Add more missing Latin case pairs.
870 2012-04-14  Glenn Morris  <rgm@gnu.org>
872         * files.el (dir-locals-set-class-variables): Doc fix.
874 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
876         * international/characters.el: Add set-case-syntax-pair call for
877         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
878         counterpart.  (Bug#11209)
880         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
882 2012-04-14  Glenn Morris  <rgm@gnu.org>
884         * calendar/holidays.el (calendar-check-holidays): Doc fix.
886 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
888         * textmodes/ispell.el (ispell-dictionary-base-alist):
889         Add data for Hebrew.
891 2012-04-14  Chong Yidong  <cyd@gnu.org>
893         * net/rcirc.el (rcirc-cmd-quit):
894         Revert 2012-03-18 change (Bug#11192).
896 2012-04-14  Glenn Morris  <rgm@gnu.org>
898         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
900 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
902         * minibuffer.el (completion-in-region-mode-map):
903         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
905 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
907         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
909 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
911         * minibuffer.el (minibuffer-local-filename-syntax): New variable
912         to allow `C-M-f' and `C-M-b' to move to the nearest path
913         separator (bug#9511).
915 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
917         * avoid.el: Require cl when compiling.  And also move the
918         `provide' to the end.
920 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
922         * avoid.el (mouse-avoidance-banish-position): New variable.
923         (mouse-avoidance-banish-destination): Use it (bug#10165).
925 2012-04-13  Leo Liu  <sdl.web@gmail.com>
927         * progmodes/which-func.el (which-func-modes): Add objc-mode.
929 2012-04-13  Ken Brown  <kbrown@cornell.edu>
931         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
932         this is no longer needed now that cygstart understands file:// URLs.
933         (browse-url-filename-alist): For the same reason, don't modify
934         file:// URLs on Cygwin.
936 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
938         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
939         the region on shift if the binding is already shifted (bug#11221).
941 2012-04-12  Glenn Morris  <rgm@gnu.org>
943         * mail/mailpost.el: Move to obsolete/.
945 2012-04-12  Drew Adams  <drew.adams@oracle.com>
947         * imenu.el (imenu--generic-function): Ignore invisible definitions
948         (bug#10123).
950 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
952         * hexl.el (hexl-bits): New variable.
953         (hexl-options): Mention the variable in the doc string.
954         (hexl-rulerise, hexl-line-displen): New functions.
955         (hexl-mode): Mention the new variable.
956         (hexl-mode, hexl-current-address, hexl-current-address):
957         Use the displen.
958         (hexl-ascii-start-column): New function.
959         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
960         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
962 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
964         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
965         '("-i" ENCODING), in 2 separate command-line arguments, to specify
966         the encoding, as expected by hunspell.
968 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
970         * battery.el (battery--linux-sysfs-regexp): New const.
971         (battery-status-function): Use it.  Remove yeeloong special case.
972         (battery-yeeloong-sysfs): Remove.
973         (battery-echo-area-format): Remove yeeloong special case.
975 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
977         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
978         Reported by Noah Friedman.
980         * subr.el (read-passwd): Use read-string.
982 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
984         * vcursor.el (vcursor-move): Increase the priority of the overlay
985         (bug#9663).
987 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
989         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
990         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
992 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
994         * textmodes/artist.el (artist-mode): Convert artist-mode to use
995         define-minor-mode (bug#10760).
997 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
999         * progmodes/grep.el (rgrep): Tweak the find command line so
1000         that directories matching `grep-find-ignored-files' won't be
1001         pruned (bug#10351).
1003 2012-04-11  Chong Yidong  <cyd@gnu.org>
1005         * startup.el (command-line): Remove support for long-obsolete
1006         variable font-lock-face-attributes.
1008 2012-04-11  Glenn Morris  <rgm@gnu.org>
1010         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1012 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1014         * window.el (window--state-get-1): Obey window-point-insertion-type.
1016 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
1018         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1019         to previous function when point is on the first character of a
1020         function.  Take care of that in `narrow-to-defun' (bug#6157).
1022 2012-04-11  Glenn Morris  <rgm@gnu.org>
1024         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1025         not just file-errors.
1027         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1028         (vc-bzr-sha1): Use internal sha1.
1030 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1032         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1034 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
1036         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1037         that start in the middle of the line (bug#10496).
1039 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
1041         * battery.el (battery-linux-proc-acpi): Only one battery is
1042         discharged at a time, but that seems to confuse battery.el when
1043         computing `rate-type' for the battery not being discharged
1044         (bug#10332).
1046 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1048         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1050         * international/quail.el: Use dolist and simplify.
1051         (quail-define-package, quail-update-keyboard-layout)
1052         (quail-define-rules): Use dolist.
1053         (quail-insert-kbd-layout, quail-get-translation): CSE.
1055         * tmm.el: Use dolist, remove left over hook.
1056         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1057         Use dolist.
1058         (calendar-load-hook): Don't mess with it.
1060         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1061         Use derived-mode-p.  Run the diff asynchronously.
1063 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1065         * obsolete/mouse-sel.el: Add an Obsolete-since header.
1067 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
1069         * misc.el: Display absolute path of loaded DLLs (bug#10424).
1070         (list-dynamic-libraries--loaded): New function.
1071         (list-dynamic-libraries--refresh): Use it.
1073 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
1075         * progmodes/python.el (python-fill-paragraph):
1076         Make python-fill-region in a multiline string work when font-lock is
1077         disabled (bug#7018).
1079 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
1081         * language/european.el (cp775): Add oem/legacy (en)coding on
1082         DOS/MS Windows for the Baltic languages.  There are still plenty
1083         of texts written in this encoding/codepage (bug#6519).
1085 2012-04-10  Glenn Morris  <rgm@gnu.org>
1087         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1088         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1090 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
1092         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1093         next-line "n" and previous-line "p" in order to make recentf more
1094         consistent with ibuffer, dired or org-mode (bug#9387).
1096 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1098         * image.el (put-image): Return the overlay created instead of the
1099         optional input string (bug#7834).  Note that this may break code
1100         that is (for some reason or other) depending on `put-image'
1101         returning the string.
1103         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1105         * simple.el (zap-to-char): Allow zapping using input methods
1106         (bug#1580).
1108         * textmodes/fill.el (fill-region): Leave point and mark where they
1109         were before filling (bug#5399).
1111 2012-04-09  Glenn Morris  <rgm@gnu.org>
1113         * version.el (emacs-bzr-get-version):
1114         Handle lightweight checkouts of local branches.
1116 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
1118         * international/characters.el: Recover lost case pairs.  (Bug#11209)
1120 2012-04-09  Chong Yidong  <cyd@gnu.org>
1122         * custom.el (custom-variable-p): Return nil for non-symbol
1123         arguments instead of signaling an error.
1124         (user-variable-p): Obsolete alias for custom-variable-p.
1126         * apropos.el (apropos-variable):
1127         * files-x.el (read-file-local-variable):
1128         * simple.el (set-variable):
1129         * woman.el (woman-mini-help):
1130         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1132 2012-04-09  Glenn Morris  <rgm@gnu.org>
1134         * startup.el (normal-top-level): Don't look for leim-list.el
1135         in places where it will not be found.  (Bug#910)
1137         * international/mule-cmds.el (set-default-coding-systems):
1138         * files.el (normal-mode):
1139         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
1140         This function was removed with ucs-tables.el in 2008.
1142 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
1144         * textmodes/ispell.el (ispell-check-version): For hunspell, set
1145         ispell-encoding8-command to "-i", without a trailing space.
1146         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1147         separate command-line arguments, to specify the encoding, since
1148         that's how hunspell expects it.
1150 2012-04-08  Glenn Morris  <rgm@gnu.org>
1152         * loadup.el: Load bindings before cus-start.
1153         This reduces somewhat the number of "rogue" settings in emacs -Q.
1155 2012-04-07  Glenn Morris  <rgm@gnu.org>
1157         * version.el (emacs-bzr-get-version): New function.
1158         (emacs-bzr-version): New variable.
1159         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
1160         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1162 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1164         * international/uni-bidi.el, international/uni-category.el:
1165         * international/uni-combining.el, international/uni-decimal.el:
1166         * international/uni-decomposition.el, international/uni-digit.el:
1167         * international/uni-lowercase.el, international/uni-mirrored.el:
1168         * international/uni-name.el, international/uni-numeric.el:
1169         * international/uni-titlecase.el, international/uni-uppercase.el:
1170         Update for Unicode 6.1.
1172 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1174         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1176 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1178         * window.el (shrink-window): Mention the `window-min-height'
1179         variable in the doc string.
1181 2012-04-05  Bastien Guerry  <bzg@altern.org>
1183         * color.el (color-lighten-name): Fix typo.
1185 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1187         * server.el (server--on-display-p): New function.
1188         (server--on-display-p): Use it.
1190 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
1192         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1193         (bug#11145).
1195 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1197         * comint.el (comint--common-quoted-suffix): Check string boundary
1198         before comparing (bug#11158).
1199         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1201 2012-04-04  Chong Yidong  <cyd@gnu.org>
1203         * minibuffer.el (completion-extra-properties): Doc fix.
1205         * subr.el (delayed-warnings-hook): Doc fix.
1207 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
1209         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1210         selection (Bug#11159).
1211         (epa-insert-keys): Inform that the default public key will be
1212         exported if no key is selected.
1214 2012-04-04  Richard Stallman  <rms@gnu.org>
1216         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1218 2012-04-03  Chong Yidong  <cyd@gnu.org>
1220         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1221         mail-insert-file, not its obsolete alias mail-attach-file.
1223 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
1225         * notifications.el (notifications-notify): Fix docstring.
1227 2012-04-02  Glenn Morris  <rgm@gnu.org>
1229         * emacs-lisp/authors.el (authors-aliases): Another addition.
1231 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
1233         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1234         `tramp-compat-call-process' instead of `tramp-local-call-process'.
1235         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1237 2012-04-01  Chong Yidong  <cyd@gnu.org>
1239         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1240         Handle root directory properly.
1241         (copy-directory): Caller changed.
1243         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1244         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1246 2012-03-31  Glenn Morris  <rgm@gnu.org>
1248         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1250         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1252         * calendar/calendar.el (calendar-window-list)
1253         (calendar-hide-window): Restore.  (Bug#11140)
1254         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1256         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1258 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1260         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1261         Check if file is a symlink (Bug#10489).
1263         * files.el (copy-directory): Likewise.
1265 2012-03-30  Chong Yidong  <cyd@gnu.org>
1267         * image.el (imagemagick-types-inhibit)
1268         (imagemagick-register-types): Doc fix.
1270 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1272         * ispell.el (ispell-get-extended-character-mode):
1273         Disable extended-char-mode for hunspell.  hunspell does not support it
1274         and treats ~word as ordinary words in pipe mode.
1276 2012-03-30  Glenn Morris  <rgm@gnu.org>
1278         * tutorial.el (help-with-tutorial): Ensure local variables don't
1279         happen to make the buffer read-only.  (Bug#11127)
1281 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1283         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1284         (perl-calculate-indent): Return `noindent' in strings.
1286 2012-03-28  Sam Steingold  <sds@gnu.org>
1288         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1289         instead of the broken adhockery which does not prevent calendar
1290         buffers from being displayed at random after exit.
1291         (calendar-window-list, calendar-hide-window): Remove the broken
1292         adhockery.
1294 2012-03-28  Glenn Morris  <rgm@gnu.org>
1296         * replace.el (query-replace-map): Doc fix.
1298 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1300         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1301         contents.  (Bug#11109)
1303 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1305         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1306         (bug#11077).
1307         (avl-tree--check, avl-tree--check-node): New funs.
1309 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1311         * window.el (switch-to-visible-buffer): New option.
1312         (switch-to-prev-buffer, switch-to-next-buffer):
1313         Observe switch-to-visible-buffer.  Make sure that checking for a window
1314         showing a buffer already is done on the same frame.
1316 2012-03-27  Glenn Morris  <rgm@gnu.org>
1318         * startup.el (mail-host-address): Doc fix.
1320 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1322         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1323         than 197 variables.
1325 2012-03-26  Ami Fischman  <ami@fischman.org>
1327         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1329 2012-03-26  Glenn Morris  <rgm@gnu.org>
1331         * files.el (save-buffers-kill-emacs): Doc fix.
1333         * startup.el (normal-top-level, command-line, command-line-1):
1334         Give them doc strings.
1336 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1338         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1339         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1341 2012-03-25  Chong Yidong  <cyd@gnu.org>
1343         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1344         theme if it was previously enabled before (Bug#11031).
1346         * cus-theme.el (custom-theme-write-faces): Retrieve current face
1347         spec with custom-face-get-current-spec if its :shown-value is not
1348         determined yet (Bug#9337).
1349         (customize-create-theme, custom-theme-revert): Doc fixes.
1351         * button.el (button-at): Minor addition to docstring.
1353 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
1355         * vc/vc.el (vc-merge): Fix a prompt.
1357 2012-03-24  Chong Yidong  <cyd@gnu.org>
1359         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1360         point (Bug#9623).
1362         * button.el (button-at): Minor addition to docstring.
1364 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1366         * newcomment.el (comment-choose-indent): No space after BOL.
1368 2012-03-22  Sam Steingold  <sds@gnu.org>
1370         * window.el (switch-to-prev-buffer): Revert last patch because the
1371         bug turned out to be an advertised feature (Elisp manual 28.14).
1373 2012-03-22  Glenn Morris  <rgm@gnu.org>
1375         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
1376         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1378 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1380         * net/network-stream.el (network-stream-open-starttls): Make error
1381         message under Windows be less misleading.
1383 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
1385         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1386         understands (bug#9942).
1388 2012-03-22  Chong Yidong  <cyd@gnu.org>
1390         * simple.el (end-of-visible-line): Handle return value of
1391         next-single-property-change properly (Bug#9371).
1393 2012-03-22  Kenichi Handa  <handa@m17n.org>
1395         * international/quail.el (quail-insert-kbd-layout): Fix previous
1396         change.  To avoid unwanted bidi reordering, use
1397         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1399 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1401         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1402         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1403         (ruby-beginning-of-indent): Be more careful with the difference
1404         between word-boundary and symbol boundary.
1405         (ruby-mode-syntax-table): Make : a symbol constituent.
1407 2012-03-21  Andreas Politz  <politza@fh-trier.de>
1409         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1411 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1413         * progmodes/etags.el (tags-completion-at-point-function):
1414         Improve last fix.
1416         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1418 2012-03-21  Sam Steingold  <sds@gnu.org>
1420         * progmodes/etags.el (tags-completion-at-point-function):
1421         Avoid the error when point is inside the pattern.
1423 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
1425         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1426         line (Bug#10855).
1428 2012-03-21  Drew Adams  <drew.adams@oracle.com>
1430         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1432 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
1434         * ido.el (ido-set-current-directory, ido-read-internal)
1435         (ido-choose-completion-string, ido-completion-help): Handle nil
1436         value of ido-completion-buffer (Bug#11008).
1438 2012-03-21  Sam Steingold  <sds@gnu.org>
1440         * window.el (switch-to-prev-buffer): Do not switch to a visible
1441         window previous buffer, just like with the frame previous buffers.
1443 2012-03-21  Chong Yidong  <cyd@gnu.org>
1445         * faces.el (make-face, make-empty-face, copy-face):
1446         * face-remap.el (face-remap-add-relative, face-remap-set-base):
1447         Doc fixes.
1449 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1451         * wid-edit.el (widget-complete-field): Remove (bug#11051).
1452         (widget-complete): Remove broken use of it.
1454 2012-03-20  Chong Yidong  <cyd@gnu.org>
1456         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1457         Use string-width and truncate-string-width to handle arbitrary
1458         characters.
1460 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
1462         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1463         to draw rectangles, not squares.  (Regression introduced by revno
1464         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1466 2012-03-18  Chong Yidong  <cyd@gnu.org>
1468         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1469         it is not yet defined (for temacs).
1471 2012-03-18  Leo Liu  <sdl.web@gmail.com>
1473         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1475 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1477         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1478         (ispell-choices-win-default-height, ispell-silently-savep)
1479         (ispell-dictionary-alist, ispell-encoding8-command)
1480         (ispell-check-version, ispell-aspell-find-dictionary)
1481         (ispell-valid-dictionary-list, ispell-words-keyword)
1482         (ispell-get-word, ispell-internal-change-dictionary)
1483         (ispell-region, ispell-skip-region-list)
1484         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1485         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1486         (ispell-message-text-end, ispell-message)
1487         (ispell-buffer-local-parsing): Doc fix.
1489 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
1491         * htmlfontify.el: Add support for code block fontification for ODT
1492         export (Bug #9914).
1493         (hfy-optimisations): Define new option
1494         `body-text-only'
1495         (hfy-fontify-buffer): Honor above setting.
1496         (hfy-begin-span, hfy-end-span): New routines factored out form
1497         `hfy-fontify-buffer'.
1498         (hfy-begin-span-handler, hfy-end-span-handler): New variables
1499         that permit insertion of custom tags.
1500         (hfy-fontify-buffer): Use above handlers.
1501         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1502         (hfy-face-to-css): Re-defined to be a variable.
1503         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
1504         over multiple runs.  This is made possible by having the caller let
1505         bind a special variable `hfy-user-sheet-assoc'.
1506         (htmlfontify-string): New defun.
1507         (hfy-compile-face-map): Make sure that the last char in the
1508         buffer is correctly fontified.
1509         (hfy-face-resolve-face): Whitespace only change.
1511 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1513         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1514         message more clear.
1516 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1518         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1520 2012-03-16  Alan Mackenzie  <acm@muc.de>
1522         Further optimise the handling of large macros.
1524         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1525         limit to a call of `c-literal-limits'.
1526         (c-determine-+ve-limit): New function.
1527         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1528         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1529         In CASE 5B, restrict a search limit to 500.
1530         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1532         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1533         Restrict macro bounds to +-500 from after-change's BEG END.
1535 2012-03-16  Leo Liu  <sdl.web@gmail.com>
1537         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1539 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
1541         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1542         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
1544 2012-03-16  Glenn Morris  <rgm@gnu.org>
1546         * view.el (view-buffer, view-buffer-other-window)
1547         (view-buffer-other-frame): Doc fixes re special mode-class.
1549         * subr.el (eval-after-load): If named feature is provided not from
1550         a file, run after-load forms.  (Bug#10946)
1552         * calendar/calendar.el (calendar-insert-at-column):
1553         Handle non-unit-width characters a bit better.  (Bug#10978)
1555 2012-03-15  Chong Yidong  <cyd@gnu.org>
1557         * emacs-lisp/ring.el (ring-extend): New function.
1558         (ring-insert+extend): Extend the ring correctly (Bug#11019).
1560         * comint.el (comint-read-input-ring)
1561         (comint-add-to-input-history): Grow comint-input-ring lazily.
1563 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1565         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1566         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1568         * imenu.el: Fix multiple inheritance breakage (bug#9199).
1569         (imenu-add-to-menubar): Don't add a redundant index.
1570         (imenu-update-menubar): Handle a dynamically composed keymap.
1572 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1574         * mail/sendmail.el (mail-encode-header):
1575         Bind rfc2047-encode-encoded-words to nil.
1577 2012-03-13  Glenn Morris  <rgm@gnu.org>
1579         * calendar/calendar.el (calendar-string-spread):
1580         Handle non-unit-width characters a bit better.  (Bug#10978)
1582 2012-03-13  Leo Liu  <sdl.web@gmail.com>
1584         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1585         directory and file as argument (Bug#10822).
1587 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1589         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1590         For dynamically generated code, follow $PC.
1591         (gdb-disassembly-handler-custom): Handle no function name case.
1593 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
1595         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1596         * emulation/ws-mode.el (ws-query-replace):
1597         * sort.el (sort-regexp-fields):
1598         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
1600 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1602         * dabbrev.el: Fix cycle completion order (bug#10963).
1603         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1604         (dabbrev-completion): Don't use an obarray; provide
1605         a cycle-sort-function.
1607 2012-03-12  Leo Liu  <sdl.web@gmail.com>
1609         * simple.el (kill-new): Use equal-including-properties for comparison.
1610         (kill-do-not-save-duplicates): Doc fix.
1612 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1614         * dabbrev.el: Fix cycle completion (bug#10963).
1615         Use lexical binding and wrap to 80 columns.
1616         (dabbrev-completion): Delay computing the list of completions.
1618 2012-03-12  Kenichi Handa  <handa@m17n.org>
1620         * international/quail.el (quail-insert-kbd-layout): Surround each
1621         row by LRO and PDF instead of inserting many LRMs.  Pad the left
1622         and right of each non-spacing marks.  Insert invisible space
1623         between lower and upper characters to prevent composition.
1625 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * minibuffer.el (minibuffer-complete): Don't get confused when the
1628         function is run twice via different commands (bug#10958).
1629         (complete-with-action): Fix docstring.
1631 2012-03-12  Chong Yidong  <cyd@gnu.org>
1633         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1634         (nxml-completion-at-point-function): New function.
1635         (nxml-mode): Use it.
1636         (nxml-bind-meta-tab-to-complete-flag): Default to t.
1638         * emacs-lisp/package.el (package-unpack, package-unpack-single):
1639         Load generated autoloads file before byte compiling (Bug#10970).
1640         (package--make-autoloads-and-compile): New helper fun.
1642 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
1644         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1646 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
1648         * autorevert.el (auto-revert-handler): Ensure, that
1649         file-readable-p is applied only for local files or in
1650         auto-revert-tail-mode.
1652 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1654         * server.el (server-eval-at): Handle non-tcp connections.
1655         Decode result string.
1657         * server.el (server-msg-size): New constant.
1658         (server-reply-print): New function.
1659         (server-eval-and-print): Use it.
1660         (server-eval-at): Use server-quote-arg and server-unquote-arg.
1661         Handle -print-nonl.
1663 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
1665         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1666         (Bug#10987).
1668 2012-03-11  Chong Yidong  <cyd@gnu.org>
1670         * simple.el (goto-line): Doc fix (Bug#9938).
1672         * subr.el (save-window-excursion): Doc fix (Bug#9979).
1674         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1675         when finished (Bug#10963).
1677 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
1679         * window.el (split-window-below): Fix bug in case where
1680         split-window-keep-point is nil (Bug#10971).
1682 2012-03-11  Juri Linkov  <juri@jurta.org>
1684         * replace.el (replace-highlight): Set isearch-word to nil
1685         unconditionally.  (Bug#10887)
1687 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
1689         * net/mairix.el (mairix-replace-invalid-chars): Rename from
1690         mairix-replace-illegal-chars; all callers changed.  Don't remove
1691         ^, ~, and = characters: they are meaningful in mairix search specs.
1692         (mairix-widget-create-query): Add usage information about mairix
1693         search forms: negating words, searching for substrings, etc.
1695 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
1697         * international/fontset.el (font-encoding-alist): Add an entry for
1698         ksx1001 (Bug#5667).
1700 2012-03-10  Richard Stallman  <rms@gnu.org>
1702         * mail/sendmail.el (mail-encode-header):
1703         Set rfc2047-encode-encoded-words.
1705         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1707         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1708         view buffer means not swapped.
1709         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1710         (rmail-write-region-annotate): Error if real text has disappeared.
1712         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1714 2012-03-10  Chong Yidong  <cyd@gnu.org>
1716         * emulation/cua-rect.el (cua--init-rectangles):
1717         * emulation/cua-base.el (cua--init-keymaps):
1718         Add delete-forward-char to remappings (Bug#9666).
1720 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
1722         * speedbar.el (speedbar-unhighlight-one-tag-line):
1723         Avoid unhighlighting due to frame switching (Bug#10275).
1725 2012-03-10  Chong Yidong  <cyd@gnu.org>
1727         * minibuffer.el (completion-in-region, completion-help-at-point):
1728         Give the completion field overlay a high priority (Bug#6830).
1730         * dired.el (dired-goto-file): Recognize absolute file name
1731         listings (Bug#7126).
1732         (dired-goto-file-1): New helper function.
1733         (dired-toggle-read-only): Inhibit warnings.
1735 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
1737         * net/dbus.el (dbus-property-handler): Return empty array if
1738         there are no properties.
1740 2012-03-09  Leo Liu  <sdl.web@gmail.com>
1742         * savehist.el (savehist-printable): Stricter check for string
1743         value (Bug#10937).
1745 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
1747         * mail/smtpmail.el (smtpmail-send-it):
1748         Bind coding-system-for-write to *-unix, so that FCC files are kept in
1749         valid mbox format.
1751 2012-03-09  Glenn Morris  <rgm@gnu.org>
1753         * files.el (dir-locals-find-file):
1754         Don't check result is regular, readable.
1755         (dir-locals-read-from-file): Demote errors.
1757 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
1759         * international/quail.el (quail-insert-kbd-layout):
1760         Insert invisible LRM characters before each character in a keyboard
1761         layout cell, to prevent their reordering by bidi display engine.
1762         For details, see the discussion in
1763         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1765 2012-03-08  Alan Mackenzie  <acm@muc.de>
1767         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1768         the starting position; make it extend the marked region when
1769         invoked repeatedly - all under appropriate circumstances.
1770         Fixes bugs #5525, #10906.
1772 2012-03-08  Glenn Morris  <rgm@gnu.org>
1774         * files.el (locate-dominating-file, dir-locals-find-file):
1775         Undo 2012-03-06 change.
1777 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
1779         * international/quail.el (quail-help):
1780         Force bidi-paragraph-direction be left-to-right.  See discussion in
1781         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1782         for the reason.
1784 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
1786         Avoid superfluous registering of signals.  (Bug#10807)
1788         * notifications.el (notifications-on-action-object)
1789         (notifications-on-close-object): New defvars.
1790         (notifications-on-action-signal, notifications-on-closed-signal):
1791         Unregister the signal if not needed any longer.
1792         (notifications-notify): Register `notifications-action-signal' or
1793         `notifications-closed-signal', if :on-action or :on-close has been
1794         passed as argument.
1796 2012-03-07  Chong Yidong  <cyd@gnu.org>
1798         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1799         non-X platforms.
1801 2012-03-06  Glenn Morris  <rgm@gnu.org>
1803         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1804         (x-disown-selection-internal, x-get-selection-internal):
1805         Doc fix (add arglist signatures).  (Bug#10783)
1807 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
1809         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1810         Handle breakpoints with no "type".
1812 2012-03-06  Glenn Morris  <rgm@gnu.org>
1814         * files.el (locate-dominating-file): Add optional predicate argument.
1815         (dir-locals-find-file): Make use of above change.
1817 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
1819         * info.el (Info-insert-dir): Also try "dir.gz".
1821 2012-03-06  Glenn Morris  <rgm@gnu.org>
1823         * files.el (dir-locals-find-file):
1824         Ignore non-readable or non-regular files.  (Bug#10928)
1826         * files.el (locate-dominating-file): Doc fix.
1828 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
1830         * calendar/calendar.el (calendar-set-mode-line):
1831         `getenv' returns a string.  (Bug#10951)
1833 2012-03-05  Leo Liu  <sdl.web@gmail.com>
1835         * simple.el (backward-delete-char-untabify): Constrain point to
1836         field (Bug#10939).
1838         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1840 2012-03-05  Chong Yidong  <cyd@gnu.org>
1842         * simple.el (count-words): If called from Lisp, return the word
1843         count, for symmetry with `count-lines'.  Arglist changed.
1844         (count-words--message): Args changed.  Consolidate counting code
1845         from count-words and count-words-region.
1846         (count-words-region): Caller changed.
1847         (count-lines-region): Make it an obsolete alias.
1849 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
1851         * saveplace.el (save-place-to-alist)
1852         (save-place-ignore-files-regexp): Allow value nil to disable this
1853         feature.
1855 2012-03-04  Chong Yidong  <cyd@gnu.org>
1857         * faces.el (face-spec-reset-face): For the default face, reset the
1858         attributes to default values (Bug#10748).
1860 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1862         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1863         previous patch: Check `message-send-mail-function', and not the
1864         default function (bug#10897).
1866 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
1868         * notifications.el (notifications-on-action-signal)
1869         (notifications-on-closed-signal): Check for unique service name of
1870         incoming event.  Fix error in removing entry.
1871         (top): Register for signals with wildcard service name.
1872         (notifications-notify): Use daemon unique service name for map entries.
1874 2012-03-04  Chong Yidong  <cyd@gnu.org>
1876         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1878 2012-03-04  Glenn Morris  <rgm@gnu.org>
1880         * abbrev.el (copy-abbrev-table, abbrev-table-p)
1881         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1882         (expand-abbrev, define-abbrev-table): Doc fixes.
1884 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1886         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1887         `message-default-send-mail-function' and not `send-mail-function'
1888         when doing the prompting for `sendmail-query-once' before sending
1889         in Message buffers (bug#10897).
1891         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1892         This is inconsistent with all the other stream functions, which leave
1893         the setting up to the higher levels (if so wanted) (bug#10931).
1895 2012-03-02  Alan Mackenzie  <acm@muc.de>
1897         Depessimize the handling of very large macros.
1899         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1900         (c-macro-cache-syntactic): New variables to implement a one
1901         element macro cache.
1902         (c-invalidate-macro-cache): New function.
1903         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1904         Adapt to use the new cache.
1905         (c-state-safe-place): Use better the cache of safe positions.
1906         (c-state-semi-nonlit-pos-cache)
1907         (c-state-semi-nonlit-pos-cache-limit):
1908         New variables for...
1909         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
1910         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1911         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1912         Use c-state-semi-safe-place.
1914         * progmodes/cc-langs.el (c-get-state-before-change-functions):
1915         Add c-invalidate-macro-cache to the C, C++, Obj entries.
1917 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
1919         * jka-compr.el (jka-compr-call-process):
1920         Apply `file-accessible-directory-p' only when the default directory is
1921         not remote.
1923 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
1925         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
1926         access of FILE2, if FILE1 does not exist.
1928         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1929         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1931         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1932         Add "PAGER=" to `process-environment'.
1934 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
1936         * progmodes/sql.el: Bug fix
1937         (sql-get-login-ext): Save login values in globals.
1938         (sql-get-login): Use new version of `sql-get-login-ext'.
1939         (sql-interactive-mode): Set global `sql-connection' to nil.
1940         (sql-connect): Set global values for connection.
1941         (sql-product-interactive): Save global values as buffer local.
1943 2012-02-29  Leo Liu  <sdl.web@gmail.com>
1945         * abbrev.el (define-abbrevs): Reset sys to nil.
1947 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1949         * files.el (file-equal-p): Rename from `files-equal-p'.
1950         Return nil when one or both files don't exist.
1951         (file-subdir-of-p): Now only top directory must exists,
1952         return nil if it doesn't.
1953         (copy-directory): No need to test with `file-subdir-of-p' after
1954         creating dir.
1955         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1956         to `file-equal-p'.
1958 2012-02-28  Glenn Morris  <rgm@gnu.org>
1960         * shell.el (shell-mode):
1961         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1962         * play/landmark.el (landmark-font-lock-face-O):
1963         * play/handwrite.el (handwrite):
1964         * play/gomoku.el (gomoku-O):
1965         * net/browse-url.el (browse-url-browser-display):
1966         * international/mule.el (define-charset):
1967         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1968         * filesets.el (filesets-find-file-delay):
1969         * eshell/em-xtra.el (eshell-xtra):
1970         * eshell/em-unix.el (eshell-grep):
1971         * emulation/viper.el (viper-mode):
1972         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1973         * emacs-lisp/easymenu.el (easy-menu-define):
1974         * calendar/timeclock.el (timeclock-use-display-time):
1975         * bs.el (bs-mode):
1976         * bookmark.el (bookmark-save-flag):
1977         Doc fix (standardize possessive apostrophe usage).
1979 2012-02-27  Chong Yidong  <cyd@gnu.org>
1981         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1982         Fix key-binding lookup for ESC key (Bug#9146).
1984         * font-lock.el (font-lock-specified-p): Rename from
1985         font-lock-spec-present.  Callers changed.
1987 2012-02-27  Daniel Hackney  <dan@haxney.org>
1989         * emacs-lisp/package.el (package-compute-transaction):
1990         Handle holding a package version to t in package-load-list.
1992 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1994         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1995         (tramp-get-inode, tramp-get-device): Use cached values.
1997 2012-02-26  Alan Mackenzie  <acm@muc.de>
1999         Check there is a font-lock specification before doing initial
2000         fontification.
2002         * font-core.el (font-lock-mode): Move the conditional from
2003         :after-hook to font-lock-initial-fontify.
2004         (font-lock-default-function): Move the check for a specification
2005         to font-lock-spec-present.
2007         * font-lock.el (font-lock-initial-fontify): Call ...
2008         (font-lock-spec-present): New function.
2010 2012-02-26  Jim Blandy  <jimb@red-bean.com>
2012         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2013         (gdb-send): Apply it to the operand of the '-interpreter-exec
2014         console' command, so that we can pass arguments with (say) quotes
2015         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
2017 2012-02-26  Chong Yidong  <cyd@gnu.org>
2019         * help-fns.el (describe-function-1): Clarify description of
2020         remapping (Bug#10844).
2022         * files.el (files-equal-p): Doc fix.
2023         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
2024         and quit the loop once a mismatch is found.
2026 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
2028         * bs.el (bs--show-with-configuration): Don't throw an error
2029         if the window cannot be split; otherwise, subsequent calls to
2030         bs-show fail, restoring a stale window config.  (Bug#10882)
2032 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
2034         * term/ns-win.el (global-map): Bind ns-drag-file to
2035         ns-find-file (Bug#5855, Bug#10050).
2037 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
2039         * calendar/parse-time.el (parse-time-string): Allow extractor to
2040         return nil.
2042 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
2044         * net/tramp.el (tramp-file-name-for-operation):
2045         Add `files-equal-p' and `file-subdir-of-p'.
2047         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2048         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2049         Add COPY-CONTENTS argument.
2051 2012-02-25  Chong Yidong  <cyd@gnu.org>
2053         Add custom groups for VC backends, for consistency with vc-bzr.
2055         * vc/vc-arch.el (vc-arch):
2056         * vc/vc-cvs.el (vc-cvs):
2057         * vc/vc-git.el (vc-git):
2058         * vc/vc-hg.el (vc-hg):
2059         * vc/vc-mtn.el (vc-mtn):
2060         * vc/vc-rcs.el (vc-rcs):
2061         * vc/vc-sccs.el (vc-sccs):
2062         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2063         All relevant defcustoms reassigned.
2065 2012-02-25  Chong Yidong  <cyd@gnu.org>
2067         * newcomment.el (comment-styles): Add autoload (Bug#10868).
2069         * term/x-win.el (x-initialize-window-system): Reduce default for
2070         x-selection-timeout to 5 seconds (Bug#8869).
2072 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2074         * files.el (files-equal-p, file-subdir-of-p): New functions.
2075         (copy-directory): Error when trying to copy a directory on itself.
2076         Add missing copy-contents arg to tramp handler.
2077         * dired-aux.el (dired-copy-file-recursive): Same.
2078         (dired-create-files): Modify destination when source is equal to
2079         dest when copying files.
2080         Return also when dest is a subdir of source.  (Bug#10489)
2082 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
2084         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2085         (Bug#10874)
2087 2012-02-23  Alan Mackenzie  <acm@muc.de>
2089         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2090         parameter "after-hook:" to allow the expansion to run code after
2091         the execution of the mode hooks.
2093         * font-lock.el (font-lock-initial-fontify): New function extracted
2094         from font-lock-mode-internal.
2096         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2097         :after-hook.
2099 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2101         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2102         (completion--cache-all-sorted-completions): New function.
2103         (completion-all-sorted-completions): Use it.
2104         (completion--do-completion, minibuffer-force-complete):
2105         Use it to re-instate the flush hook.
2107         * icomplete.el (icomplete-completions): Replace last fix with a better
2108         one (bug#10850).
2110 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
2112         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2113         when it might call us back infinitely (bug#10797).
2115 2012-02-23  Glenn Morris  <rgm@gnu.org>
2117         * minibuffer.el (completion-category-overrides): Doc fix.
2119 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2121         * minibuffer.el (completion-table-with-context): Fix inf-loop.
2122         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2124 2012-02-23  Glenn Morris  <rgm@gnu.org>
2126         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2127         (authors-obsolete-files-regexps, authors-ignored-files)
2128         (authors-ambiguous-files, authors-renamed-files-alist):
2129         Add more entries.
2131 2012-02-23  Juri Linkov  <juri@jurta.org>
2133         * isearch.el (isearch-occur): Sync interactive spec with occur's
2134         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
2136         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2138 2012-02-22  Juri Linkov  <juri@jurta.org>
2140         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2141         (ucs-insert): Doc fix.  Check for hex digits in the string.
2142         Don't display `nil' in the error message.  (Bug#10857)
2144 2012-02-22  Alan Mackenzie  <acm@muc.de>
2146         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2148 2012-02-22  Glenn Morris  <rgm@gnu.org>
2150         * ffap.el (ffap-c-path):
2151         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
2153 2012-02-22  Chong Yidong  <cyd@gnu.org>
2155         * custom.el (load-theme): Doc fix.
2157 2012-02-22  Glenn Morris  <rgm@gnu.org>
2159         * dired-x.el (dired-guess-shell-alist-default):
2160         Remove escape sequences from nroff output.  (Bug#172)
2162 2012-02-21  Glenn Morris  <rgm@gnu.org>
2164         * vc/emerge.el (emerge-defvar-local):
2165         Set `permanent-local' property rather than unused `preserved'.
2167         * textmodes/picture.el (picture-delete-char): New alias.
2168         (picture-mode-map): Use it.  (Bug#10860)
2169         (picture-mode): Doc fix.
2171 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
2173         * newcomment.el (uncomment-region-default): Remove unused binding.
2175 2012-02-21  Glenn Morris  <rgm@gnu.org>
2177         * textmodes/picture.el (picture-motion, picture-motion-reverse)
2178         (picture-self-insert, picture-tab-chars): Doc fix.
2179         (picture-mode-map): Fix C-a, C-e.
2181 2012-02-20  Glenn Morris  <rgm@gnu.org>
2183         * emacs-lisp/authors.el (authors-aliases): Add another entry.
2185 2012-02-20  Leo Liu  <sdl.web@gmail.com>
2187         * icomplete.el (icomplete-completions): Check FROM arg before
2188         passing to substring (Bug#10850).
2190 2012-02-19  Chong Yidong  <cyd@gnu.org>
2192         * comint.el: Require ansi-color.
2193         (comint-output-filter-functions): Add ansi-color-process-output.
2195         * ansi-color.el: Don't set comint-output-filter-functions; it is
2196         now in the initial value defined in comint.el.
2197         (ansi-color-apply-face-function): New variable.
2198         (ansi-color-apply-on-region): Use it.
2199         (ansi-color-apply-overlay-face): New function.
2201         * shell.el (shell): No need to require ansi-color.
2202         (shell-mode): Use ansi-color-apply-face-function to highlight
2203         color escapes using font-lock-face property (Bug#10835).
2205 2012-02-19  Chong Yidong  <cyd@gnu.org>
2207         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2208         mode-line formats (Bug#10839).
2210 2012-02-18  Glenn Morris  <rgm@gnu.org>
2212         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2214         * mail/undigest.el (unforward-rmail-message): Doc fix.
2216         * saveplace.el (save-place-ignore-files-regexp): Add :version.
2218 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
2220         * international/characters.el (script-list): Sync with the latest
2221         Unicode Character Database.
2223 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
2225         * international/titdic-cnv.el: Remove duplicate coding tag.
2226         * language/cham.el: Likewise.
2227         * language/tai-viet.el: Likewise.
2229 2012-02-18  Glenn Morris  <rgm@gnu.org>
2231         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2232         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2233         (calendar-bahai-all-holidays-flag, calendar-other-dates):
2234         * calendar/diary-lib.el (diary-abbreviated-year-flag):
2235         * calendar/holidays.el (holiday-bahai-holidays)
2236         (calendar-holidays, list-holidays):
2237         Use utf-8 Bahá'í in doc-strings, menus, etc.
2239 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2241         * saveplace.el (save-place-ignore-files-regexp): New variable
2242         allowing for excluding files from saving their location of point.
2243         The default value matches the temporary commit message editing
2244         files from Git, SVN, Bazaar, and Mercurial.
2245         (save-place-to-alist): Use it.
2247 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2248             Stefan Monnier  <monnier@iro.umontreal.ca>
2250         * newcomment.el (uncomment-region-default): Don't leave extra space
2251         when an arg is provided (bug#8150).
2253 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2255         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2257 2012-02-17  Glenn Morris  <rgm@gnu.org>
2259         * net/socks.el: Require network-stream.  (Bug#10599)
2261 2012-02-17  Kenichi Handa  <handa@m17n.org>
2263         * international/charprop.el:
2264         * international/uni-name.el:
2265         * international/uni-old-name.el:
2266         * international/uni-comment.el: Regenerate.
2268 2012-02-16  Glenn Morris  <rgm@gnu.org>
2270         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2271         Interactively in calendar buffer, give an error if not on a date.
2273 2012-02-15  Glenn Morris  <rgm@gnu.org>
2275         * shell.el (shell-delimiter-argument-list):
2276         Revert 2011-02-17 change.  (Bug#8027)
2278 2012-02-15  Chong Yidong  <cyd@gnu.org>
2280         * minibuffer.el (completion-at-point-functions): Doc fix.
2282         * custom.el (defcustom): Doc fix; note use of defvar.
2284 2012-02-15  Glenn Morris  <rgm@gnu.org>
2286         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2287         Doc fixes.
2289 2012-02-14  Glenn Morris  <rgm@gnu.org>
2291         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2293 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2295         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2296         way the ports list is computed.
2297         (smtpmail-query-smtp-server): Prompt the user for a port number if
2298         we can't connect to any of the standard ports (bug#10810).
2300 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2302         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2304 2012-02-13  Glenn Morris  <rgm@gnu.org>
2306         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2308 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2310         * net/gnutls.el (gnutls-trustfiles): New variable.
2311         (gnutls-negotiate): Use it.
2313 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2315         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2316         does its stuff if Gnus is running.
2318 2012-02-13  Alan Mackenzie  <acm@muc.de>
2320         Fix a loop in c-set-fl-decl-start.
2322         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2323         c-backward-syntactic-ws actually moves backwards.
2325 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2327         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2328         beginning so that all \C-o chars are removed.
2330 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2332         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2334 2012-02-12  Alan Mackenzie  <acm@muc.de>
2336         Fix infinite loop with long macros.
2337         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2339 2012-02-12  Chong Yidong  <cyd@gnu.org>
2341         * window.el (display-buffer): Doc fix (Bug#10785).
2343 2012-02-12  Glenn Morris  <rgm@gnu.org>
2345         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2346         (x-disown-selection-internal, x-get-selection-internal):
2347         Sync docs with the xselect.c versions.
2349         * allout-widgets.el: Add missing license notice.
2351 2012-02-11  Glenn Morris  <rgm@gnu.org>
2353         * select.el (x-get-selection-internal, x-own-selection-internal)
2354         (x-disown-selection-internal):
2355         * x-dnd.el (x-get-selection-internal): Update declarations.
2357         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2359         * window.el (window-sides-slots):
2360         * tool-bar.el (tool-bar-position):
2361         * term/xterm.el (xterm-extra-capabilities):
2362         * ses.el (ses-self-reference-early-detection):
2363         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2364         (verilog-auto-wire-type)
2365         (verilog-auto-delete-trailing-whitespace)
2366         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2367         (verilog-auto-tieoff-declaration):
2368         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2369         (sql-oracle-statement-starters, sql-oracle-scan-on):
2370         * progmodes/prolog.el (prolog-align-comments-flag)
2371         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2372         (prolog-left-indent-regexp, prolog-paren-indent-p)
2373         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2374         (prolog-types, prolog-mode-specificators)
2375         (prolog-determinism-specificators, prolog-directives)
2376         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2377         (prolog-electric-dot-flag)
2378         (prolog-electric-dot-full-predicate-template)
2379         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2380         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2381         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2382         (prolog-program-switches, prolog-prompt-regexp)
2383         (prolog-debug-on-string, prolog-debug-off-string)
2384         (prolog-trace-on-string, prolog-trace-off-string)
2385         (prolog-zip-on-string, prolog-zip-off-string)
2386         (prolog-use-standard-consult-compile-method-flag)
2387         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2388         (prolog-imenu-max-lines, prolog-info-predicate-index)
2389         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2390         (prolog-char-quote-workaround):
2391         * progmodes/cc-vars.el (c-defun-tactic):
2392         * net/tramp.el (tramp-encoding-command-interactive)
2393         (tramp-local-end-of-line):
2394         * net/soap-client.el (soap-client):
2395         * net/netrc.el (netrc-file):
2396         * net/gnutls.el (gnutls):
2397         * minibuffer.el (completion-category-overrides)
2398         (completion-cycle-threshold)
2399         (completion-pcm-complete-word-inserts-delimiters):
2400         * man.el (Man-name-local-regexp):
2401         * mail/feedmail.el (feedmail-display-full-frame):
2402         * international/characters.el (glyphless-char-display-control):
2403         * eshell/em-ls.el (eshell-ls-date-format):
2404         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2405         (lisp-lambda-list-keyword-parameter-indentation)
2406         (lisp-lambda-list-keyword-parameter-alignment):
2407         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2408         * dired-x.el (dired-omit-verbose):
2409         * cus-theme.el (custom-theme-allow-multiple-selections):
2410         * calc/calc.el (calc-highlight-selections-with-faces)
2411         (calc-lu-field-reference, calc-lu-power-reference)
2412         (calc-note-threshold):
2413         * battery.el (battery-mode-line-limit):
2414         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2415         (archive-7z-update):
2416         * allout.el (allout-prefixed-keybindings)
2417         (allout-unprefixed-keybindings)
2418         (allout-inhibit-auto-fill-on-headline)
2419         (allout-flattened-numbering-abbreviation):
2420         * allout-widgets.el (allout-widgets-auto-activation)
2421         (allout-widgets-icons-dark-subdir)
2422         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2423         (allout-widgets-theme-dark-background)
2424         (allout-widgets-theme-light-background)
2425         (allout-widgets-item-image-properties-emacs)
2426         (allout-widgets-item-image-properties-xemacs)
2427         (allout-widgets-run-unit-tests-on-load)
2428         (allout-widgets-time-decoration-activity)
2429         (allout-widgets-hook-error-post-time)
2430         (allout-widgets-track-decoration):
2431         Add missing :version tags to new defcustoms and defgroups.
2433         * progmodes/sql.el (sql-ansi-statement-starters)
2434         (sql-oracle-statement-starters): Add custom type.
2436         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2437         (prolog-system-version): Give it a type.
2439 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
2441         * term/pc-win.el (x-select-text, x-selection-owner-p)
2442         (x-own-selection-internal, x-disown-selection-internal)
2443         (x-get-selection-internal): Sync doc strings and argument lists
2444         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
2446 2012-02-11  Leo Liu  <sdl.web@gmail.com>
2448         * progmodes/python.el (python-end-of-statement): Fix infinite
2449         loop.  (Bug#10788)
2451 2012-02-10  Glenn Morris  <rgm@gnu.org>
2453         * international/mule-cmds.el (unify-8859-on-encoding-mode)
2454         (unify-8859-on-decoding-mode): Properly mark as obsolete.
2456 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2458         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2459         about SMTP before checking the From header.
2461         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2462         into own function for reuse by emacsbug.el.
2464 2012-02-10  Leo Liu  <sdl.web@gmail.com>
2466         * subr.el (condition-case-unless-debug): Rename from
2467         condition-case-no-debug.  All callers changed.
2468         (with-demoted-errors): Fix caller.
2470         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2471         * nxml/rng-valid.el (rng-do-some-validation):
2472         * emacs-lisp/package.el (package-refresh-contents)
2473         (package-menu-execute):
2474         * desktop.el (desktop-create-buffer):
2475         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2477 2012-02-10  Glenn Morris  <rgm@gnu.org>
2479         * textmodes/bibtex.el:
2480         Add missing :version tags for new/changed defcustoms.
2482         * files.el (remote-file-name-inhibit-cache): Doc fixes.
2484 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
2486         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2487         (smtpmail-via-smtp): Use it, or fall back on the From address.
2488         (smtpmail-send-it): Ditto.
2490 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2493         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
2494         (byte-compile-tmp-var): New const.
2495         (byte-compile-defvar): Use it to minimize .elc size.
2496         Just use `defvar' rather than simulate it (bug#10761).
2498 2012-02-09  Glenn Morris  <rgm@gnu.org>
2500         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
2502         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2503         Add :version tags.
2505         * progmodes/compile.el (compilation-error-screen-columns)
2506         (compilation-first-column, compilation-filter-start): Doc fixes.
2508         * vc/log-view.el (log-view-toggle-entry-display):
2509         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2511         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2512         (report-emacs-bug-can-use-xdg-email):
2513         (report-emacs-bug-insert-to-mailer): Doc fixes.
2514         (report-emacs-bug): Message fix.
2516         * net/browse-url.el (browse-url-can-use-xdg-open)
2517         (browse-url-xdg-open): Doc fixes.
2519         * electric.el (electric-indent-mode, electric-pair-mode)
2520         (electric-layout-rules, electric-layout-mode): Doc fixes.
2521         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2523 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
2525         * server.el (server-unselect-display): Don't inadvertently kill
2526         the current buffer.  (Bug#10729)
2528 2012-02-08  Glenn Morris  <rgm@gnu.org>
2530         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2531         (sql-list-table): Doc fixes.
2533         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2534         Comment out (does nothing).
2536         * completion.el (dynamic-completion-mode):
2537         * dirtrack.el (dirtrack-debug-mode):
2538         * electric.el (electric-layout-mode):
2539         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2540         * face-remap.el (text-scale-mode, buffer-face-mode):
2541         * iimage.el (iimage-mode):
2542         * image-mode.el (image-transform-mode):
2543         * minibuffer.el (completion-in-region-mode):
2544         * scroll-lock.el (scroll-lock-mode):
2545         * simple.el (next-error-follow-minor-mode):
2546         * tar-mode.el (tar-subfile-mode):
2547         * tooltip.el (tooltip-mode):
2548         * vcursor.el (vcursor-use-vcursor-map):
2549         * wid-browse.el (widget-minor-mode):
2550         * emulation/tpu-edt.el (tpu-edt-mode):
2551         * emulation/tpu-extras.el (tpu-cursor-free-mode):
2552         * international/iso-ascii.el (iso-ascii-mode):
2553         * language/thai-util.el (thai-word-mode):
2554         * mail/supercite.el (sc-minor-mode):
2555         * net/goto-addr.el (goto-address-mode):
2556         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2557         * progmodes/cwarn.el (cwarn-mode):
2558         * progmodes/flymake.el (flymake-mode):
2559         * progmodes/glasses.el (glasses-mode):
2560         * progmodes/hideshow.el (hs-minor-mode):
2561         * progmodes/pascal.el (pascal-outline-mode):
2562         * textmodes/enriched.el (enriched-mode):
2563         * vc/smerge-mode.el (smerge-mode):
2564         Doc fixes (minor mode argument).
2566 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
2568         * ls-lisp.el (ls-lisp-sanitize): New function.
2569         (ls-lisp-insert-directory): Use it to fix or remove any elements
2570         in file-alist with missing attributes.  (Bug#4673)
2572 2012-02-07  Alan Mackenzie  <acm@muc.de>
2574         Fix spurious recognition of c-in-knr-argdecl.
2576         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2577         putative K&R region.
2579 2012-02-07  Alan Mackenzie  <acm@muc.de>
2581         * progmodes/cc-engine.el (c-forward-objc-directive):
2582         Prevent looping in "#pragma mark @implementation".
2584 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
2586         * notifications.el (notifications-on-closed-signal): Make `reason'
2587         optional.  (Bug#10744)
2589 2012-02-07  Glenn Morris  <rgm@gnu.org>
2591         * emacs-lisp/easy-mmode.el (define-minor-mode):
2592         Doc fixes for the macro and the mode it defines.
2594         * image.el (imagemagick-types-inhibit): Doc fix.
2596         * cus-start.el (imagemagick-render-type): Add it.
2598 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
2600         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2601         Set the default at load time, too, so that `font-lock-fontify-buffer'
2602         can be called without setting up the entire mode first.  This fixes
2603         a bug in `mm-inline-text' with C MIME parts.
2605 2012-02-06  Chong Yidong  <cyd@gnu.org>
2607         * simple.el (list-processes--refresh): Delete exited processes
2608         (Bug#8094).
2610         * comint.el (comint-next-prompt): next-single-char-property-change
2611         and prev-single-char-property-change never return nil (Bug#8657).
2613         * custom.el (defcustom): Doc fix (Bug#9711).
2615 2012-02-05  Chong Yidong  <cyd@gnu.org>
2617         * cus-edit.el (custom-variable-reset-backup): Quote the value
2618         before storing it in the customized-value property (Bug#6712).
2619         (custom-display): Add a customization type tag.
2620         (custom-buffer-create-internal): Improve tooltip message.
2622         * wid-edit.el (widget-field-value-get): New optional arg to
2623         suppress trailing whitespace truncation.
2624         (character): Use it (Bug#2689).
2626 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
2628         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2629         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2631 2012-02-05  Chong Yidong  <cyd@gnu.org>
2633         * cus-edit.el (custom-variable-value-create): For mismatched
2634         types, show the current value (Bug#7600).
2636         * custom.el (defcustom): Doc fix.
2638 2012-02-05  Glenn Morris  <rgm@gnu.org>
2640         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2642 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
2644         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2645         (pp-buffer): Use `ignore-errors', `looking-at-p'.
2646         (pp-last-sexp): Use `looking-at-p'.
2648 2012-02-04  Glenn Morris  <rgm@gnu.org>
2650         * files.el (revert-buffer):
2651         Doc fix (mention revert-buffer-in-progress-p).
2653         * emacs-lisp/ert-x.el (ert-simulate-command):
2654         Check deferred-action-list (which is obsolete) is bound.
2656         * subr.el (with-wrapper-hook): Doc fixes.
2658         * simple.el (filter-buffer-substring-functions)
2659         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2661 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
2663         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2664         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
2666 2012-02-04  Leo Liu  <sdl.web@gmail.com>
2668         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2670 2012-02-04  Glenn Morris  <rgm@gnu.org>
2672         * image.el (image-extension-data): Add obsolete alias.
2674         * isearch.el (isearch-update): Doc fix.
2676         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2678         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2680 2012-02-03  Glenn Morris  <rgm@gnu.org>
2682         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
2683         (image-animate-timeout): Doc fix.
2685         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2687 2012-02-02  Glenn Morris  <rgm@gnu.org>
2689         * server.el (server-auth-dir): Doc fix.
2690         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
2692         * subr.el (run-mode-hooks): Doc fix.
2694 2012-02-02  Juri Linkov  <juri@jurta.org>
2696         * image-mode.el (image-toggle-display-image): Remove tautological
2697         `major-mode' from the `derived-mode-p' test.
2699 2012-02-02  Kenichi Handa  <handa@m17n.org>
2701         * composite.el (compose-region): Cancel previous change.
2703 2012-02-02  Kenichi Handa  <handa@m17n.org>
2705         * composite.el (compose-region, compose-string): Signal error for
2706         a null string component (Bug#6988).
2708 2012-02-01  Chong Yidong  <cyd@gnu.org>
2710         * view.el (view-buffer-other-window, view-buffer-other-frame):
2711         Handle special modes like view-buffer (Bug#10650).
2712         (view-buffer): Simplify.
2714         * frame.el (set-frame-font): Tweak meaning of third argument.
2716         * dynamic-setting.el (font-setting-change-default-font):
2717         Use set-frame-font (Bug#9982).
2719 2012-02-01  Glenn Morris  <rgm@gnu.org>
2721         * progmodes/compile.el (compilation-internal-error-properties):
2722         Respect compilation-first-column in the "*compilation*" buffer.
2724         * emacs-lisp/easy-mmode.el (define-minor-mode):
2725         Relax :variable's test for a named function.
2727 2012-01-31  Alan Mackenzie  <acm@muc.de>
2729         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2730         off by one error.
2732 2012-01-31  Chong Yidong  <cyd@gnu.org>
2734         * frame.el (set-frame-font): New arg ALL-FRAMES.
2736         * menu-bar.el (menu-set-font): Use set-frame-font.
2738         * faces.el (face-spec-reset-face): Don't apply unspecified
2739         attribute values to the default face.
2741 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
2743         * progmodes/cwarn.el (cwarn): Remove dead link.
2744         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2745         Remove * from defcustom docstrings.
2746         (turn-on-cwarn-mode): Make obsolete.
2747         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2748         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2750 2012-01-31  Glenn Morris  <rgm@gnu.org>
2752         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2753         Fix :variable handling of mode a symbol not equal to modefun.
2754         Allow named functions to be used as the cdr of :variable.
2756 2012-01-30  Glenn Morris  <rgm@gnu.org>
2758         * emacs-lisp/authors.el (authors-fixed-entries):
2759         Remove reference to deleted file rnewspost.el.
2761 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
2763         * window.el (window-with-parameter): Remove unused variable `windows'.
2764         (window--side-check): Remove unused variable `code'.
2765         (window--resize-siblings): Remove unused variable `first'.
2766         (adjust-window-trailing-edge): Remove unused variable `failed'.
2767         (window-deletable-p, window--delete): Remove unused variable `buffer'.
2768         Use `let', not `let*'.
2769         (balance-windows-2): Remove unused variable `found'.
2770         (window--state-put-2): Remove unused variable `splits'.
2771         (window-state-put): Remove unused variable `selected'.
2772         (same-window-p): Use `string-match-p'.
2773         (display-buffer-assq-regexp): Remove unused variable `value'.
2774         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2775         Mark argument ALIST as ignored.
2776         (pop-to-buffer): Remove unused variable `old-window'.
2778 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
2780         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2781         and .lzma compressed files.
2783 2012-01-29  Chong Yidong  <cyd@gnu.org>
2785         * frame.el (window-system-default-frame-alist): Doc fix.
2787         * dynamic-setting.el (font-setting-change-default-font): Don't
2788         change the default face if SET-FONT argument is non-nil (Bug#9982).
2790 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
2792         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2794 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
2796         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2797         breakpoints in files outside current directory (Bug#6098).
2799 2012-01-29  Chong Yidong  <cyd@gnu.org>
2801         * progmodes/python.el: Require ansi-color at top-level.
2803         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2804         Define and use in Emacs Lisp mode (Bug#9360).
2805         (lisp-mode-abbrev-table): Add doc.
2806         (lisp-mode-variables): Don't set local-abbrev-table.
2807         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2809 2012-01-28  Roland Winkler  <winkler@gnu.org>
2811         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2813 2012-01-28  Roland Winkler  <winkler@gnu.org>
2815         * textmodes/bibtex.el (bibtex-entry-alist): New function.
2816         (bibtex-set-dialect): Use it.  Either set global values of
2817         dialect-dependent variables or bind these variables buffer-locally
2818         (Bug#10254).
2819         (bibtex-mode): Call bibtex-set-dialect via
2820         hack-local-variables-hook.
2821         (bibtex-dialect): Update docstring.
2822         Add safe-local-variable predicate.
2823         (bibtex-entry-alist, bibtex-field-alist): Initialize via
2824         bibtex-set-dialect.
2825         (bibtex-mode-map): Define menu for each dialect.
2826         (bibtex-entry): Fix docstring.
2828 2012-01-28  Chong Yidong  <cyd@gnu.org>
2830         * eshell/esh-arg.el (eshell-quote-argument): New function.
2832         * eshell/esh-ext.el (eshell-invoke-batch-file):
2833         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2834         first arg to eshell-parse-command (Bug#10523).
2836 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2838         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2839         `default-directory' is non-nil.
2841 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2843         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2844         line that displays system-configuration-options.  (Bug#9924)
2846 2012-01-28  Drew Adams  <drew.adams@oracle.com>
2848         * descr-text.el (describe-char): Show information about POS, in
2849         addition to information about the character at POS.  Improve and
2850         update the doc string.  Change "code point" to "code point in
2851         charset", to avoid confusion with the character's Unicode code
2852         point shown above that.  (Bug#10129)
2854 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
2856         * descr-text.el (describe-char): Show the raw character, not only
2857         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
2858         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2859         for the reasons.
2861 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
2863         * emacs-lisp/package.el (package-install):
2864         Run package-refresh-contents if there is no archive yet (Bug#9798).
2866 2012-01-28  Chong Yidong  <cyd@gnu.org>
2868         * emacs-lisp/package.el (package-maybe-load-descriptor):
2869         New function, split from package-maybe-load-descriptor.
2870         (package-maybe-load-descriptor): Use it.
2871         (package-download-transaction): Fully load required packages
2872         inside the loop, so that `require' calls work (Bug#10593).
2873         (package-install): No need to call package-initialize now.
2875 2012-01-28  Chong Yidong  <cyd@gnu.org>
2877         * simple.el (deactivate-mark): Doc fix (Bug#8614).
2879         * tooltip.el (tooltip-mode): Doc fix.
2880         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2882         * frame.el (set-cursor-color): Doc fix (Bug#352).
2884         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2885         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2887         * cus-edit.el (custom-buffer-create-internal): Fix search button
2888         action (Bug#10542).
2889         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2891 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
2893         * dired.el (dired-mark-files-regexp):
2894         Include any subdirectory components.  (Bug#10445)
2896 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2898         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2899         Handle [host]:port syntax.  (Bug#10533)
2901 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
2903         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2905 2012-01-26  Glenn Morris  <rgm@gnu.org>
2907         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2908         * term.el (term-raw-escape-map): Use Control-X-prefix.
2909         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
2911 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
2913         * window.el (window-state-get, window--state-get-1): Don't deal
2914         with fixed-sizeness of windows.  Simplify code.
2916 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
2918         * window.el (window--state-get-1, window--state-put-2):
2919         Don't save and restore the mark.
2921 2012-01-25  Chong Yidong  <cyd@gnu.org>
2923         * custom.el (custom-variable-p): Doc fix.
2925 2012-01-25  Glenn Morris  <rgm@gnu.org>
2927         * dired.el (dired-goto-file): Handle some of the more common
2928         characters that `ls -b' escapes.  (Bug#10596)
2930         * progmodes/compile.el (compilation-next-error-function):
2931         Respect compilation-first-column in the "*compilation*" buffer.
2932         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
2934         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
2936 2012-01-24  Glenn Morris  <rgm@gnu.org>
2938         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
2940 2012-01-24  Julien Danjou  <julien@danjou.info>
2942         * color.el (color-rgb-to-hsl): Fix value computing.
2943         (color-hue-to-rgb): New function.
2944         (color-hsl-to-rgb): New function.
2945         (color-clamp, color-saturate-hsl, color-saturate-name)
2946         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2947         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2949 2012-01-24  Glenn Morris  <rgm@gnu.org>
2951         * vc/vc-rcs.el (vc-rcs-create-tag):
2952         * vc/vc-sccs.el (vc-sccs-create-tag):
2953         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2955 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2957         * eshell/esh-util.el (eshell-read-hosts-file):
2958         Skip comment lines.  (Bug#10549)
2960         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2962 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2964         * subr.el (display-delayed-warnings): Doc fix.
2965         (collapse-delayed-warnings): New function to collapse identical
2966         adjacent warnings.
2967         (delayed-warnings-hook): Add it.
2969 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2971         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2973         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2974         properties, when "login-as" is set.
2976         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2977         (tramp-default-user-alist): Don't add "pscp".
2978         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2979         property "login-as", if set.  (Bug#10530)
2981 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2983         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2984         "plink1" and "psftp".  (Bug#10530)
2986 2012-01-21  Kenichi Handa  <handa@m17n.org>
2988         * international/mule-cmds.el (prefer-coding-system): Show a
2989         warning message if the default value of file-name-coding-system
2990         was not changed.
2992 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2994         * windmove.el (windmove-reference-loc):
2995         Fix windmove-reference-loc miscalculation.
2997 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2999         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3000         default unit.
3002 2012-01-21  Glenn Morris  <rgm@gnu.org>
3004         * international/mule.el (auto-coding-alist): Add .tbz.
3006         * files.el (local-enable-local-variables): Doc fix.
3007         (inhibit-local-variables-regexps): Rename from
3008         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
3009         Doc fix.  Add some extensions from auto-coding-alist.
3010         (inhibit-local-variables-suffixes):
3011         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
3012         (inhibit-local-variables-p):
3013         New function, extracted from set-auto-mode-1.
3014         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
3015         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
3016         (hack-local-variables): Doc fix.  Make the mode-only case
3017         respect enable-local-variables and friends.
3018         Respect inhibit-local-variables-regexps for file-locals, but
3019         not for directory-locals.
3020         (set-visited-file-name):
3021         Take account of inhibit-local-variables-regexps.
3022         Whether it applies may change as the file name is changed.
3023         * jka-cmpr-hook.el (jka-compr-install):
3024         * jka-compr.el (jka-compr-uninstall):
3025         Update for inhibit-first-line-modes-suffixes name change.
3027 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
3029         * help-macro.el (make-help-screen): Temporarily restore original
3030         binding for minor-mode-map-alist (Bug#10454).
3032 2012-01-19  Julien Danjou  <julien@danjou.info>
3034         * color.el (color-name-to-rgb): Use the white color to find the max
3035         color component value and return correctly computed values.
3036         (color-name-to-rgb): Add missing float conversion for max value.
3038 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
3040         * window.el (window--state-get-1, window-state-get): Do not use
3041         special state value for window-persistent-parameters.
3042         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
3043         (window--state-put-2): Reset all window parameters to nil before
3044         assigning values of persistent parameters.
3046 2012-01-18  Alan Mackenzie  <acm@muc.de>
3048         Eliminate sluggishness and hangs in fontification of "semicolon
3049         deserts".
3051         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3052         Change value 10000 -> 3000.
3053         (c-state-safe-place): Reformulate so it doesn't stack up an
3054         infinite number of wrong entries in c-state-nonlit-pos-cache.
3055         (c-determine-limit-get-base, c-determine-limit): New functions to
3056         determine backward search limits disregarding literals.
3057         (c-find-decl-spots): Amend commenting.
3058         (c-cheap-inside-bracelist-p): New function which detects "={".
3060         * progmodes/cc-fonts.el
3061         (c-make-font-lock-BO-decl-search-function): Give a limit to a
3062         backward search.
3063         (c-font-lock-declarations): Fix an occurrence of point being
3064         undefined.  Check additionally for point being in a bracelist or
3065         near a macro invocation without a semicolon so as to avoid a
3066         fruitless time consuming search for a declarator.  Give a more
3067         precise search limit for declarators using the new
3068         c-determine-limit.
3070 2012-01-18  Glenn Morris  <rgm@gnu.org>
3072         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3073         (set-auto-mode): Doc fixes.
3075 2012-01-17  Glenn Morris  <rgm@gnu.org>
3077         * isearch.el (search-nonincremental-instead): Fix doc typo.
3079         * dired.el (dired-insert-directory): Handle newlines in directory name.
3080         (dired-build-subdir-alist): Unescape newlines in directory name.
3082 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
3084         * net/tramp.el (tramp-local-end-of-line): New defcustom.
3085         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3086         (tramp-action-terminal): Use it.  (Bug#10530)
3088 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3090         * minibuffer.el (completion--replace): Strip properties (bug#10062).
3092 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
3094         * window.el (window-state-ignored-parameters): Remove variable.
3095         (window--state-get-1): Rename argument MARKERS to IGNORE.
3096         Handle persistent window parameters.  Make copy of clone-of
3097         parameter only if requested.  (Bug#10348)
3098         (window--state-put-2): Install a window parameter only if it has
3099         a non-nil value or an existing parameter shall be overwritten.
3101 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
3103         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3105 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
3107         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3108         don't pass the (nil) value of `upnode' to string-match.
3110 2012-01-14  Chong Yidong  <cyd@gnu.org>
3112         * startup.el (command-line): Fix X resource class for cursorColor.
3113         Fix values recognized by the cursorBlink resource.
3115 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
3117         * epg.el (epg--make-temp-file): Avoid permission race condition
3118         when running on old Emacs versions (bug#10403).
3120 2012-01-14  Glenn Morris  <rgm@gnu.org>
3122         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3124 2012-01-13  Alan Mackenzie  <acm@muc.de>
3126         Fix filling for when filladapt mode is enabled.
3128         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3129         c-mask-paragraph, pass in `fill-paragraph' rather than
3130         `fill-region-as-paragraph'.  (This is a reversion of a previous
3131         change.)
3132         * progmodes/cc-mode.el (c-basic-common-init):
3133         Make fill-paragraph-handle-comment buffer local and set it to nil.
3135 2012-01-13  Glenn Morris  <rgm@gnu.org>
3137         * dired.el (dired-switches-escape-p): New function.
3138         (dired-insert-directory): Use dired-switches-escape-p.
3139         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
3141         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
3143 2012-01-12  Glenn Morris  <rgm@gnu.org>
3145         * mail/sendmail.el (mail-mode): Update paragraph-separate for
3146         changes in adaptive-fill-regexp.  (Bug#10276)
3148 2012-01-11  Alan Mackenzie  <acm@muc.de>
3150         Fix Emacs bug #10463 - put `widen's around the critical spots.
3152         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3153         widen around each invocation of c-state-pp-to-literal.  Remove an
3154         unused let variable.
3156 2012-01-11  Glenn Morris  <rgm@gnu.org>
3158         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
3159         Doc fix.
3161 2012-01-10  Chong Yidong  <cyd@gnu.org>
3163         * net/network-stream.el (network-stream-open-starttls):
3164         Avoid emitting a confusing error message when the server gives a bad
3165         response to the capability command.
3167 2012-01-10  Glenn Morris  <rgm@gnu.org>
3169         * mail/unrmail.el (unrmail): Tweak previous change.
3171 2012-01-09  Chong Yidong  <cyd@gnu.org>
3173         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3175 2012-01-08  Alan Mackenzie  <acm@muc.de>
3177         Optimise font locking in long enum definitions.
3179         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3180         arm to a cond form to handle enums.
3181         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3182         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3184 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3186         * files.el (move-file-to-trash): Preserve default file modes on error.
3187         (Bug#10401)
3189 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3191         * faces.el (set-face-attribute): Clarify the meaning of the nil
3192         frame (bug#10294).
3194         * subr.el (with-selected-frame): Mention that the selected frame
3195         is restored (bug#9980).
3197         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3198         (bug#9759).
3200         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3201         (password-read): Don't autoload unused function.
3203 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
3205         * progmodes/which-func.el (which-func-mode): Turn into a
3206         non-interactive function and mark as obsolete (bug#10428).
3208 2012-01-06  Chong Yidong  <cyd@gnu.org>
3210         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3211         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3212         functions, along with 1 and -1.
3214 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
3216         * time.el (display-time-load-average)
3217         (display-time-default-load-average): Doc fixes.  See the thread
3218         starting at
3219         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3220         for the details.
3222 2012-01-06  Glenn Morris  <rgm@gnu.org>
3224         * mail/unrmail.el (unrmail): Give an explicit error if the input file
3225         has no messages.  (Bug#10377)
3227         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3228         than Info-edit.  (Bug#10385)
3230         * time.el (display-time-load-average, display-time-next-load-average):
3231         Doc fixes.
3233         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3234         local setting of buffer-read-only to the input buffer.  (Bug#10419)
3236         * calendar/calendar.el (calendar-mode):
3237         Locally set scroll-margin to 0.  (Bug#10379)
3239 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3241         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3243 2012-01-05  Glenn Morris  <rgm@gnu.org>
3245         * eshell/em-unix.el (diff-no-select): Autoload it.
3246         (eshell/diff): Use diff-no-select.  (Bug#10420)
3248 2012-01-05  Chong Yidong  <cyd@gnu.org>
3250         * shell.el (shell-dynamic-complete-functions): Revert last change.
3251         (shell-command-completion-function): New function.
3252         (shell-completion-vars): Use it to implement
3253         shell-completion-execonly (Bug#10417).
3255         * custom.el (enable-theme): Don't set custom-safe-themes.
3257         * cus-theme.el (custom-theme-merge-theme):
3258         Ignore custom-enabled-themes and custom-safe-themes.
3260 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3262         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3263         first prompt in `sql-interacive-mode'.
3264         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3265         keywords.
3266         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3267         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3268         context of original buffer.  Invoke `sql-login-hook'.
3270 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3272         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3273         letters in cite-prefix.
3275 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3277         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3279 2012-01-03  Chong Yidong  <cyd@gnu.org>
3281         * shell.el (shell-dynamic-complete-functions):
3282         Put pcomplete-completions-at-point, so as to try
3283         comint-filename-completion first (Bug#10417).
3285 2012-01-02  Richard Stallman  <rms@gnu.org>
3287         * battery.el (battery-status-function):
3288         Detect when to use battery-yeeloong-sysfs.
3289         (battery-echo-area-format): Add string for Yeeloong.
3290         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3291         (battery-yeeloong-sysfs): New function.
3293 2012-01-02  Chong Yidong  <cyd@gnu.org>
3295         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3296         (dirtrack): Merge code for handling relative filenames in prompt
3297         from shell-dir-cookie-watcher.
3298         (dirtrack-debug-message): New arg to avoid excess format calls.
3300         * shell.el (shell-dir-cookie-re): Variable deleted.
3301         (shell-dir-cookie-watcher): Function deleted.
3302         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3303         with dirtrack-mode.
3305 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3307         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3308         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3309         libgnutls-26.dll.
3311 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3313         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3315 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3317         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3318         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3320 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3322         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3323         also for alternative shells.
3324         (tramp-open-connection-setup-interactive-shell): Check, whether
3325         the shell is a busybox.
3326         (tramp-send-command): Don't suppress multiple prompts for
3327         busyboxes, it hurts.
3329 2011-12-28  Chong Yidong  <cyd@gnu.org>
3331         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3332         (gdb-get-source-file): Move mode line update to
3333         gdb-get-source-file (Bug#10087).
3335 2011-12-25  Chong Yidong  <cyd@gnu.org>
3337         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3338         gud-gdb-marker-filter without taking it as an argument.
3339         (gud-gdb-run-command-fetch-lines): Caller changed.
3340         (gud-gdb-completion-function): New variable.
3341         (gud-gdb-completion-at-point): Use it.
3342         (gud-gdb-completions-1): Split from gud-gdb-completions.
3344         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3345         function as separate arguments.
3346         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3347         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3348         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3349         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3350         (gdb-stopped, def-gdb-auto-update-trigger)
3351         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3352         (gdb-get-changed-registers, gdb-get-main-selected-frame):
3353         Callers changed.
3354         (gud-gdbmi-completions): New function.
3355         (gdb): Use it for generating the completion table.
3357 2011-12-24  Alan Mackenzie  <acm@muc.de>
3359         Introduce a mechanism to widen the region used in context font
3360         locking.  Use this to protect declarations from losing their contexts.
3362         * progmodes/cc-langs.el (c-before-font-lock-functions):
3363         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3364         (c-before-context-fontification-functions): New defvar, a list of
3365         functions to be run just before context (etc.) font locking.
3367         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3368         New, functionality extracted from
3369         c-neutralize-syntax-in-and-mark-CPP.
3370         (c-in-after-change-fontification): New variable.
3371         (c-after-change): Set c-in-after-change-fontification.
3372         (c-set-fl-decl-start): Rejig its interface, so it can be called
3373         from both after-change and context fontifying.
3374         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3375         New functions.
3376         (c-standard-font-lock-fontify-region-function): New variable.
3377         (c-font-lock-fontify-region): New function.
3379 2011-12-24  Juri Linkov  <juri@jurta.org>
3381         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3382         (Bug#10348)
3384 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
3386         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3387         existence of source file.  (Bug#10325)
3389 2011-12-23  Alan Mackenzie  <acm@muc.de>
3391         Fix unstable fontification inside templates.
3393         * progmodes/cc-langs.el (c-before-font-lock-functions):
3394         Newly created from the singular version.  The (c c++ objc) entry now
3395         additionally has c-set-fl-decl-start.  The other languages (apart
3396         from AWK) have that as a single entry.
3398         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3399         The functionality for "local" declarations has been extracted to
3400         c-set-fl-decl-start.
3402         * progmodes/cc-mode.el (c-common-init, c-after-change):
3403         Changes due to pluralisation of c-before-font-lock-functions.
3404         (c-set-fl-decl-start): New function, extracted from
3405         c-font-lock-enclosing-decls and enhanced.
3407 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
3409         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3411 2011-12-22  Juri Linkov  <juri@jurta.org>
3413         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
3415 2011-12-22  Chong Yidong  <cyd@gnu.org>
3417         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3419 2011-12-21  Drew Adams  <drew.adams@oracle.com>
3421         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
3423 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3425         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3427 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
3429         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
3430         highlighting and support.  Fix up comments for capitalization.
3431         (cfengine-mode-debug): New var.
3432         (cfengine3-mode): Change the modeline indicator to "CFE3".
3433         (cfengine3-font-lock-keywords): Improve defun highlighting.
3434         (cfengine2-actions): Rename from `cfengine-actions'.
3435         (cfengine2-font-lock-keywords): Rename from
3436         `cfengine-font-lock-keywords'.
3437         (cfengine2-imenu-expression): Rename from
3438         `cfengine-imenu-expression'.
3439         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3440         (cfengine2-beginning-of-defun): Rename from
3441         `cfengine-beginning-of-defun'.
3442         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3443         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3444         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
3445         modeline indicator to "CFE2".
3446         (cfengine-mode): Defalias to `cfengine-auto-mode'.
3447         (cfengine-mode-abbrevs): Mark obsolete.
3449 2011-12-21  Chong Yidong  <cyd@gnu.org>
3451         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3452         filename argument.
3454 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
3456         * window.el (window-normalize-buffer-to-display): Remove.
3457         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3459 2011-12-19  Chong Yidong  <cyd@gnu.org>
3461         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3462         Don't signal an error in a predicate function; return non-nil.
3463         (vc-dir-mark-file): Move the error here.
3464         (vc-dir-mark-unmark): If acting on the region, keep going if one
3465         of the entries cannot be marked/unmarked.
3466         (vc-dir-mark-all-files): If current entry is a directory, mark
3467         only child files, as documented.
3469 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3471         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3472         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3473         addition.
3475 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
3477         * term/ns-win.el (ns-get-selection-internal)
3478         (ns-store-selection-internal): Declare.
3479         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3480         Declare as obsolete.
3481         (ns-get-pasteboard, ns-paste-secondary):
3482         Use ns-get-selection-internal.
3483         (ns-set-pasteboard,  ns-copy-including-secondary):
3484         Use ns-store-selection-internal.
3486 2011-12-17  Chong Yidong  <cyd@gnu.org>
3488         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3489         (vc-deduce-fileset): Doc fix.
3491 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
3493         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3495 2011-12-13  Sam Steingold  <sds@gnu.org>
3497         * man.el (Man-getpage-in-background): When running under a
3498         window-system, ignore $MANWIDTH and $COLUMNS.
3500 2011-12-15  Kenichi Handa  <handa@m17n.org>
3502         * language/ethio-util.el: Change coding tag to utf-8-emacs.
3503         (setup-ethiopic-environment-internal): Comment out key-binding for
3504         ethio-toggle-punctuation.
3506 2011-12-13  Alan Mackenzie  <acm@muc.de>
3508         Add the switch statement to AWK Mode.
3510         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3511         "default" to the keywords regexp.
3513         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3514         expression as the rest.
3515         (c-nonlabel-token-key): Allow string literals for AWK.
3516         Refactor for the other modes.
3518         Large brace-block initialisation makes CC Mode slow: Fix.
3519         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3520         routines.  Limit backward searching in c-font-lock-enclosing.decl.
3522         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3523         pp-state and literal type in addition to the limits.
3524         (c-state-safe-place): New defun, extracted from c-state-literal-at.
3525         (c-state-literal-at): Use the above new defun.
3526         (c-slow-in-literal, c-fast-in-literal): Remove.
3527         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3529         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3530         being in a literal.  Add a limit for backward searching.
3532         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3533         c-slow-in-literal.
3535 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3537         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3539 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
3541         * window.el (delete-other-windows): Use correct frame in call to
3542         window-with-parameter.
3544 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
3546         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3547         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3548         (makefile-gmake-statements, makefile-makepp-statements):
3549         Use it and add new makepp keywords.
3550         (makefile-makepp-font-lock-keywords): Add new patterns.
3551         (makefile-match-function-end): Match new [...] and [[...]].
3553 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
3555         * ses.el (ses-call-printer-return, ses-cell-property-get)
3556         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3557         (ses-create-cell-variable, ses-reset-header-string)
3558         (ses-cell-set-formula, ses-repair-cell-reference-all)
3559         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3560         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3561         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3562         (ses-aset-with-undo, ses-load, ses-truncate-cell)
3563         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3564         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3565         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3566         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3567         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3568         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3569         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3570         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3572 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3574         * ses.el: The overall change is to add cell renaming, that is
3575         setting fancy names for cell symbols other than name matching
3576         "\\`[A-Z]+[0-9]+\\'" regexp .
3577         (ses-create-cell-variable): New defun.
3578         (ses-relocate-formula): Relocate formulas only for cells the
3579         symbols of which are not renamed, i.e. symbols whose names do not
3580         match regexp "\\`[A-Z]+[0-9]+\\'".
3581         (ses-relocate-all): Relocate values only for cells the symbols of
3582         which are not renamed.
3583         (ses-load): Create cells variables as the (ses-cell ...) are read,
3584         in order to check row col consistency with cell symbol name only
3585         for cells that are not renamed.
3586         (ses-replace-name-in-formula): New defun.
3587         (ses-rename-cell): New defun.
3589 2011-12-11  Chong Yidong  <cyd@gnu.org>
3591         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3592         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3594 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
3596         * window.el (other-window): Fix docstring.
3598 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3600         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3601         `from' or `to' address before taking its substring.
3602         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3603         encoded name is chopped in the middle of the encoded string, and
3604         thus displayed encoded.
3606 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
3608         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3610 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
3612         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
3613         to use texinfo-update-node and commands that call it if the
3614         Texinfo file uses @node lines without next/prev/up pointers.
3615         Correct outdated description about texinfo-master-menu.
3616         (texinfo-all-menus-update, texinfo-master-menu)
3617         (texinfo-update-node, texinfo-every-node-update)
3618         (texinfo-multiple-files-update): Doc fix.  Warn against updating
3619         all the @node lines.
3620         (texinfo-master-menu): Only call texinfo-update-node if the prefix
3621         argument is numeric.  Explain better in the doc string what the
3622         function really does.
3623         (texinfo-insert-master-menu-list): Improve the error message
3624         displayed if there's no menu in the Top node.
3625         (Bug#2975)  See also this thread:
3626         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3628 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
3630         * speedbar.el (speedbar-supported-extension-expressions):
3631         Add .adb and .ads, commonly used for Ada source code (bug#10256).
3633 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
3635         * printing.el (pr-mode-alist):
3636         * simple.el (filter-buffer-substring-functions)
3637         (completion-list-insert-choice-function):
3638         * window.el (window-with-parameter, window-atom-root)
3639         (window-sides-slots, window-size-fixed, window-min-delta)
3640         (window-max-delta, window--resize-mini-window)
3641         (window--resize-child-windows-normal, window-tree)
3642         (delete-other-windows, quit-window, split-window)
3643         (display-buffer-record-window, special-display-buffer-names)
3644         (special-display-regexps, special-display-popup-frame)
3645         (same-window-p, split-window-sensibly)
3646         (display-buffer-overriding-action, display-buffer-alist)
3647         (display-buffer-base-action, display-buffer, switch-to-buffer)
3648         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3649         (fit-window-to-buffer, recenter-positions)
3650         (mouse-autoselect-window-state, mouse-autoselect-window-select):
3651         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3652         and remove unneeded backslashes in docstrings.
3654 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3656         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3658         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3659         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3660         end in ".mk".
3661         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3662         when reading the makefile (bug#10116).
3664 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3666         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3667         (bug#10116).
3669 2011-12-06  Glenn Morris  <rgm@gnu.org>
3671         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3673 2011-12-06  Chong Yidong  <cyd@gnu.org>
3675         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3677 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
3679         * textmodes/table.el (table-shorten-cell): Fix typo.
3681 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
3683         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3685 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
3687         * descr-text.el (describe-char): Fix display of strong
3688         right-to-left characters and directional embeddings and overrides.
3690         * simple.el (what-cursor-position): Fix display of codepoints of
3691         strong right-to-left characters.
3693 2011-12-05  Chong Yidong  <cyd@gnu.org>
3695         * faces.el (read-color): Doc fix.
3697 2011-12-05  Glenn Morris  <rgm@gnu.org>
3699         * align.el (align--set-marker): Add doc-string.
3700         Don't try to move something that is not a marker.  (Bug#10216)
3702 2011-12-04  Glenn Morris  <rgm@gnu.org>
3704         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3705         overly zealous deletion of trailing whitespace.
3707 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
3709         * server.el (server-delete-client): On Windows, do not try to delete
3710         the only terminal.
3711         (server-process-filter): On Windows, treat requests for a tty frame as
3712         if they were for a GUI frame if the running server is in GUI mode.
3714 2011-12-03  Glenn Morris  <rgm@gnu.org>
3716         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
3718 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3720         * electric.el: Streamline electric-indent's hook.
3721         (electric-indent-chars): Revert to simple list.
3722         (electric-indent-functions): New var.
3723         (electric-indent-post-self-insert-function): Use it.
3725         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3726         there's no inferior buffer (bug#10196).
3727         (prolog-consult-compile): Don't use toggle-read-only.
3729 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
3731         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3732         interrupt.  (Bug#10187)
3734 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3736         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3737         (bug#9160).
3739         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3740         (bug#10191).
3742 2011-12-02  Juri Linkov  <juri@jurta.org>
3744         * info.el (Info-search): Display "end of manual" when Isearch
3745         reaches the end of single-file Info manual.  (Bug#9918)
3747 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
3749         * isearch.el (isearch-message-prefix): Run the input method part
3750         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
3752 2011-12-02  Juri Linkov  <juri@jurta.org>
3754         * isearch.el (isearch-occur): Use `word-search-regexp' for
3755         `isearch-word'.
3756         (isearch-search-and-update): Add condition for `isearch-word' and
3757         call `word-search-regexp'.  (Bug#10145)
3759 2011-12-01  Glenn Morris  <rgm@gnu.org>
3761         * eshell/em-hist.el (eshell-hist-initialize):
3762         Handle eshell-history-size nil and HISTSIZE set or unset.
3763         (eshell-history-file-name, eshell-history-size): Fix custom type.
3765 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3767         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3769 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
3771         * progmodes/verilog-mode.el (verilog-pretty-expr):
3772         Rework verilog-pretty-expr to handle new assignment operators in system
3773         verilog, such as += *= and the like.
3774         (verilog-assignment-operator-re): Regular expression to find the
3775         assigment operator in a verilog assignment.
3776         (verilog-assignment-operation-re): Regular expression to find an
3777         assignment statement for pretty-expr.
3778         (verilog-in-attribute-p): Query returns true if point is in an
3779         attribute context; used to skip these for expression line up from
3780         pretty-expr.
3781         (verilog-in-parameter-p): Query returns true if point is in an
3782         parameter definition context; used to skip these for expression
3783         line up from pretty-expr.
3784         (verilog-in-parenthesis-p): Query returns true if point is in a
3785         parenthetical expression, specifically ( ) but not [ ] or { };
3786         used by pretty-expr.
3787         (verilog-just-one-space): If there is no space, don't add one.
3788         (verilog-get-lineup-indent-2): Specifically skip just attribute
3789         contexts for expression lineup, rather than skipping all
3790         parenthetical expressions.
3791         (verilog-calculate-indent): Fix comment, and fix indent.
3792         (verilog-do-indent): Indent declarations in lists (suggested by
3793         Joachim Lechner).
3794         (verilog-mode-abbrev-table): Populate abbrev mode with the various
3795         skeleton items.
3796         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3797         by Alain Mellan).
3799 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
3801         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3802         parameters with embedded comments.  Reported by Ray Stevens.
3803         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3804         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3805         Reported by Tim Holt.
3806         (verilog-auto): Fix AUTOing a upper module then AUTOing module
3807         instantiated by upper module causing wrong expansion until AUTOed a
3808         second time.  Reported by K C Buckenmaier.
3809         (verilog-diff-auto): Fix showing .* as a difference when
3810         `verilog-auto-star-save' off.  Reported by Dan Dever.
3811         (verilog-auto-reset, verilog-read-always-signals)
3812         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3813         temporary signals in reset list if
3814         verilog-auto-reset-blocking-in-non is nil, and match assignment
3815         style to each signal's assignment type, bug381.
3816         Reported by Thomas Esposito.
3817         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3818         (verilog-uvm-statement-re): Support UVM indentation and
3819         highlighting, with old OVM keywords only.
3820         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3821         Support AUTOTIEOFF creating non-wire data types.
3822         Suggested by Jonathan Greenlaw.
3823         (verilog-auto-insert-lisp, verilog-delete-to-paren)
3824         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3825         (verilog-inject-sense, verilog-read-inst-pins)
3826         (verilog-read-sub-decls, verilog-read-sub-decls-line):
3827         Fix mismatching parenthesis inside commented out code when deleting
3828         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
3829         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3830         non-numeric vector width.  Reported by Alex Reed.
3831         (verilog-auto-ascii-enum): Add "onehot" option to work around not
3832         detecting signals with parameter widths.  Reported by Alex Reed.
3833         (verilog-auto-delete-trailing-whitespace):
3834         With `verilog-auto-delete-trailing-whitespace' remove trailing
3835         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
3836         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3837         Fix verilog-scan-cache corruption when running user AUTO expansion
3838         hooks that call indentation routines.
3839         (verilog-simplify-range-expression): Fix typo ignoring lower case
3840         identifiers.
3841         (verilog-delete-auto): Fix delete-autos to also remove user created
3842         automatics, as long as they start with AUTO.
3843         (verilog-batch-diff-auto, verilog-diff-auto)
3844         (verilog-diff-function): Add `verilog-diff-auto' and bind to
3845         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
3846         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3847         (verilog-in-paren-quick, verilog-re-search-backward-quick)
3848         (verilog-re-search-forward-quick, verilog-syntax-ppss):
3849         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3850         is disabled and its cache will get corrupt, causing AUTOS not to
3851         expand.  Instead use only -quick functions.
3852         (verilog-scan-region): Fix scanning over escaped quotes.
3853         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3854         (verilog-re-search-backward-quick)
3855         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3856         related functions now ignore strings, to fix misparsing of strings
3857         with magic comments embedded in them.
3858         (verilog-read-auto-template):
3859         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3860         Reported by Brad Dobbie.
3861         (verilog-read-auto-template):
3862         Fix 'verilog-auto-inst-template-numbers' with comments.
3863         Reported by Brad Dobbie.
3864         (verilog-auto-inst, verilog-auto-inst-param)
3865         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3866         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
3867         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3868         debugging templates without merge conflicts, bug357.
3869         Reported by Brad Dobbie.
3870         (verilog-read-auto-template):
3871         Fix verilog-auto-inst-template-numbers with multiple templates.
3872         Reported by Brad Dobbie.
3873         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3874         abbrevs so user won't be asked to save.
3875         (verilog-read-auto-lisp-present): Fix to start at beginning of
3876         buffer in case called outside of verilog-auto.
3877         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3878         to "X-2".  Reported by Matthew Myers.
3879         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3880         all inputs from module templates.  Reported by Leith Johnson.
3881         (verilog-module-inside-filename-p): Fix locating programs as with
3882         modules.
3883         (verilog-auto-inst-port): Fix vl-width expressions when using
3884         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
3885         (verilog-decls-get-regs, verilog-decls-get-signals,
3886         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3887         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3888         verilog-read-decls): Combine reg and wire structures into one var
3889         structure to represent SystemVerilog concepts.
3890         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3891         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3892         (verilog-auto-wire-type, verilog-insert-definition):
3893         Add verilog-auto-wire-type and AUTOLOGIC to support using
3894         SystemVerilog "logic" keyword instead of "wire"/"reg".
3895         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3896         to declares outputs that also have assignments (presumably in an
3897         ifdef or generate if so there's not a driver conflict).
3898         Reported by Matthew Myers.
3899         (verilog-auto-declare-nettype, verilog-insert-definition):
3900         Add verilog-auto-declare-nettype to fix declarations using
3901         `default_nettype none.  Reported by Julian Gorfajn.
3902         (verilog-read-always-signals-recurse, verilog-read-decls)
3903         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3904         malformed end statement, bug325.  Reported by Joshua Wise and
3905         Andrew Drake.
3906         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3907         (verilog-inst-comment-re): Fix not deleting Interfaced comment
3908         when expanding .* in interfaces, bug320.
3909         Reported by Pierre-David Pfister.
3910         (verilog-read-module-name): Fix import statements between module
3911         name and open parenthesis, bug317.
3912         Reported by Pierre-David Pfister.
3913         (verilog-simplify-range-expression): Fix simplification of
3914         multiplications inside AUTOWIRE connections, bug303.
3915         (verilog-auto-inst-port): Support parameter expansion in
3916         multidimensional arrays.
3917         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3918         after "assert property".  Reported by Julian Gorfajn.
3919         (verilog-simplify-range-expression): Fix "couldn't merge" errors
3920         with multiplication, bug303.
3921         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3922         Reported by Jan Frode Lonnum.
3924 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
3926         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3927         (hfy-shell-file-name, hfy-shell):
3928         * international/fontset.el (x-decompose-font-name): Fix typos.
3930 2011-11-29  Ken Brown  <kbrown@cornell.edu>
3932         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3933         (gdb-version): Remove defvar.
3934         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3935         (gdb-gud-context-command, gdb-non-stop-handler)
3936         (gdb-current-context-command, gdb-stopped): Use it.
3937         (gdb-init-1): Enable pretty printing here.
3938         (gdb-non-stop-handler): Don't enable pretty-printing here.
3939         Check to see if the target supports non-stop mode; if not, turn off
3940         non-stop mode.  Use the following.
3941         (gdb-check-target-async): New defun.
3942         (gud-watch, gdb-stopped): Fix whitespace.
3943         (gdb-get-source-file): Don't try to display the source file if
3944         `gdb-main-file' is nil.
3946 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3948         * align.el: Try to generate fewer markers (bug#10047).
3949         (align--set-marker): New macro.
3950         (align-region): Use it.
3952 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3956 2011-11-29  Chong Yidong  <cyd@gnu.org>
3958         * indent.el (indent-for-tab-command, indent-according-to-mode):
3959         Doc fix.
3960         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3962 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3964         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3965         aware of remote file names.  (Bug#10124)
3967 2011-11-29  Chong Yidong  <cyd@gnu.org>
3969         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3971 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3973         * files.el (find-file): Don't use force-same-window (bug#10144).
3974         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3975         use pop-to-buffer if the selected window can't be used.
3976         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3978 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3980         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3981         special-mode-map.
3983 2011-11-28  Chong Yidong  <cyd@gnu.org>
3985         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3987 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3989         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3990           gdb-get-source-file-list on gdb-create-source-file-list.
3992 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3994         * whitespace.el (whitespace-newline): Use a different foreground
3995         color for 16-color light-background displays.
3997 2011-11-24  Chong Yidong  <cyd@gnu.org>
3999         * window.el (display-buffer--special-action): Doc fix.
4001 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
4003         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4004         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4005         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4006         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4007         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4008         (avl-tree-stack-first):
4009         * emacs-lisp/cconv.el (cconv--analyse-use):
4010         * net/gnutls.el (gnutls-negotiate): Fix typos.
4012 2011-11-24  Glenn Morris  <rgm@gnu.org>
4014         * lpr.el (lpr-windows-system, lpr-lp-system):
4015         * mail/binhex.el (binhex-begin-line):
4016         * progmodes/grep.el (grep-history, grep-find-history):
4017         * textmodes/flyspell.el:
4018         * vc/pcvs-defs.el (cvs-global-menu):
4019         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4020         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4021         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4023         * net/tls.el: Fix case of "GnuTLS".
4025         * paths.el (rmail-file-name): Format doc-string for make-docfile.
4027         * version.el (emacs-build-system): Give it a doc-string.
4029 2011-11-24  Juri Linkov  <juri@jurta.org>
4031         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4033 2011-11-24  Glenn Morris  <rgm@gnu.org>
4035         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4036         if called on a non-mime message just toggle the headers.  (Bug#8006)
4038 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
4040         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4041         (allout-lead-with-comment-string, allout-structure-deleted-hook)
4042         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4043         (allout-rebullet-heading, allout-open-sibtopic)
4044         (allout-toggle-current-subtree-encryption)
4045         (allout-toggle-subtree-encryption, allout-encrypt-string)
4046         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4047         (allout-distinctive-bullets-string, allout-auto-activation):
4048         * window.el (window-normalize-buffer-to-display):
4049         * progmodes/verilog-mode.el (verilog-batch-indent):
4050         * textmodes/bibtex.el (bibtex-field-braces-opt)
4051         (bibtex-field-strings-opt):
4052         * vc/cvs-status.el (cvs-tree-merge):
4053         Fix typos.
4055 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
4057         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4058         `non-essential' to t, in order to avoid remote connections.
4060 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
4062         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4063         On MS-DOS and MS-Windows, compare with loaddefs.el
4064         case-insensitively.
4066 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4068         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
4070 2011-11-23  Glenn Morris  <rgm@gnu.org>
4072         * paths.el (rmail-file-name): Reformat the doc-string so that it
4073         is picked up.
4075         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4076         (rmail-auto-file): Ignore case in the "special" field names,
4077         as mail-fetch-field does for all others.
4079         * mail/rmail.el (rmail-forward):
4080         * mail/rmailkwd.el (rmail-set-label):
4081         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4082         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
4084         * mail/rmail.el (rmail-current-message): Doc fix.
4086         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
4088 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4090         * server.el (server-eval-and-print): Allow C-g (bug#6585).
4092 2011-11-22  Glenn Morris  <rgm@gnu.org>
4094         * mail/rmailmm.el (test-rmail-mime-handler)
4095         (test-rmail-mime-bulk-handler)
4096         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4098 2011-11-21  Juri Linkov  <juri@jurta.org>
4100         * calc/calc.el (calc-read-key-sequence):
4101         Let-bind `input-method-function' to nil.  (Bug#10018)
4103 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4105         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4106         Tell the caller that the next line needs recomputation, even
4107         though it doesn't start a sexp (bug#10094).
4109 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4113 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4115         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4116         Use force-same-window.
4118 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4120         * descr-text.el (describe-char-unicode-data):
4121         * json.el (json-string-escape):
4122         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4123         (Footnote-unicode, Footnote-style-p):
4124         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4126 2011-11-20  Chong Yidong  <cyd@gnu.org>
4128         * window.el (replace-buffer-in-windows): Restore interactive spec.
4130 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4132         * electric.el (electric-indent-mode): Fix last change (too optimistic).
4134         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4135         (byte-compile-global-not-obsolete-vars): New var.
4136         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4137         Use it.
4138         (byte-compile-warn-obsolete): Align text with the one in *Help*.
4140 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4142         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4143         * progmodes/pascal.el (electric-pascal-equal):
4144         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4145         * xml.el (xml-substitute-special): Fix typos.
4147 2011-11-20  Glenn Morris  <rgm@gnu.org>
4149         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4150         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4151         Doc fixes.
4152         (rmail-decode-mime-charset): Mark as obsolete.
4154         * mail/rmailsum.el (rmail-message-regexp-p-1):
4155         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4156         Before using mime functions, check they are set.  (Bug#10077)
4158 2011-11-19  Juri Linkov  <juri@jurta.org>
4160         * info.el (Info-finder-find-node): Use `package--builtins' instead
4161         of `package-alist'.  Use node names formed by the pattern "Keyword "
4162         and the keyword name.
4164 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4166         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4168 2011-11-19  Juri Linkov  <juri@jurta.org>
4170         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4171         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
4172         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4173         `old-history', `old-history-forward'.  Add let-binding
4174         `window-selected'.  Remove calls to `kill-buffer',
4175         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
4176         before calling `Info-find-node', so `Info-find-node-2' will reread
4177         the Info file.  Restore window positions only when `window-selected'
4178         is non-nil.
4180 2011-11-19  Juri Linkov  <juri@jurta.org>
4182         * isearch.el (isearch-lazy-highlight-new-loop):
4183         Remove condition `(not isearch-error)'.  (Bug#9918)
4185         * misearch.el (multi-isearch-search-fun): Add condition
4186         `(not bound)' to ignore lazy-highlighting search.
4187         Add the search-failed message "end of multi" when the end of
4188         multi-sequence is reached.  Uncapitalize the search-failed
4189         message "Repeat for next buffer".
4191         * info.el (Info-search): Add the search-failed message
4192         "end of the manual" when the end of the manual is reached
4193         in Isearch mode.
4195 2011-11-19  Juri Linkov  <juri@jurta.org>
4197         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4198         Use non-destructive `remove' instead of `delete' because
4199         `Info-history-list' stored to `Info-isearch-initial-history-list' in
4200         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4202 2011-11-19  Juri Linkov  <juri@jurta.org>
4204         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4205         to nil instead of binding `search-ring' and `regexp-search-ring'.
4206         (Bug#9185)
4208 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4210         * simple.el (line-move): Force movement by logical lines for any
4211         hscrolled window, not only when auto-hscroll-mode is on.
4212         (line-move-visual): Update doc string to that effect.  (Bug#10076)
4214 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4216         * language/european.el (macintosh): Define as alias for mac-roman.
4218 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4220         * mail/rmailmm.el (rmail-mime-display-header)
4221         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4222         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4223         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4224         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4225         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4226         of a raw aref.
4227         (rmail-mime-entity-segment): To get past the tagline, move forward
4228         2 more lines, to account for the 2 empty lines that precede and
4229         follow the line with the buttons.
4230         (rmail-mime-update-tagline): Move one more line, to get past the
4231         empty line that follows the buttons in the tagline.  (Bug#9520)
4233 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
4235         * window.el (window-max-delta-1, window-min-delta-1)
4236         (window-min-size-1, window-state-get-1, window-state-put-1)
4237         (window-state-put-2): Use "window--" prefix.
4239 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4241         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4242         (smie-warning-count): New var.
4243         (smie-set-prec2tab): Use it.
4244         (smie-bnf->prec2): Improve warnings.  Add docstring.
4245         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4246         (smie-bnf--set-class): New function.
4247         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4248         corner case.
4250         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4251         (compilation-error-properties, compilation-move-to-column):
4252         Handle compilation-first-column while in the target buffer.
4254         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4255         Don't hardcode point-min==1.
4257         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4258         (eshell-rewrite-for-command): Remove workaround.
4259         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4260         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4261         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4263         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4265 2011-11-17  Glenn Morris  <rgm@gnu.org>
4267         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4268         Ignore buffer-local generated-autoload-file if it is the same
4269         as the global value.  (Bug#10049)
4271 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4273         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4274         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4275         (reftex-toc-previous-heading, reftex-toc-max-level)
4276         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4277         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4278         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4279         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4280         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4281         (reftex-toc-rename-label, reftex-toc-visit-location)
4282         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4283         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4284         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4285         leaving "*toc*" only for references to the buffer.
4287 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4289         * window.el (window-resize, delete-window, split-window):
4290         Replace window-splits by window-combination-resize.
4291         * cus-start.el (window-splits): Replace by window-combination-resize.
4293 2011-11-17  Glenn Morris  <rgm@gnu.org>
4295         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4296         Make bash entry derive from sh entry, not shell entry.
4298 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4300         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4301         properties of linked files.  (Bug#9879)
4303         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4304         local file name.
4306 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4308         * menu-bar.el (menu-bar-file-menu):
4309         * printing.el (pr-ps-utility):
4310         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4311         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4312         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4313         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4314         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4315         (icalendar--convert-cyclic-to-ical)
4316         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4317         (icalendar--convert-ical-to-diary)
4318         (icalendar--convert-recurring-to-diary)
4319         (icalendar--convert-non-recurring-all-day-to-diary)
4320         (icalendar-import-format-sample):
4321         * progmodes/idlw-shell.el (idlwave-shell-mode):
4322         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4323         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4324         (vhdl-ps-print-init): Fix typos.
4326 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4328         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4329         FSF and collapse date sequence, obscure author/maintainer email address
4330         better, remove extra version line, track relocation of author's webpage.
4332         * progmodes/python.el (python-pdbtrack-input-prompt)
4333         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4334         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4335         suggested in EmacsWiki page (tiny change):
4336         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4338 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4340         * expand.el (expand-pos, expand-index, expand-point):
4341         Remove redundant info from docstring.
4342         (expand-add-abbrevs): Doc fix.
4343         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4344         (expand-sample-perl-mode-expand-list): Fix typos.
4346         * net/dbus.el (dbus-event-member-name):
4347         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4348         * term/pc-win.el (msdos-create-frame-with-faces):
4349         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4351 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
4353         * window.el (split-window, window-state-get-1)
4354         (window-state-put-1, window-state-put-2): Rename occurrences of
4355         window-nest to window-combination-limit.
4356         * cus-start.el (window-nest): Rename to window-combination-limit.
4358 2011-11-16  Chong Yidong  <cyd@gnu.org>
4360         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4361         regexp (Bug#10033).
4363 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4365         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4366         `completing-read' will remove *Completions* and will preserve
4367         current-buffer for us.
4368         (tmm-add-prompt): Users of *Completions* will always (re)set its
4369         major mode.
4370         (tmm-old-comp-map): Remove.
4372 2011-11-16  Glenn Morris  <rgm@gnu.org>
4374         * mail/rmailedit.el: Require rmailmm when compiling.
4375         (rmail-old-mime-state): New declaration.
4376         (rmail-edit-current-message): If editing a mime message,
4377         edit the "raw" message from the mbox buffer.
4378         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
4380 2011-11-15  Glenn Morris  <rgm@gnu.org>
4382         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4383         which wasn't being used.  Add optional arg to force given state.
4384         (rmail-mime): Add optional arg to force given state.
4386 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4388         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4389         * frame.el (display-mm-dimensions-alist):
4390         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4391         (outline-move-subtree-down):
4392         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4393         (newsticker--treeview-do-get-node):
4394         * net/quickurl.el (quickurl-list-buffer-name):
4395         * progmodes/dcl-mode.el (dcl-mode):
4396         * progmodes/gdb-mi.el (gdb-mapcar*):
4397         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4399 2011-11-15  Glenn Morris  <rgm@gnu.org>
4401         * mail/rmail.el (rmail-file-coding-system): It's only ever used
4402         in a boolean sense, so just make it a boolean, and fix the doc.
4403         (rmail-show-mime-function, rmail-mime-feature)
4404         (rmail-require-mime-maybe): Doc fixes.
4405         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4407         * mail/rmailmm.el (rmail-show-mime): Doc fix.
4409 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4411         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4412         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4413         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4414         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4416 2011-11-15  Glenn Morris  <rgm@gnu.org>
4418         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4419         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4420         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4421         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4422         (rmail-mime, rmail-show-mime): Doc fixes.
4424         * term/ns-win.el (mode-line-frame-identification):
4425         Leave it alone.  (Bug#10051)
4427         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
4429         * mail/rmailout.el (rmail-output-to-rmail-buffer):
4430         Handle empty buffers.  (Bug#9978)
4432 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
4434         * international/mule.el (define-charset):
4435         * mail/rmailmm.el (rmail-mime-find-header-encoding):
4436         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4437         * progmodes/verilog-mode.el (verilog-backward-token):
4438         * textmodes/ispell.el (lookup-words):
4439         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4441 2011-11-14  Glenn Morris  <rgm@gnu.org>
4443         * progmodes/executable.el
4444         (executable-make-buffer-file-executable-if-script-p):
4445         Handle file-modes returning nil.
4447         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4448         message - not necessary, and causes problems.  (Bug#9831)
4450         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4452         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4454         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4455         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
4456         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4458 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
4460         * window.el (window-resize, delete-window): Use window-splits
4461         variable instead of function.
4462         (window-state-get-1, window-state-put-2, window-state-put):
4463         Don't deal with windows' splits status.
4465 2011-11-12  Glenn Morris  <rgm@gnu.org>
4467         * apropos.el (apropos-do-all, apropos-library, apropos-value)
4468         (apropos-documentation): Doc fixes.
4470 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
4472         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4473         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4475 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * electric.el (electric-indent-post-self-insert-function): Make it
4478         possible for a char to only indent in some circumstances.
4479         (electric-indent-mode): Simplify.
4481 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
4483         * window.el (windows-with-parameter): Remove unused function.
4484         (windows-at-side): Rename to window-at-side-list.
4485         (window-check, window-atom-check, window-atom-check-1)
4486         (window-side-check, window-size-ignore, window-size-fixed-1)
4487         (window-in-direction-2): Prefix with "window--".
4488         (window-tree-1): Rename to window--subtree, fix doc-string.
4490 2011-11-11  Glenn Morris  <rgm@gnu.org>
4492         * subr.el (eval-after-load): If FILE is already loaded,
4493         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
4495 2011-11-10  Glenn Morris  <rgm@gnu.org>
4497         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4498         Call svn via vc-svn-command rather than vc-do-command.
4499         (vc-svn-command): Add --non-interactive.  (Bug#9993)
4500         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4502         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4503         Add toggle-read-only.  (Bug#7292)
4504         * files.el (toggle-read-only): Mention that it should only
4505         be used interactively.  (Bug#10006)
4507 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4509         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4510         Adjust regexp for OCaml warnings.
4512         * electric.el (electric-pair-post-self-insert-function): Let user
4513         turn it off buffer-locally (bug#9932).
4515         * progmodes/python.el (python-beginning-of-statement):
4516         Rewrite (bug#2703).
4518         * progmodes/compile.el: Better handle TABs (bug#9749).
4519         (compilation-internal-error-properties)
4520         (compilation-next-error-function): Obey the target buffer's
4521         compilation-error-screen-columns.
4523 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
4525         * progmodes/meta-mode.el: Remove obsolete comments.
4526         (meta-right-comment-regexp, meta-ignore-comment-regexp):
4527         Fix typos in docstrings.
4529 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
4531         * window.el (window-size-fixed-p): Rewrite doc-string.
4532         (window-resizable-p): Rename to window--resizable-p.  Update callers.
4533         (window--resizable): New function.  Make all callers of
4534         window-resizable call window--resizable instead.
4535         (window-resizable): Rewrite in terms of window--resizable.
4537 2011-11-08  Glenn Morris  <rgm@gnu.org>
4539         * progmodes/delphi.el (delphi-mode-syntax-table):
4540         Let define-derived-mode define a proper syntax table.  (Bug#9994)
4542 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4544         * window.el: Stay away from defsubst.
4545         (window-list-no-nils): Remove.
4546         (window-state-get-1, window-state-get): Use backquote instead.
4548 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4550         * emacs-lisp/find-func.el (find-function-read):
4551         Fix incorrect use of default argument in `completing-read'.
4553 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
4555         * window.el (display-buffer-function, special-display-function):
4556         Mention display-buffer-record-window but do not mention
4557         help-setup parameter in doc-strings.
4558         (window-min-delta): Fix doc-string typo.
4560 2011-11-08  Chong Yidong  <cyd@gnu.org>
4562         * window.el (window-total-height, window-total-width): Doc fix.
4563         (window-body-size): Move from C.
4564         (window-body-height, window-body-width): Move to C.
4566 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4568         * window.el: Make special-display like display-buffer-alist (bug#9532).
4569         (display-buffer--special-action): New function, morphed
4570         from display-buffer--special.
4571         (display-buffer): Use it to handle special-display-buffers at higher
4572         priority (just after display-buffer-alist).
4573         (display-buffer-fallback-action, display-buffer--other-frame-action)
4574         (pop-to-buffer-same-window): Remove display-buffer--special.
4576 2011-11-07  Glenn Morris  <rgm@gnu.org>
4578         * calendar/cal-menu.el (cal-menu-set-date-title):
4579         Do nothing if not in a calendar.  (Bug#9976)
4581 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * files.el (find-file): Always use selected-window.
4585 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
4587         * window.el (window-combinations): Make WINDOW argument
4588         mandatory.  Rewrite doc-string.
4589         (walk-window-subtree, window-atom-check, window-min-delta)
4590         (window-max-delta, window--resize-this-window)
4591         (window--resize-root-window-vertically, window-tree)
4592         (balance-windows, window-state-put): Rewrite doc-strings as to
4593         not mention the term "subwindow".
4594         (window--resize-subwindows-skip-p): Rename to
4595         window--resize-child-windows-skip-p.
4596         (window--resize-subwindows-normal): Rename to
4597         window--resize-child-windows-normal.
4598         (window--resize-subwindows): Rename to
4599         window--resize-child-windows.
4600         (window-or-subwindow-p): Rename to window--in-subtree-p.
4602 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4604         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4605         Ensure that mbox format messages end in two newlines (Bug#9974).
4607 2011-11-06  Chong Yidong  <cyd@gnu.org>
4609         * window.el (window-combination-p): Function deleted; its
4610         side-effect is not used in any existing code.
4611         (window-combinations, window-combined-p): Call window-*-child
4612         directly.
4614 2011-11-05  Chong Yidong  <cyd@gnu.org>
4616         * window.el (window-valid-p): Rename from window-any-p.
4617         (window-size-ignore, window-state-get): Callers changed.
4618         (window-normalize-window): Rename from window-normalize-any-window.
4619         New arg LIVE-ONLY, replacing window-normalize-live-window.
4620         (window-normalize-live-window): Delete.
4621         (window-combination-p, window-combined-p, window-combinations)
4622         (walk-window-subtree, window-atom-root, window-min-size)
4623         (window-sizable, window-sizable-p, window-size-fixed-p)
4624         (window-min-delta, window-max-delta, window-resizable)
4625         (window-resizable-p, window-full-height-p, window-full-width-p)
4626         (window-current-scroll-bars, window-point-1, set-window-point-1)
4627         (window-at-side-p, window-in-direction, window-resize)
4628         (adjust-window-trailing-edge, maximize-window, minimize-window)
4629         (window-deletable-p, delete-window, delete-other-windows)
4630         (record-window-buffer, unrecord-window-buffer)
4631         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4632         (quit-window, split-window, window-state-put)
4633         (set-window-text-height, fit-window-to-buffer)
4634         (shrink-window-if-larger-than-buffer): Callers changed.
4636 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
4638         * mail/rmail.el (rmail-simplified-subject): Decode subject with
4639         rfc2047-decode-string.
4640         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4641         warnings.
4643         * window.el (window-body-height, window-body-width): Mention in
4644         the doc string that the return values are in frame's canonical
4645         units.  (Bug#9949)
4647 2011-11-03  Alan Mackenzie  <acm@muc.de>
4649         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4650         change in cc-engine.el.
4652 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4654         * window.el (switch-to-buffer): Use `force-same-window' interactively.
4656 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
4658         * window.el (quit-window): Call unrecord-window-buffer after
4659         showing another buffer in the window.  (Bug#9937)
4660         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4662 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
4664         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4665         Accept status with more than 9 shelves.  (Bug#9935)
4666         Reported by Colin D Bennett <colin@gibibit.com>.
4668 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
4670         * help.el (with-help-window): Don't reference
4671         temp-buffer-show-specifiers in doc-string.
4673 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4675         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4676         menu-item.
4678 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4680         * whitespace.el: New version 13.2.2.
4681         (whitespace-newline-mode): Disable properly.  Reported by Sarah
4682         <EmacsWiki>.
4684 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
4686         * net/newst-treeview.el: Remove "Time-stamp".
4687         (newsticker--group-manage-orphan-feeds): Do not call
4688         newsticker--treeview-tree-update.
4689         (newsticker-treeview-update, newsticker-treeview):
4690         Call newsticker--treeview-tree-update if necessary.
4692 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
4694         * window.el (window-iso-combination-p, window-iso-combined-p)
4695         (window-iso-combinations): Remove "iso-" infix.
4696         Suggested by Chong Yidong.
4697         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4698         (window-max-delta-1, window-resize, window--resize-siblings)
4699         (window--resize-this-window, adjust-window-trailing-edge)
4700         (split-window, balance-windows-1)
4701         (shrink-window-if-larger-than-buffer):
4702         * calendar/calendar.el (calendar-generate-window):
4703         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4705 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4708         in place (bug#9907).
4709         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4710         (eshell-rewrite-if-command, eshell-rewrite-for-command)
4711         (eshell-structure-basic-command, eshell-rewrite-while-command)
4712         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4713         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4714         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4715         (eshell-do-pipelines-synchronously, eshell-eval-command):
4716         Use backquotes and prefer setq to set.
4717         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4718         (eshell-macrop): Use functionp.
4719         (eshell-do-eval): Handle multiple expressions in `while' body.
4721 2011-10-30  Chong Yidong  <cyd@gnu.org>
4723         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4724         instead of set-mark (Bug#9810).
4726 2011-10-30  Chong Yidong  <cyd@gnu.org>
4728         * window.el (split-window-below, split-window-right): Rename from
4729         split-window-above-each-other and split-window-side-by-side
4730         respectively.  All callers changed.
4731         (split-window-sensibly, split-window-sensibly): Use them.
4732         (split-window-keep-point): Doc fix.
4734         * isearch.el: Add isearch-scroll property to split-window-below
4735         and split-window-right.
4737         * follow.el (follow-mode):
4738         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4739         * progmodes/ada-xref.el (ada-gdb-application):
4740         * emulation/vip.el (vip-buffer-in-two-windows):
4741         * image-dired.el (image-dired-dired-with-window-configuration):
4742         * dired-x.el (dired-do-find-marked-files):
4743         * dired.el (dired-pop-to-buffer):
4744         * bs.el (bs--show-with-configuration):
4745         * vc/emerge.el (emerge-setup-windows):
4746         * textmodes/two-column.el (2C-two-columns):
4747         * textmodes/reftex-toc.el (reftex-toc):
4748         * progmodes/gdb-mi.el (gdb-setup-windows):
4749         * progmodes/fortran.el (fortran-window-create):
4750         * net/newst-treeview.el (newsticker--treeview-window-init):
4751         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4752         * emulation/tpu-edt.el (tpu-gold-map):
4753         * emulation/crisp.el (crisp-mode-map):
4754         * calendar/calendar.el (calendar-basic-setup): Callers changed.
4756 2011-10-29  Chong Yidong  <cyd@gnu.org>
4758         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4760         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4762         * textmodes/flyspell.el (flyspell-word): Fix char offset for
4763         forged Ispell output (Bug#7904).
4765         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4767 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4769         * doc-view.el: Avoid ugly errors about not finding nil.
4770         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4771         (doc-view-dvipdf-program, doc-view-unoconv-program)
4772         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4773         Avoid nil or absolute file name as default value.
4774         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4776 2011-10-28  Alan Mackenzie  <acm@muc.de>
4778         * progmodes/cc-defs.el (c-version): -> 5.32.2.
4780 2011-10-28  Alan Mackenzie  <acm@muc.de>
4782         Amend the handling of c-beginning/end-of-defun in nested declaration
4783         scopes.
4785         * progmodes/cc-vars.el (c-defun-tactic): Move here from
4786         cc-langs.el.  Change it to a defcustom.
4788         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4789         cc-vars.el.
4791         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4792         Prevent "class foo : bar" being spuriously recognized as a label.
4794         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4795         Add parameter `inclusive' (to include enclosing braces in the region).
4796         (c-widen-to-enclosing-decl-scope): New function.
4797         (c-while-widening-to-decl-block): New macro.
4798         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4799         outward for defun boundaries, and correspondingly change symbol
4800         `respect-enclosure' to `go-outward'.
4801         (c-declaration-limits): Change algorithm to report only the "innermost"
4802         defun's boundaries.
4804 2011-10-28  Deniz Dogan  <deniz@dogan.se>
4806         * net/rcirc.el (rcirc-mode): Use hard newlines.
4808 2011-10-28  Alan Mackenzie  <acm@muc.de>
4810         Amend to indent and fontify macros "which include their own semicolon"
4811         correctly, using the "virtual semicolon" mechanism.
4813         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4815         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4816         Recode to scan one line at a time rather than having \n and \r
4817         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4818         (c-forward-label): Amend for virtual semicolons.
4819         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4821         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4822         of the new C macros.
4824         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4825         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4826         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4827         (c-opt-cpp-macro-define): Make into a full language variable.
4828         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4829         AWK Mode (including \n, \r) removed, no longer needed.
4831         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4832         Invoke c-make-macro-with-semi-re.
4834         * progmodes/cc-vars.el (c-macro-with-semi-re):
4835         (c-macro-names-with-semicolon): New variables.
4836         (c-make-macro-with-semi-re): New function.
4838 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4840         * vc/log-edit.el: Fill empty field rather than adding new one.
4841         (log-edit-add-field): New function.
4842         (log-edit-insert-changelog): Use it.
4844 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4846         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4848 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4850         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4851         (gdb--check-interpreter): New function.
4852         (gdb): Use it.
4854 2011-10-27  Glenn Morris  <rgm@gnu.org>
4856         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4857         (least-positive-float, least-negative-float)
4858         (least-positive-normalized-float, least-negative-normalized-float)
4859         (float-epsilon, float-negative-epsilon):
4860         Remove unnecessary declarations.
4862         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4863         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4864         (least-positive-float, least-negative-float)
4865         (least-positive-normalized-float, least-negative-normalized-float)
4866         (float-epsilon, float-negative-epsilon): Add doc-strings,
4867         based on those in cl.texi.
4869         * files.el (set-visited-file-name): If the major-mode changed,
4870         reload the local variables.  (Bug#9796)
4872 2011-10-27  Chong Yidong  <cyd@gnu.org>
4874         * subr.el (change-major-mode-after-body-hook): New hook.
4875         (run-mode-hooks): Run it.
4877         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4878         Use change-major-mode-before-body-hook.
4880         * simple.el (fundamental-mode):
4881         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4882         change introducing fundamental-mode-hook.
4884 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
4886         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4888 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
4890         * ido.el (ido-file-name-all-completions-1): Do not require
4891         tramp.el explicitly.  (Bug#7583)
4893 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4895         * progmodes/octave-mod.el:
4896         * progmodes/octave-inf.el: Update maintainer.
4898 2011-10-26  Chong Yidong  <cyd@gnu.org>
4900         * subr.el (with-wrapper-hook): Rewrite doc.
4902 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
4904         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4905         filenames "/method:foo:".  (Bug#9793)
4907 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4909         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4910         (bug#9865).
4912 2011-10-24  Glenn Morris  <rgm@gnu.org>
4914         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
4916 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
4918         * notifications.el: Add the requirement of a running D-Bus session
4919         bus to the Commentary.
4921 2011-10-24  Juri Linkov  <juri@jurta.org>
4923         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4924         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4925         (Bug#9364)
4927 2011-10-24  Juri Linkov  <juri@jurta.org>
4929         * info.el (Info-following-node-name-re): Add newline to the list
4930         of allowed characters for leading space.  (Bug#9824)
4932 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4934         * progmodes/octave-inf.el (inferior-octave-mode-map):
4935         Fix C-c C-h binding.
4936         * progmodes/octave-mod.el (octave-help): Remove.
4938 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
4940         Sync with Tramp 2.2.3.
4942         * net/tramp-cache.el (top): Pacify byte-compiler using
4943         `init-file-user' and `site-run-file'.
4945         * net/trampver.el: Update release number.
4947 2011-10-23  Chong Yidong  <cyd@gnu.org>
4949         * files.el (toggle-read-only): Remove obsolete comment about
4950         version control.
4952         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4953         for toggle-read-only.  Note that this hasn't called vc-next-action
4954         since 2008-05-02, though it wasn't documented at the time.
4956         * vc/ediff-init.el (ediff-toggle-read-only-function):
4957         Use toggle-read-only.
4959 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4961         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4962         of c-parse-state.
4964         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4965         correct faulty logical expression.
4966         (c-parse-state-state, c-record-parse-state-state):
4967         (c-replay-parse-state-state): New defvar/defuns.
4968         (c-debug-parse-state): Use new functions.
4970 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4972         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4973         last fix.  Use window-in-direction correctly.
4975 2011-10-21  Chong Yidong  <cyd@gnu.org>
4977         * progmodes/idlwave.el (idlwave-mode):
4978         * progmodes/vera-mode.el (vera-mode): No need to set
4979         require-final-newline; that's done in prog-mode.
4980         Suggested by Stefan Monnier.
4982 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4984         * mouse.el (mouse-drag-window-above)
4985         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4986         (mouse-drag-mode-line-1, mouse-drag-header-line)
4987         (mouse-drag-vertical-line-rightward-window): Remove.
4988         (mouse-drag-line): New function.
4989         (mouse-drag-mode-line, mouse-drag-header-line)
4990         (mouse-drag-vertical-line): Call mouse-drag-line.
4991         * window.el (window-at-side-p, windows-at-side): New functions.
4993 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4995         * tar-mode.el (tar-grind-file-mode):
4996         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4998 2011-10-21  Chong Yidong  <cyd@gnu.org>
5000         * progmodes/idlwave.el (idlwave-mode):
5001         * progmodes/vera-mode.el (vera-mode):
5002         Use mode-require-final-newline.
5004 2011-10-20  Glenn Morris  <rgm@gnu.org>
5006         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
5008 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
5010         * emulation/cua-base.el (cua-set-mark): Fix case of string.
5012 2011-10-20  Chong Yidong  <cyd@gnu.org>
5014         * emulation/cua-base.el (cua-mode):
5015         * mail/footnote.el (footnote-mode):
5016         * mail/mailabbrev.el (mail-abbrevs-mode):
5017         * net/xesam.el (xesam-minor-mode):
5018         * progmodes/bug-reference.el (bug-reference-mode):
5019         * progmodes/cap-words.el (capitalized-words-mode):
5020         * progmodes/compile.el (compilation-minor-mode)
5021         (compilation-shell-minor-mode):
5022         * progmodes/gud.el (gud-tooltip-mode):
5023         * progmodes/hideif.el (hide-ifdef-mode):
5024         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5025         * progmodes/subword.el (subword-mode):
5026         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5027         * progmodes/which-func.el (which-function-mode):
5028         * term/tvi970.el (tvi970-set-keypad-mode):
5029         * term/vt100.el (vt100-wide-mode):
5030         * textmodes/flyspell.el (flyspell-mode):
5031         * textmodes/ispell.el (ispell-minor-mode):
5032         * textmodes/nroff-mode.el (nroff-electric-mode):
5033         * textmodes/paragraphs.el (use-hard-newlines):
5034         * textmodes/refill.el (refill-mode):
5035         * textmodes/reftex.el (reftex-mode):
5036         * textmodes/rst.el (rst-minor-mode):
5037         * textmodes/sgml-mode.el (html-autoview-mode)
5038         (sgml-electric-tag-pair-mode):
5039         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5040         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5041         * emulation/crisp.el (crisp-mode):
5042         * emacs-lisp/eldoc.el (eldoc-mode):
5043         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5044         minor mode behavior.
5046 2011-10-19  Juri Linkov  <juri@jurta.org>
5048         * descr-text.el (describe-char): Add #x2010 and #x2011 to
5049         the list of hard-coded chars with escape-glyph face.
5051 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5053         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5055 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
5057         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5058         running process.
5060 2011-10-19  Glenn Morris  <rgm@gnu.org>
5062         * vc/vc-bzr.el (vc-bzr-after-dir-status):
5063         Ignore ignored files.  (Bug#9726)
5065 2011-10-19  Chong Yidong  <cyd@gnu.org>
5067         Doc fix for minor modes, stating that an omitted argument enables
5068         the mode unconditionally when called from Lisp.
5070         * abbrev.el (abbrev-mode):
5071         * allout.el (allout-mode):
5072         * autoinsert.el (auto-insert-mode):
5073         * autoarg.el (autoarg-mode, autoarg-kp-mode):
5074         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5075         (global-auto-revert-mode):
5076         * battery.el (display-battery-mode):
5077         * composite.el (global-auto-composition-mode)
5078         (auto-composition-mode):
5079         * delsel.el (delete-selection-mode):
5080         * desktop.el (desktop-save-mode):
5081         * dired-x.el (dired-omit-mode):
5082         * dirtrack.el (dirtrack-mode):
5083         * doc-view.el (doc-view-minor-mode):
5084         * double.el (double-mode):
5085         * electric.el (electric-indent-mode, electric-pair-mode):
5086         * emacs-lock.el (emacs-lock-mode):
5087         * epa-hook.el (auto-encryption-mode):
5088         * follow.el (follow-mode):
5089         * font-core.el (font-lock-mode):
5090         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5091         * help.el (temp-buffer-resize-mode):
5092         * hilit-chg.el (highlight-changes-mode)
5093         (highlight-changes-visible-mode):
5094         * hi-lock.el (hi-lock-mode):
5095         * hl-line.el (hl-line-mode, global-hl-line-mode):
5096         * icomplete.el (icomplete-mode):
5097         * ido.el (ido-everywhere):
5098         * image-file.el (auto-image-file-mode):
5099         * image-mode.el (image-minor-mode):
5100         * iswitchb.el (iswitchb-mode):
5101         * jka-cmpr-hook.el (auto-compression-mode):
5102         * linum.el (linum-mode):
5103         * longlines.el (longlines-mode):
5104         * master.el (master-mode):
5105         * mb-depth.el (minibuffer-depth-indicate-mode):
5106         * menu-bar.el (menu-bar-mode):
5107         * minibuf-eldef.el (minibuffer-electric-default-mode):
5108         * mouse-sel.el (mouse-sel-mode):
5109         * msb.el (msb-mode):
5110         * mwheel.el (mouse-wheel-mode):
5111         * outline.el (outline-minor-mode):
5112         * paren.el (show-paren-mode):
5113         * recentf.el (recentf-mode):
5114         * reveal.el (reveal-mode, global-reveal-mode):
5115         * rfn-eshadow.el (file-name-shadow-mode):
5116         * ruler-mode.el (ruler-mode):
5117         * savehist.el (savehist-mode):
5118         * scroll-all.el (scroll-all-mode):
5119         * scroll-bar.el (scroll-bar-mode):
5120         * server.el (server-mode):
5121         * shell.el (shell-dirtrack-mode):
5122         * simple.el (auto-fill-mode, transient-mark-mode)
5123         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5124         (line-number-mode, column-number-mode, size-indication-mode)
5125         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5126         * strokes.el (strokes-mode):
5127         * time.el (display-time-mode):
5128         * t-mouse.el (gpm-mouse-mode):
5129         * tool-bar.el (tool-bar-mode):
5130         * tooltip.el (tooltip-mode):
5131         * type-break.el (type-break-mode-line-message-mode)
5132         (type-break-query-mode):
5133         * view.el (view-mode):
5134         * whitespace.el (whitespace-mode, whitespace-newline-mode)
5135         (global-whitespace-mode, global-whitespace-newline-mode):
5136         * xt-mouse.el (xterm-mouse-mode): Doc fix.
5138         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5139         Fix autogenerated docstring.
5141 2011-10-19  Juri Linkov  <juri@jurta.org>
5143         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5144         by checking environment variables "DESKTOP_SESSION" and
5145         "XDG_CURRENT_DESKTOP".  (Bug#9779)
5147 2011-10-19  Juri Linkov  <juri@jurta.org>
5149         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5150         (browse-url-chromium-program, browse-url-chromium-arguments):
5151         New defcustoms.
5152         (browse-url-default-browser): Check for `browse-url-chromium' and
5153         call `browse-url-chromium-program'.
5154         (browse-url-chromium): New command.  (Bug#9779)
5156 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
5158         * facemenu.el (list-colors-duplicates): On Windows, detect more
5159         duplicates by assuming that only colors matching "^System" are
5160         special "system colors".  (Bug#9722)
5162 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5164         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5165         to distinguish the author from the committer.
5167 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
5169         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5171 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
5173         * international/mule.el (sgml-html-meta-auto-coding-function):
5174         Add support for detecting encoding in HTML5 specified only as
5175         <meta charset="UTF-8">.  Implementation just makes http-equiv and
5176         content-type parts from HTML4 encoding string optional.  (Bug#9716)
5178 2011-10-18  Glenn Morris  <rgm@gnu.org>
5180         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
5182 2011-10-18  Chong Yidong  <cyd@gnu.org>
5184         * faces.el (cursor): Doc fix.
5186 2011-10-17  Chong Yidong  <cyd@gnu.org>
5188         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5190 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
5192         * dirtrack.el (dirtrack): Support shell buffers with path
5193         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
5195 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
5197         * json.el: Bump version to 1.3 and note change in History.
5198         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5200 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5202         * comint.el (comint-insert-input, comint-send-input)
5203         (comint-get-old-input-default, comint-backward-matching-input)
5204         (comint-next-prompt): Use nil instead of `input' for field property of
5205         past user input (bug#114).
5207         * minibuffer.el (completion--replace): Inherit surrounding properties
5208         (bug#114).
5209         (minibuffer-complete-and-exit): Use it.
5211         * comint.el (comint--table-subvert): Quote the all-completions output
5212         (bug#9160).
5214 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
5216         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5218         * menu-bar.el (menu-bar-file-menu): Add entry for making new
5219         window on right of selected.  (Bug#9350) Reword other window
5220         entries and separate them from frame entries.
5222 2011-10-15  Glenn Morris  <rgm@gnu.org>
5224         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5225         Doc fixes.
5227 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
5229         * net/network-stream.el (network-stream-open-starttls):
5230         Improve detection of failure due to lack of TLS support.
5232         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5233         putting the input text in front and in bold.
5235 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5239         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5240         empty buffer.
5242         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5243         unread-command-events rather than pushing yet-another event.
5245 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5247         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5248         the explanation of the possible choices.  Make the options passed
5249         to completing-read shorter.
5251 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5253         * textmodes/flyspell.el (flyspell-large-region): Make sure
5254         extended character mode is used if defined (Bug#1339).
5256 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5258         * simple.el (what-cursor-position): Fix the display of the
5259         character info for LRE, LRO, RLE, and RLO characters by appending
5260         an invisible PDF.
5262 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5265         even in case of error; add debug spec; simplify data flow.
5266         (with-timeout-handler): Remove.
5268 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5270         Fix Bug#6019, Bug#9315.
5272         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5273         complete `buffer-file-name', the local file name part could look
5274         remotely (for example on VMS).
5276         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5277         `tramp-run-real-handler'.
5278         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5279         already quoted by '"'.
5281         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5282         Let `file-name-handler-alist' be nil, the local file name part
5283         could look remotely (for example on VMS).
5285 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5287         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5288         from here...
5289         (flyspell-post-command-hook): ...to here.
5291 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5293         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5294         if not needed.
5295         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5296         using completion.  Protect against "slow" callers.
5297         Remove the "message hack".
5299 2011-10-11  Juri Linkov  <juri@jurta.org>
5301         * isearch.el (isearch-lazy-highlight-word): New variable.
5302         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5303         Use it.  (Bug#9727)
5305 2011-10-11  Glenn Morris  <rgm@gnu.org>
5307         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5308         like f90-previous-statement does.
5310 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5312         * eshell/eshell.el (eshell-command): History should be saved
5313         only in interactive use, to avoid error.
5315 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5317         * minibuffer.el (completion-file-name-table): Fix last change,
5318         i.e. ignore normal errors but not the other ones.
5320 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5322         * window.el (special-display-buffer-names)
5323         (special-display-regexps): Remove some remnants of earlier
5324         changes from doc-strings.
5325         (quit-windows-on): New function.
5327         * vc/vc.el (vc-revert, vc-rollback):
5328         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5329         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5330         (Bug#6183) (Bug#7074) (Bug#7447)
5332 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5334         * window.el (frame-auto-hide-function): Add version tag.
5335         (Bug#9699)
5337 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5339         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5340         condition.
5342 2011-10-09  Leo Liu  <sdl.web@gmail.com>
5344         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5345         (Bug#9701)
5347 2011-10-08  Glenn Morris  <rgm@gnu.org>
5349         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5350         before the first code statement zero indent.  (Bug#9690)
5352 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
5354         * simple.el (count-words-region): Always count in the region.
5355         Report the number of lines and characters too.
5356         (count-words): New command, which counts in the buffer if the
5357         region is inactive, as count-words-region used to.
5358         (count-words--message): New function.  Handle plurals.
5359         (count-lines-region): Make it an alias for count-words-region.
5361         * bindings.el (esc-map): Replace count-lines-region with
5362         count-words-region.
5364 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
5366         * window.el (window--delete): Delete dedicated frame
5367         unconditionally when argument KILL is non-nil.  (Bug#9699)
5368         (switch-to-buffer): Fix doc-string typo.
5370 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5372         * eshell/eshell.el (eshell-command): Avoid using hooks.
5374 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
5376         * bindings.el ([M-left],[M-right]): Bind to left-word and
5377         right-word respectively.
5379 2011-10-07  Glenn Morris  <rgm@gnu.org>
5381         * cus-start.el (debug-on-quit): Fix custom type.
5383 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5385         * subr.el (define-key-after): Clarify that the function is not
5386         useful for non-menu keymaps.
5388         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5390 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5392         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5393         in current minibuffer (Fix bug with recursive minibuffers).
5395 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
5397         * progmodes/gdb-mi.el (gdb): Doc fix.
5399 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
5401         * window.el (frame-auto-hide-function): New option replacing
5402         frame-auto-delete.  Suggested by Stefan Monnier.
5403         (window--delete): Call frame-auto-hide-function instead of
5404         investigating frame-auto-delete.
5405         (window-point-1, set-window-point-1): New functions.
5406         (window-in-direction, record-window-buffer, window-state-get-1)
5407         (display-buffer-record-window): Use window-point-1 instead of
5408         window-point.
5409         (set-window-buffer-start-and-point): Use set-window-point-1.
5411 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5415 2011-10-05  Glenn Morris  <rgm@gnu.org>
5417         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5418         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
5420 2011-10-05  Leo Liu  <sdl.web@gmail.com>
5422         * subr.el (read-char-choice): Fix argument to buffer-live-p which
5423         works with buffer object.
5425 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5427         * mpc.el (mpc-tool-bar-map): Add labels.
5429 2011-10-04  Glenn Morris  <rgm@gnu.org>
5431         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5433 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
5435         * window.el (window--delete): New function.
5436         (frame-auto-delete): Resuscitate option.
5437         (bury-buffer, replace-buffer-in-windows)
5438         (quit-window): Rewrite using window--delete.
5439         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5440         Pass display-buffer-mark-dedicated to window--display-buffer-2
5441         (Bug#9639).
5443 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5445         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5446         returns a list (bug#9554).  Add remote file name completion.
5447         * comint.el (comint--table-subvert): Curry and get quote&unquote
5448         functions as arguments.
5449         (comint--complete-file-name-data): Adjust call accordingly.
5450         * pcomplete.el (pcomplete--table-subvert): Remove.
5451         (pcomplete-completions-at-point): Use comint--table-subvert instead.
5453         * minibuffer.el (completion-table-case-fold): Use currying.
5454         (completion--styles-type, completion--cycling-threshold-type):
5455         New constants.
5456         (completion-styles, completion-category-overrides)
5457         (completion-cycle-threshold): Use them.
5458         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5459         completion-table-case-fold.
5461 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
5463         * minibuffer.el (completion-category-overrides): Fix type of styles
5464         and add more user friendly tags (bug#9660).
5466 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5469         (mule-input-method-string): New widget.
5470         (default-input-method, language-info-custom-alist): Use it.
5472 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5474         * pcomplete.el: Require comint.
5475         (pcomplete--common-suffix): Remove.
5476         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5477         (pcomplete--table-subvert): Sync with comint--table-subvert.
5478         (pcomplete--entries): Use comint-completion-file-name-table.
5479         * comint.el (comint-unquote-filename): Simplify.
5480         (comint-completion-file-name-table): New function (bug#9616).
5481         (comint--complete-file-name-data): Use it.
5483         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5484         (pcmpl-gnu-tar-buffer): Remove.
5485         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5486         around.  Make sure pcomplete-suffix-list is only changed temporarily.
5487         Don't look inside the tar's file if it's too large.
5489 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
5491         * cus-edit.el (custom-mode-map):
5492         * epa.el (epa-key-list-mode-map):
5493         * man.el (Man-mode-map):
5494         * startup.el (splash-screen-keymap):
5495         * simple.el (special-mode-map): Use scroll-up-command and
5496         scroll-down-command.
5498         * progmodes/idlw-help.el (idlwave-help-mode-map):
5499         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5500         * net/newst-plainview.el (newsticker-mode-map):
5501         * emulation/ws-mode.el (wordstar-mode-map):
5502         * emulation/vi.el (vi-com-map):
5503         * calc/calc-graph.el (calc-graph-show-dumb):
5504         * term/sun.el (terminal-init-sun):
5505         * term/ns-win.el (global-map):
5506         * progmodes/grep.el (grep-mode-map):
5507         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5508         * mail/rmail.el (rmail-mode-map):
5509         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5511         * custom.el (custom-safe-themes, load-theme): Treat value of t for
5512         custom-safe-themes as special.
5514 2011-10-01  Julien Danjou  <julien@danjou.info>
5516         * notifications.el (notifications-notify): Fix docstring.
5518 2011-10-01  Per Starbäck  <per@starback.se>
5520         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
5522 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
5524         * startup.el (command-line-1): Fix last fix by inserting
5525         initial-scratch-message into *scratch* before displaying it.
5526         (Bug#9605) and (Bug#9636)
5528 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
5530         * simple.el (line-move): If auto-hscroll-mode is disabled and the
5531         window is hscrolled, move by logical lines.  (Bug#9607)
5532         (line-move-visual): Update the doc string to the above effect.
5534 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
5536         * window.el (display-buffer-record-window): When WINDOW is the
5537         selected window use `point' instead of `window-point'.  (Bug#9626)
5539         * startup.el (command-line-1): Use insert-before-markers when
5540         inserting initial-scratch-message.  (Bug#9605)
5542         * help.el (help-window): Remove variable.
5544 2011-09-29  Glenn Morris  <rgm@gnu.org>
5546         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5548 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
5550         * descr-text.el (describe-char-categories): Accept category
5551         descriptions more than one line long.
5553 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5555         * simple.el (delete-trailing-whitespace): Fix last change.
5557         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5558         Don't confuse "y => 3" as the beginning of a `y' operation.
5560         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5561         object has more than 4 slots (bug#9613).
5563 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
5565         * subr.el (with-output-to-temp-buffer):
5566         * net/quickurl.el (quickurl, quickurl-browse-url):
5567         Fix typos in docstrings.
5569 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
5571         * minibuffer.el (completion-styles)
5572         (completion-category-overrides): Cross reference each other in doc
5573         strings.
5575 2011-09-27  Glenn Morris  <rgm@gnu.org>
5577         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5578         to split-string.  (Bug#9606)
5580 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5582         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5583         (bug#9615).
5585 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
5587         * emacs-lisp/package.el (list-packages): Fix echo area message.
5589 2011-09-27  Leo Liu  <sdl.web@gmail.com>
5591         * ido.el (ido-read-internal): Accept cons cell HIST arg.
5593 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
5595         * net/dbus.el (dbus-unregister-object): Don't release services for
5596         registered signals.  (Bug#9581)
5598 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
5600         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5601         function that picks between cfengine 2 and 3 support
5602         automatically.  Update docs accordingly.
5604 2011-09-22  Kenichi Handa  <handa@m17n.org>
5606         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5607         ZERO.
5608         (indian-itrans-v5-table-for-tamil): New variable.
5609         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5611 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
5613         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5614         that's true if the current command involved collapsing of text.
5615         It's reset to false at the beginning of the next command.
5616         (allout-post-command-business): Move the cursor to the beginning
5617         of entry if the cursor is hidden and collapsing activity just
5618         happened.
5620 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
5622         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5623         tracking (Bug#9541).
5625 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
5627         * net/newst-reader.el (newsticker-html-renderer)
5628         (newsticker-show-news): Automatically load html rendering package
5629         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
5630         because w3m-fill-column is let-bound" and the error "Symbol's value
5631         as variable is void: w3m-fill-column".
5633 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
5635         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5636         Release services only if they are defined.  (Bug#9581)
5638 2011-09-23  Richard Stallman  <rms@gnu.org>
5640         * textmodes/paragraphs.el (forward-sentence): For backwards case,
5641         distinguish start of paragraph from start of its text.
5643         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5645         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5646         (rmail-generate-viewer-buffer): Put that hook on view buffer.
5647         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5649 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
5651         * international/mule-diag.el (mule-diag): Insert a newline after
5652         each fontset description.
5654 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5656         * simple.el (delete-trailing-whitespace):
5657         Document last change; simplify.
5659 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
5661         * simple.el (delete-trailing-whitespace): Also delete
5662         extra newlines at the end of the buffer.
5664         * textmodes/picture.el: Make motion commands obey shift-select-mode.
5665         (picture-newline): Use forward-line so as to ignore fields.
5667 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5669         * subr.el (with-wrapper-hook): Fix edebug spec.
5671 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5673         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5674         (bug#4538).
5676 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
5678         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5679         Fix nasty bug using wrong cached values.
5681 2011-09-23  Alan Mackenzie  <acm@muc.de>
5683         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5685 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
5687         * window.el (pop-to-buffer): Ensure right window is selected if we
5688         chose another frame.
5690 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
5692         * simple.el (what-cursor-position): Use get-char-property-change
5693         and next-single-char-property-change, to be able to show display
5694         properties that come from overlays as well as text properties.
5696 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
5698         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5700         * cmuscheme.el (run-scheme, switch-to-scheme):
5701         * cus-edit.el (customize-group, custom-buffer-create)
5702         (customize-browse):
5703         * info.el (info):
5704         * shell.el (shell):
5705         * mail/sendmail.el (mail):
5706         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5708 2011-09-22  Richard Stallman  <rms@gnu.org>
5710         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5711         move back only to line beg, don't move back over blank lines.
5713 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
5715         * files.el (copy-directory): Set directory attributes only in case
5716         they could be retrieved from the source directory.  (Bug#9565)
5718 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
5720         * progmodes/hideshow.el (hs-looking-at-block-start-p)
5721         (hs-find-block-beginning, hs-hide-level-recursive):
5722         Ignore strings as well as comments.  (Bug#9502)
5724 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
5726         * progmodes/sql.el (sql-comint-postgres):
5727         Convert port number to a string.  (Bug#9566)
5729 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
5731         * window.el (quit-window): Undedicate window when switching to
5732         previous buffer.  Reported by Thierry Volpiatto
5733         <thierry.volpiatto@gmail.com>.
5734         (special-display-popup-frame): When popping up a new frame reset
5735         its previous buffers to nil.  Simplify code.
5737 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
5739         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5740         and process filter, as done also in `shell-command'.
5742 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
5744         * window.el (set-window-buffer-start-and-point):
5745         Call set-window-start with NOFORCE argument t.
5746         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5747         (quit-window): Reword doc-string.  Handle new format of
5748         quit-restore parameter.  Don't delete window if it has a
5749         previous buffer we can show instead of the present one.
5750         (display-buffer-record-window): Rewrite using a new format for
5751         the quit-restore window parameter
5752         (special-display-popup-frame, display-buffer-same-window)
5753         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5754         (display-buffer-pop-up-window, display-buffer-use-some-window):
5755         Adapt symbol passed to display-buffer-record-window.
5756         * help.el (help-window-setup): Handle new format of quit-restore
5757         parameter.
5759 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5761         * faces.el (face-list): Fix docstring (bug#9564).
5763         * window.el (display-buffer--action-function-custom-type):
5764         Don't include internal functions in the Custom interface.
5766 2011-09-20  Juri Linkov  <juri@jurta.org>
5768         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5769         (Info-forward-node, Info-backward-node, Info-next-preorder)
5770         (Info-last-preorder): Use it.  (Bug#9528)
5772 2011-09-20  Juri Linkov  <juri@jurta.org>
5774         * info.el (Info-last-preorder): Visit last menu item only when
5775         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5777 2011-09-20  Julien Danjou  <julien@danjou.info>
5779         * password-cache.el (password-cache-remove): Remove entries even if the
5780         value is nil, so that password with a nil value (negative caching) is
5781         possible to invalidate.
5783 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
5785         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5786         all whitespace around breakpoint.  (Bug#9553)
5787         (f90-find-breakpoint): Only break at whitespace inside a comment.
5789 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5791         * minibuffer.el (completion-file-name-table): Keep track of errors.
5792         (completion-table-with-predicate): Handle the case where pred1 is nil.
5793         * pcomplete.el (pcomplete-completions-at-point): Simplify.
5795 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5797         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5798         (debugger-return-value): Signal an error if the debugging context does
5799         not await any return value.
5801         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5802         * image-mode.el (image-toggle-display-text)
5803         (image-toggle-display-image): Stay away from evil `intangible'.
5805 2011-09-19  Leo Liu  <sdl.web@gmail.com>
5807         * replace.el (occur-revert-arguments): Make it permanent-local.
5808         (occur-mode): Don't call font-lock-defontify.
5810 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
5812         * net/ldap.el (ldap-search-internal): Don't push empty search
5813         result (Bug#9508).
5815 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5817         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5819 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
5821         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5822         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5824 2011-09-18  Juri Linkov  <juri@jurta.org>
5826         * buff-menu.el (Buffer-menu-mode-map):
5827         * dired.el (dired-mode-map):
5828         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5829         (lisp-interaction-mode-map):
5830         * emacs-lisp/package.el (package-menu-mode-map):
5831         * epa.el (epa-key-list-mode-map):
5832         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5833         (menu-bar-options-menu):
5834         * outline.el (outline-mode-menu-bar-map):
5835         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5836         * vc/vc-dir.el (vc-dir-menu-map):
5837         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5838         Capitalize non-function content words in menu item strings.
5840         * dired.el (dired-mode-map): Add menu item for
5841         `image-dired-dired-toggle-marked-thumbs'.
5843 2011-09-18  Juri Linkov  <juri@jurta.org>
5845         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5846         to `isearch-case-fold-search' and restore its original value
5847         after the `isearch-mode' call.
5849 2011-09-18  Juri Linkov  <juri@jurta.org>
5851         * progmodes/grep.el (grep-process-setup): Don't check code for 1
5852         because `zgrep' returns 1 for successful matches (bug#9226).
5854 2011-09-18  Juri Linkov  <juri@jurta.org>
5856         * info.el (Info-extract-menu-node-name): Check the second match
5857         for empty string (second test-case of bug#9528).
5858         (Info-last-preorder): Let-bind `Info-history' to nil to not add
5859         intermediate nodes to the history (first test-case of bug#9528).
5861 2011-09-18  Juri Linkov  <juri@jurta.org>
5863         * info.el (Info-mode-syntax-table): New variable.
5864         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5866 2011-09-18  Juri Linkov  <juri@jurta.org>
5868         * info.el (Info-file-supports-index-cookies):
5869         Increment line-beginning-position's arg from 3 to 4 because makeinfo
5870         outputs one more line for long file names (bug#4142).
5872 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5874         * newcomment.el (comment-normalize-vars): If prompting for
5875         comment-start, set comment-start-skip too (Bug#8424).
5877 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
5879         * icomplete.el: Fix previous fix of Bug#5849.
5880         (icomplete-mode): Don't set completion-show-inline-help.
5881         (icomplete-minibuffer-setup): Set completion-show-inline-help
5882         locally during icompletion.
5884 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
5886         * woman.el (woman2-process-escapes): Don't delete unrecognized
5887         escapes (Bug#7843).
5889         * files.el (inhibit-first-line-modes-regexps): Add image files.
5890         (hack-local-variables-prop-line): Return nil for malformed
5891         prop-lines (Bug#9044).
5893 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
5895         * net/tramp.el (top): Don't require 'shell.
5896         (tramp-methods): Fix docstring.
5897         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5898         Return complete remote file name.  Handle "smb" case.
5899         Use `tramp-tmpdir', if defined for the respective method.
5900         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5902         * net/tramp-compat.el (top): Require 'shell.
5904         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5905         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5906         `tramp-current-host'.
5907         (tramp-get-remote-tmpdir): Remove.
5909         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5910         `tramp-tmpdir' entries.
5911         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5912         (tramp-smb-handle-file-attributes): Ignore errors.
5913         (tramp-smb-wait-for-output): Check also for process end.
5915 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5917         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5918         when sending QUIT (bug#9312).
5920 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
5922         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5923         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5924         occur-mode-display-occurrence.
5925         (occur-edit-mode): Add usage message.
5926         (occur-cease-edit): New command.
5927         (occur-after-change-function): Use text properties to find the
5928         position of the prefix text.
5929         (occur-engine): Set stickiness of prefix text properties.
5931 2011-09-17  Glenn Morris  <rgm@gnu.org>
5933         * progmodes/etags.el (complete-tag):
5934         Fix call to completion-in-region.  (Bug#9526)
5936 2011-09-17  Juri Linkov  <juri@jurta.org>
5938         * textmodes/ispell.el (ispell-word): Add to the error message
5939         the word, ispell program name and current dictionary (bug#9121).
5940         (ispell-tex-arg-end): Capitalize "error" in the error message.
5942 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5944         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5945         check.  (Bug#4251)
5947 2011-09-17  Juri Linkov  <juri@jurta.org>
5949         * window.el (window-safe-min-height, window-safe-min-width):
5950         Fix typos (followup to bug#9522).
5952 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5954         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5956 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5958         * simple.el (line-move): If goal-column is set, move by logical
5959         lines, not by display lines.  (Bug#971)
5960         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5961         to reflect the above change.
5963 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5965         * image.el (imagemagick-register-types): Use regexp-opt.
5967 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5969         * window.el (display-buffer-base-action): Rename from
5970         display-buffer-default-action.  Make default value empty.
5971         (display-buffer-overriding-action): Convert to defvar.
5972         (display-buffer-fallback-action): New var.
5974 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5976         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5977         declaration.
5978         (package--add-to-archive-contents): If there is a duplicate entry
5979         with an older version, remove it.
5980         (package-menu-mark-delete, package-menu-mark-install)
5981         (package-menu-mark-unmark): Make unused args optional.
5982         (package-menu-mark-obsolete-for-deletion):
5983         Use package-menu-get-status instead of a regexp search.
5984         (package-menu-get-status): Use tabulated-list-entry.
5985         (package-menu-mark-upgrades): New command.
5986         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5987         (package-menu-execute): Do installation before deletion.
5988         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5989         instead of checking major-mode.
5990         (package-menu--find-upgrades): New function.
5992 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5994         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5995         passwords in the log buffer.
5996         (smtpmail-process-filter): Update the process marker so that the
5997         "broken by peer" status message is inserted in the right place.
5999 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6001         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6002         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6003         bibtex-completion-at-point-function.
6004         (bibtex-completion-at-point-function): Use them.
6006         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6008         * mpc.el (mpc-constraints-tag-lookup): New function.
6009         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6010         also to browser "album|playlist".
6012 2011-09-14  Juri Linkov  <juri@jurta.org>
6014         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
6015         (isearch-edit-string): Use length of `isearch-string' when
6016         `isearch-fail-pos' returns nil.
6017         (isearch-message): Remove duplicate code and call
6018         `isearch-fail-pos' with arg `t'.
6020 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
6022         * replace.el (occur-mode-goto-occurrence): Don't force using other
6023         window (Bug#9499).
6025         * dired-aux.el (dired-do-chmod): Don't provide initial input.
6027 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
6029         * window.el (display-buffer-window): Remove.
6030         (display-buffer-record-window): Use help-setup window parameter
6031         instead of variable display-buffer-window.
6032         (display-buffer-function, special-display-buffer-names)
6033         (special-display-function): Mention help-setup parameter instead
6034         of display-buffer-window in doc-string.
6035         * help.el (help-window-setup): New argument help-window.
6036         Use help-window-setup parameter instead of display-buffer-window.
6037         Reword some messages.
6038         (with-help-window): Pass window used for displaying the buffer
6039         to help-window-setup.  Don't set display-buffer-window.
6041 2011-09-13  Glenn Morris  <rgm@gnu.org>
6043         * emacs-lisp/debug.el (debugger-make-xrefs):
6044         Preserve point.  (Bug#9462)
6046 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6048         * window.el (window-deletable-p): Use next-frame.
6050 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
6052         * window.el (window-auto-delete): Remove.
6053         (window-deletable-p): Remove argument FORCE.  Don't deal with
6054         dedication and previous buffers.
6055         (switch-to-prev-buffer): Don't delete window.
6056         (delete-windows-on): Delete a window's frame if and only if the
6057         window is dedicated.
6058         (replace-buffer-in-windows): Delete buffer's window or frame if
6059         and only if window is dedicated.
6060         (quit-window): Handle quit-restore as before last change.
6061         (bury-buffer): Delete window only if window-deletable-p returns t.
6063 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6065         * window.el (window-deletable-p): Never delete the last frame on a
6066         given terminal.
6068 2011-09-13  Glenn Morris  <rgm@gnu.org>
6070         * help.el (describe-key-briefly): Copy previous standard-output change.
6072 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
6074         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
6076 2011-09-13  Glenn Morris  <rgm@gnu.org>
6078         * emacs-lisp/lisp-mode.el (lisp-indent-function):
6079         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6081 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
6083         * dired-aux.el (dired-mark-read-string): Don't return default
6084         value on empty input (Bug#9361).
6085         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6086         Omit initial minibuffer contents.
6087         (dired-do-chmod): Signal an error on empty input.
6088         (dired-mark-read-string): Don't return default on empty input.
6090         * files.el (file-modes-symbolic-to-number): Doc fix.
6092 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6094         * international/mule-cmds.el (ucs-completions): Remove.
6095         (read-char-by-name): Use complete-with-action instead; add metadata.
6097 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6099         * window.el (display-buffer--action-function-custom-type)
6100         (display-buffer--action-custom-type): New vars.
6101         (display-buffer-alist, display-buffer-default-action)
6102         (display-buffer-overriding-action): Add defcustom types.
6104         * frame.el (delete-other-frames): Doc fix (Bug#276).
6106 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6108         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6110 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6112         Change modes that used same-window-* vars to use switch-to-buffer.
6114         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6115         Use switch-to-buffer.
6117         * cus-edit.el (customize-group, custom-buffer-create)
6118         (customize-browse, custom-buffer-create-other-window):
6119         Use switch-to-buffer or switch-to-buffer-other-window.
6121         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6122         (Info-prev, Info-up, Info-speedbar-goto-node)
6123         (info-display-manual): Use switch-to-buffer.
6124         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6126         * mail/sendmail.el (mail): Use switch-to-buffer.
6127         (mail-recover): Use switch-to-buffer-other-window.
6129         * cmuscheme.el (run-scheme, switch-to-scheme):
6130         * ielm.el (ielm):
6131         * shell.el (shell):
6132         * net/rlogin.el (rlogin):
6133         * net/telnet.el (telnet, rsh):
6134         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6136 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6138         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6140 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6142         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6143         so don't mention it (bug#9301).
6144         (dired-sort-toggle-or-edit): Clarify string further.
6146         * faces.el (face-spec-set-match-display): Make `(type graphic)'
6147         match `x', `w32' and `ns', like the manual says (bug#9029).
6149         * subr.el (eval-after-load): Doc string clarification (bug#9125).
6150         (process-kill-buffer-query-function): Mention the buffer name in
6151         the query.
6153         * image-mode.el (image-next-line): The line parameter is mandatory
6154         (bug#9258).
6156         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6157         which can be useful (bug#9301).
6159         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6161         * subr.el (match-string): Mention that the current buffer should
6162         be the same as the search was done in (bug#9282).
6164         * facemenu.el: Disable the remove-* commands if the mark isn't
6165         active (bug#9162).
6167 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6169         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6170         of display-buffer.
6171         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6173         * replace.el (occur-mode-goto-occurrence)
6174         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6175         and display-buffer.
6177         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6178         display-buffer.
6180         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6181         special-display and same-window variables.
6182         (mail-other-window): Use switch-to-buffer-other-window.
6183         (mail-other-frame): USe switch-to-buffer-other-frame.
6185         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6186         Use display-buffer-other-frame.
6187         (gdb-display-gdb-buffer): Use pop-to-buffer.
6189         * progmodes/gud.el (gud-goto-info): Use info-other-window.
6191         * progmodes/python.el: Don't set same-window-buffer-names.
6193         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6195         * window.el (display-buffer-alist): Add *Python*.
6197 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6199         * window.el (display-buffer-alist): Add entry for buffers
6200         previously handled same-window-*.
6201         (display-buffer-alist, display-buffer-default-action)
6202         (display-buffer-overriding-action): Mark as risky.
6203         (display-buffer-alist): Document action function changes.
6204         (display-buffer--same-window-action)
6205         (display-buffer--other-frame-action): New variables.
6206         (switch-to-buffer, display-buffer-other-frame): Use them.
6207         (display-buffer): Rename reuse-frame entry to reusable-frames.
6208         (display-buffer-reuse-selected-window): Function deleted.
6209         (display-buffer-reuse-window): Handle reusable-frames alist entry.
6210         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6211         (display-buffer-special): New function.
6212         (display-buffer--maybe-pop-up-frame-or-window): Rename from
6213         display-buffer-reuse-or-pop-window.  Split off special-display
6214         part into display-buffer-special.
6215         (display-buffer-use-some-window): Don't perform any special
6216         pop-up-frames handling.
6217         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6218         (display-buffer--maybe-same-window): Rename from
6219         display-buffer-maybe-same-window.
6221         * info.el: Don't set same-window-regexps.
6222         (info-setup): New function.
6223         (info-other-window, info): Call it.
6225         * cus-edit.el: Don't set same-window-regexps.
6226         (customize-group): New argument.
6227         (customize-group-other-window): Use it.
6228         (customize-face, customize-face-other-window): Likewise.
6229         (custom-buffer-create-other-window): Use pop-to-buffer directly.
6231         * net/rlogin.el:
6232         * net/telnet.el:
6233         * progmodes/gud.el: Don't set same-window-regexps.
6235         * cmuscheme.el:
6236         * ielm.el:
6237         * shell.el:
6238         * mail/sendmail.el:
6239         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6241 2011-09-10  Juri Linkov  <juri@jurta.org>
6243         * isearch.el (isearch-edit-string): Remove obsolete mention of
6244         `C-w' (`isearch-yank-word-or-char') from docstring.
6245         (isearch-query-replace): Fix typo in docstring (bug#9466).
6247 2011-09-10  Juri Linkov  <juri@jurta.org>
6249         * paren.el (show-paren-function): Don't show escaped parens.
6250         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6252 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6254         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6255         (mm-default-file-encoding): Remove autoload forms, they are
6256         replaced with autoload cookies in mml.el and mm-encode.el.
6257         (mail-add-attachment): New command.
6258         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6259         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6260         the doc string.
6261         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6263 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6265         * simple.el (count-words-region): Use buffer if there's no region
6266         (bug#9429).
6268 2011-09-09  Juri Linkov  <juri@jurta.org>
6270         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6271         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6272         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6274 2011-09-09  Alan Mackenzie  <acm@muc.de>
6276         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6277         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6279 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6281         Fix for Savannah bug#9392.
6282         * simple.el (mail-encode-mml): New defvar.
6284         * mail/rmail.el (mail-encode-mml): Add a defvar.
6285         (rmail-enable-mime-composing): Default to t.
6286         (rmail-forward): Use MIME method of forwarding only if both
6287         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6288         Set mail-encode-mml non-nil if the MIME method was used.
6290         * mail/sendmail.el (mml-to-mime): Add autoload form.
6291         (mail-encode-mml): Add a defvar.
6292         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6293         to nil.
6294         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6295         message through mml-to-mime, and reset mail-encode-mml to nil.
6297 2011-09-09  Glenn Morris  <rgm@gnu.org>
6299         * woman.el (woman-if-body): When processing an .el block,
6300         do not delete the next .el block as well.  (Bug#9447)
6301         (woman-special-characters): Add oq, cq, and hy characters.
6303 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6305         * window.el (window-deletable-p): Make sure window is live before
6306         invoking window-prev-buffers.
6308 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6310         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6312 2011-09-08  Juri Linkov  <juri@jurta.org>
6314         * progmodes/compile.el (compilation-environment): Make it
6315         a defcustom (bug#8340).
6317 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6319         * window.el (frame-auto-delete): Rename to window-auto-delete.
6320         Make it control auto-deletion of windows and/or frames.
6321         (window-deletable-p): New argument FORCE.  Rewrite conditions
6322         for deleting window/frame.  (Bug#9419)
6323         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6324         Rewrite handling of case when window/frame can be deleted.
6325         (delete-windows-on): Call window-deletable-p with new FORCE
6326         argument t.  (Bug#9456)
6328 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6330         * help-mode.el (help-mode): Restore autoload.
6332 2011-09-07  Juri Linkov  <juri@jurta.org>
6334         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6335         `compilation-environment'.  Set buffer-local
6336         `compilation-environment' to `thisenv' later after (funcall mode).
6337         (Bug#8340)
6339         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6340         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6341         instead of replacing its value.  (Bug#8340)
6343 2011-09-07  Juri Linkov  <juri@jurta.org>
6345         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6346         based on text properties put by `grep-filter' instead of matching
6347         escape sequences.
6348         (grep-mode): Set buffer-local `compilation-error-screen-columns'
6349         to the value of `grep-error-screen-columns' (bug#9438).
6351 2011-09-07  Juri Linkov  <juri@jurta.org>
6353         * simple.el (next-error-highlight, next-error-highlight-no-select):
6354         Doc fix (bug#9432).
6356 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6358         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6359         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
6361 2011-09-07  Leo Liu  <sdl.web@gmail.com>
6363         * net/rcirc.el (rcirc-mode): Conditionally initialize
6364         rcirc-input-ring.
6366 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6368         * emacs-lisp/find-func.el (find-function-C-source): Only set
6369         find-function-C-source-directory after checking that we found a source
6370         file there (bug#9440).
6372 2011-09-06  Alan Mackenzie  <acm@muc.de>
6374         * isearch.el (isearch-other-meta-char): Wherever a key list is
6375         unread, "unread" the prefix arg, too.  This fixes bug #8901.
6377 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6379         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6381 2011-09-05  Juri Linkov  <juri@jurta.org>
6383         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6385 2011-09-05  Juri Linkov  <juri@jurta.org>
6387         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6388         keeping point where processing of grep matches begins, and
6389         continue to delete remaining escape sequences from the same point.
6390         (grep-filter): Make leading zero optional in "0?1;31m" because
6391         git-grep emits "\033[1;31m" escape sequences unlike expected
6392         "\033[01;31m" as GNU Grep does (bug#9408).
6393         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6395 2011-09-05  Juri Linkov  <juri@jurta.org>
6397         * subr.el (y-or-n-p): Capitalize "yes".
6399 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
6401         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
6402         `tramp-cache-unload-hook' where appropriate.
6403         (tramp-methods): Rename `tramp-remote-sh' to
6404         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
6405         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6407         * net/tramp-sh.el (top): Don't require 'shell.
6408         (tramp-methods): Add `tramp-remote-shell' and
6409         `tramp-remote-shell-args' entries.
6410         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6411         (tramp-sh-handle-shell-command): Remove.
6412         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6413         Use `tramp-remote-shell'.
6415 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
6417         * mail/sendmail.el (sendmail-query-once-function): Delete.
6418         (sendmail-query-once): Save directly to send-mail-function.
6419         Update message-send-mail-function too.
6421         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6423 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6425         * progmodes/python.el (python-mode-map): Use correct function to
6426         start python interpreter from menu-bar (as reported by Geert
6427         Kloosterman).
6428         (inferior-python-mode-map): Fix typo.
6429         (python-shell-map): Remove.
6431 2011-09-03  Deniz Dogan  <deniz@dogan.se>
6433         * net/rcirc.el (rcirc-print): Simplify code for
6434         rcirc-scroll-show-maximum-output.  There is no need to walk
6435         through all windows to find the right one.
6437 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6439         * help.el (help-return-method): Doc fix.
6441 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
6443         * window.el (window-deletable-p): Don't return a non-nil value
6444         when there's a buffer that was shown in the window before.
6445         (Bug#9419)
6446         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6447         Set window's previous buffers to nil.
6449 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
6451         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6452         newline before and after the tag line, so it doesn't interfere
6453         with determining the paragraph direction of bidirectional text.
6455 2011-09-03  Leo Liu  <sdl.web@gmail.com>
6457         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
6459 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6461         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6462         (pop-to-buffer): Change interactive spec.  Pass second argument
6463         directly to display-buffer.
6464         (display-buffer): Fix interactive spec.  Use functionp to
6465         distinguish between a function and a list of functions.
6467         * abbrev.el (edit-abbrevs):
6468         * arc-mode.el (archive-extract):
6469         * autoinsert.el (auto-insert):
6470         * bookmark.el (bookmark-bmenu-list):
6471         * files.el (find-file):
6472         * view.el (view-buffer):
6473         * progmodes/compile.el (compilation-goto-locus):
6474         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6476 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6478         * window.el (display-buffer-alist): Doc fix.
6479         (display-buffer): Add docstring.  Don't treat
6480         display-buffer-default specially.
6481         (display-buffer-reuse-selected-window)
6482         (display-buffer-same-window, display-buffer-maybe-same-window)
6483         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6484         (display-buffer-pop-up-window)
6485         (display-buffer-reuse-or-pop-window)
6486         (display-buffer-use-some-window): New functions.
6487         (display-buffer-default-action): Use them.
6488         (display-buffer-default): Delete.
6489         (pop-to-buffer-1): Fix choice of actions.
6491 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         * minibuffer.el (completion--insert-strings): Don't get confused by
6494         completion entries that end with an LF char.
6496 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
6498         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6500 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
6502         * window.el (display-buffer): Restore interactive spec.
6503         (display-buffer-same-window, display-buffer-other-window):
6504         New functions.
6505         (pop-to-buffer-1): New function.  Use the above.
6506         (pop-to-buffer, pop-to-buffer-same-window): Use it.
6507         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6509         * view.el (view-buffer-other-window, view-buffer-other-frame):
6510         Just use pop-to-buffer.
6512 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6514         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
6516 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
6518         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
6520 2011-08-31  Richard Stallman  <rms@gnu.org>
6522         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6523         of the separation of rmail-view-buffer from rmail-buffer.
6524         If you say no to "replace original", the decrypt is in the
6525         view buffer.  If you say yes, the decrypt goes into the
6526         rmail buffer also.
6528 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
6530         * window.el (display-buffer-window): Rewrite doc-string.
6531         (display-buffer-record-window): New function.
6532         (display-buffer-macro-specifiers)
6533         (display-buffer-even-window-sizes, display-buffer-set-height)
6534         (display-buffer-set-width, display-buffer-in-window)
6535         (display-buffer-reuse-window, display-buffer-split-specifiers)
6536         (display-buffer-side-specifiers, display-buffer-split-window-1)
6537         (display-buffer-split-window, display-buffer-split-atom-window)
6538         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6539         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6540         (display-buffer-other-window-means-other-frame)
6541         (display-buffer-normalize-special)
6542         (display-buffer-normalize-default)
6543         (display-buffer-normalize-argument)
6544         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6545         (display-buffer-normalize-specifiers, display-buffer-frame)
6546         (display-buffer-same-window, display-buffer-same-frame)
6547         (display-buffer-other-window)
6548         (display-buffer-same-frame-other-window)
6549         (display-buffer-other-frame, pop-to-buffer-same-window)
6550         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6551         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6552         (switch-to-buffer-same-frame)
6553         (switch-to-buffer-other-window-same-frame)
6554         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6555         (display-buffer-alist-set-1, display-buffer-alist-set-2)
6556         (display-buffer-alist-set): Remove.
6557         (display-buffer-function, special-display-buffer-names)
6558         (special-display-regexps, special-display-function):
6559         In doc-string refer to display-buffer-window and quit-restore
6560         parameter.
6561         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6562         (special-display-frame-alist, special-display-popup-frame)
6563         (same-window-buffer-names, same-window-regexps, same-window-p)
6564         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6565         (split-window-preferred-function, split-height-threshold)
6566         (split-width-threshold, window-splittable-p)
6567         (split-window-sensibly, window--try-to-split-window)
6568         (window--frame-usable-p, even-window-heights)
6569         (window--even-window-heights, window--display-buffer-1)
6570         (window--display-buffer-2, display-buffer-other-frame):
6571         Restore old Emacs 23 code, order and doc-strings where applicable.
6572         (display-buffer-default, display-buffer-assq-regexp): New functions.
6573         (display-buffer-alist): Rewrite doc-string.
6574         (display-buffer-default-action)
6575         (display-buffer-overriding-action): New variables.
6576         (display-buffer, switch-to-buffer): Rewrite.
6577         (pop-to-buffer): Restore Emacs 23 behavior but use
6578         window-normalize-buffer-to-display.
6579         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6580         Restore Emacs 23 behavior but use
6581         window-normalize-buffer-to-switch-to.
6582         (pop-to-buffer-same-window): Rewrite.
6583         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6584         Rewrite using Emacs 23 options.
6586 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
6588         * net/tramp.el (tramp-root-regexp): Remove.
6589         (tramp-completion-file-name-regexp-unified)
6590         (tramp-completion-file-name-regexp-separate)
6591         (tramp-completion-file-name-regexp-url): Don't use leading volume
6592         letter on win32 systems.  (Bug#5303, Bug#9311)
6593         (tramp-drop-volume-letter): Simplify definition.
6594         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6596 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6598         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6599         (bug#9356).
6601 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
6603         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6605 2011-08-29  Juri Linkov  <juri@jurta.org>
6607         * isearch.el (isearch-done): Don't display message "Mark saved"
6608         when arg `edit' is non-nil to prevent its flicker in the echo area.
6610 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6612         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6613         obsolete packages for deletion.
6615 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
6617         * help-mode.el (help-mode-map): Add special-mode-map to parent.
6618         (help-mode): Derive help-mode from special-mode.  Don't invoke
6619         view-mode from help-mode.
6620         (help-xref-override-view-map): Remove.
6621         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6622         view-mode is not used anymore.
6624 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
6626         * server.el (server-port): Doc fix.
6628         * cus-theme.el (custom-theme-choose-mode): Inherit from
6629         special-mode (Bug#9124).
6630         (custom-theme-choose-mode-map): Add special-mode to parent.
6632 2011-08-28  Alan Mackenzie  <acm@muc.de>
6634         * progmodes/cc-fonts.el
6635         (c-make-font-lock-BO-decl-search-function): New function.
6636         (c-basic-matchers-after - "Fontify the clauses after various
6637         keywords"): Extract the three keyword lists for the 3 erroneous
6638         constructs from the list of four, and use the new function above
6639         in place of an old one.
6641 2011-08-28  Deniz Dogan  <deniz@dogan.se>
6643         * net/rcirc.el (rcirc-insert-prev-input)
6644         (rcirc-insert-next-input): Remove unused argument.
6646 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6648         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6650 2011-08-27  Alan Mackenzie  <acm@muc.de>
6652         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6653         handle function pointer parameters properly.
6655 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
6657         * window.el (display-buffer-reuse-window): Fix case where
6658         selected window was reused with non-nil OTHER-WINDOW argument.
6659         (Bug#9381)
6661 2011-08-27  Deniz Dogan  <deniz@dogan.se>
6663         * net/rcirc.el (rcirc-check-auth-status): Adding support for
6664         oftc's NickServ messages.
6666 2011-08-27  Glenn Morris  <rgm@gnu.org>
6668         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
6670 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
6672         * emacs-lisp/package.el (package-install): Call package-initialize
6673         if called interactively.
6675 2011-08-26  Leo Liu  <sdl.web@gmail.com>
6677         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
6679 2011-08-25  Juri Linkov  <juri@jurta.org>
6681         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6682         `search-whitespace-regexp' (bug#9364).
6684 2011-08-25  Juri Linkov  <juri@jurta.org>
6686         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6687         `regexp-search-ring' to their global values to protect from
6688         updating by `read-from-minibuffer' (bug#9185).
6690 2011-08-25  Juri Linkov  <juri@jurta.org>
6692         * textmodes/ispell.el (ispell-command-loop): Add newline
6693         at the end of the "Use option `i'..." line.
6695 2011-08-25  Juri Linkov  <juri@jurta.org>
6697         * battery.el (display-battery-mode): If `battery-status-function'
6698         or `battery-mode-line-format' is nil, display the message and set
6699         `display-battery-mode' to nil (bug#9363).
6701 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
6703         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6704         bidi-string-mark-left-to-right; they are unnecessary now.
6706 2011-08-25  Deniz Dogan  <deniz@dogan.se>
6708         * net/quickurl.el: Documentation typo fixes.
6710 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
6712         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6714 2011-08-25  Glenn Morris  <rgm@gnu.org>
6716         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6718         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6719         (smtpmail-via-smtp): Handle nil response from smtp.
6721 2011-08-24  Juri Linkov  <juri@jurta.org>
6723         * proced.el (proced-marked): Inherit from `error' instead of
6724         `font-lock-warning-face'.
6726         * ibuffer.el (ibuffer-marked-face): Change default face from
6727         `font-lock-warning-face' to `warning'.
6728         (ibuffer-deletion-face): Change default face from
6729         `font-lock-type-face' to `error'.
6731         * battery.el (battery-update): Use the face `error' instead of
6732         `font-lock-warning-face' (bug#6117).
6734 2011-08-24  Juri Linkov  <juri@jurta.org>
6736         * faces.el (success): Change face color from "Green3" to
6737         "ForestGreen" on light background (bug#9353).
6739 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
6741         * window.el (quit-window): Rename from quit-restore-window.
6742         Use same arglist as old quit-window.
6743         (frame-auto-delete): Doc fix.
6745         * view.el (view-mode-exit): Use quit-window.
6747 2011-08-24  Juri Linkov  <juri@jurta.org>
6749         * isearch.el (isearch-ring-adjust1): Start visiting previous
6750         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6751         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6752         for empty search string (when the last search string is reused
6753         automatically) to adjust the isearch ring to the last element and
6754         prepare the correct index for further M-p commands (bug#9185).
6756 2011-08-24  Kenichi Handa  <handa@m17n.org>
6758         * international/ucs-normalize.el: If decomposition property of
6759         CHAR is the default one (i.e. a list of CHAR itself), treat it as
6760         nil.
6761         (nfd, nfkd): Likewise.
6763 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6766         from process filters aren't reliably transmitted to the surrounding
6767         accept-process-output.
6768         (mpc-proc-check): New function.
6769         (mpc-proc-sync): Use it (bug#8293)
6771 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6773         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6774         Add compatibility functions (bug#9313).
6776 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
6778         * cus-start.el (all): Add entry for bidi-paragraph-direction.
6780         * international/uni-bidi.el: Regenerate.
6782 2011-08-23  Kenichi Handa  <handa@m17n.org>
6784         * international/charprop.el:
6785         * international/uni-bidi.el:
6786         * international/uni-category.el:
6787         * international/uni-combining.el:
6788         * international/uni-comment.el:
6789         * international/uni-decimal.el:
6790         * international/uni-decomposition.el:
6791         * international/uni-digit.el:
6792         * international/uni-lowercase.el:
6793         * international/uni-mirrored.el:
6794         * international/uni-name.el:
6795         * international/uni-numeric.el:
6796         * international/uni-old-name.el:
6797         * international/uni-titlecase.el:
6798         * international/uni-uppercase.el: Regenerate.
6800 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
6802         * help.el (help-window-setup): Fix message displayed when other
6803         window is reused.  (Bug#9341)
6805 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6807         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6808         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6810         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6811         Mark obsolete.
6812         * shell.el (shell-parse-pcomplete-arguments): New function.
6813         (shell-completion-vars): Use it instead (bug#9160).
6815 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6817         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6818         strings and comments (bug#9333).
6820         * emacs-lisp/debug.el (debug-arglist): New function.
6821         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
6822         (debug-on-entry-1): Handle interpreted closures (bug#9120).
6824 2011-08-22  Juri Linkov  <juri@jurta.org>
6826         * progmodes/compile.el (compilation-mode-font-lock-keywords):
6827         Revert regexp that highlights output switches to its old
6828         pre-2010-10-28 value and remove one `?' from it (bug#9319).
6830         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6831         to check for empty output (bug#9226).
6833 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
6835         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6836         symbol-constituent as the default, as that stops font-lock from
6837         working properly (Bug#8843).
6839 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6841         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6842         `coding-system-for-*' around the process open call to avoid
6843         auth-source side effects.
6844         (smtpmail-try-auth-methods): Expand the secret password.
6845         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6846         probe hangs.
6848 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6850         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6852         * emacs-lisp/find-func.el (find-function-noselect): New arg
6853         lisp-only.
6855         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6856         signal an error for built-in functions (Bug#6664).
6858 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6860         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6861         (smtpmail-try-auth-methods): Use it.
6863 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
6865         * font-lock.el (font-lock-fontify-region)
6866         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6867         (font-lock-default-unfontify-buffer)
6868         (font-lock-default-fontify-region)
6869         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6871         * progmodes/compile.el (compilation-error-properties):
6872         Fix confusion between file struct and message struct (Bug#9319).
6873         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6874         `ant' regexp.
6876         * net/browse-url.el (browse-url-firefox): Don't call
6877         browse-url-firefox-sentinel unless using -remote (Bug#9328).
6879 2011-08-20  Glenn Morris  <rgm@gnu.org>
6881         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6883         * tutorial.el (tutorial--default-keys): Update some default bindings.
6885         * files.el (hack-local-variables): Fully ignore case for "mode:".
6887 2011-08-20  Alan Mackenzie  <acm@muc.de>
6889         Resolve invalid use of a regexp in regexp-opt.
6891         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6892         detection for a java annotation.
6894         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6895         detection for a java annotation.
6897         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6898         handling for java.
6899         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6901 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
6903         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6904         (Bug#9274).
6906 2011-08-20  Alan Mackenzie  <acm@muc.de>
6908         Fontify CPP expressions correctly when starting in the middle of
6909         such a construct.  Mainly for when jit-lock etc. starts a chunk
6910         here.
6912         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6913         variable.
6914         (c-make-font-lock-search-form): New function, extracted from
6915         c-make-font-lock-search-function.
6916         (c-make-font-lock-search-function): Use the above function.
6917         (c-make-font-lock-context-search-function): New function.
6918         (c-cpp-matchers): Enhance the preprocessor expression case with
6919         the above function
6920         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6921         which takes an expression.
6923         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6925 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
6927         * window.el (display-buffer-reuse-window)
6928         (display-buffer-pop-up-window): Don't reuse or split a side
6929         window.
6931 2011-08-19  Glenn Morris  <rgm@gnu.org>
6933         * files.el (hack-local-variables-prop-line, hack-local-variables):
6934         Downcase "Mode:".  (Bug#9331)
6936 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
6938         * international/characters.el: Add L and R categories.
6940         * subr.el (bidi-string-mark-left-to-right): Rename from
6941         string-mark-left-to-right.  Use category search.
6943         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6945 2011-08-18  Juri Linkov  <juri@jurta.org>
6947         * faces.el (error, warning, success): New faces with definitions
6948         copied from old default values of `font-lock-warning-face',
6949         `compilation-warning', `compilation-info' (bug#6117).
6951         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6953         * progmodes/compile.el (compilation-error): Inherit from `error'.
6954         (compilation-warning): Inherit from `warning'.
6955         (compilation-info): Inherit from `success'.
6957         * dired.el (dired-marked): Inherit from `warning'.
6958         (dired-flagged): Inherit from `error'.
6960 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6962         * mail/smtpmail.el (auth-source): Require to avoid problems with
6963         binding variables (bug#9298).  Also clean up some unused
6964         autoloads.
6966         * net/network-stream.el (network-stream-open-starttls):
6967         Support using starttls.el without using gnutls-cli.
6969 2011-08-17  Juri Linkov  <juri@jurta.org>
6971         * progmodes/grep.el (rgrep): Handle the case when
6972         `grep-find-command' is a cons cell (bug#9278).
6974 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6976         * window.el (display-buffer-pop-up-frame): Run frame creation
6977         function with BUFFER current (as special-display-popup-frame
6978         does).  Reported by Drew Adams.
6980 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6982         * epa-mail.el: Simplify GnuPG group expansion using
6983         epg-expand-group.
6984         (epa-mail-group-alist, epa-mail-group-modtime)
6985         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6986         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6987         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6988         Remove.
6990 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6992         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6994 2011-08-16  Alan Mackenzie  <acm@muc.de>
6996         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6997         Correct, to avoid the inside of macros.
6999 2011-08-16  Richard Stallman  <rms@gnu.org>
7001         * epa-mail.el: Handle GnuPG group definitions.
7002         (epa-mail-group-alist, epa-mail-group-modtime)
7003         (epa-mail-gnupg-conf-file): New variables.
7004         (epa-mail-parse-groups, epa-mail-sync-groups)
7005         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7006         (epa-mail-expand-recipients): New functions.
7007         (epa-mail-encrypt): Call epa-mail-expand-recipients.
7009         * mail/rmail.el (rmail-epa-decrypt): New command.
7011         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7012         Don't bind buffer-read-only, just inhibit-read-only.
7013         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7014         (epa-decrypt-armor-in-region): Make error message clearer.
7016 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7018         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7019         and "a2b" to "ab" for `prefix'.
7021 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
7023         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7024         filter groups.
7025         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
7026         Fourquet (Bug#8804).
7028 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
7030         * startup.el (argi): Declare as global variable (bug#9275).
7032 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
7034         * subr.el (string-mark-left-to-right): Search the entire string
7035         for RTL script, not just the terminating character.  Doc fix.
7037 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7039         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7040         New function.
7041         (js--regexp-literal, js-syntax-propertize-function): Remove.
7042         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7043         (js-mode-map): Don't rebind electric keys.
7044         (js-insert-and-indent): Remove.
7045         (js-mode): Setup electric-layout and electric-indent instead.
7047         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7049 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
7051         * epa.el (epa-progress-callback-function): Fix the logic of
7052         displaying progress.
7053         * epa-file.el (epa-file-insert-file-contents): Make progress
7054         display more user-friendly.
7055         (epa-file-write-region): Ditto.
7057 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
7059         * subr.el (string-mark-left-to-right): New function.
7061         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7062         Use string-mark-left-to-right.
7063         (list-buffers-noselect): Caller changed.
7065         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7066         Use string-mark-left-to-right.
7067         (tabulated-list-print): Recenter after moving point.
7069 2011-08-10  Juri Linkov  <juri@jurta.org>
7071         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7072         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7073         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7075 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
7077         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7078         (Bug#7554).
7080 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7082         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7083         character.  (Bug#6594)
7085 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
7087         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7088         (image-dired--with-db-file): New macro.
7089         (image-dired-write-tags, image-dired-remove-tag)
7090         (image-dired-create-gallery-lists, image-dired-write-comments)
7091         (image-dired-get-comment, image-dired-mark-tagged-files)
7092         (image-dired-list-tags, image-dired-gallery-generate): Use it.
7093         (image-dired-gallery-generate): Use insert-file-contents.
7095         * time.el (display-time-world-list, display-time-world-display):
7096         * time-stamp.el (time-stamp-string):
7097         * vc/add-log.el (add-change-log-entry): Use setenv instead of
7098         set-time-zone-rule (Bug#7337).
7100 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
7102         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7103         (epg-error-to-string, epg-errors-to-string): New function.
7104         (epg-wait-for-completion): Reverse errors list.
7105         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7106         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7107         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7108         (epg-sign-keys, epg-generate-key-from-file)
7109         (epg-generate-key-from-string): Format errors by using
7110         epg-errors-to-string (bug#9255).
7111         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7113 2011-08-07  Juri Linkov  <juri@jurta.org>
7115         * faces.el (list-faces-display): Remove extra angle bracket
7116         from `help-mode-map'.
7118         * info.el (Info-history-toc-nodes): Doc fix.
7120         * longlines.el (longlines-mode): Doc fix.
7122 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7124         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7125         of statements and in a few more cases (bug#9183).
7127         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7128         New functions.
7129         (cl-transform-lambda): Use them (bug#9239).
7131 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
7133         * window.el (display-buffer-same-window)
7134         (display-buffer-same-frame, display-buffer-other-window)
7135         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7136         (pop-to-buffer-other-window)
7137         (pop-to-buffer-same-frame-other-window)
7138         (pop-to-buffer-other-frame): Make them defuns.
7139         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7141 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7143         * subr.el (make-composed-keymap): Move from C.  Change calling
7144         convention, and improve docstring to bring attention to a subtle point.
7145         * minibuffer.el (completing-read-default): Adjust accordingly.
7147 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
7149         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7150         (tramp-open-shell): Use `tramp-shell-quote-argument'.
7152         * net/trampver.el: Update release number.
7154 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7156         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7157         "in" (bug#9190).
7159 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7161         * mail/sendmail.el (sendmail-query-once): Restore the current
7162         buffer after querying (bug#9074).
7164         * dired.el (dired-flagged): Use different faces for marked and
7165         flagged files (bug#6117).
7167         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7168         (bug#4433).
7170         * ido.el (ido-mode): Switch off the message if called
7171         non-interactively.
7173         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7174         before 587, since it appears that that's more likely to work for
7175         more people.
7177         * cus-edit.el (custom-file): When running under emacs -q, always
7178         refuse to save the customizations, even if the .emacs file doesn't
7179         exist.
7181         * info.el: Remove the `Info-beginning-of-buffer' function
7182         (bug#8325).
7184         * net/network-stream.el (network-stream-open-starttls):
7185         Use `starttls-available-p' to see whether starttls.el can be used.
7187 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
7189         * window.el (display-buffer-in-window): Don't set dedicated status
7190         of window here (Bug#9215).
7191         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7192         (display-buffer-pop-up-side-window)
7193         (display-buffer-in-side-window): Set dedicated status of window here.
7195 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7197         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7198         before binding generated-autoload-file.
7200 2011-08-01  Deniz Dogan  <deniz@dogan.se>
7202         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7204 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
7206         Sync with Tramp 2.2.2.
7208         * net/trampver.el: Update release number.
7210 2011-07-30  Juri Linkov  <juri@jurta.org>
7212         * dired-aux.el (dired-touch-initial): Remove function.
7213         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7214         current time, and `default' to the last modification time of the
7215         current marked file (bug#6887).
7217 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
7219         * simple.el (goto-line): Use string-to-number to provide a
7220         numeric argument to read-number (bug#9163).
7222 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
7224         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7225         connection process, it could be nil.
7227 2011-07-27  Leo Liu  <sdl.web@gmail.com>
7229         Simplify url handling in rcirc-mode.
7231         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7232         (rcirc-browse-url-at-mouse): Remove.
7233         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7235 2011-07-26  Alan Mackenzie  <acm@muc.de>
7237         Fontify bitfield declarations properly.
7239         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7240         (c-symbol-chars): Now exported as a lang variable.
7241         (c-not-primitive-type-keywords): New lang variable.
7243         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7244         QT keyword "more" to prevent "more slots: ...." being spuriously
7245         parsed as a bitfield declaration.
7247         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7248         Refactor and enhance to handle bitfield declarations.
7249         (c-punctuation-in): New function.
7250         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7251         declarations properly.
7253 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7255         * calendar/icalendar.el (icalendar--all-events): Take care of
7256         multiple vcalendars in a single file.
7257         (icalendar--convert-float-to-ical): Checkdoc fixes.
7259 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7261         * image.el (insert-image): Clarifying docstring.
7263 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7265         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7266         `tramp-send-command-and-check' if there is no error.
7267         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7269 2011-07-22  Alan Mackenzie  <acm@muc.de>
7271         Prevent cc-langs.elc being loaded at run time.
7273         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7274         cc-langs.
7276         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7277         "(require 'cc-langs)".  Quote a form so it will evaluate at
7278         (cc-mode's) compilation time.
7280 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7282         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7283         loading.  (Bug#9114)
7285 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7287         * window.el (display-buffer-pop-up-window)
7288         (display-buffer-pop-up-side-window)
7289         (display-buffer-in-side-window): Call display-buffer-set-height
7290         and display-buffer-set-width after setting the new window's
7291         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7293 2011-07-20  Sam Steingold  <sds@gnu.org>
7295         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7296         (etags-tags-included-tables): Call `convert-standard-filename' on
7297         the file names contained in TAGS so that windows Emacs can handle
7298         TAGS files created by cygwin ctags.
7300 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7302         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7303         which apparently didn't work.
7305 2011-07-19  Roland Winkler  <winkler@gnu.org>
7307         * proced.el (proced-send-signal): For *Marked Processes* buffer
7308         put point at beginning of buffer.
7310 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7312         * proced.el (proced-format): Make header lines align with the text
7313         (bug#1779).
7315 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7317         * view.el (view-buffer): Allow running in `special' modes if we're
7318         visiting a file (bug#8615).
7320 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7322         * window.el (display-buffer-alist-of-strings-p)
7323         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7324         New functions.
7325         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7326         more accurately.
7328 2011-07-18  Alan Mackenzie  <acm@muc.de>
7330         Fontify declarators properly when, e.g., a jit-lock chunk begins
7331         inside a declaration.
7333         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7335         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7336         New function.
7337         (c-complex-decl-matchers): Insert reference to
7338         c-font-lock-enclosing-decls.
7340         * progmodes/cc-engine.el (c-backward-single-comment):
7341         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7342         to nil around calls to (forward-comment -1).
7344 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7346         * image.el (put-image): Doc typo fix.
7348         * progmodes/etags.el (tags-search): Doc typo fix.
7350         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7351         password if we get errors 550 to 554.
7353 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7355         * net/gnutls.el (gnutls-log-level): Remove.
7357         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7358         indentation character (bug#6380).
7360         * files.el (buffer-offer-save): Made permanently local (bug#6241).
7362         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7363         to clarify what the problem is (bug#4291).
7365         * simple.el (current-kill): Clarify what
7366         `interprogram-paste-function' does (bug#7500).
7367         (auto-fill-mode): Document `auto-fill-function' in relation to
7368         `auto-fill-mode' (bug#2470).
7370 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
7372         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7373         method if slot is read-only (bug#9035).
7375 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
7377         * frame.el (select-frame-set-input-focus): New argument NORECORD.
7378         * window.el (pop-to-buffer): Select window used even if it was
7379         selected before, see discussion of (Bug#8615), (Bug#6954).
7380         Pass argument NORECORD on to select-frame-set-input-focus.
7382 2011-07-15  Glenn Morris  <rgm@gnu.org>
7384         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
7385         Respect help-form.
7387 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
7389         * net/gnutls.el (gnutls-min-prime-bits): New variable.
7390         (gnutls-negotiate): Use it.
7392 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7394         * net/gnutls.el (gnutls-negotiate):
7395         Upcase `gnutls-algorithm-priority'.
7397 2011-07-15  Glenn Morris  <rgm@gnu.org>
7399         * jka-compr.el (jka-compr-verbose): Move from here...
7400         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
7401         Add missing :version tag.
7402         * info.el: No need to require jka-compr when compiling.
7404 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7406         * net/gnutls.el (gnutls-algorithm-priority): New variable.
7407         (gnutls-negotiate): Use it.
7409         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7411         * info.el (Info-beginning-of-buffer): New command.
7412         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7413         announcing `b' as the key (bug#8325).
7414         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7416         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7418         * international/mule-cmds.el
7419         (describe-specified-language-support): Make the error message
7420         clearer (bug#8905).
7422         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7424         * isearch.el (isearch-barrier): Add a doc string, since it's
7425         mentioned in a function doc string (bug#8678).
7427 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
7429         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7430         buffer argument (Bug#9083) and self-identifying label argument.
7432 2011-07-15  Glenn Morris  <rgm@gnu.org>
7434         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
7436 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7438         * man.el (Man-fontify-manpage): Fix message when formatting the
7439         man page (bug#7929).
7441 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7443         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7444         argument LRM; if non-nil, append an invisible LRM character to the
7445         buffer name.
7446         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7447         last argument non-nil, when formatting buffer names.
7448         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7449         paragraph direction.
7451 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7453         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7454         the man page name (bug#7929).
7456         * image.el (put-image): Mention the `put-image' overlay property
7457         (bug#7834).
7459         * scroll-bar.el (set-scroll-bar-mode): Mention that
7460         `scroll-bar-mode' lists the values (bug#7772).
7462         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7463         command (bug#7729).
7465         * rect.el (apply-on-rectangle): Return the point after the last
7466         operation.
7467         (string-rectangle): Go to the point after the last operation
7468         (bug#7522).
7470         * printing.el (pr-toggle-region): Clarify the documentation
7471         slightly (bug#7493).
7473         * time.el (display-time-update):
7474         Allow `display-time-mail-function' to return nil (bug#7158).
7475         Fix suggested by Detlev Zundel.
7477         * vc/diff.el (diff): Clarify the order the file names are read
7478         (bug#7111).
7480         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7481         the doc string (bug#7015).
7483         * font-lock.el (font-lock-maximum-decoration): Mention what
7484         numeric levels mean (bug#6935).
7486         * startup.el (initial-buffer-choice): Don't mention the `none'
7487         selection, which is against policy.
7489 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
7491         * window.el (display-buffer-normalize-special):
7492         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7494 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7496         * subr.el (version<, version<=, version=): Mention "-CVS" and
7497         "-12345" alpha version numbers.
7499 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7501         * bindings.el: Add advertised binding for set-mark-command
7502         (Bug#5772).
7504 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7506         * bindings.el (mode-line-other-buffer):
7507         * bookmark.el (bookmark-bmenu-2-window):
7508         * bs.el (bs-cycle-next, bs-cycle-previous):
7509         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7510         switch-to-buffer.
7512         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7513         Delete.
7515 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
7517         * follow.el (follow-debug-message, follow-redisplay):
7518         * jka-cmpr-hook.el (with-auto-compression-mode):
7519         Fix typos in docstrings.
7521 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7523         * subr.el (with-silent-modifications): Clarify somewhat what the
7524         macro inhibits (bug#6525).
7526         * simple.el (eval-expression): Note what it does if called
7527         interactively (bug#6495).
7529 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7531         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7532         Use pop-to-buffer buffer-or-name if it is nil.
7534         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7535         Remove switch-to-buffer.
7537 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7539         * files.el (make-directory): Clarify that an error will be raised
7540         if there's an error (bug#6397).
7542         * startup.el (initial-buffer-choice): Add `none' as a choice
7543         (bug#6234).
7545         * subr.el (add-hook): Clarify section about buffer-local hooks
7546         (bug#6218).
7548         * dired.el (dired-flagged): Clarify doc string (bug#6117).
7550 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7552         * tabify.el (untabify): Preserve the current column so that point
7553         doesn't move (bug#6032).
7555 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7557         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7558         Rewrite to avoid awkward possessive "s" (bug#5986).
7560 2011-07-13  Glenn Morris  <rgm@gnu.org>
7562         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
7563         (dired-insert-directory): Give a message the first time
7564         if ls is found not to support --dired.
7566 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7568         * simple.el (toggle-truncate-lines): Clarify what is toggled
7569         (bug#5580).  Text by Drew Adams.
7571 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
7573         * simple.el (blink-matching-open): Make the error message from the
7574         last change less verbose.
7576 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
7578         * font-lock.el (font-lock-comment-face): Use the high contrast
7579         "yellow" color for font-lock-comment-face on low color terminals
7580         using a dark background color (bug#4221).
7582 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7584         * dired.el (dired-insert-set-properties): Make the doc string
7585         reflect what it does now (bug#5325).
7587         * simple.el (blink-matching-open): Say that we were unable to find
7588         the match within the limit, if we're limited (bug#5122).
7590         * international/mule-cmds.el (prefer-coding-system): Add an
7591         example (bug#4869).
7593         * progmodes/etags.el (tags-search): Document `file-list-form'
7594         (bug#4731).
7596 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
7598         * net/browse-url.el (browse-url-default-browser)
7599         (browse-url-browser-function): Make the default browser choice a
7600         bit more logical (bug#4300).  Also clean up the doc string.
7602 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
7604         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7605         binary endings (bug#4440).
7607 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7609         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7610         which can be pretty annoying (bug#8971).
7612         * jka-compr.el (jka-compr-verbose): New variable, and use
7613         throughout (bug#8971).
7615         * info.el (Info-find-file): Fall back on the installation
7616         directory if we can't find the info node anywhere else.
7618 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
7620         * vc/vc.el (vc-revert-file):
7621         Don't set file time-stamp in the past.  (Bug#5181)
7623 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7625         * files.el (after-find-file): Give a better error message when
7626         trying to find a symlink that points to a file that doesn't exist
7627         (bug#4398).
7629         * progmodes/cc-vars.el: Remove (probably) misleading comment
7630         (bug#4396).
7632 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7634         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7636 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7638         * mouse-sel.el: Hack restoring functionality, while keeping
7639         compatibility with 2010-07-03 changes to mouse selection.
7640         (mouse-sel-primary-overlay): New var.
7641         (mouse-sel-selection-alist): Use it.
7642         (mouse-sel-mode): Doc fix; remove points that are default features
7643         of mouse.el.
7645 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
7647         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7648         Fix previous fix (bug#2490).
7650 2011-07-12  Roland Winkler  <winkler@gnu.org>
7652         * textmodes/bibtex.el (bibtex-initialize):
7653         Use pop-to-buffer-same-window.
7654         (bibtex-search-entries): Fix interactive call.
7656 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7658         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7659         Fontise bytecomp Error lines more correctly (bug#2490).
7660         Fix suggested by Johan Bockgård.
7662         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7664         * dired-x.el (dired-guess-default): Use `delete-dups'.
7666 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
7668         * dired.el (dired-mark-prompt):
7669         * dired-aux.el (dired-read-shell-command): Doc fix.
7671 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7673         * mail/sendmail.el (sendmail-query-once):
7674         Use `customize-save-variable' unconditionally, now that it works under
7675         emacs -Q.
7677         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7679         * cus-edit.el (custom-file): Take an optional no-error variable.
7680         (customize-save-variable): Set the variable, and give a warning if
7681         running under "emacs -q".
7683 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
7685         * loadhist.el (unload-feature-special-hooks):
7686         Add `auto-coding-functions', `fill-nobreak-predicate' and
7687         `find-directory-functions' (bug#5327).
7689 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7691         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7693         * cus-edit.el (custom-guess-name-alist): -alist variables should
7694         use the `alist' type (bug#3120).  Suggested by Drew Adams.
7696         * printing.el: Add documentation to all the `pr-toggle-' commands.
7698 2011-07-11  Leo Liu  <sdl.web@gmail.com>
7700         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7701         backends where it makes sense (bug#2623).
7703 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7705         * dired-x.el (dired-guess-default): Remove duplicate shell command
7706         entries (bug#2028).
7707         (dired-guess-default): Fix grammar in doc string (bug#2028).
7708         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7710         * subr.el (remove-duplicates): New conveniency function.
7712 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7714         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7715         (bug#1526).
7717 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
7719         * window.el (display-buffer-normalize-default): Don't invert
7720         meaning of even-window-heights.  Reported by Eli Zaretskii
7721         <eliz@gnu.org>.
7723 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
7725         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7727 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
7729         * window.el (display-buffer): Fix arguments to
7730         display-buffer-reuse-window in last change.
7732         * faces.el (link): Use a less saturated blue on light backgrounds.
7734         * startup.el (fancy-startup-text, fancy-about-text)
7735         (fancy-startup-tail): Use font-lock faces, for background safety.
7737 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
7739         * emulation/viper-cmd.el (viper-change-state-to-vi):
7740         Limit triggering of abbrev expansion (Bug#9038).
7742 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
7744         * window.el (display-buffer-default-specifiers): Remove.
7745         (display-buffer-macro-specifiers): Remove default specifiers.
7746         (display-buffer-alist): Default to nil.
7747         (display-buffer-reuse-window): New optional argument other-window.
7748         (display-buffer-pop-up-window): Allow splitting internal
7749         windows.  Check whether a live window was created.
7750         (display-buffer-other-window-means-other-frame)
7751         (display-buffer-normalize-arguments): Rename to
7752         display-buffer-normalize-argument and rewrite.  Set the
7753         other-window specifier.
7754         (display-buffer-normalize-special): New function.
7755         (display-buffer-normalize-options): Rename to
7756         display-buffer-normalize-default and rewrite.
7757         (display-buffer-normalize-options-inhibit): Remove.
7758         (display-buffer-normalize-specifiers): Rewrite.
7759         (display-buffer): Process other-window specifier and call
7760         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
7761         more faithfully.
7762         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7763         (display-buffer-alist-set): Don't handle 'unset default values.
7764         (display-buffer-in-window, display-buffer-alist-set):
7765         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
7766         <tassilo@member.fsf.org>.
7768 2011-07-09  Leo Liu  <sdl.web@gmail.com>
7770         * register.el (insert-register): Restore accidental change on
7771         2011-06-26.  (Bug#9028)
7773 2011-07-09  Glenn Morris  <rgm@gnu.org>
7775         * subr.el (remq): Handle the empty list.  (Bug#9024)
7777 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
7779         * mail/sendmail.el (send-mail-function): No longer delay custom
7780         initialization.
7781         * custom.el (custom-initialize-delay): Doc fix.
7783 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7785         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7787 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
7789         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7790         human-friendly prompt.
7792 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7794         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7795         provided by a particular plugin.
7797 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7799         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7800         save customizations (with "emacs -Q"), just set the variable
7801         instead of erroring out.
7803         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7805 2011-07-08  Juri Linkov  <juri@jurta.org>
7807         * arc-mode.el (archive-zip-expunge, archive-zip-update)
7808         (archive-zip-update-case): Use 7z if found by `executable-find'.
7809         The order of searching the available programs is the same as in
7810         `archive-zip-extract' (bug#8968).
7812 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7814         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7815         (menu-bar-options-menu): Tweak descriptions.
7817 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7819         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7820         menu items into verb phrases (bug#1421).  Also refill to fit under
7821         80 columns.
7823 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7825         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7826         (Info-read-node-name): Doc fix (Bug#1084).
7828         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7829         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7830         (end-of-sexp, beginning-of-sexp)
7831         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7832         (forward-symbol, forward-same-syntax, word-at-point)
7833         (sentence-at-point): Doc fix (Bug#1144).
7835 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7837         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7838         should cover it (bug#1281).
7840         * cus-edit.el (custom-show): Mark as obsolete.
7842         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7843         negotiation fails, then possibly try again with a non-encrypted
7844         connection (bug#9017).
7846         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7847         be used.
7849 2011-07-07  Richard Stallman  <rms@gnu.org>
7851         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7852         property, and handle its changed format.
7853         Look for the correct line number.
7854         Use file's line contents (but not past first =) to find
7855         correct line in message.
7857 2011-07-07  Kenichi Handa  <handa@m17n.org>
7859         * international/characters.el (build-unicode-category-table):
7860         Delete it.
7861         (unicode-category-table): Set it by unicode-property-table-internal.
7863         * international/mule-cmds.el (char-code-property-alist): Move to
7864         to src/chartab.c.
7865         (get-char-code-property): Call unicode-property-table-internal to
7866         load a file.  Call get-unicode-property-internal where necessary.
7867         (put-char-code-property): Call unicode-property-table-internal to
7868         load a file.  Call put-unicode-property-internal where necessary.
7869         put-unicode-property-internal where necessary.
7870         (char-code-property-description):
7871         Call unicode-property-table-internal to load a file.
7873         * international/charprop.el:
7874         * international/uni-bidi.el:
7875         * international/uni-category.el:
7876         * international/uni-combining.el:
7877         * international/uni-comment.el:
7878         * international/uni-decimal.el:
7879         * international/uni-decomposition.el:
7880         * international/uni-digit.el:
7881         * international/uni-lowercase.el:
7882         * international/uni-mirrored.el:
7883         * international/uni-name.el:
7884         * international/uni-numeric.el:
7885         * international/uni-old-name.el:
7886         * international/uni-titlecase.el:
7887         * international/uni-uppercase.el: Regenerate.
7889         * loadup.el: Load international/charprop.el before
7890         international/characters.
7892 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
7894         * window.el (next-buffer, previous-buffer): Signal an error if
7895         called from a minibuffer window.
7897         * bindings.el: Revert 2011-07-04 change.
7899 2011-07-06  Richard Stallman  <rms@gnu.org>
7901         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7902         (rmail-mime-insert-bulk, rmail-mime-insert-text):
7903         Treat markers like ints.
7904         (rmail-mime-entity): Doc fix.
7906 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7908         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7909         defcustom again for backwards compatibility.
7911         * simple.el (shell-command-on-region): Fill.
7913         * dired-aux.el (dired-kill-line): Add a doc string.
7915         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7916         to "\\sw\\|\\s_" (bug#358).
7918         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7919         (dired-unmark-backward): Ditto.
7920         (dired-flag-backup-files): Ditto.
7922         * dired-x.el (dired-mark-sexp): Ditto.
7924 2011-07-06  Richard Stallman  <rms@gnu.org>
7926         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7927         (rmail-mime-entity): New arg TRUNCATED.
7928         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7929         New functions.
7930         (rmail-mime-save): Warn if entity is truncated.
7931         (rmail-mime-toggle-hidden): Likewise, for showing.
7932         (rmail-mime-process-multipart): Record when an entity is truncated.
7934         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7935         if ENTITY is a string.
7937 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7939         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7940         of faces when `M-C-x'-ing their definitions (bug#8378).
7941         Also clean up the code slightly.
7943         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7944         because that makes the colors go away.
7946         * mail/sendmail.el (send-mail-function): Change the default to
7947         `sendmail-query-once'.
7948         (sendmail-query-once): Add an autoload cookie.
7950         * net/network-stream.el (network-stream-open-starttls): Try using
7951         a plain connection even if the server offered STARTTLS, and we
7952         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7953         capability.  This should make smtpmail.el work in slightly more
7954         configurations.
7956 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7958         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7959         New defun.
7960         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7962 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7964         * progmodes/sql.el: Version 3.0
7965         (sql-product-alist): Add product :completion-object,
7966         :completion-column, and :statement attributes.
7967         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7968         (sql-mode-syntax-table): Mark all punctuation.
7969         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7970         ansi keywords.
7971         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7972         (sql-mode-oracle-font-lock-keywords): Improve.
7973         (sql-oracle-show-reserved-words): New function for development.
7974         (sql-product-font-lock): Simplify for source code buffers.
7975         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7976         New functions.
7977         (sql-highlight-product): Set product specific syntax table.
7978         (sql-mode-map): Add statement movement functions.
7979         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7980         New variable.
7981         (sql-statement-regexp, sql-beginning-of-statement)
7982         (sql-end-of-statement, sql-signum): New functions.
7983         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7984         (sql-show-sqli-buffer): Bug fix.
7985         (sql-interactive-mode): Store connection data as buffer local.
7986         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7987         with sql-interactive-mode.
7988         (sql-save-connection): Save buffer local settings.
7989         (sql-connection-menu-filter): Change menu entry name.
7990         (sql-product-interactive): Bug fix.
7991         (sql-preoutput-hold): New variable.
7992         (sql-interactive-remove-continuation-prompt): Bug fixes.
7993         (sql-debug-redirect): New variable.
7994         (sql-str-literal): New function.
7995         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7996         Redesign.
7997         (sql-oracle-save-settings, sql-oracle-restore-settings)
7998         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7999         (sql-completion-object, sql-completion-column)
8000         (sql-completion-sqlbuf): New variables.
8001         (sql-build-completions-1, sql-build-completions)
8002         (sql-try-completion): New functions.
8003         (sql-read-table-name): Use them.
8004         (sql-contains-names): New buffer local variable.
8005         (sql-list-all, sql-list-table): Use it.
8006         (sql-oracle-completion-types): New variable.
8007         (sql-oracle-completion-object, sql-sqlite-completion-object)
8008         (sql-postgres-completion-object): New functions.
8010 2011-07-06  Glenn Morris  <rgm@gnu.org>
8012         * window.el (pop-to-buffer): Doc fix.
8014 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
8016         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8018 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
8020         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8022         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8024 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
8026         * button.el (button): Inherit from link face.  Suggested by Dan
8027         Nicolaescu.
8029 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8031         * progmodes/gdb-mi.el: Fit in 80 columns.
8032         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8033         switch-to-buffer.
8035         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8036         if imenu is simply not configured (bug#8941).
8038 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
8040         * allout.el (allout-post-undo-hook): New allout outline-change
8041         event hook to signal undo activity.
8042         (allout-post-command-business): Run allout-post-undo-hook if an
8043         undo just occurred.
8044         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8045         * allout-widgets.el (allout-widgets-after-undo-function):
8046         Ensure the integrity of the current item's decoration after it has been
8047         in the vicinity of an undo.
8048         (allout-widgets-mode): Include allout-widgets-after-undo-function
8049         on the new allout-post-undo-hook.
8051 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8053         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8054         Let define-derived-mode define it.
8055         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8056         cycles of abbrev-table inheritance (bug#8998).
8058 2011-07-05  Roland Winkler  <winkler@gnu.org>
8060         * textmodes/bibtex.el: Add support for biblatex.
8061         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8062         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8063         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8064         (bibtex-entry-alist, bibtex-field-alist): New variables.
8065         (bibtex-entry-field-alist): Obsolete alias for
8066         bibtex-BibTeX-entry-alist.
8067         (bibtex-entry-alist, bibtex-field-alist): New widgets.
8068         (bibtex-set-dialect): New command.
8069         (bibtex-entry-type, bibtex-entry-head)
8070         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8071         Bind via bibtex-set-dialect.
8072         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8073         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8074         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8075         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8076         Define via bibtex-set-dialect.
8077         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8078         Obey bibtex-no-opt-remove-re.
8079         (bibtex-vec-push, bibtex-vec-incr): New functions.
8080         (bibtex-format-entry, bibtex-field-list)
8081         (bibtex-print-help-message, bibtex-validate)
8082         (bibtex-search-entries): Use new format of bibtex-entry-alist.
8084 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8086         * progmodes/compile.el (compilation-goto-locus):
8087         * net/tramp-cmds.el (tramp-append-tramp-buffers):
8088         * bs.el (bs-cycle-next, bs-cycle-previous):
8089         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8090         * bindings.el (mode-line-other-buffer):
8091         * autoinsert.el (auto-insert):
8092         * arc-mode.el (archive-extract):
8093         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8095 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8097         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8098         Fix check of `emacs-lock-unlockable-modes'.
8099         Coerce true values of `emacs-lock--try-unlocking' to t.
8101 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8103         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8104         * emacs-lock.el: New file.
8106 2011-07-05  Julien Danjou  <julien@danjou.info>
8108         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8109         than `boundp' to check if face is set.
8111 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8113         * register.el (registerv-make):
8114         * window.el (window-min-height): Fix typos in docstrings.
8116 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
8118         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8119         Update doc string.
8121 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8123         * server.el (server-execute): Catch quit and call
8124         `server-return-error' to pass the error back to emacsclient and
8125         close the connection (bug#8942).
8127 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
8129         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8130         insecure exception for current topic.  Also note that auto-saves
8131         are handled differently.
8133         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8134         State variables for tracking auto-save inhibition situation.
8136         (allout-write-contents-hook-handler): Rename from
8137         'allout-write-file-hook-handler', and describe how it depends on
8138         write-contents-functions sensitivity to non-nil value to prevent
8139         file write.
8141         (allout-auto-save-hook-handler): Remove.  auto-save does not check
8142         this in individual buffers, only in the starting buffer, so this
8143         is not the right way for us to inhibit auto-save in a buffer
8144         according to its condition.
8146         (allout-mode): Use new allout-write-contents-hook-handler, and
8147         only with write-contents-functions.  Remove auto-save provisions -
8148         they're implemented elsewhere.
8150         (allout-before-change-handler): If undo is in progress, note that
8151         for attention of allout-post-command-business.
8153         (allout-post-command-business): If the command we're following was
8154         an undo, check for change in the status of encrypted items and
8155         adjust auto-save inhibitions accordingly.
8157         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8158         according to whether there are or aren't any plain-text topics
8159         pending encryption.
8161         (allout-inhibit-auto-save-info-for-decryption):
8162         Adjust buffer-saved-size and some allout state to inhibit auto-saves
8163         if there are plain-text topics pending encryption.
8165         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8166         buffer-saved-size and some allout state to not inhibit auto-saves
8167         if there are no longer any plain-text topics pending encryption.
8169         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8170         No longer provide for exemption of the current topic.
8172 2011-07-04  Juri Linkov  <juri@jurta.org>
8174         Add 7z operations to delete and save changed members (bug#8968).
8175         * arc-mode.el (archive-7z-expunge, archive-7z-update):
8176         New defcustoms.
8177         (archive-7z-write-file-member): New function.
8178         (archive-7z-summarize): Fix the number of dashes in the
8179         listing output.
8181 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8184         (bug#8958).
8186 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
8188         * bindings.el: Ignore next-buffer and previous-buffer in
8189         minibuffer-local-map.
8191         * font-lock.el (font-lock-builtin-face): Change light background
8192         color to dark slate blue (Bug#6693).
8194 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
8196         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8198 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8200         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8201         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8202         Add switch-to-buffer.
8204 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8206         * isearch.el (isearch-search-fun-function): Clarify further the
8207         meaning of the function returned.
8209 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
8211         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8213         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8214         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8215         Use it.
8216         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
8217         `tramp-default-remote-path' does not exist.
8218         (tramp-send-command-and-read): New optional argument NOERROR.
8219         (tramp-open-connection-setup-interactive-shell)
8220         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8221         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8222         (tramp-process-sentinel): Flush also process' connection property.
8223         (tramp-sh-handle-start-file-process): Do not set process
8224         sentinel.  It is done now ...
8225         (tramp-maybe-open-connection): ... here.  (Bug#8929)
8227 2011-07-04  MON KEY  <monkey@sandpframing.com>
8229         * play/animate.el (animate-string): Doc fixes and allow changing
8230         the buffer name (bug#5417).
8232 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8234         * play/animate.el (animation-buffer-name): Rename from *animate*.
8236 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8238         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8239         This is simpler and helps future-proof the code.
8240         (timer-until): Use time-subtract and float-time.
8241         (timer--time-less-p): Use time-less-p.
8243 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8245         * type-break.el (timep): Use the value of `float-time' to avoid a
8246         byte-compiler warning.
8248         * server.el (server-eval-and-print): Return any result, even nil.
8250 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8252         * type-break.el: Accept time formats that the builtins accept.
8253         (timep, type-break-time-difference): Accept any format that
8254         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8255         This is simpler and helps future-proof the code.
8256         (type-break-time-difference): Round rather than ignoring
8257         subseconds components.
8259 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8261         * info.el (Info-apropos-matches): Make non-interactive, since it
8262         doesn't seem to do anything useful as a command (bug#8829).
8264 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8266         * frame.el (frame-background-mode, frame-set-background-mode):
8267         Move from faces.el.
8268         (frame-default-terminal-background): New function.
8270         * custom.el (custom-push-theme): Don't record faces in `changed'
8271         theme; this doesn't work correctly for per-frame face settings.
8272         (disable-theme): Use face-set-after-frame-default to reset faces.
8273         (custom--frame-color-default): New function.
8275 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8277         * dired.el (dired-flagging-regexp): Remove unused variable
8278         (bug#8769).
8280 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8282         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8283         `perl-Test2' extend to match possible "fail #N" rep count
8284         (bug#8377).
8286 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8288         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8289         `smtpmail-via-smtp' now returns the error instead of nil.
8291         * isearch.el (isearch-search-fun-function): Clarify the doc string
8292         (bug#8101).
8294 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8296         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8297         unnecessary spaces (bug#8987).
8299 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8301         * net/network-stream.el (open-network-stream): Use the
8302         :end-of-capability command thoughout.
8304 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8306         * net/network-stream.el (open-network-stream): Add the
8307         :end-of-capability command parameter, used by pop3.el.
8309 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8311         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8313         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8314         for list)" (bug#6475).
8316         * files.el (file-expand-wildcards): Ignore non-readable
8317         sub-directories while trying to find matches instead of signaling
8318         an error (bug#6297).
8320         * man.el (Man-reference-regexp): Allow matching possible
8321         word-wrapped references (bug#6289).
8323         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8324         for consistency with the other vc buffers (bug#6197).
8325         (vc-checkin): Ditto.
8327         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8329         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8331 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8333         * custom.el (defcustom): Clarify that :set is only used in the
8334         Customize user interface (bug#6089).
8336         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8337         associated with a file, refuse to run instead of erroring out
8338         (bug#6084).
8340         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8341         the doc string, since it appears that using `fill-column' always
8342         controls the width (bug#7845).
8344         * simple.el (shell-command-on-region): Say where the error output
8345         went if `shell-command-default-error-buffer' is set (bug#6857).
8347 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
8349         * allout.el (allout-yank-processing): Adjust cursor position for
8350         backwards-deleted space.
8352         (allout-rebullet-heading): Register changes with
8353         allout-exposure-changed-hook, so the modified topic is properly
8354         decorated.
8356 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8358         * minibuffer.el (completion-in-region): Document PREDICATE
8359         (bug#7136).
8361         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8362         of keyword/argument pairs (bug#6904).
8364         * replace.el (multi-occur):
8365         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8367 2011-07-02  Drew Adams  <drew.adams@oracle.com>
8369         * dired.el (dired-mark-if): Make the message about whether it's
8370         marking or unmarking clearer (bug#8523).
8372 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8374         * disp-table.el (display-table-print-array): New function.
8375         (describe-display-table): Use it to print the vectors more pretty
8376         (Bug#8859).
8378 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
8380         * window.el (window-state-get-1): Don't assign clone numbers.
8381         Add clone-of item to list of window parameters.
8382         (window-state-put-2): Don't process clone numbers.
8383         (display-buffer-alist): Fix doc-string.
8385 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8387         * subr.el (remq): Don't allocate if it's not needed.
8388         (keymap--menu-item-binding, keymap--menu-item-with-binding)
8389         (keymap--merge-bindings): New functions.
8390         (keymap-canonicalize): Use them to refine the canonicalization.
8391         * minibuffer.el (minibuffer-local-completion-map)
8392         (minibuffer-local-must-match-map): Move initialization from C.
8393         (minibuffer-local-filename-completion-map): Move initialization from C;
8394         don't inherit from anything here.
8395         (minibuffer-local-filename-must-match-map): Make obsolete.
8396         (completing-read-default): Use make-composed-keymap to combine
8397         minibuffer-local-filename-completion-map with either
8398         minibuffer-local-must-match-map or
8399         minibuffer-local-filename-completion-map.
8401 2011-07-01  Glenn Morris  <rgm@gnu.org>
8403         * type-break.el (type-break-time-sum): Use dolist.
8405         * textmodes/flyspell.el (flyspell-word-search-backward):
8406         Replace CL function.
8408 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8410         * mouse.el (mouse--strip-first-event): New function.
8411         (function-key-map): Use it to map fringe clicks to normal clicks
8412         by default.
8414         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8415         (vc-bzr-revision-completion-table): Add support for annotate and date.
8417         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8418         inherit from parent.
8420 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8422         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8423         (dired-show-file-type): Doc fixup (bug#8818).
8425         * dired.el (dired-mode): Fix up the doc string as suggested by
8426         Drew Adams (bug#8817).
8428         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8429         cookie, since the manual says that it should be possible to add
8430         this function to `find-file-hook' (bug#8709).
8432 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8434         * progmodes/cfengine.el: Moved all cfengine3.el functionality
8435         here.  Noted Ted Zlatanov as the maintainer.
8436         (cfengine-common-settings, cfengine-common-syntax): New functions
8437         to set up common things between `cfengine-mode' and
8438         `cfengine3-mode'.
8439         (cfengine3-mode): New mode.
8440         (cfengine3-defuns cfengine3-defuns-regex
8441         (cfengine3-class-selector-regex cfengine3-category-regex)
8442         (cfengine3-vartypes cfengine3-font-lock-keywords)
8443         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8444         (cfengine3-indent-line): Add from cfengine3.el.
8446 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
8448         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8450         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8452 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
8454         * window.el (same-window-buffer-names, same-window-regexps)
8455         (same-window-p, special-display-frame-alist)
8456         (special-display-popup-frame, special-display-function)
8457         (special-display-buffer-names, special-display-regexps)
8458         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8459         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8460         (split-window-preferred-function, split-height-threshold)
8461         (split-width-threshold, even-window-heights)
8462         (display-buffer-mark-dedicated, window-splittable-p)
8463         (split-window-sensibly, window-safely-shrinkable-p):
8464         Un-obsolete.
8465         (display-buffer): Don't spread args with function specifier
8466         because special-display-popup-frame won't like it.
8468 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
8470         Time-stamp simplifications and fixes.
8471         These improve accuracy slightly, and future-proof the code
8472         against some potential changes to current-time format.
8474         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8475         by using time-since and float-time.
8477         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8478         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
8479         + NNN microseconds".
8481         * type-break.el (type-break-time-sum): Rewrite using time-add.
8483         * play/hanoi.el (hanoi-current-time-float): Remove.
8484         All uses replaced by float-time.
8486         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8487         This yields a more-accurate answer.
8488         (rng-time-to-float): Remove; no longer needed.
8490         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8492         * calendar/timeclock.el (timeclock-seconds-to-time):
8493         Defalias to seconds-to-time, since they're the same thing.
8495         * emacs-lisp/elp.el (elp-elapsed-time):
8496         * emacs-lisp/benchmark.el (benchmark-elapse):
8497         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8499 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8501         * window.el (bury-buffer): Don't iconify the only frame.
8502         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8503         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
8505 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
8507         * eshell/em-smart.el (eshell-smart-display-navigate-list):
8508         Add mouse-yank-primary.
8510 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8512         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8514 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * emacs-lisp/find-func.el (find-library--load-name): New fun.
8517         (find-library-name): Use it to find relative load names when provided
8518         absolute file name (bug#8803).
8520 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8522         * textmodes/flyspell.el (flyspell-word): Consider words that
8523         differ only in case as potential doublons (bug#5687).
8525         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8526         Remove two rather uninteresting debugging-like messages to make
8527         debbugs.el more silent.
8529         * comint.el (comint-password-prompt-regexp): Accept "Response" as
8530         a password-like phrase.
8532 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
8534         * progmodes/cc-guess.el: New file.
8536         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8538         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8539         derived from `c-basic-common-init'.
8541         * progmodes/cc-mode.el (top-level): Require cc-guess.
8542         (c-basic-common-init): Use `cc-choose-style-for-mode'.
8544 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
8546         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8548 2011-06-30  Alan Mackenzie  <acm@muc.de>
8550         * progmodes/cc-engine.el (c-guess-continued-construct):
8551         Correct the handling of template-args-cont, particularly for when font
8552         lock is disabled.  Name this case as "CASE G".
8554 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
8556         * allout.el (allout-yank-processing): Fix injection of extra space
8557         between bullet and non-whitespace character in first topic when
8558         pasting, ensuring that the actual spacing in the pasted topic
8559         following the bullet char is preserved.  This extra space was
8560         causing pasted encrypted topics to get a decrypted status even
8561         when the content was actually still encrypted.  Now the decryption
8562         status from before the paste is preserved.
8564         (allout-flag-region): Set all allout overlays so they evaporate
8565         when reduced to zero length (evanescent), to prevent overlay
8566         leakage.
8568 2011-06-30  Glenn Morris  <rgm@gnu.org>
8570         * w32-fns.el (w32-charset-info-alist): Declare.
8572         * find-dired.el (find-grep-options): Simplify.
8574         * term/ns-win.el (ns-set-resource): Declare.
8576         * ses.el (row, col): Declare dynamic variables honestly.
8578         * textmodes/reftex-parse.el (index-tags): Declare.
8580 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
8582         * cus-edit.el (customize-push-and-save): New function.
8584         * files.el (hack-local-variables-confirm): Use it.
8586         * custom.el (load-theme): New arg NO-CONFIRM.
8587         Use customize-push-and-save (Bug#8720).
8588         (custom-enabled-themes): Doc fix.
8590         * cus-theme.el (customize-create-theme)
8591         (custom-theme-merge-theme): Callers to load-theme changed.
8593 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8595         * thingatpt.el (thing-at-point-short-url-regexp): Require that
8596         short URLs have at least one dot in them (bug #7614).
8598         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8599         nil, because using a pty is apparently too slow (bug #895).
8601 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8603         * mail/sendmail.el (sendmail-query-once): New function.
8604         (sendmail-query-once-function): New variable.
8606 2011-06-29  Glenn Morris  <rgm@gnu.org>
8608         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8610         * ses.el (top-level): Require cl when compiling.
8611         (ses-set-localvars): Fix error statement.
8612         Call it at compile time to silence a storm of warnings.
8614 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
8616         * window.el (normalize-live-buffer): Rename to
8617         window-normalize-buffer.
8618         (normalize-live-frame): Rename to window-normalize-frame.
8619         (normalize-any-window): Rename to window-normalize-any-window.
8620         (normalize-live-window): Rename to window-normalize-live-window.
8621         (make-window-atom): Rename to window-make-atom.
8622         (window-resize-reset): Rename to window--resize-reset.
8623         (window-resize-reset-1): Rename to window--resize-reset-1.
8624         (resize-mini-window): Rename to window--resize-mini-window.
8625         (resize-subwindows-skip-p): Rename to
8626         window--resize-subwindows-skip-p.
8627         (resize-subwindows-normal): Rename to
8628         window--resize-subwindows-normal.
8629         (resize-subwindows): Rename to window--resize-subwindows.
8630         (resize-other-windows): Rename to window--resize-siblings.
8631         (resize-this-window): Rename to window--resize-this-window.
8632         (resize-root-window): Rename to window--resize-root-window.
8633         (resize-root-window-vertically): Rename to
8634         window--resize-root-window-vertically.
8635         (normalize-buffer-to-display): Rename to
8636         window-normalize-buffer-to-display.
8637         (normalize-buffer-to-switch-to): Rename to
8638         window-normalize-buffer-to-switch-to.
8639         Correspondingly update all callers of the functions listed
8640         above.
8641         (display-buffer-alist, display-buffer-normalize-arguments)
8642         (display-buffer-normalize-options, display-buffer)
8643         (display-buffer-alist-set): Use "function" instead of
8644         "fun-with-args".
8646 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
8648         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8649         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
8650         debbugs.gnu.org.  Mention acknowledgment email.
8652 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8654         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8655         buffer multibyteness, since it shouldn't matter.
8657 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
8659         * window.el (display-buffer-in-side-window): Handle dedicated
8660         windows as in display-buffer-reuse-window.
8661         (display-buffer-normalize-alist): Use value of override
8662         specifier.
8663         (display-buffer-normalize-specifiers): Use value of
8664         other-window-means-other-frame specifier.
8665         (display-buffer-alist): Rewrite some texts in widgets.
8666         (display-buffer): Spread arguments when calling function
8667         specified by fun-with-args.
8669 2011-06-28  Deniz Dogan  <deniz@dogan.se>
8671         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8672         Unnest `let'.
8674         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8675         selectors (Bug#5732).
8676         (css-proprietary-nmstart-re): Use `regexp-opt'.
8678 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
8680         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8681         (eshell-ls-date-format): New defcustom.
8682         (eshell-ls-file): Use it.
8684 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8686         * help-fns.el (describe-variable): Fix message for terminal-local vars.
8688 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
8690         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8691         (ange-ftp-make-tmp-name): New arg.
8692         (ange-ftp-file-local-copy): Use it.
8694 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
8696         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8697         no-conversion (Bug#8870).
8699 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
8701         * window.el (window-right, window-left, window-child)
8702         (window-child-count, window-last-child)
8703         (window-iso-combination-p, walk-window-tree-1)
8704         (window-atom-check-1, window-tree-1, delete-window)
8705         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8706         new naming conventions - window-vchild, window-hchild,
8707         window-next and window-prev are now called window-top-child,
8708         window-left-child, window-next-sibling and window-prev-sibling
8709         respectively.
8710         (resize-window-reset): Rename to window-resize-reset.
8711         (resize-window-reset-1): Rename to window-resize-reset-1.
8712         (resize-window): Rename to window-resize.
8713         (window-min-height, window-min-width)
8714         (resize-mini-window, resize-this-window, resize-root-window)
8715         (resize-root-window-vertically, adjust-window-trailing-edge)
8716         (enlarge-window, shrink-window, maximize-window)
8717         (minimize-window, delete-window, quit-restore-window)
8718         (split-window, balance-windows, balance-windows-area-adjust)
8719         (balance-windows-area, window-state-put-2)
8720         (display-buffer-even-window-sizes, display-buffer-set-height)
8721         (display-buffer-set-width, set-window-text-height)
8722         (fit-window-to-buffer): Rename all "resize-window" prefixed
8723         calls to use the "window-resize" prefix convention.
8724         (display-buffer-alist): Fix symbol for label specifier.
8725         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8726         corresponding specifier.
8727         Reported by Juanma Barranquero <lekktu@gmail.com>.
8729 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8731         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8732         convention.
8733         (ses-call-printer): Does not pass an empty string to formatter when the
8734         cell is empty to keep from barking printer Calc math-format-value.
8736 2011-06-27  Richard Stallman  <rms@gnu.org>
8738         * battery.el (battery-mode-line-limit): New variable.
8739         (battery-update): Handle it.
8741         * mail/rmailmm.el (rmail-mime-process-multipart):
8742         Handle truncated messages.
8744 2011-06-27  Glenn Morris  <rgm@gnu.org>
8746         * progmodes/flymake.el (flymake-err-line-patterns):
8747         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
8749 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8751         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8752         (ses--clean-!, ses--clean-_): New functions.
8753         (ses-range): Add configurability of readout order, and conversion
8754         to Calc vector.
8756         * ses.el (ses-repair-cell-reference-all): New function.
8757         (ses-cell-symbol): Set macro as safe, so that it can be used in
8758         formulas.
8760         * ses.el: Update cycle detection algorithm.
8761         (ses-localvars): Add ses--Dijkstra-attempt-nb and
8762         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8763         (ses-set-localvars): New function.
8764         (ses-make-cell): Add property-list as a cell element.
8765         (ses-cell-property-get-fun, ses-cell-property-get)
8766         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8767         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8768         New functions.
8769         (ses-cell-property-set, ses-cell-property-pop)
8770         (ses-cell-property-get-handle): New macro.
8771         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8772         New aliases, used for code readability.
8773         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8774         cycle detection.
8775         (ses-self-reference-early-detection): New defcustom.
8776         (ses-formula-references): Robustify against self-referring cells.
8777         (ses-mode): Use ses-set-localvars.
8778         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8779         before lauching the update processing.
8780         (ses-initialize-Dijkstra-attempt): New function.
8781         (ses-recalculate-cell): Update for cycle detection based on
8782         Dijkstra algorithm.
8784         * ses.el: Fix commenting and indenting convention.
8786 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8788         * bs.el (bs-cycle-next): Complete last change.
8790 2011-06-27  Drew Adams  <drew.adams@oracle.com>
8792         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8794 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8796         * net/network-stream.el (network-stream-open-starttls):
8797         Don't re-get capabilities unless we've reestablished connection.
8798         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8800         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8801         to binary to possibly avoid line encoding issues on Windows (among
8802         other things).
8804 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8806         * net/network-stream.el (open-network-stream): Return an :error
8807         saying what the problem was, if possible.
8809         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8810         server.
8812         * net/network-stream.el (network-stream-open-starttls): If we
8813         wanted to use STARTTLS, and the server offered it, but we weren't
8814         able to because we had no STARTTLS support, then close the connection.
8815         (open-network-stream): Return an :error element, if present.
8817 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8819         * hl-line.el (hl-line-sticky-flag): Doc fix.
8820         (global-hl-line-sticky-flag): New option (Bug#8323).
8821         (global-hl-line-highlight): Obey it.
8823         * vc/vc.el (vc-revert-show-diff): Default to t.
8825 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
8827         * allout-widgets.el (allout-widgets-post-command-business):
8828         Stop decorating intermediate isearch matches.  They're not being
8829         undecorated when an isearch is continued past, and isearch
8830         automatically collapses them.  This leads to "widget leaks", where
8831         decorated items accumulate in collapsed areas.  Lines with lots of
8832         hidden widgets can slow down cursor travel, substantially.
8833         Too much complicated machinery would be needed to ensure undecoration,
8834         so we're doing without this nicety.
8836         (allout-widgets-tally-string): Don't try to do a hash-table-count
8837         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
8838         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8839         *Messages* when allout-widgets-maintain-tally is t.
8841 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
8843         * window.el (display-buffer-normalize-argument): Rename to
8844         display-buffer-normalize-arguments.  Handle special meaning of
8845         LABEL argument.  Respect special-display-function when popping up
8846         a new frame.  Fix code searching for a window showing the buffer
8847         on another frame.
8848         (display-buffer-normalize-specifiers):
8849         Call display-buffer-normalize-arguments.
8850         (display-buffer-in-window): Don't undedicate the window if its
8851         buffer remains the same.
8852         Reported by Drew Adams <drew.adams@oracle.com>.
8853         (display-buffer-alist): Add choice for same-window macro
8854         specfier.
8855         (display-buffer): Mention special meaning of LABEL argument in
8856         doc-string.  Fix quoting.  Don't pop up a new frame even as
8857         fallback.
8859 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
8861         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8862         avoid deleting the current window in some cases (bug#8911).
8864 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
8866         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8867         (Bug#8934)
8869 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8871         * net/network-stream.el (network-stream-open-starttls):
8872         Use built-in TLS support if `gnutls-available-p' is true.
8873         (network-stream-open-tls): Ditto.
8875 2011-06-26  Leo Liu  <sdl.web@gmail.com>
8877         * register.el (registerv): New struct.
8878         (registerv-make): New function.
8879         (jump-to-register, describe-register-1, insert-register):
8880         Support the jump-func, print-func and insert-func slot of a registerv
8881         struct.  (Bug#8415)
8883 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
8885         * vc/vc.el (vc-revert-show-diff): New defcustom.
8886         (vc-diff-internal): New arg specifying diff buffer.
8887         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
8888         reuse an existing *vc-diff* buffer (Bug#8927).
8890         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8892 2011-06-26  Glenn Morris  <rgm@gnu.org>
8894         * progmodes/f90.el (f90-critical-indent): New option.
8895         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8896         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8897         (f90-mode): Doc fix.
8898         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8899         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8900         (f90-beginning-of-block, f90-next-block, f90-indent-region)
8901         (f90-match-end): Handle block, critical.
8903 2011-06-25  Glenn Morris  <rgm@gnu.org>
8905         * calendar/diary-lib.el (diary-included-files): Doc fix.
8906         (diary-include-files): New function, extracted from
8907         diary-include-other-diary-files and diary-mark-included-diary-files.
8908         (diary-include-other-diary-files, diary-mark-included-diary-files):
8909         Just call diary-include-files.
8910         (diary-mark-entries): Reset diary-included-files on first call.
8912         * calendar/diary-lib.el (diary-mark-entries)
8913         (diary-mark-included-diary-files):
8914         Visit included diary-files in temp buffers.
8916         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8917         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8918         (f90-start-block-re, f90-imenu-generic-expression)
8919         (f90-looking-at-program-block-start, f90-no-block-limit):
8920         Add support for submodules.
8922         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8923         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8925 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
8927         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8928         buffer-file-type before setting its value, to avoid disastrous
8929         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
8931 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8933         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8935         * ses.el (ses-unload-function):
8936         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8938         * proced.el (proced-unload-function):
8939         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8941 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8943         * server.el (server-create-window-system-frame): Add parameters arg.
8944         (server-process-filter): Doc fix.  Handle frame-parameters.
8946 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8948         Fix bug#8730, bug#8781.
8950         * loadhist.el (unload--set-major-mode): New function.
8951         (unload-feature): Use it.
8953         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8954         (python-unload-function): New function.
8956 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8958         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8960 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8962         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8963         the candidates list.
8965 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8967         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8969 2011-06-23  Richard Stallman  <rms@gnu.org>
8971         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8972         (rmail-variables): Set next-error-move-function.
8973         (rmail-what-message): Take argument POS.
8974         (rmail-next-error-move): New function.
8976 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8978         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8979         messages for adjacent non-terminals.
8981 2011-06-23  Richard Stallman  <rms@gnu.org>
8983         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8984         (rmail-show-message-1): Preserve buffer modified flag.
8985         (rmail-start-mail): Don't specify use of rmail-mail-return;
8986         that's done by mail-bury now.
8987         (rmail-mail-return): Handle arg NEWBUF.
8989 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8991         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8992         SIZE is a number.
8994 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8996         * window.el (get-lru-window, get-mru-window)
8997         (get-largest-window): Never return a minibuffer window.
8998         (display-buffer-pop-up-window): Fix a bug that could lead to
8999         reusing the minibuffer window.
9000         (display-buffer): Pass original specifier argument to
9001         display-buffer-function instead of the normalized one.
9002         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9004 2011-06-22  Leo Liu  <sdl.web@gmail.com>
9006         * minibuffer.el (completing-read-function)
9007         (completing-read-default): Move from minibuf.c
9009 2011-06-22  Richard Stallman  <rms@gnu.org>
9011         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9012         to Rmail even if not started by a special Rmail command.
9014         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9015         Copy the buffer currently showing just one message.
9017 2011-06-22  Roland Winkler  <winkler@gnu.org>
9019         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9020         (bibtex-clean-entry): First delete the old key so that a
9021         customized algorithm for generating the new key does not get
9022         confused by the old key.
9023         (bibtex-url): Obey regexp of first step.
9024         (bibtex-search-entries): Do not use add-to-list with local
9025         list-var.
9027 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9029         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9030         stored a user name, then query for the password first, instead of
9031         waiting for SMTP to give an error message and the trying again.
9033 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
9035         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9036         BUFFER in call-process.
9038 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9040         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9041         QUIT twice.
9042         (smtpmail-try-auth-methods): Require user name and password from
9043         auth-source.
9045 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
9047         * window.el (display-buffer-default-specifiers)
9048         (display-buffer-alist): Remove entries for pop-up-frame-alist.
9049         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9050         (split-window): Normalize SIDE argument (Bug#8916).
9052         * frame.el (pop-up-frame-alist, pop-up-frame-function)
9053         (special-display-frame-alist, special-display-popup-frame):
9054         Remove duplicate declarations.  These are now in window.el.
9056 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9058         * mail/smtpmail.el (smtpmail-via-smtp):
9059         Set :use-starttls-if-possible so that we always use STARTTLS if the
9060         server supports it.  SMTP servers that support STARTTLS commonly
9061         require it.
9063         * net/network-stream.el (network-stream-open-starttls): Support
9064         upgrading to STARTTLS always, even if we don't have built-in support.
9065         (open-network-stream): Add the :always-query-capabilities keyword.
9067         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9068         upgrades with `open-network-stream', and rely solely on
9069         auth-source for all credentials.  Big changes throughout the file,
9070         but in particular:
9071         (smtpmail-auth-credentials): Remove.
9072         (smtpmail-starttls-credentials): Remove.
9073         (smtpmail-via-smtp): Check for servers saying they want AUTH after
9074         MAIL FROM, too.
9076         * net/network-stream.el (network-stream-open-starttls):
9077         Provide support for client certificates both for external and built-in
9078         STARTTLS.
9079         (auth-source): Require.
9080         (open-network-stream): Document the :client-certificate keyword.
9081         (network-stream-certificate): Change cert-cert to cert and
9082         cert-key to key.
9084 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
9086         * net/tramp-cache.el (top): Don't load the persistency file when
9087         "emacs -Q" has been called.
9089 2011-06-21  Tim Harper  <timcharper@gmail.com>
9091         * term/ns-win.el (ns-initialize-window-system):
9092         Set application-specific `ApplePressAndHoldEnabled' system
9093         resource to NO as it is not yet supported by the NS port.
9095 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
9097         * misc.el (list-dynamic-libraries--refresh): Compute header here...
9098         (list-dynamic-libraries): ...not here.
9100 2011-06-21  Leo Liu  <sdl.web@gmail.com>
9102         * subr.el (sha1): Implement sha1 using secure-hash.
9104 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
9106         * window.el (display-buffer-alist): In default value do not
9107         enforce searching a window on any but the selected frame.
9108         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9109         (display-buffer-select-window): Remove function.
9110         (display-buffer-in-window): When a window on another frame gets
9111         reused, do not select it any more but just raise its frame if
9112         necessary (Bug#8851) and (Bug#8856).
9113         (display-buffer-normalize-options): Handle pop-up-frames related
9114         options more faithfully.
9115         (pop-to-buffer): Don't rely on `display-buffer' selecting the
9116         window if it is on another frame.
9117         (display-buffer-alist, display-buffer-default-specifiers):
9118         Don't make new frame unsplittable by default.
9119         (display-buffer-normalize-argument): Fix doc-string typo and use
9120         'same-frame-other-window instead of 'other-window when associating
9121         with display-buffer-macro-specifiers.
9123 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
9125         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9126         New functions.
9127         (5x5-mode-map, 5x5-mode-menu): Bind them.
9128         (5x5-draw-grid): Tweak the solver's rendering.
9130 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9132         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9133         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9135 2011-06-21  Drew Adams  <drew.adams@oracle.com>
9137         * menu-bar.el: Use function variable instead of switch-to-buffer.
9138         (menu-bar-select-buffer-function): New variable.
9139         (menu-bar-update-buffers): Use it (bug#8876).
9141 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9143         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9144         variable's status.
9146 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
9148         * x-dnd.el (x-dnd-version-from-flags)
9149         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9150         and long as number (Bug#8899).
9151         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9153 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9155         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9156         (completion-try-completion, completion-all-completions): Compute the
9157         metadata argument if it's missing; make it optional (bug#8795).
9159         * wid-edit.el: Use lex-bind and move towards completion-at-point.
9160         (widget-complete): Use new :completion-function property.
9161         (widget-completions-at-point): New function.
9162         (default): Use :completion-function instead of :complete.
9163         (widget-default-completions): Rename from widget-default-complete;
9164         Rewrite.
9165         (widget-string-complete, widget-file-complete, widget-color-complete):
9166         Remove functions.
9167         (file, symbol, function, variable, coding-system, color):
9168         * international/mule-cmds.el (default-input-method, charset)
9169         (language-info-custom-alist):
9170         * cus-edit.el (face): Use new property :completions.
9172         * progmodes/pascal.el (pascal-completions-at-point): New function.
9173         (pascal-mode): Use it.
9174         (pascal-mode-map): Use completion-at-point.
9175         (pascal-toggle-completions): Make obsolete.
9176         (pascal-complete-word, pascal-show-completions):
9177         * progmodes/octave-mod.el (octave-complete-symbol):
9178         Redefine as obsolete alias.
9179         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9180         Signal absence of completion info for old Octave,
9181         (inferior-octave-complete): Redefine as obsolete alias.
9182         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9183         (meta-completions-at-point): Rename from meta-complete-symbol and
9184         adapt it for use on completion-at-point-functions.
9185         (meta-common-mode): Use it.
9186         (meta-looking-at-backward, meta-match-buffer): Remove.
9187         (meta-complete-symbol): Redefine as obsolete alias.
9188         (meta-common-mode-map): Use completion-at-point.
9189         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9190         (makefile-mode-map): Use completion-at-point.
9191         (makefile-completions-at-point): Rename from makefile-complete and
9192         adapt it for use on completion-at-point-functions.
9193         (makefile-mode): Use it.
9194         (makefile-complete): Redefine as obsolete alias.
9196 2011-06-20  Deniz Dogan  <deniz@dogan.se>
9198         * net/rcirc.el: Delete trailing whitespaces once and for all.
9200 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
9202         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9204 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
9206         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9208         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9210 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
9212         * window.el (display-buffer-other-window-means-other-frame):
9213         Call display-buffer-normalize-alist.
9214         (display-buffer-normalize-specifiers-1): Rename to
9215         display-buffer-normalize-argument.  New argument other-frame.
9216         Rewrite.
9217         (display-buffer-normalize-specifiers-2): Rename to
9218         display-buffer-normalize-options.
9219         (display-buffer-normalize-alist-1): New function.
9220         (display-buffer-normalize-specifiers-3): Rename to
9221         display-buffer-normalize-alist.
9222         Call display-buffer-normalize-alist-1.
9223         (display-buffer-normalize-options-inhibit): New variable.
9224         (display-buffer-normalize-specifiers): Rewrite calling
9225         display-buffer-normalize-alist,
9226         display-buffer-normalize-argument, and
9227         display-buffer-normalize-options.  Don't call the latter if
9228         display-buffer-normalize-options-inhibit is non-nil.
9229         (frame-auto-delete): New option.
9230         (window-deletable-p): Use frame-auto-delete.
9231         (window-list-no-nils, window-state-ignored-parameters)
9232         (window-state-get-1, window-state-get, window-state-put-list)
9233         (window-state-put-1, window-state-put-2, window-state-put):
9234         New functions.
9235         (display-buffer-normalize-options): Move special-display-p group
9236         after pop-up-frame group (Bug#8851) and (Bug#8856).
9238 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9240         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9241         groups (Bug#8776).
9242         (rx-submatch-n): New function.
9243         (rx): Document it.
9245         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9246         (Bug#8768).
9248         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9250         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9252         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9253         anytime existing face settings are present (Bug#8889).
9255         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9256         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9257         Remove unused argument.
9259 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9261         * window.el (display-buffer-default-specifiers):
9262         Remove pop-up-frame.  Add pop-up-window-min-height,
9263         pop-up-window-min-width, and another reuse-window specifier
9264         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9265         (display-buffer-normalize-specifiers-2):
9266         Handle split-height-threshold and split-width-threshold also when
9267         pop-up-windows is unset.  Add a reuse-window specifier for the
9268         case popping up a new window fails.
9269         (special-display-popup-frame): Remove double quoting.
9270         (display-buffer-normalize-specifiers-1): Fix thinko.
9272 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9274         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9275         according to comint-completion-addsuffix.
9277         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9278         (pcomplete-suffix-list): Mark as obsolete.
9279         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9280         pcomplete-seen in the closure.
9281         (pcomplete-comint-setup): Setup completion-at-point as well.
9282         (pcomplete--entries): New function.
9283         (pcomplete--env-regexp): New var.
9284         (pcomplete-entries): Rewrite to work with partial-completion and
9285         without relying on pcomplete-suffix-list.
9286         (pcomplete-pare-list): Remove, unused.
9288 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9290         * window.el (display-buffer-alist): Set pop-up-window-min-height
9291         and pop-up-window-min-width in default value.  Reported by
9292         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9293         other-window-means-other-frame.
9294         (display-buffer-macro-specifiers): Comment out entry for
9295         other-window specifier.
9296         (display-buffer-other-window-means-other-frame): New function.
9297         (display-buffer-normalize-specifiers-1): New arguments
9298         buffer-name and label.  Treat other-window case specially.
9299         (display-buffer-normalize-specifiers-2): Treat other-window case
9300         specially.
9301         (display-buffer-normalize-specifiers-3): New function.
9302         (display-buffer-normalize-specifiers):
9303         Call display-buffer-normalize-specifiers-3.
9305 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9307         * window.el (same-window-p): Fix two typos introduced when
9308         adding with-no-warnings.
9309         (display-buffer-normalize-specifiers-1): Don't check
9310         pop-up-frames for 'unset initialization.
9311         (display-buffer-normalize-specifiers-2): Major rewrite using
9312         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9313         (pop-up-frames, display-buffer-reuse-frames)
9314         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9315         Suggested by David Engster <deng@randomsample.de>.
9316         (even-window-heights): Initialize to 'unset.
9317         (display-buffer-alist-set): Handle new 'unset initializations.
9318         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9319         other window case.
9321 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9323         * window.el (display-buffer-normalize-specifiers-1):
9324         Respect current value of pop-up-frames for most reasonable values of
9325         second argument of display-buffer (Bug#8865).
9326         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9327         (switch-to-buffer-other-window-same-frame)
9328         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9329         Adams (Bug#8875).
9330         (display-buffer): Don't check noninteractive when calling
9331         display-buffer-pop-up-frame.
9332         (display-buffer-pop-up-frame): Never pop up a frame in
9333         noninteractive mode (Bug#8857).
9334         (enlarge-window, shrink-window): Don't report an error when the
9335         window can't be resized as requested (Bug#8862).
9337 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9339         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9341         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9343         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9345 2011-06-15  Alan Mackenzie  <acm@muc.de>
9347         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9348         for declarators, disable knr checking to speed up for normal files.
9349         2: Refactor, replacing a sequence of nested if forms by a cond form.
9351 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9353         * net/network-stream.el (open-network-stream): Add the keyword
9354         :always-query-capabilities for the case where you want to force a
9355         `plain' network connection, but the protocol still requires the
9356         capabilitiy command (i.e., SMTP and EHLO).
9358         * subr.el (process-live-p): Rename from `process-alive-p' for
9359         consistency with other `-live-p' functions.
9361 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9363         * window.el (same-window-buffer-names, same-window-regexps)
9364         (special-display-frame-alist, special-display-popup-frame)
9365         (special-display-function, special-display-buffer-names)
9366         (special-display-regexps, pop-up-frame-alist)
9367         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9368         (pop-up-windows, split-window-preferred-function)
9369         (split-height-threshold, split-width-threshold, even-window-heights)
9370         (display-buffer-mark-dedicated): Don't encourage the use of
9371         display-buffer-alist from Elisp code.
9373 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
9375         * progmodes/python.el (python-mode): Derive from prog-mode.
9376         * progmodes/ps-mode.el (ps-mode):
9377         * progmodes/mixal-mode.el (mixal-mode):
9378         * progmodes/cfengine.el (cfengine-mode):
9379         * progmodes/ld-script.el (ld-script-mode): Likewise.
9381 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
9383         * window.el (display-buffer-alist): Trim default value to avoid
9384         popping up a new frame (Bug#8857) or reusing an arbitrary window
9385         on another frame.
9386         (display-buffer): Do not fall back on popping up a new frame in
9387         batch mode (Bug#8857).
9389 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
9391         * cus-theme.el (describe-theme-1): Use custom-theme-p.
9392         (custom-theme-summary): New function.
9393         (customize-themes): Use it.
9395 2011-06-13  Glenn Morris  <rgm@gnu.org>
9397         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9399 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
9401         * help.el (help-window): Remove variable.
9402         (help-window-point-marker, temp-buffer-max-height)
9403         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9404         (help-print-return-message): Don't set help-window.
9405         (resize-temp-buffer-window): Rewrite cod eand doc-string.
9406         (help-window-setup-finish): Remove.
9407         (help-window-display-message, help-window-setup)
9408         (with-help-window): Major rewrite based on new
9409         display-buffer-window variable.
9411         * help-mode.el (help-mode-finish): Remove help-window related
9412         code.
9414         * view.el (view-exits-all-viewing-windows): Remove reference to
9415         view-return-to-alist in doc-string.
9416         (view-return-to-alist): Make obsolete.
9417         (view-buffer): Call pop-to-buffer-same-window and remove
9418         undo-window code.
9419         (view-buffer-other-window): Call pop-to-buffer-other-window and
9420         simplify code.  Ignore second argument.
9421         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9422         simplify code.  Ignore second argument.
9423         (view-return-to-alist-update): Make obsolete.
9424         (view-mode-enter): Rename second argument to QUIT-RESTORE.
9425         Rewrite using quit-restore window parameters.
9426         (view-mode-exit): Rename second argument to EXIT-ONLY.
9427         Rewrite using quit-restore-window.
9428         (View-exit, View-exit-and-edit, View-leave, View-quit)
9429         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9430         appropriate arguments.
9431         (view-end-message): Use quit-restore window parameter.
9433         * window.el (display-buffer-function): Rewrite doc-string.
9434         (display-buffer-window, display-buffer-alist): New variables.
9435         (display-buffer-split-specifiers)
9436         (display-buffer-side-specifiers)
9437         (display-buffer-macro-specifiers): New constants.
9438         (display-buffer-even-window-sizes, display-buffer-set-height)
9439         (display-buffer-set-width, display-buffer-select-window)
9440         (display-buffer-in-window, display-buffer-reuse-window)
9441         (display-buffer-split-window-1, display-buffer-split-window)
9442         (display-buffer-split-atom-window, display-buffer-pop-up-window)
9443         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9444         (display-buffer-in-side-window, normalize-buffer-to-display)
9445         (display-buffer-normalize-specifiers-1)
9446         (display-buffer-normalize-specifiers-2)
9447         (display-buffer-normalize-specifiers, display-buffer-frame):
9448         New functions.
9449         (display-buffer): Major rewrite.
9450         (display-buffer-other-window, display-buffer-other-frame)
9451         (pop-to-buffer, switch-to-buffer-other-window)
9452         (switch-to-buffer-other-frame): Rewrite.
9453         (display-buffer-same-window, display-buffer-same-frame)
9454         (display-buffer-same-frame-other-window)
9455         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9456         (pop-to-buffer-other-window)
9457         (pop-to-buffer-same-frame-other-window)
9458         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9459         (switch-to-buffer-other-window-same-frame): New functions.
9460         (same-window-p, special-display-p): Rewrite disabling warnings.
9461         Make obsolete.
9462         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9463         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9464         Make obsolete
9465         (same-window-buffer-names, same-window-regexps)
9466         (special-display-frame-alist, special-display-popup-frame)
9467         (special-display-function, special-display-buffer-names)
9468         (special-display-regexps, pop-up-frame-alist)
9469         (pop-up-frame-function, split-window-preferred-function)
9470         (split-height-threshold, split-width-threshold)
9471         (even-window-heights): Make obsolete.
9473 2011-06-12  Glenn Morris  <rgm@gnu.org>
9475         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
9476         Misc simplifications.
9478 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
9480         * window.el (window-safely-shrinkable-p): Restore function which
9481         was inadvertently removed in change from 2011-06-11.  Declare as
9482         obsolete.
9484         * calendar/calendar.el (calendar-generate-window):
9485         Use window-iso-combined-p instead of combination of one-window-p and
9486         window-safely-shrinkable-p.
9488 2011-06-12  Glenn Morris  <rgm@gnu.org>
9490         * progmodes/fortran.el (fortran-mode-syntax-table):
9491         * progmodes/f90.el (f90-mode-syntax-table):
9492         Set % to punctuation.  (Bug#8820)
9493         (f90-find-tag-default): Remove, no longer needed.
9495 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
9497         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9499 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
9501         * image.el (image-animated-p): Return animation delay in seconds.
9502         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9503         (image-animate-timeout): Remove DELAY argument.  Don't assume
9504         every subimage has the same delay; get it from image-animated-p.
9505         (image-animate): Caller changed.
9507 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
9509         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9510         to ignored backtrace functions.
9512 2011-06-11  Glenn Morris  <rgm@gnu.org>
9514         * calendar/appt.el (appt-disp-window-function): Doc fix.
9515         (appt-check): Handle overlapping appointments.  (Bug#8337)
9517 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
9519         * window.el (window-tree-1, window-tree): New functions, moving
9520         the latter to window.el.
9521         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9522         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9523         (bw-refresh-edges): Remove.
9524         (balance-windows-1, balance-windows-2): New functions.
9525         (balance-windows): Rewrite in terms of window tree functions,
9526         balance-windows-1 and balance-windows-2.
9527         (bw-adjust-window): Remove.
9528         (balance-windows-area-adjust): New function with functionality of
9529         bw-adjust-window but using resize-window.
9530         (set-window-text-height): Rewrite doc-string.
9531         Use normalize-live-window and resize-window.
9532         (enlarge-window-horizontally, shrink-window-horizontally):
9533         Rename argument to DELTA.
9534         (window-buffer-height): New function.
9535         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9536         Rewrite using new window resize routines.
9537         (kill-buffer-and-window, mouse-autoselect-window-select):
9538         Use ignore-errors instead of condition-case.
9539         (quit-window): Call delete-frame instead of delete-windows-on
9540         for the only buffer on frame.
9542 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9544         * loadup.el (top-level): Load window before files for the sake
9545         of replace-buffer-in-windows.
9547         * files.el (read-buffer-to-switch)
9548         (switch-to-buffer-other-window)
9549         (switch-to-buffer-other-frame, display-buffer-other-frame):
9550         Move to window.el.
9552         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9553         (previous-buffer): Move to window.el.
9555         * bindings.el (unbury-buffer): Move to window.el.
9557         * window.el (delete-other-windows-vertically): Move after
9558         definition of delete-other-windows.
9559         (other-window, delete-windows-on, replace-buffer-in-windows):
9560         Move here from window.c.
9561         (record-window-buffer, unrecord-window-buffer)
9562         (set-window-buffer-start-and-point, switch-to-prev-buffer)
9563         (switch-to-next-buffer): New functions.
9564         (get-next-valid-buffer, last-buffer, next-buffer): Move here
9565         from simple.el.  Call switch-to-next-buffer.
9566         (previous-buffer): Move here from simple.el.
9567         Call switch-to-prev-buffer.
9568         (bury-buffer): Move here from buffer.c.  Switch to previous
9569         buffer when window cannot be deleted.
9570         (unbury-buffer): Move here from bindings.el.
9571         (ctl-x-map): Move binding for other-window from window.c to
9572         here.
9573         (read-buffer-to-switch, switch-to-buffer-other-window)
9574         (switch-to-buffer-other-frame): Move here from files.el.
9575         (normalize-buffer-to-switch-to): New functions.
9576         (switch-to-buffer): Move here from buffer.c.
9577         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9579 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
9581         * window.el (window-min-height, window-min-width): Move here
9582         from window.c.  Add defcustoms and rewrite doc-strings.
9583         (resize-mini-window, resize-window): New functions.
9584         (adjust-window-trailing-edge, enlarge-window, shrink-window):
9585         Move here from window.c.
9586         (maximize-window, minimize-window): New functions.
9587         (delete-window, delete-other-windows, split-window): Move here
9588         from window.c.
9589         (window-split-min-size): New function.
9590         (split-window-keep-point): Mention split-window-above-each-other
9591         instead of split-window-vertically.
9592         (split-window-above-each-other, split-window-vertically):
9593         Rename split-window-vertically to split-window-above-each-other
9594         and provide defalias for old definition.
9595         (split-window-side-by-side, split-window-horizontally):
9596         Rename split-window-horizontally to split-window-side-by-side
9597         and provide defalias for the old definition.
9598         (ctl-x-map): Move bindings for delete-window,
9599         delete-other-windows and enlarge-window here from window.c.
9600         Replace bindings for split-window-vertically and
9601         split-window-horizontally by bindings for
9602         split-window-above-each-other and split-window-side-by-side.
9604         * cus-start.el (all): Remove entries for window-min-height and
9605         window-min-width.  Add entries for window-splits and
9606         window-nest.
9608 2011-06-09  Glenn Morris  <rgm@gnu.org>
9610         * calendar/appt.el (appt-mode-line): New function.
9611         (appt-check, appt-disp-window): Use it.
9613         * files.el (hack-one-local-variable-eval-safep):
9614         Allow minor-modes with explicit +/-1 arguments.
9616 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
9618         * term/xterm.el (xterm): Add defgroup.
9619         (xterm-extra-capabilities): Add defcustom to supply known xterm
9620         capabilities, skip querying them, or query them (default).
9621         (terminal-init-xterm): Use it.
9622         (terminal-init-xterm-modify-other-keys): New function to set up
9623         modifyOtherKeys support to simplify `terminal-init-xterm'.
9625 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
9627         * window.el (resize-window-reset, resize-window-reset-1)
9628         (resize-subwindows-skip-p, resize-subwindows-normal)
9629         (resize-subwindows, resize-other-windows, resize-this-window)
9630         (resize-root-window, resize-root-window-vertically)
9631         (window-deletable-p, window-or-subwindow-p)
9632         (frame-root-window-p): New functions.
9634 2011-06-09  Glenn Morris  <rgm@gnu.org>
9636         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9637         (ange-ftp-get-files): Use it.
9639 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9641         * mail/sendmail.el (mail-recover-1, mail-recover):
9642         * files.el (recover-file, recover-session):
9643         Handle dired-listing-switches not being just a single short option.
9645 2011-06-09  Glenn Morris  <rgm@gnu.org>
9647         * calendar/appt.el (appt-display-message, appt-disp-window):
9648         Handle lists of appointments.
9650 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9652         * window.el (one-window-p): Move down in code.
9653         Rewrite doc-string.
9654         (window-current-scroll-bars): Rewrite doc-string.
9655         Normalize live window argument.
9656         (walk-windows, get-window-with-predicate, count-windows):
9657         Rewrite doc-string.  Use window-list-1.
9658         (window-in-direction-2, window-in-direction, get-mru-window):
9659         New functions.
9661 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
9663         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9664         Doc fix (Bug#8713).
9666 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
9668         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9670 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
9672         * loadhist.el (unload-feature-special-hooks):
9673         Add `comint-output-filter-functions'.
9675 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
9677         * calendar/appt.el (appt-check): Move some initializations into the let.
9679 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
9681         * window.el (window-height): Defalias to window-total-height.
9682         (window-width): Defalias to window-body-width.
9684 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
9686         * image-mode.el (image-toggle-animation): New command.
9687         (image-mode-map): Bind it to RET.
9688         (image-mode): Update message.
9689         (image-toggle-display-image): Avoid a spurious cache flush.
9690         (image-transform-rotation): Doc fix.
9691         (image-transform-properties): Return quickly in the normal case.
9692         (image-animate-loop): Rename from image-animate-max-time.
9694         * image.el (image-animate-max-time): Move to image-mode.el.
9695         (create-animated-image): Remove unnecessary function.
9696         (image-animate): Rename from image-animate-start.  New arg.
9697         (image-animate-stop): Remove; just use image-animate-timer.
9698         (image-animate-timer): Use car-safe.
9699         (image-animate-timeout): Rename argument.
9701 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
9703         * window.el (get-lru-window, get-largest-window): Move here from
9704         window.c.  Rename first argument to ALL-FRAMES.
9705         Rephrase doc-strings.
9706         (get-buffer-window-list): Rewrite using window-list-1.
9707         Rephrase doc-string.
9708         (window-safe-min-height, window-safe-min-width): New constants.
9709         (window-size-ignore, window-min-size, window-min-size-1)
9710         (window-sizable, window-sizable-p, window-size-fixed-1)
9711         (window-size-fixed-p, window-min-delta-1, window-min-delta)
9712         (window-max-delta-1, window-max-delta, window-resizable)
9713         (window-resizable-p, window-total-height, window-total-width)
9714         (window-body-width): New functions.
9715         (window-full-height-p, window-full-width-p): Rewrite using
9716         window-total-size.
9717         (window-body-height): Rewrite using window-body-size.
9719 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
9721         * window.el (window-right, window-left, window-child)
9722         (window-child-count, window-last-child, window-any-p)
9723         (normalize-live-buffer, normalize-live-frame)
9724         (normalize-any-window, normalize-live-window)
9725         (window-iso-combination-p, window-iso-combined-p)
9726         (window-iso-combinations)
9727         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9728         (windows-with-parameter, window-with-parameter)
9729         (window-atom-root, make-window-atom, window-atom-check-1)
9730         (window-atom-check, window-side-check, window-check):
9731         New functions.
9732         (ignore-window-parameters, window-sides, window-sides-vertical)
9733         (window-sides-slots): New variables.
9734         (window-size-fixed): Move down in code.  Minor doc-string fix.
9736 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
9738         * comint.el (comint-dynamic-complete-as-filename)
9739         (comint-dynamic-complete-filename): Correctly call
9740         completion-in-region.
9742 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9744         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9745         in last change.
9747 2011-06-05  Deniz Dogan  <deniz@dogan.se>
9749         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9750         (rcirc): Use it to prompt for encryption.
9752 2011-06-05  Roland Winkler  <winkler@gnu.org>
9754         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9755         (bibtex-search-entries): New command bound to C-c C-a.
9756         (bibtex-display-entries): New function.
9758 2011-06-05  Roland Winkler  <winkler@gnu.org>
9760         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9761         (bibtex-insert-kill): After yanking insert newline if necessary.
9762         (bibtex-initialize): Call bibtex-string-files-init only once.
9763         (bibtex-mode): Do not call easy-menu-add.
9764         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9765         (bibtex-yank): Set arg properly if nil.
9767 2011-06-05  Roland Winkler  <winkler@gnu.org>
9769         * textmodes/bibtex.el (bibtex-search-entry-globally):
9770         New variable.
9771         (bibtex-search-entry): Use it.
9773 2011-06-05  Roland Winkler  <winkler@gnu.org>
9775         * textmodes/bibtex.el (bibtex-entry-format): New option
9776         sort-fields.
9777         (bibtex-format-entry, bibtex-reformat): Honor this option.
9778         (bibtex-parse-entry): Return fields in proper order.
9780 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
9782         * doc-view.el (doc-view-remove-if): Move computation of result out
9783         of `dolist' to silence misleading lexical-binding warning.
9785 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
9787         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9788         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9790 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9792         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9793         "SunOS 5.10".
9795 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
9797         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9798         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9799         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9800         (tramp-parse-putty):
9801         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9802         (tramp-completion-function-alist-ssh)
9803         (tramp-completion-function-alist-telnet)
9804         (tramp-completion-function-alist-su)
9805         (tramp-completion-function-alist-putty): Set `tramp-autoload'
9806         cookie.
9808         * net/tramp-ftp.el:
9809         * net/tramp-sh.el:
9810         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9811         load "tramp.el" `tramp-set-completion-function'.
9813 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9815         * shell.el: Require and use pcomplete.
9816         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9817         (shell-completion-vars): Set pcomplete-default-completion-function.
9819 2011-06-04  Deniz Dogan  <deniz@dogan.se>
9821         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9822         `memq' (Bug#8799).
9824 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9826         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9828 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
9830         * bs.el (bs--mark-unmark, bs--nth-wrapper):
9831         * mpc.el (mpc-select-extend, mpc-songpointer-context):
9832         * vc/log-view.el (log-view-beginning-of-defun):
9833         * vc/smerge-mode.el (smerge-apply-resolution-patch)
9834         (smerge-refine-forward, smerge-refine-chopup-region):
9835         Silence warning for unused `dotimes' counter variables.
9837 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9839         * net/tramp.el (tramp-with-progress-reporter): Rename from
9840         with-progress-reporter.  Use `declare'.
9841         * net/tramp-smb.el:
9842         * net/tramp-sh.el:
9843         * net/tramp-gvfs.el: Update all uses.
9845 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
9847         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9848         buffer isn't killed before making it current.
9850 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9852         Silence various byte-compiler warnings.
9853         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9854         `access-type' and new obsolescence format.
9855         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9856         new format.
9857         (byte-compile-check-variable): New `access-type' argument.
9858         Only warn if the access-type is obsolete.
9859         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9860         (byte-compile-variable-set): Adjust callers.
9861         * help-fns.el (describe-variable): Adjust to new obsolescence format.
9862         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9863         setting it as obsolete.
9864         * simple.el (minibuffer-completing-symbol):
9865         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9866         access as obsolete.
9867         * minibuffer.el (minibuffer-completing-file-name): Don't make it
9868         obsolete yet.
9869         * international/quail.el (quail-mouse-choose-completion): Remove unused
9870         code referring to obsolete var.
9871         (quail-choose-completion-string): Remove.
9872         * server.el (server-clients-with, server-kill-buffer-query-function)
9873         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9874         * proced.el (proced-send-signal):
9875         * emacs-lisp/lisp.el (lisp-complete-symbol):
9876         Replace completion-annotate-function with completion-extra-properties.
9878 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9880         * simple.el (goto-line): Use read-number.
9881         (overriding-map-is-bound): Remove.
9882         (saved-overriding-map): Change default.
9883         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9884         Take the map as argument.
9885         (universal-argument, negative-argument, digit-argument): Use it.
9886         (restore-overriding-map): Adjust.
9887         (do-auto-fill): Use fill-forward-paragraph.
9888         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9890         * minibuffer.el (minibuffer-inactive-mode-map): New var.
9891         (minibuffer-inactive-mode): New major mode.
9892         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9893         the *Messages* buffer" hack.
9894         (mouse-popup-menubar): Don't burp if the event is a normal key.
9896         Miscellaneous tweaks.
9897         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9898         lexical scoping as in subr.el's dolist and dotimes.
9899         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9900         Silence compiler warning.
9901         * thingatpt.el (forward-whitespace): Trivial coding style fix.
9902         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9903         * international/ccl.el (ccl-compile): Trivial simplification.
9904         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9905         * emacs-lisp/testcover.el (testcover-end): Remove spurious
9906         `printflag' argument.
9907         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9908         Purecopy the whole obsolescence data.
9910 2011-06-01  Leo Liu  <sdl.web@gmail.com>
9912         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9913         improve doc-string as suggested by Marco Pessotto
9914         <melmothx@gmail.com>.
9915         (rcirc-print): Fix last change.
9917 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9919         * minibuffer.el (complete-with-action): Return nil for the metadata and
9920         boundaries of non-functional tables.
9921         (completion-table-dynamic): Return nil for the metadata.
9922         (completion-table-with-terminator): Add default case, using
9923         complete-with-action.
9924         (completion--metadata): New function.
9925         (completion-all-sorted-completions, minibuffer-completion-help): Use it
9926         to try and avoid pathological performance problems.
9927         (completion--embedded-envvar-table): Return `category' metadata.
9929 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9931         * subr.el (process-alive-p): New tiny convenience function.
9933 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9935         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9936         content but also its previous major mode.
9938 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
9940         * emacs-lisp/debug.el (debug): Restore the previous content of the
9941         *Backtrace* buffer when we exit with C-M-c.
9943 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9945         * minibuffer.el: Add metadata method to completion tables.
9946         (completion-category-overrides): New defcustom.
9947         (completion-metadata, completion--field-metadata)
9948         (completion-metadata-get, completion--styles)
9949         (completion--cycle-threshold): New functions.
9950         (completion-try-completion, completion-all-completions):
9951         Add `metadata' argument to choose completion-styles.
9952         (completion--do-completion): Use metadata to choose cycling.
9953         (completion-all-sorted-completions): Use metadata for sorting.
9954         Remove :completion-cycle-penalty which is not needed any more.
9955         (completion--try-word-completion): Add `metadata' argument.
9956         (minibuffer-completion-help): Check metadata for annotation function
9957         and sorting.
9958         (completion-file-name-table): Return `category' metadata.
9959         (minibuffer-completing-file-name): Make obsolete.
9960         * simple.el (minibuffer-completing-symbol): Make obsolete.
9961         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9962         completion-try-completion.
9964 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9966         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9968 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9970         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9971         (rcirc-print): Decode all incoming messages (bug#8744).
9972         (rcirc-decode-coding-system): Allow value nil for automatic coding
9973         system detection.
9975 2011-06-01  Glenn Morris  <rgm@gnu.org>
9977         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9979 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9981         * image.el (image-animate-max-time): Allow nil and t values.
9982         Default to nil.
9983         (create-animated-image): Doc fix.
9984         (image-animate-start): Remove second arg; just use
9985         image-animate-max-time.
9986         (image-animate-timeout): Doc fix.  Args changed.
9988         * image-mode.el (image-toggle-display-image): Ensure that the
9989         image spec passed to the animate timer is the same object as in
9990         the buffer's display property (Bug#6981).
9991         (image-transform-properties): Doc fix.
9993         * image.el (image-animate-max-time): Default to nil.
9995 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9997         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9998         entire buffer list (Bug#8184).
10000 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10002         * image.el (imagemagick-types-inhibit)
10003         (imagemagick-register-types): Doc fix.
10005 2011-05-29  Deniz Dogan  <deniz@dogan.se>
10007         * net/rcirc.el (rcirc): Use the user's stored encryption method by
10008         default.
10010 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10012         * select.el: Don't perform clipboard-manager saving in hooks;
10013         leave the hooks empty.
10015 2011-05-28  Leo Liu  <sdl.web@gmail.com>
10017         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10018         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
10019         (occur-edit-mode): New major mode (Bug#8463).
10020         (occur-after-change-function): New function.
10021         (occur-engine): Give Occur tags a read-only property.
10023 2011-05-28  Kevin Ryde  <user42@zip.com.au>
10025         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10027 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10029         * bindings.el (help-echo): Make the initial non-indicator dash
10030         empty on graphical terminals (Bug#7295).
10032         * files.el (auto-mode-alist): Move config rule after the
10033         in-stripping one (Bug#8547).
10035         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10037         * startup.el (normal-splash-screen): Remove gratuitous mode-line
10038         setting (Bug#8740).
10040 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
10042         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10043         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10044         (Bug#8539).
10046 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10048         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10050 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
10052         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10053         (hs-hide-block-at-point, hs-find-block-beginning)
10054         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10055         (Bug#8279).
10057 2011-05-28  Glenn Morris  <rgm@gnu.org>
10059         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
10061 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10063         * help-fns.el (describe-function-1): If the function is a derived
10064         major mode, print the parent mode.
10066         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10067         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10069 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10071         * minibuffer.el (completion--capf-wrapper): Check applicability before
10072         returning non-nil for non-exclusive completion data.
10073         * progmodes/etags.el (tags-completion-at-point-function):
10074         * info-look.el (info-lookup-completions-at-point): Mark as
10075         non-exclusive.
10076         (info-complete): Adjust accordingly.
10078         * info-look.el: Convert to lexical-binding and completion-at-point.
10079         (info-lookup-completions-at-point): New function.
10080         (info-complete): Use it and completion-in-region.
10082 2011-05-28  Drew Adams  <drew.adams@oracle.com>
10084         * isearch.el: Let M-e start with point at the first mismatched char.
10085         (isearch-fail-pos): New function.
10086         (isearch-edit-string): Use it.
10088 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10090         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10092 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
10094         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
10095         traversal functions for avl-trees.
10096         (avl-tree--stack): New struct.
10097         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10098         (avl-tree-enter): Add optional `updatefun' arg.
10099         (avl-tree--do-enter): Add optional `updatefun' arg.
10100         Change return value.
10101         (avl-tree-delete): Add optional `test' and `nilflag' args.
10102         (avl-tree--do-delete): Add `test' and `nilflag' args.
10103         Change return value.
10104         (avl-tree-member): Add optional `nilflag'
10105         (avl-tree-member-p): New function.
10106         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10107         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10108         (avl-tree-stack-empty-p): New functions.
10110         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10111         avl-tree--del-balance1 and make it work both ways.
10112         (avl-tree--del-balance2): Remove.
10113         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10114         make it work both ways.
10115         (avl-tree--enter-balance2): Remove.
10116         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10117         New macros.
10118         (avl-tree--mapc, avl-tree-map): Add direction argument.
10120 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
10122         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10124 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
10126         * select.el: Support clipboard managers with built-in function
10127         x-clipboard-manager-save, via delete-frame-functions and
10128         kill-emacs-hook.
10129         (xselect-convert-to-targets): Add MULTIPLE target to list.
10130         (xselect-convert-to-save-targets): New function.
10132 2011-05-27  Kenichi Handa  <handa@m17n.org>
10134         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10135         let-binding rfc2047-encode-encoded-words to nil.
10137 2011-05-27  Glenn Morris  <rgm@gnu.org>
10139         * mail/emacsbug.el: Don't require url-util.
10141         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
10143         * files.el (set-auto-mode):
10144         Also respect mode: entries at the end of the file.  (Bug#8586)
10146 2011-05-26  Glenn Morris  <rgm@gnu.org>
10148         * files.el (hack-local-variables-prop-line, hack-local-variables):
10149         Downcase mode names, as seems to be traditional.
10150         (hack-local-variables, hack-local-variables-apply): Doc fixes.
10152         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10153         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
10155 2011-05-25  Julien Danjou  <julien@danjou.info>
10157         * textmodes/rst.el (rst-define-level-faces): Do not define face
10158         symbol if it is already defined.
10160 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10162         * play/5x5.el (5x5-new-game, 5x5-randomize):
10163         Reset 5x5-solver-output to nil when a new grid is cast.
10164         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10165         these debugging traces, as defmacro breaks the compiled code.
10167 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10169         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10171 2011-05-24  Leo Liu  <sdl.web@gmail.com>
10173         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10174         (vc-bzr-sha1): Adapt.
10176         * sha1.el: Remove.  Function `sha1' is now builtin.
10178         * bindings.el: Provide sha1 feature.
10180 2011-05-24  Kenichi Handa  <handa@m17n.org>
10182         * mail/sendmail.el: Require `rfc2047'.
10183         (mail-insert-from-field): Do not perform RFC2047 encoding.
10184         (mail-encode-header): New function.
10185         (sendmail-send-it): Set buffer-file-coding-system of the work
10186         buffer to the return value of select-message-coding-system.
10187         Call mail-encode-header.
10189         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10191 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
10193         * mail/supercite.el (sc-default-cite-frame):
10194         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10196 2011-05-24  Glenn Morris  <rgm@gnu.org>
10198         * progmodes/python.el (brm-menu): Declare.
10200         * emulation/viper.el (viper-set-hooks): Declare.
10202         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10203         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10204         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10205         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10206         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10207         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10209 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10211         Add an :exit-function for completion-at-point.
10213         * minibuffer.el (completion--done): New fun.
10214         (completion--do-completion): Use it.  New arg `expect-exact'.
10215         (minibuffer-complete, minibuffer-complete-word): Don't output message,
10216         since completion--do-completion does it for us now.
10217         (minibuffer-force-complete): Use completion--done and
10218         completion--replace.  Handle sole-completion case with more care.
10219         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10220         (completion-extra-properties): New var.
10221         (completion-annotate-function): Make obsolete.
10222         (minibuffer-completion-help): Adjust accordingly.
10223         Use completion-list-insert-choice-function.
10224         (completion-at-point, completion-help-at-point):
10225         Bind completion-extra-properties.
10226         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10227         * simple.el (completion-list-insert-choice-function): New var.
10228         (completion-setup-function): Preserve it.
10229         (choose-completion): Pay attention to it, shuffle the code a bit.
10230         (choose-completion-string): New arg `insert-function'.
10232         * textmodes/bibtex.el: Convert to lexical binding.
10233         (bibtex-mode-map): Use completion-at-point.
10234         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10235         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10236         (bibtex-complete): Define as obsolete alias.
10237         (bibtex-complete-internal): Remove.
10238         (bibtex-format-entry): Remove unused sub-group in regexp.
10239         * shell.el (shell--command-completion-data)
10240         (shell-environment-variable-completion):
10241         * pcomplete.el (pcomplete-completions-at-point):
10242         * comint.el (comint--complete-file-name-data): Use :exit-function
10243         instead of completion-table-with-terminator so it also works for
10244         choose-completion.
10246 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10248         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10250         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10251         (bug#8710).
10253         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10255 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10257         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10258         customization variable and implement: If non-nil, auto-fill will
10259         be inhibited while on topic's header line.
10261 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10263         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10264         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10265         always have a solution in grid size = 5 cases.
10266         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10267         (5x5-solver-output, 5x5-log-buffer): New vars.
10268         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10269         Make these variables buffer local to achieve 5x5 multi-session-ness.
10270         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10271         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10272         (5x5-solve-suggest): New funs.
10273         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10274         randomize a grid so that we ensure that there is always a solution.
10275         (5x5-make-random-grid): Allow other movement than flipping.
10277 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10279         * emacs-lisp/advice.el (ad-read-advised-function):
10280         Use `function-called-at-point' as the default, if it has
10281         advice and passes PREDICATE.
10283 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10285         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10286         byte-compile-lambda if it's actually a lambda.
10288         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10289         Fix function quoting.  Use backquote better.
10291 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10293         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10294         matching (Bug#8516).
10296 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10298         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10299         different face (Bug#8178).
10301 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10303         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10304         defface (Bug#8144).
10306 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10308         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10309         funcall as well (bug#8712).  Warn when performing those conversions.
10310         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10312         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10314 2011-05-22  Glenn Morris  <rgm@gnu.org>
10316         * files.el (hack-local-variables-prop-line): Small simplifications.
10317         (hack-local-variables, hack-local-variables-prop-line):
10318         If MODE-ONLY, return the mode, rather than just `t'.
10320 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10322         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10324 2011-05-21  Glenn Morris  <rgm@gnu.org>
10326         * files.el (hack-local-variables-prop-line, hack-local-variables):
10327         If only interested in the mode, don't bother doing the other stuff.
10329         * image-mode.el (image-after-revert-hook):
10330         Redraw all frames on which the image is visible.  (Bug#8567)
10332         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10334         * wid-edit.el (widget-checklist-match-inline):
10335         Fix 2011-04-19 change.  (Bug#8649)
10337 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10339         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10340         Also allow singlespace after single-letter capitals followed by a dot.
10342         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10343         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10345 2011-05-20  Nix  <nix@esperi.org.uk>
10347         * files.el (basic-save-buffer-2):
10348         Fix handling of break-hardlink-on-save with non-existent files.
10350 2011-05-19  Deniz Dogan  <deniz@dogan.se>
10352         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10353         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10355 2011-05-19  Glenn Morris  <rgm@gnu.org>
10357         * progmodes/f90.el (f90-type-def-re):
10358         Handle "type, bind(c)".  (Bug#8691)
10360         * emacs-lisp/autoload.el (batch-update-autoloads):
10361         Set autoload-excludes by parsing loadup.el rather than Makefiles.
10363 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
10365         * net/tramp.el (tramp-process-actions): Set "first-password-request"
10366         property for the correct connection in case of multihops.
10368 2011-05-18  Glenn Morris  <rgm@gnu.org>
10370         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10371         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10373         Rationalize calendar handling of day and month abbrev-arrays.
10374         * calendar/calendar.el (calendar-customized-p): New function.
10375         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10376         (calendar-day-name-array, calendar-month-name-array): Doc fix.
10377         Add :set function.
10378         (calendar-abbrev-length, calendar-day-abbrev-array)
10379         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10380         (calendar-day-abbrev-array, calendar-month-abbrev-array):
10381         Elements may no longer be nil.
10382         (calendar-day-name, calendar-month-name):
10383         Update for changed nature of abbrev arrays.
10384         * calendar/diary-lib.el (diary-name-pattern):
10385         Update for changed nature of abbrev arrays.
10386         (diary-mark-entries-1): Update calendar-make-alist calls.
10387         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10388         * calendar/cal-html.el (cal-html-day-abbrev-array):
10389         Simply inherit from calendar-day-abbrev-array.
10391 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10393         * progmodes/grep.el (grep-mode): Disable default
10394         compilation-directory-matcher setting (bug#8684).
10396 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
10398         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10399         instead of "head" and "tail".  There were problems with SunOS 5.9,
10400         and it performs better.
10402 2011-05-17  Glenn Morris  <rgm@gnu.org>
10404         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10406         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10407         Replace obsolete function.
10409         * shell.el (pcomplete-parse-arguments-function): Declare.
10411         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10412         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10413         (appt-check): Doc fixes.
10414         (appt-disp-window-function, appt-delete-window-function):
10415         Remove needless special case in custom :type.
10416         (appt-display-count): Default to 0, not nil.
10417         (appt-check): Reset appt-display-count to 0, not nil.
10419 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
10421         * progmodes/python.el (python-font-lock-keywords):
10422         Add the Python 3.X keyword "nonlocal" (bug#8639).
10424 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10426         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10428 2011-05-16  Kevin Ryde  <user42@zip.com.au>
10430         * info-look.el (makefile-automake-mode): New setups, looking in
10431         automake manual, then makefile-mode.
10432         (makefile-mode): Remove automake manual, have it just in
10433         makefile-automake-mode since there's various things different or
10434         not relevant to plain make.
10435         (makefile-mode): Remove "other-modes" non-existent automake-mode,
10436         believe a hypothetical automake-mode would go to makefile-mode,
10437         not the other way around.
10439 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
10441         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10442         hunk-end tags (Bug#8672).
10444         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10445         vc-annotate-show-diff-revision-at-line (Bug#8671).
10447 2011-05-14  Glenn Morris  <rgm@gnu.org>
10449         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10450         in the middle of an existing one with multiple authors.  (Bug#8645)
10451         (change-log-font-lock-keywords): Also handle multiple author lines
10452         with leading tabs.  (Bug#8644)
10454         * calendar/appt.el (appt-check): Rename some local variables.
10455         Some simplification/reordering.
10457         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10458         (feedmail-sendmail-f-doesnt-sell-me-out)
10459         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10460         (feedmail-debug-sit-for, feedmail-queue-express-hook)
10461         (feedmail-queue-runner-message-sender): Set :version.
10462         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10463         (bbdb-dwim-net-address, vm-mail): Declare.
10464         (feedmail-binmail-gnulinuxish-template):
10465         Rename from feedmail-binmail-linuxish-template.
10466         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10467         Use insert-buffer-substring.
10469 2011-05-14  Bill Carpenter  <bill@carpenter.org>
10471         * mail/feedmail.el (feedmail-patch-level): Increase.
10472         (feedmail-debug): New custom group.
10473         (feedmail-confirm-outgoing-timeout)
10474         (feedmail-sendmail-f-doesnt-sell-me-out)
10475         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10476         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10477         (feedmail-sender-line, feedmail-from-line)
10478         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10479         (feedmail-spray-this-address)
10480         (feedmail-spray-address-fiddle-plex-list)
10481         (feedmail-queue-use-send-time-for-date)
10482         (feedmail-queue-use-send-time-for-message-id)
10483         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10484         (feedmail-buffer-eating-function):
10485         Doc fixes.
10486         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10487         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10488         (feedmail-message-action-scroll-down): New functions.
10489         (feedmail-queue-directory, feedmail-queue-draft-directory):
10490         Use expand-file-name.
10491         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10492         Remove C-v help entry.
10493         (feedmail-queue-buffer-file-name): New variable.
10494         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10495         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10496         (feedmail-message-action-send-strong, feedmail-message-action-edit)
10497         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10498         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10499         (feedmail-message-action-toggle-spray)
10500         (feedmail-run-the-queue-no-prompts)
10501         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10502         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10503         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10504         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10505         (feedmail-envelope-deducer, feedmail-fiddle-from)
10506         (feedmail-fiddle-sender, feedmail-default-date-generator)
10507         (feedmail-fiddle-date, feedmail-fiddle-message-id)
10508         (feedmail-fiddle-spray-address)
10509         (feedmail-fiddle-list-of-spray-fiddle-plexes)
10510         (feedmail-fiddle-list-of-fiddle-plexes)
10511         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10512         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10513         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10514         Change default.  Doc fix.
10515         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10516         (feedmail-binmail-linuxish-template): New constant.
10517         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
10518         Respect feedmail-sendmail-f-doesnt-sell-me-out.
10519         (feedmail-send-it): Add debug call.
10520         Use feedmail-queue-buffer-file-name, and
10521         feedmail-send-it-immediately-wrapper.
10522         (feedmail-message-action-send): Add debug call.
10523         Use feedmail-send-it-immediately-wrapper.
10524         (feedmail-queue-express-to-queue): Add debug call.
10525         Run feedmail-queue-express-hook.
10526         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
10527         (feedmail-message-action-help-blat):
10528         Rename from feedmail-queue-send-edit-prompt-help-first.
10529         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
10530         Check line-endings.  Handle errors better.
10531         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10532         Doc fix.  Add debug call.
10533         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
10534         Use feedmail-queue-send-edit-prompt-inner.
10535         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10536         (feedmail-queue-send-edit-prompt-inner): New function, extracted
10537         from feedmail-queue-send-edit-prompt.
10538         (feedmail-queue-send-edit-prompt-help)
10539         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10540         (feedmail-tidy-up-slug): Add debug call.
10541         Respect feedmail-queue-slug-suspect-regexp.
10542         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10543         (feedmail-dump-message-to-queue): Add debug call.
10544         Expand queue-directory.
10545         (feedmail-dump-message-to-queue): Change message slightly.
10546         Use feedmail-say-chatter.
10547         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
10548         (feedmail-send-it-immediately-wrapper): New function.
10549         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
10550         Insert empty string rather than newline.  Handle full-frame case.
10551         Use catch/throw.  Use feedmail-say-chatter.
10552         (feedmail-fiddle-from): Try mail-host-address.
10553         (feedmail-default-message-id-generator): Doc fix.
10554         Bind system-time-locale.  Handle missing end.
10555         (feedmail-fiddle-x-mailer): Add debug call.
10556         Handle feedmail-x-mailer-line being nil.
10557         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10558         Add debug call.  Use buffer-substring-no-properties.
10559         (feedmail-say-debug, feedmail-say-chatter): New functions.
10560         (feedmail-find-eoh): Give an explicit error.
10562 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
10564         * net/newst-treeview.el (newsticker-treeview-face): Change default
10565         family from helvetica to sans.
10566         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10567         etc/images/newsticker.
10569         * net/newst-reader.el (newsticker-feed-face): Change default
10570         family from helvetica to sans.
10572         * net/newst-plainview.el (newsticker-new-item-face)
10573         (newsticker-old-item-face, newsticker-immortal-item-face)
10574         (newsticker-obsolete-item-face, newsticker-date-face)
10575         (newsticker-statistics-face): Change default family from
10576         helvetica to sans.
10577         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10578         etc/images/newsticker.
10580         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10581         (newsticker--process-auto-mark-filter-match): : Tell user about
10582         auto-marking.
10584 2011-05-13  Didier Verna  <didier@xemacs.org>
10586         Common Lisp indentation improvements on defmethod and lambda-lists.
10587         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10588         TODO entries.
10589         (lisp-lambda-list-keyword-parameter-indentation)
10590         (lisp-lambda-list-keyword-parameter-alignment)
10591         (lisp-lambda-list-keyword-alignment): New customizable user options.
10592         (lisp-indent-defun-method): Improve docstring.
10593         (extended-loop-p): Fix comment.
10594         (lisp-indent-lambda-list-keywords-regexp): New variable.
10595         (lisp-indent-lambda-list): New function.
10596         (lisp-indent-259): Use it.
10597         (lisp-indent-defmethod): Support for more than one
10598         method qualifier and properly indent methods lambda-lists.
10599         (defgeneric): Provide a missing common-lisp-indent-function property.
10601 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10603         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10604         bounds for the empty string (bug#8667).
10606 2011-05-13  Glenn Morris  <rgm@gnu.org>
10608         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10610         * mail/sendmail.el (sendmail-program): Try executable-find first.
10611         (sendmail-send-it): `sendmail-program' cannot be unbound.
10613         * calendar/appt.el (appt-make-list): Simplify.
10614         (appt-time-msg-list): Doc fix.
10615         (appt-check): Change mode-line message at the time of the appointment.
10617 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10619         * progmodes/ld-script.el (ld-script-keywords)
10620         (ld-script-builtins): Update keywords list.
10622 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10624         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10626         * shell.el (shell-completion-vars): New function.
10627         (shell-mode):
10628         * simple.el (read-shell-command): Use it.
10629         (blink-matching-open): No need for " [...]" in minibuffer-message.
10631 2011-05-12  Glenn Morris  <rgm@gnu.org>
10633         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10634         (appt-check): Simplify.
10636 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
10638         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10639         literal "/dev/null".
10641 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10643         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10644         Fix typo.
10646 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
10648         * progmodes/which-func.el (which-function):
10649         Use add-log-current-defun instead of add-log-current-defun-function,
10650         which might not be defined (Bug#8260).
10652 2011-05-12  Glenn Morris  <rgm@gnu.org>
10654         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10655         Let byte-compile-initial-macro-environment always take precedence.
10657 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10659         * net/rcirc.el: Add support for SSL/TLS connections.
10660         (rcirc-server-alist): New field `encryption'.
10661         (rcirc): Check `encryption' settings.
10662         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
10663         Merge make-local-variable into `set'.
10664         (rcirc--connection-open-p): New function.
10665         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10666         the process is not a network process (e.g. running gnutls-cli).
10667         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10668         Make rcirc-(en|de)code-coding-system local here.
10669         (rcirc-mode): Merge make-local-variable into `set'.
10670         (rcirc-parent-buffer): Make permanent buffer-local.
10671         (rcirc-multiline-minor-mode): Don't do it here.
10672         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10673         there's no server buffer.
10675 2011-05-11  Glenn Morris  <rgm@gnu.org>
10677         * newcomment.el (comment-kill): Prefix "unused" local.
10679         * term/w32console.el (get-screen-color): Declare.
10681         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10682         Handle symbol elements of byte-compile-initial-macro-environment.
10684 2011-05-10  Leo Liu  <sdl.web@gmail.com>
10686         * bookmark.el (bookmark-bmenu-mode-map):
10687         Bind bookmark-bmenu-search to `/'.
10689         * mail/footnote.el: Convert to utf-8 encoding.
10690         (footnote-unicode-string, footnote-unicode-regexp): New variable.
10691         (Footnote-unicode): New function.
10692         (footnote-style-alist): Add unicode style to the list.
10693         (footnote-style): Doc fix.
10695 2011-05-10  Jim Meyering  <meyering@redhat.com>
10697         Fix doubled-word typos.
10698         * international/quail.el (quail-insert-kbd-layout): and and -> and
10699         * kermit.el: and and -> and
10700         * net/ldap.el (ldap-search-internal): to to -> to
10701         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10702         * progmodes/js.el (js-mode): and and -> and
10703         * textmodes/artist.el (artist-move-to-xy): at at -> at
10704         (artist-draw-region-trim-line-endings): if if -> if
10705         And Safetyc -> Safety.
10706         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10708 2011-05-10  Glenn Morris  <rgm@gnu.org>
10709             Stefan Monnier  <monnier@iro.umontreal.ca>
10711         * files.el (hack-one-local-variable-eval-safep):
10712         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
10714 2011-05-10  Glenn Morris  <rgm@gnu.org>
10716         * calendar/diary-lib.el (diary-list-entries-hook)
10717         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10718         (diary-nongregorian-marking-hook, diary-list-entries)
10719         (diary-include-other-diary-files, diary-mark-entries)
10720         (diary-mark-included-diary-files): Doc fixes.
10722 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10724         * misc.el: Require tabulated-list.el during compilation.
10726 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10728         * progmodes/compile.el (compilation-start):
10729         Run compilation-filter-hook for the async case too.
10730         (compilation-filter-hook): Doc fix.
10732 2011-05-09  Deniz Dogan  <deniz@dogan.se>
10734         * wdired.el: Remove outdated installation comment.  Fix usage
10735         comment.
10737 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
10739         * misc.el: Implement new command `list-dynamic-libraries'.
10740         (list-dynamic-libraries--loaded-only-p): New variable.
10741         (list-dynamic-libraries--refresh): New function.
10742         (list-dynamic-libraries): New command.
10744 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
10746         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10747         Fix the ant regexp to handle end-line and end-column info from jikes.
10748         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
10749         higher priority to avoid clobbering by gnu.
10751 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10753         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10754         if the face has existing theme settings (Bug#8454).
10756 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
10758         * progmodes/perl-mode.el (perl-imenu-generic-expression):
10759         Only match variables declared via `my' or `our' (Bug#8261).
10761         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10762         special file names `.' and `..' (Bug#8259).
10764 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
10766         * progmodes/grep.el (grep-mode-font-lock-keywords):
10767         Remove buffer-changing entries.
10768         (grep-filter): New function.
10769         (grep-mode): Add it to compilation-filter-hook.
10771         * progmodes/compile.el (compilation-filter-hook)
10772         (compilation-filter-start): New defvars.
10773         (compilation-filter): Call compilation-filter-hook prior to
10774         updating the process mark.
10776 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10778         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10780 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
10782         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10783         mailclient-send-it even if window-system is nil.  (Bug#8595)
10785         * term/w32console.el (terminal-init-w32console):
10786         Call get-screen-color and use its output to set the frame
10787         background-mode.  (Bug#8597)
10789 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10791         Make bytecomp.el understand that defmethod defines funs (bug#8631).
10792         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10793         New functions.
10794         (defgeneric, eieio--defmethod): Use them.
10795         (eieio-defgeneric): Remove.
10796         (defmethod): Call defgeneric in a way visible to the byte-compiler.
10798 2011-05-07  Glenn Morris  <rgm@gnu.org>
10800         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10801         Use let rather than let*.
10802         (timeclock-find-discrep): Remove unused local.
10804         * calendar/diary-lib.el (diary-comment-start): Doc fix.
10806         * calendar/appt.el (appt-time-msg-list): Doc fix.
10808 2011-05-06  Noah Friedman  <friedman@splode.com>
10810         * apropos.el (apropos-print-doc): Only use
10811         emacs-lisp-docstring-fill-column when it is bound to an integer,
10812         per that variable's documentation.
10814 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10816         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10817         and warnings are not silently discarded (e.g. use -d instead of -P).
10819 2011-05-06  Glenn Morris  <rgm@gnu.org>
10821         * calendar/appt.el (appt-message-warning-time): Doc fix.
10822         (appt-warning-time-regexp): New option.
10823         (appt-make-list): Respect appt-message-warning-time.
10825         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10826         New options.
10827         (diary-add-to-list): Strip comments from the displayed string.
10828         (diary-mode): Set comment-start and comment-end.
10830         * vc/diff-mode.el (smerge-refine-subst): Declare.
10831         (diff-refine-hunk): Don't require smerge-mode when compiling.
10833 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
10835         * simple.el (list-processes): Return nil as the docstring says.
10837 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10839         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10840         to "".
10841         (ange-ftp-write-region, ange-ftp-insert-file-contents)
10842         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10843         determining of binary transfer.  (Bug#7383)
10845 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
10847         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10848         Fix port computation bug.  (Bug#8618)
10850 2011-05-05  Glenn Morris  <rgm@gnu.org>
10852         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10854         * simple.el (shell-dynamic-complete-functions)
10855         (comint-dynamic-complete-functions): Declare.
10857         * net/network-stream.el (gnutls-negotiate):
10858         * simple.el (tabulated-list-print): Fix declarations.
10860         * progmodes/gud.el (syntax-symbol, syntax-point):
10861         Remove unnecessary and incorrect declarations.
10863         * emacs-lisp/check-declare.el (check-declare-scan):
10864         Handle byte-compile-initial-macro-environment in bytecomp.el
10866 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         Fix earlier half-done eieio-defmethod change (bug#8338).
10869         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10870         Streamline and change calling convention.
10871         (defmethod): Adjust accordingly and simplify.
10872         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10873         new eieio--defmethod.
10874         (slot-boundp): Minor CSE simplification.
10876 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
10878         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10879         (glasses-make-readable): Use glasses-separate-capital-groups.
10881 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
10883         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10884         (warning-series): Doc fix.
10885         (display-warning): Don't try to create the buffer if we just found it.
10887 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
10889         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10890         (autoload-find-generated-file): New function.
10891         (generate-file-autoloads): Bind generated-autoload-file to
10892         buffer-file-name.
10893         (update-file-autoloads, update-directory-autoloads):
10894         Use autoload-find-generated-file.  If called interactively, prompt for
10895         output file (Bug#7989).
10896         (batch-update-autoloads): Doc fix.
10898 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
10900         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10902 2011-05-04  Glenn Morris  <rgm@gnu.org>
10904         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10905         function, so it follows changes in calendar-date-style.
10906         (diary-fancy-date-matcher): New function.
10907         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10908         (diary-fancy-font-lock-fontify-region-function):
10909         Use diary-fancy-date-pattern as a function.
10911         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10912         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
10914 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
10916         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10917         instead of positional arguments.  Allow :keylist and :crlfiles
10918         arguments.
10919         (open-gnutls-stream): Call it.
10921         * net/network-stream.el (network-stream-open-starttls): Adjust to
10922         call `gnutls-negotiate' with :process and :hostname arguments.
10924 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10926         * minibuffer.el (completion--message): New function.
10927         (completion--do-completion, minibuffer-complete)
10928         (minibuffer-force-complete, minibuffer-complete-word): Use it.
10929         (completion--do-completion): Don't ignore completion-auto-help when in
10930         icomplete-mode.
10932         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10933         internal encoding (e.g. tibetan zero is not whitespace).
10934         (global-whitespace-mode): Prefer save-current-buffer.
10935         (whitespace-trailing-regexp): Remove useless save-match-data.
10936         (whitespace-empty-at-bob-regexp): Minor simplification.
10938 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
10940         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10942 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10944         * textmodes/ispell.el (ispell-add-per-file-word-list):
10945         Use `concat' to create string for insertion.
10947 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10949         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10950         Avoid open-line which runs post-self-insert-hook.
10951         (bibtex-fill-entry): Remove unused `end' var.
10953 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10955         * textmodes/ispell.el (ispell-add-per-file-word-list):
10956         Protect against `nil' value of `comment-start' (Bug#8579).
10958 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10960         * isearch.el (isearch-yank-pop): New command.
10961         (isearch-mode-map): Bind it to `M-y'.
10962         (isearch-forward): Mention it.
10964 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10966         * simple.el (minibuffer-complete-shell-command): Remove.
10967         (minibuffer-local-shell-command-map): Use completion-at-point.
10968         (read-shell-command): Setup completion vars here instead.
10969         (read-expression-map): Bind TAB to symbol completion.
10971         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10972         error directly rather via storing it into `results'.
10974 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10976         * vc/diff.el: Fix description.
10978 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10980         * server.el (server-eval-at): New function.
10982 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10984         * net/network-stream.el (open-network-stream): Take a :nowait
10985         parameter and pass it on to `make-network-process'.
10986         (network-stream-open-plain): Ditto.
10988 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10990         * faces.el (face-spec-set-match-display): Don't match toolkit
10991         options on terminal frames.
10993 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10995         * progmodes/pascal.el: Use lexical binding.
10996         (pascal-mode-map): Remove author preferences.
10998         * pcomplete.el (pcomplete-std-complete): Don't abuse
10999         completion-at-point.
11001 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11003         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11004         removing code that has been dead since 1991 or so.
11006         * startup.el (command-line): When warning about "_emacs", use a
11007         delayed warning to allow the user to filter it out.
11009 2011-04-28  Deniz Dogan  <deniz@dogan.se>
11011         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11012         user has not joined.
11014 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11016         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11017         aren't any completions at point.
11019 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11021         * subr.el (display-delayed-warnings): New function.
11022         (delayed-warnings-hook): New variable.
11024 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11026         * minibuffer.el (completion-at-point, completion-help-at-point):
11027         Don't presume that a given completion-at-point-function will always
11028         use the same calling convention.
11030         * pcomplete.el (pcomplete-completions-at-point):
11031         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
11032         pcomplete-seen is non-nil.
11033         (pcomplete-comint-setup): Also recognize the new comint/shell
11034         completion functions.
11035         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11036         pcomplete-seen is non-nil.
11038 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
11040         * calendar/icalendar.el (diary-lib): Add require statement.
11041         (icalendar--create-uid): Read out a uid from a text-property on
11042         the first character in the entry.  This allows for code to add its
11043         own uid to the entry.
11044         (icalendar--convert-float-to-ical): Add export of
11045         `diary-float'-entries save for those with the optional DAY
11046         argument.
11048 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
11050         * subr.el (shell-quote-argument): Use alternate escaping strategy
11051         when we spot a variable reference in a string.
11053 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11055         * cus-start.el (all): Define customization for debug-on-event.
11057 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11059         * subr.el (shell-quote-argument): Escape correctly under Windows.
11061 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11065 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
11067         * net/tramp.el (tramp-process-actions): Add POS argument.
11068         Delete region between POS and (pos).
11070         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11071         Use `nil' position in `tramp-process-actions' call.
11072         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11074         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11075         position in `tramp-process-actions' call.
11077         * net/trampver.el: Update release number.
11079 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11081         * custom.el (defcustom): Obey lexical-binding.
11083         Fix octave-inf completion problems reported by Alexander Klimov.
11084         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11085         Inherit from octave-mode-syntax-table.
11086         (inferior-octave-mode): Set info-lookup-mode.
11087         (inferior-octave-completion-at-point): New function.
11088         (inferior-octave-complete): Use it and completion-in-region.
11089         (inferior-octave-dynamic-complete-functions): Use it as well, and use
11090         comint-filename-completion.
11091         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11092         symbol elements which shouldn't be word elements.
11093         (octave-font-lock-keywords, octave-beginning-of-defun)
11094         (octave-function-header-regexp): Adjust regexps accordingly.
11095         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11097 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
11099         * net/gnutls.el (gnutls-errorp): Declare before first use.
11101 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
11103         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11104         verify-error, and verify-hostname-error parameters.  Check whether
11105         default trustfile exists before going to use it.  Add missing
11106         argument to gnutls-message-maybe call.  Return value.
11107         Reported by Claudio Bley <claudio.bley@gmail.com>.
11108         (open-gnutls-stream): Add usage example.
11110         * net/network-stream.el (network-stream-open-starttls): Give host
11111         parameter to `gnutls-negotiate'.
11112         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11113         * subr.el (shell-quote-argument): Escape correctly under Windows.
11115 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
11117         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11118         Use correct match group (bug#8438).
11120 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11122         * emacs-lisp/package.el (package-built-in-p): Fix typo.
11123         (package-menu--generate): New arg specifying packages to show.
11124         (package-menu-refresh, package-menu-execute, list-packages):
11125         Callers changed.
11126         (package-show-package-list): New function, replacing deleted
11127         package--list-packages (renamed because it is non-internal).
11129         * finder.el (finder-list-matches): Use package-show-package-list
11130         instead of deleted package--list-packages.
11132         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11133         Based on a previous implementation by Juanma Barranquero (Bug#8366).
11134         (vc-annotate-mode-map): Bind it to RET.
11136 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11138         * progmodes/etags.el (next-file): Don't use set-buffer to change
11139         buffers (Bug#8478).
11141 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11143         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11145         * apropos.el (apropos-label-face): Avoid variable-pitch face.
11146         (apropos-accumulator): Doc fix.
11147         (apropos-function, apropos-macro, apropos-command)
11148         (apropos-variable, apropos-face, apropos-group, apropos-widget)
11149         (apropos-plist): Add face property.
11150         (apropos-symbols-internal): Fix indentation.
11151         (apropos-print): Simplify help, and recognize apropos-multi-type.
11152         (apropos-print-doc): Use button-type-get to extract the button's
11153         face property.  Fill docstring (Bug#8352).
11155 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
11157         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11159         * play/mpuz.el (mpuz-silent): Doc fix.
11160         (mpuz-mode-map): Use mapc.
11161         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11162         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11163         Fix typos in docstrings.
11165         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11166         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11168         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11170 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
11172         * minibuffer.el (completion--do-completion): Avoid the "Next char
11173         not unique" prompt if icomplete-mode is enabled (Bug#5849).
11175         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11176         mouse-2 into unread-command-events, it is interpreted correctly.
11178         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11179         (image-toggle-display): Doc fix.
11181 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
11183         * textmodes/page.el (what-page): Use line-number-at-pos to
11184         calculate line number (Bug#6825).
11186 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11188         * eshell/esh-mode.el (find-tag-interactive): Declare function.
11189         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11190         Pass argument NO-DEFAULT to `find-tag-interactive'.
11192 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11194         Lexical-binding cleanup.
11196         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11197         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11198         * progmodes/ada-prj.el (ada-prj-initialize-values)
11199         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11200         (ada-prj-show-value):
11201         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11202         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11203         (antlr-invalidate-context-cache, antlr-options-menu-filter)
11204         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11205         * progmodes/bug-reference.el (bug-reference-push-button):
11206         * progmodes/fortran.el (fortran-line-length):
11207         * progmodes/glasses.el (glasses-change):
11208         * progmodes/octave-mod.el (octave-fill-paragraph):
11209         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11210         (python-pdbtrack-grub-for-buffer, python-sentinel):
11211         * progmodes/sql.el (sql-save-connection):
11212         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11213         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11214         Mark unused parameters.
11216         * progmodes/compile.el (compilation--flush-directory-cache)
11217         (compilation--flush-parse, compile-internal): Mark unused parameters.
11218         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11219         (compilation-next-error-function): Remove unused variable `timestamp'.
11221         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11222         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11224         * progmodes/dcl-mode.el (dcl-end-of-command):
11225         Remove unused variable `start'.
11226         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11227         (dcl-option-value-basic, dcl-option-value-offset)
11228         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11229         Mark unused parameters.
11230         (dcl-save-local-variable): Remove unused variable `val'.
11231         (mode): Declare.
11233         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11234         Mark unused parameters.
11235         (delphi-ignore-changes): Move before first use.
11236         (delphi-charset-token-at): Remove unused variable `start'.
11237         (delphi-else-start): Remove unused variable `if-count'.
11238         (delphi-comment-block-start, delphi-comment-block-end):
11239         Remove unused variable `kind'.
11240         (delphi-indent-line): Remove unused variable `new-point'.
11242         * progmodes/ebrowse.el (ebrowse-files-list)
11243         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11244         Mark unused parameters.  Don't quote `lambda'.
11245         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11246         Don't quote `lambda'.
11247         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11248         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11249         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11250         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11251         Use `ignore-errors'.
11252         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11253         (ebrowse-view/find-file-and-search-pattern)
11254         (ebrowse-view/find-member-declaration/definition):
11255         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11256         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11257         Rename parameter PREFIX-ARG to PREFIX.
11258         (ebrowse-tags-read-name): Remove unused variables `start' and
11259         `member-info'.
11260         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11261         to `tags-file'.
11263         * progmodes/etags.el (local-find-tag-hook): Declare.
11264         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11265         Mark unused parameters.
11267         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11268         (executable-interpret): Mark unused parameter.
11270         * progmodes/flymake.el (flymake-process-sentinel)
11271         (flymake-after-change-function)
11272         (flymake-create-temp-with-folder-structure)
11273         (flymake-get-include-dirs-dot): Mark unused parameters.
11274         (flymake-safe-delete-directory): Remove unused variable `err'.
11276         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11277         (speedbar-timer-fn, speedbar-line-text)
11278         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11279         (speedbar-center-buffer-smartly): Declare functions.
11280         (gdb-find-watch-expression): Remove unused variable `array'.
11281         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11282         (gdb-starting): Mark unused parameters.
11283         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11284         (gdb-table-string): Remove unused variable `res'.
11285         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11286         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11287         (gdb-display-buffer): Remove unused variable `cur-size'.
11289         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11290         allow lexical-binding compilation.
11291         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11292         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11293         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11294         Mark unused parameters.
11295         (gud-gdb-marker-filter): Remove unused variable `match'.
11296         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11297         lambda expressions and funcall them, instead of using `fset'.
11299         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11300         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11302         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11303         variable `header-beg'; use `let'.
11305         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11306         `restart', `last-sexp' and `at-do'.
11308         * progmodes/js.el (js--debug): Mark unused parameter.
11309         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11310         (js--splice-into-items): Remove unused variable `item'.
11311         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11313         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11314         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11315         (makefile-complete): Remove unused variable `try'.
11316         (makefile-fill-paragraph, makefile-match-function-end):
11317         Mark unused parameters.
11319         * progmodes/octave-inf.el (inferior-octave-complete):
11320         Remove unused variable `proc'.
11321         (inferior-octave-output-digest): Mark unused parameter.
11323         * progmodes/perl-mode.el (perl-calculate-indent):
11324         Remove unused variable `err'.
11326         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11327         (prolog-indent-line): Mark unused parameters.
11328         (prolog-indent-line): Remove unused variable `beg'.
11330         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11331         (reporter-dont-compact-list): Declare.
11333         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11334         Remove unused variable `char'.
11335         (sh-debug): Mark unused parameter.
11336         (sh-get-indent-info): Remove unused variable `start'.
11337         (sh-calculate-indent): Remove unused variable `var'.
11339         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11340         (simula-electric-keyword): Remove unused variable `null'.
11341         (simula-search-backward, simula-search-forward): Remove unused
11342         variables `begin' and `end'.
11344         * progmodes/vera-mode.el (vera-guess-basic-syntax):
11345         Remove unused variable `pos'.
11346         (vera-electric-tab, vera-comment-uncomment-region):
11347         Mark unused parameters.
11348         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11350 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
11352         * emacs-lisp/package.el (package--builtins, package-alist)
11353         (package-load-descriptor, package-built-in-p, package-activate)
11354         (define-package, package-installed-p)
11355         (package-compute-transaction, package-buffer-info)
11356         (package--push): Doc fix.  Distinguish more clearly between
11357         version strings and version lists.
11359 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
11361         Lexical-binding cleanup.
11363         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11364         (5x5-make-mutate-best):
11365         * play/fortune.el (fortune-in-buffer):
11366         * play/gomoku.el (gomoku-init-display):
11367         * play/solitaire.el (solitaire, solitaire-do-check):
11368         * play/tetris.el (tetris-default-update-speed-function):
11369         Mark unused parameters.
11371         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11372         (bubbles--shift): Remove unused variable `char-org'.
11373         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
11374         (bubbles--show-images): Remove unused variable `char'.
11376         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11377         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11378         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11379         (decipher-analyze-buffer): Use ?\s.
11380         (decipher-make-checkpoint): Remove unused variable `mapping'.
11382         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11384         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11385         Remove unused variable `result'; use `let'.
11387         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11388         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11389         (gametree-children-shown-p, gametree-compute-reduced-score):
11390         Use `ignore-errors'.
11392         * play/handwrite.el (ps-lpr-switches): Declare.
11393         (handwrite): Remove unused variables `pmin' and `lastp'.
11395         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11397         * play/landmark.el (landmark-init-display)
11398         (landmark-update-naught-weights): Mark unused parameters.
11399         (landmark-y): Remove unused variable `noise'.  Simplify.
11400         (landmark-human-plays): Remove unused variable `score'.
11402         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11403         (mpuz-try-proposal): Remove unused variable `game'.
11405         * play/zone.el (life-patterns): Declare.
11407 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
11409         * vc/vc.el (ediff-vc-internal): Declare function.
11411 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11413         * shell.el: Use lexical-binding and std completion UI.
11414         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11415         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11416         comint-preoutput-filter-functions rather than on
11417         comint-output-filter-functions.
11418         (shell-command-completion, shell--command-completion-data)
11419         (shell-filename-completion, shell-environment-variable-completion)
11420         (shell-c-a-p-replace-by-expanded-directory): New functions.
11421         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11422         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11423         (shell-dynamic-complete-environment-variable): Use them.
11424         (shell-dynamic-complete-as-environment-variable)
11425         (shell-dynamic-complete-as-command): Remove.
11426         (shell-match-partial-variable): Match past point.
11427         * comint.el: Clean up use of completion-at-point-functions.
11428         (comint-completion-at-point): New function.
11429         (comint-mode): Use it completion-at-point-functions.
11430         (comint-dynamic-complete): Make it obsolete.
11431         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11432         (comint-c-a-p-replace-by-expanded-history): New function.
11433         (comint-dynamic-complete-functions)
11434         (comint-replace-by-expanded-history): Use it.
11435         * minibuffer.el (completion-table-with-terminator): Allow dynamic
11436         termination strings.  Try harder to avoid second try-completion.
11437         (completion-in-region-mode-map): Disable bindings that don't work yet.
11439         * comint.el: Use lexical-binding.  Require CL.
11440         (comint-dynamic-complete-functions): Use comint-filename-completion.
11441         (comint-completion-addsuffix): Tweak custom type.
11442         (comint-filename-completion, comint--common-suffix)
11443         (comint--common-quoted-suffix, comint--table-subvert)
11444         (comint--complete-file-name-data): New functions.
11445         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11446         (comint-dynamic-list-filename-completions): Use them.
11447         (comint-dynamic-simple-complete): Make obsolete.
11449         * minibuffer.el (completion-in-region-mode):
11450         Keep completion-in-region-mode--predicate global.
11451         (completion-in-region--postch):
11452         Assume completion-in-region-mode--predicate is not null.
11454         * progmodes/flymake.el (flymake-start-syntax-check-process):
11455         Obey `dir'.  Simplify.
11457         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11458         we're in VC after all.
11460 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
11462         * vc/vc.el (vc-diff-build-argument-list-internal)
11463         (vc-version-ediff, vc-ediff): New commands.
11464         (vc-version-diff): Use vc-diff-build-argument-list-internal.
11466 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11468         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11469         add sanity check.
11471         * obsolete/erc-hecomplete.el: Make obsolete.
11472         * obsolete/: Standardize obsolescence info in the header.
11474 2011-04-20  Glenn Morris  <rgm@gnu.org>
11476         * calendar/solar.el (solar-horizontal-coordinates):
11477         Use the longitude argument rather than `calendar-longitude'.
11478         (solar-date-next-longitude): Remove unused locals.
11480 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11482         * whitespace.el: New version 13.2.1.
11484 2011-04-20  felix  <EmacsWiki>  (tiny change)
11486         * whitespace.el (global-whitespace-mode): Keep highlight when
11487         switching between major modes on a file.
11489 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11491         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11492         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11493         multi-line comments as well.
11495 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
11497         Lexical-binding cleanup.
11499         * arc-mode.el (archive-mode-revert):
11500         * cmuscheme.el (scheme-interactively-start-process):
11501         * custom.el (custom-initialize-delay):
11502         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11503         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11504         * emacs-lock.el (emacs-lock-clear-sentinel):
11505         * ezimage.el (defezimage):
11506         * follow.el (follow-avoid-tail-recenter):
11507         * fringe.el (set-fringe-mode-1):
11508         * generic-x.el (bat-generic-mode-compile):
11509         * help-mode.el (help-info-variable, help-do-xref)
11510         (help-mode-revert-buffer):
11511         * help.el (view-emacs-todo):
11512         * iswitchb.el (iswitchb-completion-help):
11513         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11514         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11515         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11516         * locate.el (locate-update):
11517         * longlines.el (longlines-encode-region)
11518         (longlines-after-change-function):
11519         * outline.el (outline-isearch-open-invisible):
11520         * ps-def.el (declare-function, charset-dimension, char-width)
11521         (encode-char):
11522         * ps-mule.el (ps-mule-plot-string):
11523         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11524         (recentf-edit-list-select, recentf-edit-list-validate)
11525         (recentf-open-files-action):
11526         * rect.el (delete-whitespace-rectangle-line)
11527         (rectangle-number-line-callback):
11528         * register.el (window-configuration-to-register)
11529         (frame-configuration-to-register):
11530         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11531         * select.el (xselect-convert-to-string, xselect-convert-to-length)
11532         (xselect-convert-to-targets, xselect-convert-to-delete)
11533         (xselect-convert-to-filename, xselect-convert-to-charpos)
11534         (xselect-convert-to-lineno, xselect-convert-to-colno)
11535         (xselect-convert-to-os, xselect-convert-to-host)
11536         (xselect-convert-to-user, xselect-convert-to-class)
11537         (xselect-convert-to-name, xselect-convert-to-integer)
11538         (xselect-convert-to-atom, xselect-convert-to-identity):
11539         * subr.el (declare, ignore, process-kill-without-query)
11540         (text-clone-maintain):
11541         * terminal.el (te-get-char, te-tic-sentinel):
11542         * tool-bar.el (tool-bar-make-keymap):
11543         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11544         * type-break.el (type-break-mode, type-break-noninteractive-query):
11545         * view.el (View-back-to-mark):
11546         * wid-browse.el (widget-browse-action, widget-browse-widget)
11547         (widget-browse-widgets, widget-browse-sexp):
11548         * widget.el (define-widget-keywords):
11549         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11550         Mark unused parameters.
11552         * align.el (align-adjust-col-for-rule): Mark unused parameter.
11553         (align-areas): Remove unused variable `look'.
11554         (align-region): Remove unused variables `real-end' and `pos-list'.
11556         * apropos.el (apropos-score-doc): Remove unused variable `i'.
11558         * bindings.el (mode-line-modified, mode-line-remote):
11559         Mark unused parameters.
11560         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11562         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11563         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11565         * comint.el (comint-history-isearch-pop-state)
11566         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11567         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11568         (comint-substitute-in-file-name): Doc fix.
11570         * completion.el (cmpl-statistics-block): Mark unused parameter.
11571         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11572         (save-completions-to-file, load-completions-from-file):
11573         Remove unused local variable `e'.
11575         * composite.el (compose-chars): Remove unused variable `len'.
11576         (lgstring-insert-glyph): Remove unused variable `g'.
11577         (compose-glyph-string): Remove unused variables `ascent',
11578         `descent', `lbearing' and `rbearing'.
11579         (compose-glyph-string-relative): Remove unused variables
11580         `lbearing', `rbearing' and `wadjust'.
11581         (compose-gstring-for-graphic): Remove unused variables `header',
11582         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
11583         (compose-gstring-for-terminal): Remove unused variables `header'
11584         and `nchars'.  Use `let', not `let*'.
11586         * cus-edit.el (Custom-set, Custom-save, custom-reset)
11587         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11588         (Custom-buffer-done, custom-buffer-create-internal)
11589         (custom-browse-visibility-action, custom-browse-group-tag-action)
11590         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11591         (widget-magic-mouse-down-action, custom-toggle-parent)
11592         (custom-add-parent-links, custom-toggle-hide-variable)
11593         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11594         (custom-toggle-hide-face, face, hook, custom-group-link-action)
11595         (custom-face-menu-create, custom-variable-menu-create, get)
11596         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11597         (custom-reset-standard-save-and-update): Remove unused variable `value'.
11598         (customize-apropos): Remove unused variable `tests'.
11599         (custom-group-value-create): Remove unused variable `hidden-p'.
11600         (sort-fold-case): Declare.
11602         * cus-theme.el (custom-reset-standard-faces-list)
11603         (custom-reset-standard-variables-list): Declare.
11604         (customize-create-theme, custom-theme-revert, custom-theme-write)
11605         (custom-theme-choose-mode, customize-themes, custom-theme-save):
11606         Mark unused parameters.
11608         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11610         * delim-col.el (delimit-columns-max): Move defvar before first use.
11612         * descr-text.el (describe-char-categories): Don't quote `lambda'.
11613         (describe-char): Don't quote `lambda'.  Mark unused parameter.
11615         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11616         (auto-insert): Declare.
11617         (desktop-restore-file-buffer): Rename desktop-* parameters;
11618         mark unused ones.
11619         (desktop-create-buffer): Rename desktop-* parameters and bind them.
11620         (desktop-buffer): Rename desktop-* parameters.
11622         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11623         (dframe-reposition-frame-xemacs, dframe-help-echo)
11624         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11625         Mark unused parameters.
11627         * dired-aux.el (backup-extract-version-start, overwrite-query)
11628         (overwrite-backup-query, rename-regexp-query)
11629         (rename-non-directory-query): Declare.
11630         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11631         (dired-add-entry): Remove unused variable `orig-file-name'.
11632         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11633         Use parameter PRESERVE-TIME instead of accessing dynamic variable
11634         `dired-copy-preserve-time' directly.
11635         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11636         (dired-insert-subdir-newpos): Rename unused variable `pos'.
11638         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11639         (dired-virtual-revert, dired-make-relative-symlink):
11640         Mark unused parameters.
11641         (manual-program): Declare.
11642         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11643         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11644         wrapped in `with-no-warnings' to avoid replacing one warning by another.
11646         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11648         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11650         * echistory.el (electric-history-in-progress, Helper-return-blurb):
11651         Declare.
11653         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11655         * electric.el (Electric-command-loop): Rename parameter
11656         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11658         * expand.el (expand-in-literal): Remove unused variable `here'.
11660         * facemenu.el (facemenu-add-new-color):
11661         Remove unused variable `docstring'.
11663         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11664         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11665         (face-attr-construct): Mark unused parameter.  Doc fix.
11666         (read-color): Remove unused variable `hex-string'.
11668         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11669         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11670         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11671         (display-buffer-other-frame): Remove unused variable `old-window'.
11672         (kill-buffer-hook): Declare.
11673         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11674         Mark unused parameters.
11675         (after-find-file): Pass 1 to `auto-save-mode', not t.
11677         * files-x.el (auto-insert): Declare.
11678         (modify-file-local-variable-prop-line): Remove unused variable `val'.
11680         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11681         variable `buf'.  Mark unused parameter.
11682         (find-lisp-insert-directory): Mark unused parameter.
11684         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11685         (format-encode-region): Remove unused variables `cur-buf' and `result'.
11686         (format-common-tail): Remove, unused.
11687         (format-deannotate-region): Remove unused variable `loc'.
11688         (format-annotate-region): Remove unused variable `p'.
11689         (format-annotate-single-property-change): Remove unused variables
11690         `default' and `tail'.
11692         * forms.el (read-file-filter): Declare.
11693         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11695         * frame.el (frame-creation-function-alist): Mark unused parameter.
11696         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11698         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11699         Remove unused parameters.
11700         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11701         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11703         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11704         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11705         (hfy-prepare-tag-map): Mark unused parameters.
11706         (htmlfontify-buffer): Use `called-interactively-p'.
11708         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11709         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11710         (ibuffer-do-occur): Mark unused parameters.
11711         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11712         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11714         * ibuffer.el: Don't quote `lambda'.
11715         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11716         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11717         Mark unused parameters.
11719         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11720         (ido-completing-read): Mark unused parameters.
11721         (ido-copy-current-word): Mark unused parameters;
11722         remove unused variable `name'.
11723         (ido-sort-merged-list): Remove unused parameter `dirs'.
11725         * ielm.el (ielm-input-sender): Mark unused parameter.
11726         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11727         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11728         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11729         `ielm-string' as a dynamic variable accessible from the IELM prompt.
11730         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
11732         * image-dired.el (image-dired-display-thumbs): Remove unused
11733         variables `curr-file' and `count'.
11734         (image-dired-remove-tag): Remove unused variable `start'.
11735         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11736         variable `curr-file'
11737         (image-dired-rotate-original): Remove unused variable `temp-file'.
11738         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11739         Remove unused variable `file'.
11740         (image-dired-gallery-generate): Remove unused variable `curr'.
11741         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11743         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11745         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11747         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11749         * isearch.el (minibuffer-history-symbol): Declare.
11750         (isearch-edit-string): Remove unused variable `err'.
11751         (isearch-message-prefix, isearch-message-suffix):
11752         Mark unused parameters.
11754         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11756         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11758         * makesum.el (double-column): Remove unused variable `cnt'.
11760         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11761         (ido-ignore-item-temp-list): Declare.
11763         * mouse-drag.el (mouse-drag-throw): Remove unused variables
11764         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11765         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11766         (mouse-drag-drag): Remove unused variables `mouse-delta' and
11767         `mouse-col-delta'.
11769         * mouse-sel.el (mouse-extend-internal):
11770         Remove unused variable `orig-window-frame'.
11772         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11773         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11774         Move declarations before first use.
11775         (pcomplete-opt): Mark unused parameters; doc fix.
11777         * proced.el (proced-revert): Mark unused parameter.
11778         (proced-send-signal): Remove unused variable `err'.
11780         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11781         Rename parameter PREFIX-ARG to ARG.
11782         (ps-basic-plot-string, ps-basic-plot-whitespace):
11783         Mark unused parameters.
11785         * replace.el (replace-count): Define.
11786         (occur-revert-function): Mark unused parameters.
11787         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11788         (isearch-case-fold-search, isearch-string): Declare.
11789         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11790         bind `case-fold-search'.  Remove unused variables `beg' and `end',
11791         and simplify.
11792         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11793         COUNT and bind `replace-count'.
11794         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11795         to COUNT.
11797         * savehist.el (print-readably, print-string-length): Declare.
11799         * shadowfile.el (shadow-expand-cluster-in-file-name):
11800         Remove unused variable `cluster'.
11801         (shadow-copy-file): Remove unused variable `i'.
11802         (shadow-noquery, shadow-clusters, shadow-site-cluster)
11803         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11804         (shadow-define-literal-group, shadow-define-regexp-group)
11805         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11807         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11808         (shell): Use `called-interactively-p'.
11809         (shell-directory-tracker): Remove unused variable `chdir-failure'.
11811         * simple.el (compilation-context-lines, comint-file-name-quote-list)
11812         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11813         (delete-backward-char): Remove unused variable `ocol'.
11814         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11815         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11816         (event-apply-hyper-modifier, event-apply-shift-modifier)
11817         (event-apply-control-modifier, event-apply-meta-modifier):
11818         Mark unused parameters.
11819         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11820         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11822         * speedbar.el (speedbar-ignored-directory-expressions)
11823         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11824         (speedbar-find-file, speedbar-dir-follow)
11825         (speedbar-directory-buttons-follow, speedbar-tag-find)
11826         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11827         (speedbar-buffers-line-directory, speedbar-buffer-click):
11828         Mark unused parameters.
11829         (speedbar-tag-file): Remove unused variable `mode'.
11830         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11832         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11834         * talk.el (talk): Remove unused variable `display'.
11836         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11837         (tar-write-region-annotate): Mark unused parameter.
11839         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11840         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11841         Declare them, wrapped in `with-no-warnings' to avoid replacing one
11842         warning by another.
11844         * time-stamp.el (time-stamp-string-preprocess):
11845         Remove unused variable `require-padding'.
11847         * tree-widget.el (widget-glyph-enable): Declare.
11848         (tree-widget-action): Mark unused parameter.
11850         * w32-fns.el (x-get-selection): Mark unused parameter.
11851         (autoload-make-program, generated-autoload-file): Declare.
11853         * wdired.el (wdired-revert): Mark unused parameters.
11854         (wdired-xcase-word): Remove unused variable `err'.
11856         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11857         (whitespace-help-scroll): Remove unused variable `data-help'.
11859         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11860         (widget-image-insert, widget-after-change, default)
11861         (widget-default-format-handler, widget-default-notify)
11862         (widget-default-prompt-value, widget-info-link-action)
11863         (widget-url-link-action, widget-function-link-action)
11864         (widget-variable-link-action, widget-file-link-action)
11865         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11866         (widget-field-prompt-internal, widget-field-action, widget-field-match)
11867         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11868         (widget-insert-button-action, widget-delete-button-action, visibility)
11869         (widget-documentation-link-action, widget-documentation-string-action)
11870         (widget-const-prompt-value, widget-regexp-match, symbol)
11871         (widget-coding-system-prompt-value)
11872         (widget-key-sequence-value-to-external, sexp)
11873         (widget-sexp-value-to-internal, character, vector, cons)
11874         (widget-choice-prompt-value, widget-boolean-prompt-value)
11875         (widget-color--choose-action): Mark unused parameters.
11876         (widget-item-match-inline, widget-choice-match-inline)
11877         (widget-checklist-match, widget-checklist-match-inline)
11878         (widget-group-match): Rename parameter VALUES to VALS.
11879         (widget-field-value-set): Remove unused variable `size'.
11880         (widget-color-action): Remove unused variables `value' and `start'.
11882         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11883         variable `dir'.  Doc fix.
11884         (windmove-find-other-window): Don't pass it.
11886         * window.el (count-windows): Mark unused parameter.
11887         (bw-adjust-window): Remove unused variable `err'.
11889         * woman.el (woman-file-name): Remove unused variable `default'.
11890         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11891         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11892         (global-font-lock-mode): Declare.
11893         (woman-decode-region): Mark unused parameter.
11894         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11896         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11897         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11898         (x-dnd-handle-moz-url): Remove unused variable `title'.
11899         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11901         * xml.el (xml-parse-tag, xml-parse-attlist):
11902         Remove unused variable `pos'.
11904 2011-04-19  Glenn Morris  <rgm@gnu.org>
11906         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11907         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11908         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11909         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11910         * calendar/cal-html.el (cal-html-insert-minical):
11911         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11912         (calendar-mark-date-pattern):
11913         Prefix "unused" locals.
11915         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11916         optional argument `style'.
11918         * calendar/appt.el (appt-make-list):
11919         * calendar/cal-china.el (calendar-chinese-date-string):
11920         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11921         (diary-hebrew-yahrzeit):
11922         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11923         * calendar/calendar.el (calendar-generate-window):
11924         * calendar/time-date.el (time-to-days):
11925         Remove unused local variables.
11927 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
11929         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11930         glyphless-char-display table.
11931         (tabulated-list-glyphless-char-display): New var.
11933 2011-04-18  Sam Steingold  <sds@gnu.org>
11935         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11936         to acknowledgments.
11938 2011-04-17  Glenn Morris  <rgm@gnu.org>
11940         * calendar/diary-lib.el (diary-sexp-entry):
11941         * calendar/holidays.el (holiday-sexp):
11942         Set debug-on-error rather than the removed stack-trace-on-error.
11944 2011-04-16  Glenn Morris  <rgm@gnu.org>
11946         * progmodes/f90.el: Use lexical-binding.
11947         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11949 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11951         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11952         (mail-mode): Setup mailalias completion here instead.
11953         * mail/mailalias.el: Use lexical-binding.
11954         (pattern, mailalias-done): Declare dynamic.
11955         (mail-completion-at-point-function): New function, from mail-complete.
11956         (mail-complete): Use it.
11957         (mail-completion-expand): New function.
11958         (mail-get-names): Use it.
11959         (mail-directory, mail-directory-process, mail-directory-stream):
11960         Don't use `pattern' for lexically bound arg.
11962         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11964         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11965         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11966         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11968         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11969         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11970         (byte-interactive-p): Define them again, for use when inlining
11971         old code.
11973 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11975         * loadup.el: Use `string-to-number', not `string-to-int'.
11977 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11979         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11980         gud-gdb-complete-command.
11981         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11982         (gud-gdb-completion-at-point): New function.
11983         (gud-gdb-completions): Remove.
11985 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11987         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11988         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11989         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11990         whether `executable-find' is bound.
11992         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11994 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11996         * minibuffer.el (completion-in-region-mode-predicate)
11997         (completion-in-region-mode--predicate): New vars.
11998         (completion-in-region, completion-in-region--postch)
11999         (completion-in-region-mode): Use them.
12000         (completion--capf-wrapper): Also return the hook function.
12001         (completion-at-point, completion-help-at-point):
12002         Adjust and provide a predicate.
12004         Preserve arg names for advice of subr and lexical functions (bug#8457).
12005         * help-fns.el (help-function-arglist): Consolidate the subr and
12006         new-byte-code cases.  Add argument `preserve-names' to extract names
12007         from the docstring when needed.
12008         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12009         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12010         (ad-arglist): Use help-function-arglist's new arg.
12011         (ad-definition-type): Use cond.
12013 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
12015         * autorevert.el (auto-revert-handler):
12016         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12017         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12018         Don't quote lambda.
12020         * image-mode.el (image-transform-set-scale):
12021         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12023 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12025         * net/network-stream.el (network-stream-open-starttls): Only do
12026         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12027         Upgrades via gnutls-cli are too slow to be done opportunistically.
12029 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
12031         * dframe.el (dframe-current-frame): Remove spurious quote.
12033 2011-04-12  Glenn Morris  <rgm@gnu.org>
12035         * calendar/cal-tex.el (cal-tex-end-document):
12036         Try to automatically use latin1 input if needed.
12038         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12039         Don't try to cons a mark onto an empty element.
12041 2011-04-11  Leo Liu  <sdl.web@gmail.com>
12043         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12044         buffers.
12045         (ido-kill-buffer-at-head): Support killing virtual buffers.
12047 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
12049         * minibuffer.el (completion-show-inline-help): New var.
12050         (completion--do-completion, minibuffer-complete)
12051         (minibuffer-force-complete, minibuffer-complete-word):
12052         Inhibit minibuffer messages if completion-show-inline-help is nil.
12054         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12055         to avoid interference from inline help (Bug#5849).
12057 2011-04-10  Leo Liu  <sdl.web@gmail.com>
12059         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12060         Fix typo.
12062 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
12064         * image-mode.el (image-toggle-display-image): Signal an error if
12065         not in Image mode.
12066         (image-transform-mode, image-transform-resize)
12067         (image-transform-set-rotation): Doc fix.
12068         (image-transform-set-resize): Delete.
12069         (image-transform-set-scale, image-transform-fit-to-height)
12070         (image-transform-fit-to-width): Handle image-toggle-display-image
12071         and image-transform-resize directly.
12073 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
12075         * doc-view.el (doc-view-fit-width-to-window)
12076         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12077         New functions for fitting the shown image to the Emacs window size.
12078         (doc-view-mode-map): Add bindings for the new functions.
12080 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
12082         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12083         Fix typo in docstring.
12085 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12087         * files.el (file-size-human-readable): Produce one digit after
12088         decimal, like "ls -lh" does.
12090         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12091         the file size representation.
12093         * simple.el (list-processes): If async subprocesses are not
12094         available, error out with a clear error message.
12096 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
12098         * help.el (help-form-show): New function, to be called from C.
12099         Put help-form output in a buffer named differently than *Help*.
12101 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12103         * files.el (file-size-human-readable): New function.
12105         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12106         computing the representation inline.  Don't require `cl'.
12108 2011-04-08  Glenn Morris  <rgm@gnu.org>
12110         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12112         * net/browse-url.el (browse-url-firefox):
12113         Test system-type, not system-configuration.
12115         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12116         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12117         Use log-edit-empty-buffer-p.  (Bug#7598)
12119         * net/rlogin.el (rlogin-process-connection-type): Simplify.
12120         (rlogin-mode-map): Initialize in the defvar.
12121         (rlogin): Use ignore-errors.
12123         * replace.el (occur-mode-map): Some fixes for menu items.
12125 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12127         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
12129 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12131         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12132         issuing unused warnings.
12134         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12135         macro directly.
12137         * simple.el: Lisp reimplement of list-processes.  Based on an
12138         earlier reimplementation by Leo Liu, but using tabulated-list.el.
12139         (process-menu-mode): New major mode.
12140         (list-processes--refresh, list-processes):
12141         (process-menu-visit-buffer): New functions.
12143         * files.el (save-buffers-kill-emacs): Don't assume any return
12144         value of list-processes, which is undocumented anyway.
12146 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12148         * emacs-lisp/tabulated-list.el: New file.
12150         * emacs-lisp/package.el: Use Tabulated List mode.
12151         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12152         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
12153         table format using Tabulated List mode variables.
12154         (package--push): New macro, replacing package-list-maybe-add.
12155         (package-menu--generate): Use package--push.  Renamed from
12156         package--generate-package-list.
12157         (package-menu-refresh, list-packages): Use it.
12158         (package-menu--print-info): Rename from package-print-package.
12159         Return insertion data instead of inserting it directly.
12160         (package-menu-describe-package, package-menu-execute):
12161         Use tabulated-list-get-id.
12162         (package-menu-mark-delete, package-menu-mark-install)
12163         (package-menu-mark-unmark, package-menu-backup-unmark)
12164         (package-menu-mark-obsolete-for-deletion):
12165         Use tabulated-list-put-tag.
12166         (package--list-packages, package-menu-revert)
12167         (package-menu-get-package, package-menu-get-version)
12168         (package-menu-sort-by-column): Functions deleted.
12169         (package-menu-package-list, package-menu-sort-key): Vars deleted.
12170         (package-menu--status-predicate, package-menu--version-predicate)
12171         (package-menu--name-predicate)
12172         (package-menu--description-predicate): Handle arguments in the
12173         Tabulated List format.
12174         (package-list-packages-no-fetch): Call list-packages.
12176 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
12178         * files.el (after-find-file-from-revert-buffer): Remove variable.
12179         (after-find-file): Don't bind it.
12180         (revert-buffer-in-progress-p): New variable.
12181         (revert-buffer): Bind it.
12182         Pass nil for `after-find-file-from-revert-buffer'.
12184         * saveplace.el (save-place-find-file-hook): Use new variable
12185         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12187 2011-04-06  Glenn Morris  <rgm@gnu.org>
12189         * Makefile.in (AUTOGEN_VCS): New variable.
12190         (autoloads): Use $AUTOGEN_VCS.
12192         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12193         * calendar/calendar.el (calendar-mode-map):
12194         Check for toolkit scroll bars.  (Bug#8305)
12196 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12198         * minibuffer.el (completion-in-region--postch)
12199         (completion-in-region-mode): Remove unnecessary messages.
12201 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
12203         * font-lock.el (font-lock-refresh-defaults):
12204         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12205         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12207         * info.el (Info-directory-list, Info-read-node-name-2)
12208         (Info-split-parameter-string): Doc fixes.
12209         (Info-virtual-nodes): Reflow docstring.
12210         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12211         (Info-apropos-toc-nodes, info-finder, Info-get-token)
12212         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12213         Fix typos in docstrings.
12214         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12215         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12216         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12217         (Info-restore-desktop-buffer): Mark unused parameters.
12218         (Info-directory-find-file, Info-directory-find-node)
12219         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12220         (Info-virtual-index-find-node, Info-apropos-find-file)
12221         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12222         Mark unused parameters; fix typos in docstrings.
12223         (Info-virtual-index): Remove unused local variable `nodename'.
12225 2011-04-05  Deniz Dogan  <deniz@dogan.se>
12227         * net/rcirc.el: Update my e-mail address.
12228         (rcirc-mode-map): Remove M-o binding.
12230 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12232         * startup.el (command-line): Save the cursor's theme-face
12233         directly, instead of using face-override-spec.
12235         * custom.el (load-theme): Minor optimization in assigning faces.
12237 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12239         * help-fns.el (describe-variable): Complete all variables having
12240         documentation, including keywords.
12241         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12243 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12245         Convert to lexical-binding.
12247         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12248         (bs--get-marked-string, bs--get-modified-string)
12249         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12250         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12251         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12253         * ehelp.el (electric-help-execute-extended)
12254         (electric-help-ctrl-x-prefix):
12255         * hexl.el (hexl-revert-buffer-function):
12256         * linum.el (linum-after-change, linum-after-scroll):
12257         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12259         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12261 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12263         * epa-dired.el:
12264         * epa-mail.el:
12265         * epa-hook.el:
12266         * epa-file.el:
12267         * epa.el:
12268         * epg.el: Use lexical binding.
12270 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12272         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12274         * textmodes/flyspell.el (flyspell-word): Recognize default
12275         dictionary case for flyspell-mark-duplications-exceptions.
12276         Use regexp matching for languages.
12277         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12278         default dictionary (Bug#7926).
12280 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12282         * emacs-lisp/package.el (package--with-work-buffer):
12283         Recognize https URLs.
12285         * net/network-stream.el: Move from gnus/proto-stream.el.
12286         Change prefix to network-stream throughout.
12287         (open-protocol-stream): Merge into open-network-stream, leaving
12288         open-protocol-stream as an alias.  Handle nil BUFFER args.
12290         * subr.el (open-network-stream): Move to net/network-stream.el.
12292 2011-04-02  Glenn Morris  <rgm@gnu.org>
12294         * find-dired.el (find-exec-terminator): New option.
12295         (find-ls-option): Test for -ls support.
12296         (find-ls-subdir-switches): Test for -b in find-ls-option.
12297         (find-dired, find-grep-dired): Doc fixes.
12298         (find-dired): Use find-exec-terminator.
12300         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12301         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12302         (find-name-arg): Remove purecopy.
12304         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12305         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12306         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12307         accordingly.  Don't add the null-device if not needed.
12309         * files.el (save-some-buffers): Doc fix.
12311 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12313         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12315 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12317         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12318         Use `dolist' rather than `mapcar'.
12320 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12322         Add lexical binding.
12324         * subr.el (apply-partially): Use new closures rather than CL.
12325         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12326         (dolist, dotimes): Use slightly different expansion for lexical code.
12327         (functionp): Move to C.
12328         (letrec): New macro.
12329         (with-wrapper-hook): Use it and apply-partially instead of CL.
12330         (eval-after-load): Preserve lexical-binding.
12331         (save-window-excursion, with-output-to-temp-buffer): Turn them
12332         into macros.
12334         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12336         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12337         than the arglist.
12338         (help-add-fundoc-usage): Don't add `Not documented'.
12339         (help-function-arglist): Handle closures, subroutines, and new
12340         byte-code-functions.
12341         (help-make-usage): Remove leading underscores.
12342         (describe-function-1): Handle closures.
12343         (describe-variable): Use special-variable-p for completion.
12345         * files.el (lexical-binding): Declare safe.
12347         * emacs-lisp/pcase.el: Don't use destructuring-bind.
12348         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
12349         (pcase): Add `let' pattern.
12350         Change memoization so it actually works.
12351         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12352         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12353         <let>: New case.
12355         * emacs-lisp/macroexp.el: Use lexical binding.
12356         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
12357         Don't convert ' to #' without checking that it's indeed quoting
12358         a lambda.
12360         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12361         Use eval-sexp-add-defvars.
12362         (eval-sexp-add-defvars): New fun.
12364         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12366         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12367         Don't autoload.
12368         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12369         than the internal `byte-compile-lambda'.
12370         (defmethod): Don't hide code under quotes.
12371         (eieio-defmethod): New `code' argument.
12373         * emacs-lisp/eieio-comp.el: Remove.
12375         * emacs-lisp/edebug.el (edebug-eval-defun)
12376         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12377         (edebug-toggle): Avoid `eval'.
12379         * emacs-lisp/disass.el (disassemble-internal): Handle new
12380         `closure' objects.
12381         (disassemble-1): Handle new byte codes.
12383         * emacs-lisp/cl.el (pushnew): Silence warning.
12385         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12386         (cl-byte-compile-throw): Remove.
12387         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12389         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12390         closures.
12392         * emacs-lisp/cconv.el: New file.
12394         * emacs-lisp/bytecomp.el: Use lexical binding instead of
12395         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
12396         (byte-compile-initial-macro-environment):
12397         Handle declare-function here.
12398         (byte-compile--lexical-environment): New var.
12399         (byte-stack-ref, byte-stack-set, byte-discardN)
12400         (byte-discardN-preserve-tos): New lap codes.
12401         (byte-interactive-p): Don't use any more.
12402         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12403         New macros.
12404         (byte-compile-lapcode): Use them and handle new lap codes.
12405         (byte-compile-obsolete): Remove.
12406         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12407         (byte-compile-arglist-warn): Check late def of inlinable funs.
12408         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12409         since they should have been expanded by now.
12410         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12411         (byte-compile-from-buffer): Remove unused second arg.
12412         (byte-compile-preprocess): New function.
12413         (byte-compile-toplevel-file-form): New function to distinguish
12414         file-form calls from outside from file-form calls from hunk-handlers.
12415         (byte-compile-file-form): Simplify.
12416         (byte-compile-file-form-defsubst): Remove.
12417         (byte-compile-file-form-defmumble): Simplify now that
12418         byte-compile-lambda always returns a byte-code-function.
12419         (byte-compile): Preprocess.
12420         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12421         Remove, not used any more.
12422         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12423         (byte-compile-make-args-desc): New funs.
12424         (byte-compile-lambda): Handle lexical functions.  Always return
12425         a byte-code-function.
12426         (byte-compile-reserved-constants): New var, to make up room for
12427         closed-over variables.
12428         (byte-compile-constants-vector): Obey it.
12429         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12430         (byte-compile-macroexpand-declare-function): New function.
12431         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12432         byte-code-functions.
12433         (byte-compile-form): Check obsolescence here.
12434         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12435         (byte-compile-variable-ref): Remove.
12436         (byte-compile-dynamic-variable-op): New fun.
12437         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12438         (byte-compile-variable-set): New funs.
12439         (byte-compile-discard): Add 2 args.
12440         (byte-compile-stack-ref, byte-compile-stack-set)
12441         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12442         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12443         macroexpand-all instead.
12444         (byte-compile-quote-form): Remove.
12445         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12446         (byte-compile-bind, byte-compile-unbind): New funs.
12447         (byte-compile-let): Handle let* and lexical binding.
12448         (byte-compile-let*): Remove.
12449         (byte-compile-catch, byte-compile-unwind-protect)
12450         (byte-compile-track-mouse, byte-compile-condition-case):
12451         Handle a new :fun-body form, used for lexical scoping.
12452         (byte-compile-save-window-excursion)
12453         (byte-compile-with-output-to-temp-buffer): Remove.
12454         (byte-compile-defun): Simplify.
12455         (byte-compile-stack-adjustment): New fun.
12456         (byte-compile-out): Use it.
12457         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12459         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12460         handler any more.
12462         * emacs-lisp/byte-opt.el: Use lexical binding.
12463         (byte-inline-lapcode): Remove (to bytecomp).
12464         (byte-compile-inline-expand): Pay attention to inlining to/from
12465         lexically bound code.
12466         (byte-compile-unfold-lambda): Don't handle byte-code-functions
12467         any more.
12468         (byte-optimize-form-code-walker): Don't handle save-window-excursion
12469         any more and don't call compiler-macros.
12470         (byte-compile-splice-in-already-compiled-code): Remove.
12471         (byte-code): Don't inline any more.
12472         (disassemble-offset): Receive `bytes' as argument rather than via
12473         dynamic scoping.
12474         (byte-compile-tag-number): Declare before first use.
12475         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12476         `return' even if make-spliceable.
12477         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12478         obsolete interactive-p.
12479         (byte-optimize-lapcode): Optimize new lap-codes.
12480         Don't trip up on new form of `byte-constant' lap code.
12482         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12484         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12486         * custom.el (custom-initialize-default, custom-declare-variable):
12487         Use `defvar'.
12489         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12490         New variables.
12491         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12492         (COMPILE_FIRST): Add macroexp and cconv.
12493         * makefile.w32-in: Mirror changes in Makefile.in.
12495         * vc/cvs-status.el:
12496         * vc/diff-mode.el:
12497         * vc/log-edit.el:
12498         * vc/log-view.el:
12499         * vc/smerge-mode.el:
12500         * textmodes/bibtex-style.el:
12501         * textmodes/css.el:
12502         * startup.el:
12503         * uniquify.el:
12504         * minibuffer.el:
12505         * newcomment.el:
12506         * reveal.el:
12507         * server.el:
12508         * mpc.el:
12509         * emacs-lisp/smie.el:
12510         * doc-view.el:
12511         * dired.el:
12512         * abbrev.el: Use lexical binding.
12514 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
12516         * info.el (info-display-manual): New function.
12518 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12520         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12522 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
12524         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12525         an entry for that server in rcirc-authinfo.  (Bug#8385)
12527 2011-03-31  Glenn Morris  <rgm@gnu.org>
12529         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12531         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12533 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
12535         * progmodes/python.el (python-default-interpreter)
12536         (python-python-command-args, python-jython-command-args)
12537         (python-which-shell, python-which-args, python-which-bufname)
12538         (python-file-queue, python-comint-output-filter-function)
12539         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12540         variables and functions.
12542 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12544         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12545         (completion-in-region-mode): New minor mode.
12546         (completion-in-region): Use it.
12547         (completion-in-region--data, completion-in-region-mode-map): New vars.
12548         (completion-in-region--postch): New function.
12549         (completion--capf-misbehave-funs, completion--capf-safe-funs):
12550         New vars.
12551         (completion--capf-wrapper): New function.
12552         (completion-at-point): Use it to track well-behavedness of
12553         hook functions.
12554         (completion-help-at-point): New command.
12556 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
12558         * vc/add-log.el (add-change-log-entry): Don't use whitespace
12559         syntax class to search for whitespace on a single line
12560         (Message-ID: <4D938140.4030905@redhat.com>).
12562 2011-03-30  Leo Liu  <sdl.web@gmail.com>
12564         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12565         New commands.
12566         (edit-abbrevs-map): Bind them here.
12567         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
12569 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
12571         * allout.el (allout-hide-by-annotation, allout-flag-region):
12572         Reduce possibility of overlay leakage by making them volatile.
12574         * allout-widgets.el (allout-widgets-tally): Define as nil so the
12575         hash is not shared between buffers.  Mode initialization is
12576         responsible for giving it a useful starting value.
12577         (allout-item-span): Reduce possibility of overlay leakage by
12578         making them volatile.
12579         (allout-widgets-count-buttons-in-region): Add diagnostic function
12580         for tracking down button overlay leaks.
12582 2011-03-29  Leo Liu  <sdl.web@gmail.com>
12584         * ido.el (ido-read-internal): Use the default history var
12585         minibuffer-history if no HISTORY is specified.
12587 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
12589         * net/imap.el (imap-shell-open, imap-process-connection-type):
12590         Use imap-process-connection-type for 'shell' streams as well as
12591         Kerberos, SSL, other subprocesses.
12593 2011-03-28  Leo Liu  <sdl.web@gmail.com>
12595         * abbrev.el (abbrev-table-empty-p): New function.
12596         (prepare-abbrev-list-buffer): Place empty abbrev tables after
12597         nonempty ones.  (Bug#5937)
12599 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
12601         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12603 2011-03-27  Leo Liu  <sdl.web@gmail.com>
12605         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12606         for foreground and background colors.
12607         (ansi-color-make-color-map): Adapt.
12609 2011-03-25  Leo Liu  <sdl.web@gmail.com>
12611         * midnight.el (midnight-time-float): Remove.  Note it calculates
12612         the microsecond component incorrectly and seconds-to-time does the
12613         same job.
12614         Remove redundant (require 'timer).
12616         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12617         (ido-completions): Remove unused arguments.  (Bug#8329)
12619 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12621         * minibuffer.el (completion--flush-all-sorted-completions):
12622         Remove itself from hook.
12623         (completion-at-point): Let the functions perform the completion
12624         immediately and return nil or t.
12625         * comint.el (comint-dynamic-complete-functions): Now identical to
12626         completion-at-point-functions.
12627         (comint-dynamic-list-input-ring): Remove unused var `index'.
12628         (comint--match-partial-filename, comint--unquote&expand-filename):
12629         New funs, split from comint-match-partial-filename.
12630         (comint-dynamic-complete): Use completion-at-point.
12631         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12633 2011-03-24  Drew Adams  <drew.adams@oracle.com>
12635         * thingatpt.el: Support `defun'.
12637 2011-03-23  Leo Liu  <sdl.web@gmail.com>
12639         * abbrevlist.el: Move to obsolete/abbrevlist.el.
12641         * help-mode.el (help-mode-finish): Tweak regexp.
12643 2011-03-23  Glenn Morris  <rgm@gnu.org>
12645         * eshell/esh-opt.el (eshell-eval-using-options):
12646         Do not bind unused local variable `eshell-option-stub'.
12648         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12650 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12652         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12653         keymap variable in `with-no-warnings' to avoid a warning when the
12654         keymap has been already `defconst'ed.
12656 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12658         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12659         encode all chars in abbrevs; otherwise use emacs-mule or
12660         utf-8-emacs.  (Bug#8308)
12662 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
12664         * simple.el (backward-delete-char-untabify):
12665         Avoid warning about using `delete-backward-char'.
12667         * image.el (image-type-file-name-regexps): Make it variable.
12668         `imagemagick-register-types' modifies it, and the user may want
12669         to add new extensions for known image types.
12670         (imagemagick-register-types): Throw error if not using ImageMagick.
12672 2011-03-22  Leo Liu  <sdl.web@gmail.com>
12674         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12675         located before rcirc-prompt-end-marker.
12676         (rcirc-complete): Error if point is not after rcirc prompt.
12677         Handle the case when table is nil.
12678         (rcirc-user-authenticated): Define to fix compiler warning.
12680 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
12682         * custom.el (custom--inhibit-theme-enable): Make it affect only
12683         custom-theme-set-variables and custom-theme-set-faces.
12684         (provide-theme): Ignore custom--inhibit-theme-enable.
12685         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12686         (custom-enabling-themes): Delete variable.
12687         (enable-theme): Accept only loaded themes as arguments.
12688         Ignore the special custom-enabled-themes variable.
12689         (custom-enabled-themes): Forbid themes from setting this.
12690         Eliminate use of custom-enabling-themes.
12691         (custom-push-theme): Quote "changed" custom var entry.
12693 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12695         * ido.el (ido-read-internal): Add ido-selected to history instead
12696         of user input.
12698 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12700         * subr.el (deferred-action-list, deferred-action-function):
12701         Mark obsolete.
12703 2011-03-21  Leo Liu  <sdl.web@gmail.com>
12705         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12706         change on 2011-02-13 (bug#8309).
12708         * minibuffer.el (read-file-name-function): Change default value.
12709         (read-file-name--defaults): Rename from read-file-name-defaults.
12710         (read-file-name-default): Rename from read-file-name.
12711         (read-file-name): Call read-file-name-function.
12713 2011-03-21  Glenn Morris  <rgm@gnu.org>
12715         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12716         Doc fixes.
12718 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
12720         * cus-theme.el: Add missing provide statement.
12721         (customize-create-theme): Extract theme value correctly.
12722         (custom-theme-visit-theme): Autoload.
12723         (customize-create-theme): Prompt before inserting default faces.
12725 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
12727         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12728         units and musical notes.
12730 2011-03-20  Leo Liu  <sdl.web@gmail.com>
12732         * ido.el (ido-read-internal): Use completing-read-default.
12733         (ido-completing-read): Fix compatibility with completing-read.
12735 2011-03-20  Christian Ohler  <ohler@gnu.org>
12737         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12738         (ert-delete-all-tests): Use `called-interactively-p' rather than
12739         `interactive-p'.
12740         (ert--make-xrefs-region): Respect END.
12742 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12744         * dired-aux.el (dired-create-directory): Signal an error if the
12745         directory already exists (Bug#8246).
12747         * facemenu.el (list-colors-display): Call list-faces-display
12748         inside with-help-window.
12749         (list-colors-print): Use display property to align the final
12750         column, instead of checking window-width.
12752 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
12754         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12755         windows-nt systems.
12756         (emerge-protect-metachars): Quote correctly for ms-dos and
12757         windows-nt systems.
12759 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
12761         * info.el (info-initialize): Replace all uses of `:' with
12762         path-separator for compatibility with non-Unix systems.
12763         Cache quoting of path-separator.  (Bug#8258)
12765 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
12767         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12768         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12769         (mouse-avoidance-mode): Fix typos in docstrings.
12771 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
12773         * startup.el (package-subdirectory-regexp): Move from package.el.
12774         Omit \\` and \\', and let callers add them.
12776         * emacs-lisp/package.el (package-strip-version)
12777         (package-load-all-descriptors): Add \\` and \\' to
12778         package-subdirectory-regexp before using it.
12779         (package-untar-buffer): New arg DIR; ensure that file untars only
12780         into this expected directory.  Remove superfluous delete-region.
12781         (package-unpack): Caller changed.
12782         (package-tar-file-info): Use package-subdirectory-regexp.
12784 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12786         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12787         diff-mode-shared-map (bug#8284).
12788         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12790 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12792         * calendar/time-date.el (format-seconds): Use assoc instead of
12793         assoc-string, since assoc-string doesn't exist in XEmacs.
12795 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
12797         * custom.el (custom-known-themes): Reflow docstring.
12798         (custom-theme-load-path): Fix typo in docstring.
12799         (load-theme): Fix typo in error message.
12800         (custom-available-themes, custom-variable-theme-value):
12801         Use `let', not `let*'.
12803 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12805         * calc/README: Mention inclusion of musical notes.
12807         * calc/calc-units.el (calc-lu-quant): Rename from
12808         `calc-logunits-quantity'.
12809         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12810         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12811         (calc-db): Rename from `calc-dblevel'.
12812         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12813         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12814         (calc-np): Rename from `calc-nplevel'.
12815         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12816         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12817         (calc-lu-plus): Rename from `calc-logunits-add'.
12818         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12819         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12820         (calc-lu-minus): Rename from `calc-logunits-sub'.
12821         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12822         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12823         (calc-lu-times): Rename from `calc-logunits-mul'.
12824         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12825         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12826         (calc-lu-divide): Rename from `calc-logunits-div'.
12827         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12828         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12830         * calc/calc-ext.el (calc-init-extensions): Update the names of the
12831         functions being autoloaded.
12833         * calc/calc.el (calc-lu-power-reference): Rename from
12834         `calc-logunits-power-reference'.
12835         (calc-lu-field-reference): Rename from
12836         `calc-logunits-field-reference'.
12838         * calc/calc-help.el (calc-l-prefix-help):
12839         Mention musical note functions.
12841 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12843         * minibuffer.el (completion-all-sorted-completions):
12844         Use :completion-cycle-penalty text property if present.
12846 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
12848         * allout.el (allout-yank-processing): Adjust for new rebulleting
12849         regime so bullet being yanked is used without prompting the user
12850         for a choice.
12852 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12854         * startup.el (command-line): Warn the user that _emacs is deprecated.
12856 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
12858         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12859         (delphi-verbose, delphi-comment-face, delphi-string-face)
12860         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12861         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12862         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12863         (delphi-new-comment-line, delphi-font-lock-defaults)
12864         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12865         Fix typos in docstrings.
12867 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
12869         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12870         Invert the roles of character and string values for INSTEAD, so a
12871         string is used for the more common case of a defaulting prompt.
12873 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12875         * progmodes/ruby-mode.el (ruby-backward-sexp):
12876         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12877         * play/gamegrid.el (gamegrid-make-face):
12878         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12879         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12880         * notifications.el (notifications-notify):
12881         * net/xesam.el (xesam-search-engines):
12882         * net/quickurl.el (quickurl-list-insert):
12883         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12885 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
12887         * startup.el (command-line): Update package subdirectory regexp.
12889 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12891         * allout.el (allout-abbreviate-flattened-numbering)
12892         (allout-mode-deactivate-hook): Fix up obsolescence "date".
12894         * subr.el (read-char-choice): Only show the cursor after the prompt,
12895         not after the answer.
12897 2011-03-15  Kevin Ryde  <user42@zip.com.au>
12899         * help-fns.el (variable-at-point): Skip leading quotes, if any
12900         (bug#8253).
12902 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12904         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12905         warning message.
12907 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
12909         * shell.el (shell): When called interactively, offer to change the
12910         shell file name on remote hosts.
12912 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
12914         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12915         integration for LDAP parameters.  The host, base, user or binddn,
12916         and secret tokens can be specified in a netrc file, for instance.
12917         This is optional because an `auth-source' parameter must be
12918         specified in the search attributes.
12920 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
12922         * help.el (describe-mode): Link to the mode's definition (bug#8185).
12924 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12926         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12927         into declaration.  Remove redundant and harmful binding.
12929 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12931         * files.el (file-ownership-preserved-p): Pass `integer' as an
12932         explicit 2nd argument to `file-attributes'.  If the file's owner
12933         is the Administrators group on Windows, and the current user is
12934         Administrator, consider that a match.
12936         * server.el (server-ensure-safe-dir): Consider server directory
12937         safe on MS-Windows if its owner is the Administrators group while
12938         the current Emacs user is Administrator.  Use `=' to compare
12939         numerical UIDs, since they could be integers or floats.
12941 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12943         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12945 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12947         Sync with Tramp 2.2.1.
12949         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12951         * net/trampver.el: Update release number.
12953 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12955         * progmodes/compile.el (compilation--previous-directory): Fix up
12956         various nil/dead-marker mismatches (bug#8014).
12957         (compilation-directory-properties, compilation-error-properties):
12958         Don't call it at a position past the one we're about to change.
12960         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12961         Disable obsolescence warnings in the file that declares it.
12963 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12965         * allout-widgets.el (allout-widgets-tally):
12966         Initialize allout-widgets-tally as a hash table rather than nil to
12967         prevent mode-line redisplay warnings.  Also, clarify the module
12968         description and fix a comment typo.
12970 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12972         * help-fns.el (describe-variable): Don't complete keywords.
12973         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12975 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12977         * emacs-lisp/package.el (package-version-join): Impose a standard
12978         string representation for pre/alpha/beta version lists.
12979         (package-unpack-single): Standardize the directory name by passing
12980         it through package-version-join.
12981         (package-strip-rcs-id): Accept any version string that does not
12982         signal an error in version-to-list.
12984 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12986         * simple.el (delete-trailing-whitespace): Return nil for the
12987         benefit of `write-file-functions'.
12989 2011-03-10  Glenn Morris  <rgm@gnu.org>
12991         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12993         * vc/vc-git.el (vc-git-program): New option.
12994         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12995         (vc-git--call): Use it.
12997         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12999         * cus-edit.el (Custom-newline): If no button at point, look
13000         for a subgroup button at start-of-line.  (Bug#2298)
13002         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13004 2011-03-10  Julien Danjou  <julien@danjou.info>
13006         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13007         `cursor-type' is nil.
13009 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
13011         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13013 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
13015         * allout.el: Change so yank of distinctive-bullet items
13016         preserves the existing header prefix, rebulleting it if necessary,
13017         rather than replacing it.  This is necessary for proper operation
13018         of cooperative addons like allout-widgets.
13019         (allout-make-topic-prefix, allout-rebullet-heading):
13020         Change SOLICIT arg to INSTEAD, and interpret additionally a string
13021         value as alternate bullet to be used, instead of prompting the user
13022         for a bullet character.
13024 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
13026         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13027         Do not use `tramp-file-name-port', because this returns also
13028         `tramp-default-port'.
13030 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13032         * net/rcirc.el (rcirc-handler-001): Remove useless
13033         with-rcirc-process-buffer.
13034         (rcirc-check-auth-status): Swap arguments to string-match.
13036 2011-03-09  Glenn Morris  <rgm@gnu.org>
13038         * shell.el (shell-mode):
13039         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
13041         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13042         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
13044 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13046         * emacs-lisp/package.el (package-refresh-contents)
13047         (package-menu-execute): Use condition-case-no-debug.
13049 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
13051         * simple.el (shell-command-to-string): Use `process-file'.
13053         * emacs-lisp/package.el (package-tar-file-info): Handle also
13054         remote files.
13056         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13057         Use `equal' for upload base check.
13059 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
13061         * textmodes/texinfo.el (texinfo-environments):
13062         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
13064 2011-03-08  Glenn Morris  <rgm@gnu.org>
13066         * cus-start.el (cursor-in-non-selected-windows):
13067         Fix :set quoting oddness.  (Bug#8192)
13069         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13070         in some setf expressions.  (Bug#2159)
13072 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13074         * custom.el (custom-available-themes): Return themes in
13075         alphabetical order.
13077 See ChangeLog.15 for earlier changes.
13079 ;; Local Variables:
13080 ;; coding: utf-8
13081 ;; End:
13083   Copyright (C) 2011-2012  Free Software Foundation, Inc.
13085   This file is part of GNU Emacs.
13087   GNU Emacs is free software: you can redistribute it and/or modify
13088   it under the terms of the GNU General Public License as published by
13089   the Free Software Foundation, either version 3 of the License, or
13090   (at your option) any later version.
13092   GNU Emacs is distributed in the hope that it will be useful,
13093   but WITHOUT ANY WARRANTY; without even the implied warranty of
13094   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13095   GNU General Public License for more details.
13097   You should have received a copy of the GNU General Public License
13098   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.