Update ChangeLog for 2013-03-11T17:17:13Z!tzz@lifelogs.com.
[emacs.git] / lisp / ChangeLog
blob924519e661dd1d1a316442bba648915fed577ec5
1 2013-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
3         * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
4         namespaces in the syntax, indent closer for hanging brace
5         correctly, allow single-quote delimited 'strings', and make
6         `cfengine3-mode' the default.
8 2013-03-11  Jean-Philippe Gravel  <jpgravel@gmail.com>
10         * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
11         Use lexical-binding.  Fix up docstring according to conventions.
12         (gdbmi-debug-mode): New var.
13         (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
14         (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
15         (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
16         (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
17         (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
18         (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
19         (gdbmi-bnf-incomplete-record-result): New functions.
20         (gdb-car<): Remove function.
21         (gdbmi-record-list): Remove variable.
22         (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
23         (gdbmi-bnf-result-state-configs): New const.
24         (gud-gdbmi-marker-filter): Rewrite.
25         (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
26         (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
27         Add `token' argument.
28         (gdb-done, gdb-error): New functions.
29         (gdb-done-or-error): Add `is-complete' argument.  Change arg order.
31 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
33         * term/xterm.el (xterm--report-background-handler): Don't burp
34         upon timeout.
35         (xterm--version-handler): Extract from terminal-init-xterm.
36         (xterm--query): Don't mishandle timeout.  Remove debugging messages.
37         Allow multiple handlers.
38         (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
40         * term/xterm.el: Don't discard input (bug#6758).  Use lexical-binding.
41         (xterm--report-background-handler, xterm--query): New functions.
42         (terminal-init-xterm): Use them.
44 2013-03-11  Michael R. Mauger  <michael@mauger.com>
46         * progmodes/sql.el Version 3.2
47         Please note that my address changed to <michael@mauger.com>;
48         the <mmaug@yahoo.com> address remains active.
49         (sql-connection-alist): Updates documentation to fix bug#13715.
50         (sql-connect): Handle missing `sql-connection-alist' correctly.
51         (sql-mode-oracle-font-lock-keywords): Add missing keywords.
52         (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
53         property.
54         (sql-default-value): New function.
55         (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
56         values were not used.
57         (sql-rename-buffer): Make sure alternate buffer name has no text
58         properties.
59         (sql-input-sender, sql-execute-feature): Fetch variable with
60         `buffer-local-value' rather than `with-current-buffer'.
61         (sql-*): Use #' function syntax consistently.
62         (sql-*): Use message/error/user-error consistently.
64 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * xt-mouse.el (xterm-mouse-event-read): Remove.
67         (xterm-mouse--read-event-sequence-1000)
68         (xterm-mouse--read-event-sequence-1006): Use read-event instead.
70 2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
72         * term/xterm.el (xterm-function-map): Support format used with
73         formatOtherKeys=1 (bug#13839).
75         * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
76         (with-no-warnings): Use `declare'.
78         * whitespace.el (whitespace-enable-predicate): New variable.
79         (whitespace-enable-predicate): Use it.
81         * comint.el (comint-send-input, comint-snapshot-last-prompt)
82         (comint-output-filter, comint-update-fence):
83         Use with-silent-modifications.
85 2013-03-10  Jambunathan K  <kjambunathan@gmail.com>
87         * replace.el (occur-read-regexp-defaults-function): New var.
88         (occur-read-regexp-defaults): New defun.
89         (occur-read-primary-args): Propagate above change (bug#13892).
91 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
93         * mouse.el (mouse-drag-track): Remove left-over debugging code.
95 2013-03-09  Michael Albinus  <michael.albinus@gmx.de>
97         Major rewrite due to changed D-Bus interface of GVFS 1.14.
99         * net/tramp-gvfs.el (top): Extend check for gvfs availability.
100         (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
101         (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
102         New defconst.
103         (tramp-gvfs-file-name-handler-alist) [directory-files]
104         [directory-files-and-attributes, file-exists-p, file-modes]:
105         Use Tramp default handler.
106         [file-acl, file-selinux-context, process-file, set-file-acl]:
107         [set-file-modes, set-file-selinux-context, shell-command]:
108         [start-file-process]: Remove handler.
109         [verify-visited-file-modtime]: New handler.
110         (tramp-gvfs-dbus-string-to-byte-array)
111         (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
112         calls of `dbus-string-to-byte-array' and
113         `tramp-gvfs-dbus-byte-array-to-string'.
114         (tramp-gvfs-handle-copy-file)
115         (tramp-gvfs-handle-delete-directory)
116         (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
117         (tramp-gvfs-handle-file-directory-p)
118         (tramp-gvfs-handle-file-executable-p)
119         (tramp-gvfs-handle-file-name-all-completions)
120         (tramp-gvfs-handle-file-readable-p)
121         (tramp-gvfs-handle-file-writable-p)
122         (tramp-gvfs-handle-insert-directory)
123         (tramp-gvfs-handle-insert-file-contents)
124         (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
125         (tramp-gvfs-handle-set-visited-file-modtime)
126         (tramp-gvfs-handle-write-region): Rewrite.
127         (tramp-gvfs-handle-file-acl)
128         (tramp-gvfs-handle-file-selinux-context)
129         (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
130         (tramp-gvfs-handle-set-file-modes)
131         (tramp-gvfs-handle-set-file-selinux-context)
132         (tramp-gvfs-handle-shell-command)
133         (tramp-gvfs-handle-start-file-process)
134         (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
135         (tramp-gvfs-url-file-name): Do not use `file-truename', we work
136         over the symlinks.  Fix user handling.
137         (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
138         of the D-Bus signals.
139         (tramp-gvfs-connection-mounted-p): Handle different names of the
140         D-Bus methods.
141         (tramp-gvfs-mount-spec-entry): New defun.
142         (tramp-gvfs-mount-spec): Use it.
143         (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
144         there is a share name.  Handle different names of the D-Bus
145         signals and methods.
146         (tramp-gvfs-maybe-open-connection): Set connection properties
147         needed for `tramp-check-cached-permissions'.
148         (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
149         Return t or nil.
151         * net/tramp.el (tramp-backtrace): Move up.
152         (tramp-error): Apply a backtrace into the debug buffer when
153         `tramp-verbose > 9.
154         (tramp-file-mode-type-map, tramp-file-mode-from-int)
155         (tramp-file-mode-permissions, tramp-get-local-uid)
156         (tramp-get-local-gid, tramp-check-cached-permissions): Move from
157         tramp-sh.el.
159         * net/tramp-sh.el (tramp-file-mode-type-map)
160         (tramp-check-cached-permissions, tramp-file-mode-from-int)
161         (tramp-file-mode-permissions, tramp-get-local-uid)
162         (tramp-get-local-gid): Move to tramp.el.
164 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
166         Separate mouse-1-click-follows-link from mouse-drag-region.
167         * mouse.el (mouse--down-1-maybe-follows-link): New function.
168         (key-translation-map): Use it to implement mouse-1-click-follows-link.
169         (mouse-drag-line, mouse-drag-track):
170         Remove mouse-1-click-follows-link code.
171         (mouse--remap-link-click-p): Remove.
173 2013-03-08  Jambunathan K  <kjambunathan@gmail.com>
175         * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
176         (hi-lock-read-regexp-defaults):  New defun.
177         (hi-lock-line-face-buffer, hi-lock-face-buffer)
178         (hi-lock-face-phrase-buffer): Propagate above change.
179         Update docstring (bug#13892).
181         * subr.el (find-tag-default-as-regexp): New defun.
182         * replace.el (read-regexp): Propagate above change.
184 2013-03-08  Jay Belanger  <jay.p.belanger@gmail.com>
186         * calc/calc-units.el (calc-convert-units): Fix the way that default
187         new units are stored.
189 2013-03-07  Matthias Meulien  <orontee@gmail.com>
191         * bookmark.el: Define a face to highlight bookmark names in
192         bookmark menu buffers, where the default is a bold face similarly
193         to buffer names in buffer menu buffers.
194         (bookmark-menu-bookmark): New face to highlight bookmark names.
195         (bookmark-insert-location): Remove duplicated text property to
196         conform to buffer list (see `list-buffers').
197         (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
198         `bookmark-menu-bookmark' to bookmark names.
200 2013-03-07  Matthias Meulien  <orontee@gmail.com>
201             Karl Fogel  <kfogel@red-bean.com>
203         * bookmark.el: Display the bookmark list header similarly to the
204         buffer list header (see `list-buffers'), where the default is now
205         an immovable/immutable header line.
206         (bookmark-bmenu-use-header-line): New variable.
207         (bookmark-bmenu-inline-header-height): New name for
208         `bookmark-bmenu-header-height', to avoid confusion with the code
209         for the new immovable header.  All references changed.
210         (bookmark-bmenu-set-header): New function.
211         (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
212         Conditionalize header construction accordingly.
213         (bookmark-bmenu-ensure-position): Conditionalize the skipping of
214         the inline header height.
215         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
216         Conditionalize the skipping of the inline header height.
218 2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>
220         * progmodes/js.el (js--multi-line-declaration-indentation):
221         Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
223 2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>
225         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
226         Only propertize regexp when not inside a string (Bug#13885).
228 2013-03-06  Alan Mackenzie  <acm@muc.de>
230         Correct the position of point in some line-up functions.
231         * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
232         (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
233         point at column 0 rather than at a random place in the line.
235 2013-03-05  Michael Albinus  <michael.albinus@gmx.de>
237         * net/tramp-compat.el (tramp-compat-delete-directory):
238         Implement TRASH argument.
240 2013-03-05  Dmitry Gutov  <dgutov@yandex.ru>
242         Keep pre-existing highlighting in completion candidates (Bug#13250).
243         * minibuffer.el (completions-first-difference): State that the
244         face is "added" in the docstring.
245         (completions-common-part): Same.  And don't inherit from default.
246         (completion-hilit-commonality): Prepend 'completions-common-part
247         and 'completion-first-difference faces to the 'face property,
248         instead of replacing the value(s).
249         (completion--insert-strings): Same with 'completions-annotations face.
250         (completion-hilit-commonality): Use 'face instead of
251         'font-lock-face, because it gets priority if the completion
252         strings already have 'face set.
254 2013-03-04  Alan Mackenzie  <acm@muc.de>
256         Replace `last-command-event' by `last-command-char' in XEmacs.
257         * progmodes/cc-defs.el (c-last-command-char): New macro.
258         * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
259         (c-semi&comma-no-newlines-before-nonblanks)
260         (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
261         in place of `last-command-event'.
262         * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
263         (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
264         (c-electric-paren, c-electric-continued-statement): Use the new
265         macro in place of `last-command-event'.
267 2013-03-04  Glenn Morris  <rgm@gnu.org>
269         * files.el (inhibit-local-variables-regexps):
270         Add .diff and .patch.  (Bug#13862)
272 2013-03-03  Michael Albinus  <michael.albinus@gmx.de>
274         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
275         whether the "su" command is available on the device.
277 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
279         * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
280         (tramp-adb-handle-process-file): Remove superfluous setting.
281         (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
282         (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
283         (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
285 2013-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
287         * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
288         (ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
289         (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
290         Use dict-key rather than dict-name for the error message.
292 2013-03-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
294         * net/net-utils.el (net-utils-run-simple): Don't display-buffer
295         when reverting (bug#13831).
297 2013-03-01  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
299         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
300         Always expand affix-file before storing to protect against changed
301         `default-directory'.
302         (ispell-print-if-debug): Make sure message is printed at the end
303         of the debug buffer.
305 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
307         * net/tramp.el (tramp-obsolete-methods): New defconst.
308         (tramp-warned-obsolete-methods): New defvar.
309         (tramp-find-method): Check for obsolete methods.  Map them to a
310         replacement method if appropriate.
312         * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
313         Remove methods.
314         (top): Remove completion functions for "scp1", "scp2", "ssh1",
315         "ssh2" and "plink1".
317 2013-02-28  Dale Sedivec  <dale@codefu.org>
319         * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
320         Return valid syntax-table property value when converting
321         quotes within text from string syntax to punctuation syntax (bug#13844).
323 2013-02-28  Juri Linkov  <juri@jurta.org>
325         * dired-aux.el (dired-diff): If file at point is a backup file,
326         use its original as the default value, and reverse the order
327         of arguments to the `diff' call.  Doc fix.  (Bug#13772)
329 2013-02-28  Michael Albinus  <michael.albinus@gmx.de>
331         * net/tramp-adb.el (tramp-adb-sdk-dir): Remove.  Replaced by ...
332         (tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
334 2013-02-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
336         Initial support for hunspell dictionaries auto-detection (Bug#13639)
338         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
339         Ask hunspell about available and default dictionaries.
340         (ispell-parse-hunspell-affix-file): Extract relevant info from
341         hunspell affix file.
342         (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
343         `ispell-dictionary-alist' entry for given dictionary after info
344         provided by `ispell-parse-hunspell-affix-file'.
345         (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
346         of parsed hunspell dicts and associated affix files.
347         (ispell-hunspell-dictionary-alist): New defvar to contain an alist
348         of parsed hunspell dicts and associated parameters.
349         (ispell-set-spellchecker-params):
350         Call `ispell-find-hunspell-dictionaries' if hunspell and not
351         previously done.
352         (ispell-start-process):
353         Call `ispell-hunspell-fill-dictionary-entry' for current
354         dictionary if it is not initialized.
356 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
358         * imenu.el: Comment nitpicks.
360 2013-02-28  Sam Steingold  <sds@gnu.org>
362         * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
363         See <http://stackoverflow.com/questions/14720205>.
365 2013-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
367         * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
368         (net-utils-mode): Use it.
369         (net-utils--revert-cmd): New var.
370         (net-utils-run-simple): Set it, and remove bogus interactive spec.
371         (traceroute): Use net-utils-run-simple.
373 2013-02-28  Glenn Morris  <rgm@gnu.org>
375         * textmodes/paragraphs.el (mark-paragraph): Doc fix.
377 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
379         * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
380         (doc-view-fallback-mode): Remove overlays here.
381         (doc-view-toggle-display): Instead of here.  Don't throw away
382         image-mode-winprops-alist.
383         (doc-view-goto-page): Don't mess with hscroll.
385 2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
387         * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
388         &optional (bug#13819).
390 2013-02-27  Michael Albinus  <michael.albinus@gmx.de>
392         * net/tramp-adb.el (tramp-adb-parse-device-names)
393         (tramp-adb-maybe-open-connection): Add timeouts.  (Bug#13299)
395 2013-02-26  Michael Albinus  <michael.albinus@gmx.de>
397         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
398         Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
399         defined.  POSIX environments fall back to the "C" locale then and
400         emit a warning, which shall be suppressed.
402 2013-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
404         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
405         (easy-mmode-set-keymap-parents): Use make-composed-keymap.
407 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
409         * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
411 2013-02-25  Juri Linkov  <juri@jurta.org>
413         * replace.el (read-regexp): Let-bind `default' to the first
414         element of `defaults' if it's a list, otherwise it should be
415         a string or nil.  Let-bind `suggestions' to `defaults' if it's
416         a list, otherwise make a list with the string value.  Doc fix.
417         (Bug#13805)
419 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
421         * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
422         that match "\`\.#", to avoid compiling lock files, even if they
423         are readable (as they are on MS-Windows).
425 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * files.el (basic-save-buffer): Remove redundant directory-creation.
429 2013-02-24  Jay Belanger  <jay.p.belanger@gmail.com>
431         * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
432         Add option to force `pi' to remain symbolic.
433         * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
434         (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
435         (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
436         derivatives, when necessary.
438 2013-02-23  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>
440         * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
441         (ps-mode-octal-region): Use string-make-unibyte.
443 2013-02-23  Glenn Morris  <rgm@gnu.org>
445         * emulation/viper-cmd.el (viper-submit-report):
446         * progmodes/ps-mode.el (ps-mode-maintainer-address):
447         * progmodes/vera-mode.el (vera-mode-help-address):
448         * textmodes/artist.el (artist-maintainer-address):
449         * textmodes/reftex.el (reftex-report-bug):
450         * vc/ediff-util.el (ediff-submit-report):
451         Add bug-gnu-emacs to bug report address.
453         * progmodes/simula.el (simula-mode-menu, simula-mode-map):
454         Remove bug report entries.
455         (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
457         * emacs-lisp/bytecomp.el (byte-compile-level): New.
458         (byte-compile-file, byte-compile-from-buffer):
459         Use separate input/output buffers for each level of recursive
460         byte-compile-file calls.  (Bug#13787)
462 2013-02-23  Michael Albinus  <michael.albinus@gmx.de>
464         * net/tramp.el (tramp-methods): Fix docstring.
465         (tramp-ssh-controlmaster-options): Rename it from
466         `tramp-ssh-controlmaster-template'.  Return a string.
467         (tramp-default-method): Adapt check for
468         `tramp-ssh-controlmaster-options'.
470         * net/tramp-sh.el (tramp-methods):
471         Replace `tramp-ssh-controlmaster-template' by "%c".
472         (tramp-do-copy-or-rename-file-out-of-band)
473         (tramp-maybe-open-connection): Use it in format spec.  Ensure,
474         that it is applied for the first hop only.
476 2013-02-22  Juri Linkov  <juri@jurta.org>
478         * isearch.el (isearch-lazy-highlight-new-loop):
479         Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
480         to `isearch-other-end' if it is not nil.  (Bug#13402)
482         * replace.el (replace-highlight): Let-bind `isearch-other-end'
483         to `match-beg'.
485         * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
486         Let-bind `isearch-other-end' to `start', `isearch-forward' to t
487         and `isearch-error' to nil.
489 2013-02-22  Michael Albinus  <michael.albinus@gmx.de>
491         * net/tramp.el (tramp-tramp-file-p): Fix docstring.
493         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
494         Handle multibyte file names.
496 2013-02-22  Glenn Morris  <rgm@gnu.org>
498         * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
499         (sgml-transformation-function): Give it a :set function.
500         (sgml-tag): Doc fix.
502         * cmuscheme.el (scheme-buffer):
503         * progmodes/inf-lisp.el (inferior-lisp-buffer):
504         * progmodes/tcl.el (inferior-tcl-buffer):
505         * textmodes/tex-mode.el (tex-command): Doc fixes.
507         * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
509         * htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)
511 2013-02-21  Bastien Guerry  <bzg@gnu.org>
513         * cmuscheme.el (scheme-buffer): Fix docstring.  (Bug#13778)
515 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
517         * progmodes/python.el (python-info-current-defun):
518         Enhance match-data cluttering prevention.
520 2013-02-21  Glenn Morris  <rgm@gnu.org>
522         * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
523         loaded while outline-regexp is let bound.  (Bug#9584)
525 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
527         * progmodes/python.el (python-info-current-defun): Fix failed
528         defun name retrieval because of unwanted match-data cluttering.
530 2013-02-21  Michael Albinus  <michael.albinus@gmx.de>
532         * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
533         defconst.  Apply independent check for ControlPersist.
535         * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
536         temporarily, via "env".
538 2013-02-21  Glenn Morris  <rgm@gnu.org>
540         * info.el (Info-enable-edit): Remove.
541         (Info-edit): Disable it rather than using Info-enable.
542         (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
543         (Info-cease-edit): Make editing of Info files obsolete.
545         * informat.el (Info-tagify):
546         Handle buffers not visiting files.  (Bug#13763)
548 2013-02-21  Juanma Barranquero  <lekktu@gmail.com>
550         * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
552 2013-02-21  Glenn Morris  <rgm@gnu.org>
554         * files.el (basic-save-buffer): Move check for existing parent
555         directory after hooks.  (Bug#13773)
557 2013-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
559         * simple.el (command-execute): Move from C.  Add obsolete check.
560         (extended-command-history): Move from C.
562 2013-02-20  Ulrich Müller  <ulm@gentoo.org>
564         * jka-cmpr-hook.el (jka-compr-compression-info-list)
565         (jka-compr-mode-alist-additions): Handle .txz suffix for
566         XZ-compressed tar archives (bug#13770).
568 2013-02-20  Bastien Guerry  <bzg@gnu.org>
570         * outline.el (outline-regexp, outline-heading-end-regexp):
571         Make variables, not options (bug#13731).
573 2013-02-20  Glenn Morris  <rgm@gnu.org>
575         * image.el (image-current-frame): Change from variable to function.
576         (image-show-frame): Rename from image-nth-frame.  Update callers.
577         * image-mode.el (image-multi-frame): New variable.
578         (image-mode-map, image-mode, image-goto-frame):
579         Use image-multi-frame rather than image-current-frame.
580         (image-mode, image-goto-frame): Use image-current-frame as
581         function rather than as variable.
583         * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
584         * emacs-lisp/cl-macs.el (cl--make-type-test)
585         (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
587 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
589         * net/tramp-cache.el (tramp-get-hash-table): New defun.
590         (tramp-get-file-property, tramp-set-file-property)
591         (tramp-get-connection-property, tramp-set-connection-property): Use it.
592         (tramp-flush-file-property, tramp-flush-directory-property):
593         Rename argument to KEY.
594         (tramp-flush-connection-property): Simplify a little bit.
595         (tramp-connection-property-p): New defun.
596         (top): Reapply saved values only if there isn't a corresponding
597         entry in `tramp-connection-properties'.
599 2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>
601         * progmodes/python.el (python-indent-context):
602         Fix python-info-line-ends-backslash-p call.
603         (python-info-line-ends-backslash-p)
604         (python-info-beginning-of-backslash): Respect line-number argument.
605         (python-info-current-line-comment-p):
606         Fix behavior when not at beginning-of-line.
607         (python-util-position): Remove function.
608         (python-util-goto-line): New function.
610 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
612         * eshell/em-unix.el (eshell/su): Require tramp.
613         (eshell/sudo): Require tramp.  Remove now unnecessary check.
615         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
616         `tramp-current-connection' in order to avoid an error when several
617         commands are invoked in a short time in eshell and friends.
619 2013-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
621         Cleanup some of EIEIO's namespace.
622         * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
623         Use it to define all the class-* and object-* field accessors (renamed
624         to eieio--class-* and eieio--object-*).  Update all uses.
625         (eieio--class-num-slots, eieio--object-num-slots): Rename from
626         class-num-slots and object-num-slots.
627         (eieio--check-type): New macro.
628         (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
629         (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
630         (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
631         (object-assoc-list-safe): Use it.
632         (eieio-defclass): Tighten regexp.
633         (eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
634         Remove unreachable code.
635         (object-class-fast): Declare obsolete.
636         (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
637         (eieio-object-class, eieio-object-class-name, eieio-class-parents)
638         (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
639         Rename from class-name, object-name, object-set-name-string,
640         object-class, object-class-name, class-parents, class-children,
641         class-precedence-list, class-parent; with obsolete alias.
642         (class-of, class-direct-superclasses, class-direct-subclasses):
643         Declare obsolete.
644         (eieio-defmethod): Use `memq'; remove unreachable code.
645         * emacs-lisp/eieio-base.el (eieio-persistent-read):
646         * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
647         (eieio-browse-tree, eieio-browse): Use eieio--check-type.
650 2013-02-18  Michael Heerdegen  <michael_heerdegen@web.de>
652         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
653         Use font-lock-keyword-face for macros and special forms (bug#8345).
655 2013-02-17  Didier Verna  <didier@didierverna.net>
657         * net/network-stream.el (network-stream-open-starttls):
658         Check that response to the starttls-command is non-nil.  (Bug#13706)
660 2013-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
662         * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
663         Don't assume all identifier chars have syntax word.
664         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
665         Remove bar-not-symbol.  Adjust callers.
666         (lisp-mode-variables): Don't set a font-lock-syntax-table.
668 2013-02-17  Leo Liu  <sdl.web@gmail.com>
670         * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
672 2013-02-17  Glenn Morris  <rgm@gnu.org>
674         * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
676         * image-mode.el (image-mode-map): Add image-dired menu entry.
678         * image-dired.el (tumme): Make this alias obsolete.
680 2013-02-16  Glenn Morris  <rgm@gnu.org>
682         * image.el (image-animated-types): Remove.
683         (image-multi-frame-p): Rename from image-animated-p, and generalize.
684         (image-animated-p): Make obsolete alias.
685         (image-animate, image-nth-frame, image-animate-timeout):
686         Use image-multi-frame-p.
687         (image-animate-timeout): If no delay, use image-default-frame-delay.
688         * image-mode.el (image-mode, image-toggle-animation):
689         Use image-multi-frame-p.  (Bug#763, bug#10739)
690         (image-mode): Adjust startup message for a multi-frame image.
692         * image-mode.el (image-mode-map): Give it a menu.
694 2013-02-16  Michael Albinus  <michael.albinus@gmx.de>
696         * net/tramp-cache.el (tramp-connection-properties): New customer
697         option.
698         (tramp-get-connection-property): Use it.
700         * net/tramp-compat.el (top): Require 'trampver.
702         * net/tramp-sh.el (tramp-remote-process-environment):
703         Set tramp-autoload cookie.
705 2013-02-16  Kevin Ryde  <user42@zip.com.au>
707         * info-look.el (info-lookup-select-mode): If major-mode has no
708         info-lookup-alist entry then search up derived-mode-parent (bug#8660).
710 2013-02-16  Jambunathan K  <kjambunathan@gmail.com>
712         * replace.el (read-regexp): Tighten the regexp that matches tag.
713         When tag is retrieved with `find-tag-default', use regexp that
714         matches tag at point.  Also update docstring (Bug#13687).
716 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
718         * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
719         add watch for the file, not its parent directory, since w32notify
720         sets up the watch for the directory internally.  (Bug#13725)
722 2013-02-16  Glenn Morris  <rgm@gnu.org>
724         * image.el (image-default-frame-delay): New variable.
725         (image-animated-p): Use image-default-frame-delay.
726         (image-minimum-frame-delay): New constant.
727         (image-animate-timeout): Use image-minimum-frame-delay.
729         * image.el (image-nth-frame): New, split from image-animate-timeout.
730         (image-animate-timeout): Use image-nth-frame.
731         * image-mode.el (image-goto-frame, image-next-frame)
732         (image-previous-frame): New commands.
733         (image-mode-map): Add new frame commands.
735 2013-02-16  Jonas Bernoulli  <jonas@bernoul.li>
737         * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
738         If col-desc already has help-echo, use it.  (Bug#13563)
740 2013-02-16  Glenn Morris  <rgm@gnu.org>
742         * image.el (image-current-frame): New variable.
743         (image-animate-timeout): Set image-current-frame.
744         * image-mode.el (image-mode): For animated images,
745         display a frame counter via mode-line-process.
747         * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
749 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
751         * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
753 2013-02-15  Alan Mackenzie  <acm@muc.de>
755         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
756         global minor mode has been enabled, call the minor mode function
757         for a new buffer once only, after the major mode hook, whilst
758         allowing that hook explicitly to disable the minor mode.
759         (MODE-disable-in-buffer): New (generated) function.
760         (disable-MODE): New (generated) buffer local variable.
762 2013-02-15  Jambunathan K  <kjambunathan@gmail.com>
764         * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
765         `iswitchb-next-match' and `iswitchb-prev-match' resply.
766         * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
767         `ido-next-match' and `ido-prev-match' resply.
768         * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
769         Bind `C-.' and `C-,' to `icomplete-forward-completions' and
770         `icomplete-backward-completions' (Bug#13708).
772 2013-02-15  Glenn Morris  <rgm@gnu.org>
774         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
776 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
778         * net/goto-addr.el (goto-address-fontify): Add start and end args.
779         (goto-address-fontify-region): Use them instead of narrowing, so
780         syntax-ppss has access to the whole buffer.
782 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
784         * progmodes/python.el: Explain how to restore "cc-mode"-like
785         forward-sexp movement in header documentation (Bug#13642).
786         (python-nav--forward-sexp): Behave like emacs-lisp-mode in
787         comments and strings (GH bug 114).
789 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
791         * progmodes/python.el (python-info-current-defun): Fix current
792         defun detection (Bug#13618).
794 2013-02-15  Chong Yidong  <cyd@gnu.org>
796         * xml.el (xml-parse-string): Fix typo in handling of bad character
797         references.
799 2013-02-15  Glenn Morris  <rgm@gnu.org>
801         * play/fortune.el (fortune-compile): Simplify and fix previous change.
803 2013-02-14  Michael Albinus  <michael.albinus@gmx.de>
805         * net/tramp.el (tramp-debug-message):
806         Add `tramp-condition-case-unless-debug'.
807         (tramp-debug-on-error): New defvar.
808         (tramp-condition-case-unless-debug): New defun.
809         (tramp-file-name-handler): Use it.
811 2013-02-14  Juri Linkov  <juri@jurta.org>
813         * info.el (Info-isearch-filter): Treat non-nil values of
814         `search-invisible' including its default value `open'
815         like the value `t' to match hidden text.  (Bug#13402)
817 2013-02-14  Glenn Morris  <rgm@gnu.org>
819         * help-fns.el (find-lisp-object-file-name): Give special treatment
820         to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)
822 2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)
824         * net/quickurl.el (quickurl-save-urls):
825         Ensure quickurl-urls is not truncated on printing.  (Bug#9276)
827 2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>
829         * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
830         depth for unfinished percent literal.  Not using it in the caller.
831         (ruby-move-to-block): Jump over multiline literals of all types,
832         ignoring code-looking contents inside them.
833         (ruby-add-log-current-method): Improve performance at the expense
834         of accuracy.  `ruby-block-contains-point' is relatively slow, so
835         only use it for method and singleton class blocks.
837 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
839         Use ControlMaster where applicable.  (Bug#13677)
841         * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
842         replacing `tramp-detect-ssh-controlmaster'.
843         (tramp-default-method): Use it.
845         * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
846         [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
847         arguments.
848         [scpc, rsyncc]: Remove methods.
849         (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
850         and "ssh2_old".
851         (tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
852         (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
854 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
856         * emacs-lisp/package.el (package--initialized): Move before first use.
858 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
860         * icomplete.el (icomplete-hide-common-prefix):  New user option.
861         (icomplete-first-match): New face.
862         (icomplete-completions): Correct handling of "complete but not
863         unique" (Bug#12638).
865 2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
867         * descr-text.el (describe-char): Display the script (bug#13698).
869 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
871         * tmm.el: Use lexical-binding and current-active-maps.
872         (tmm-menubar): Use map-keymap and pcase.
873         (tmm--completion-table): New function.
874         (tmm-prompt): Use it to fix the menu order.
875         (tmm-get-keybind): Use current-active-maps.
877 2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
879         Add dired-hide-details-mode.  (Bug#6799)
881         * locate.el (locate-mode): Set parent mode property to dired-mode.
883         * find-dired.el (find-dired): Call dired-insert-set-properties on
884         initial information line.  Set process mark on end of buffer.
885         (find-dired-sentinel):
886         Call dired-insert-set-properties on summary.
888         * dired.el (dired-hide-details-hide-symlink-targets)
889         (dired-hide-details-hide-information-lines): New options.
890         (dired-insert-directory):
891         Set properties after final treatment of output.
892         (dired-insert-set-properties):
893         Set dired-hide-details-* properties.
894         (dired-mode-map): Bind dired-hide-details-mode.
895         (dired-mode): Set buffer-invisibility-spec to a list.
896         (dired-next-line): Skip hidden lines.
897         (dired-previous-line): Use dired-next-line.
898         (dired-hide-details-mode): New minor mode.
899         (dired-hide-details-update-invisibility-spec): New function.
901 2013-02-13  Glenn Morris  <rgm@gnu.org>
903         * play/yow.el: Move to obsolete/.  (Bug#9384)
905 2013-02-13  Juri Linkov  <juri@jurta.org>
907         * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
908         to select `ediff-control-frame' and set input focus correctly on Xfce.
909         (Bug#12218)
911 2013-02-13  Juri Linkov  <juri@jurta.org>
913         * image-mode.el (image-mode-map):
914         * doc-view.el (doc-view-mode-map):
915         * vc/ediff-util.el (ediff-setup-keymap):
916         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
918 2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
920         * progmodes/ruby-mode.el (ruby-move-to-block): Improve
921         performance.  Instead of recalculating indentation fully for each
922         line, sum up indentation depth based only on visited lines.
923         (ruby-parse-partial): Increase the depth after "do" even when END
924         is right after it.
925         (ruby-parse-partial): When END is in the middle of a percent
926         literal, increase the depth if the delimiter chars belong to the
927         paren syntax class.
929 2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
931         * play/fortune.el (fortune-compile): Also make the compiled file
932         if it does not exist at all, not just if it is old.  (Bug#5338)
934 2013-02-13  Glenn Morris  <rgm@gnu.org>
936         * emacs-lisp/package.el (package-menu-execute): Doc fix.
938 2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
940         * lisp/emacs-lisp/package.el (package-menu-execute):
941         Add optional noquery argument.  (Bug#13625)
943 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
945         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
946         if DIR exists and PARENTS is non-nil.
948 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
950         * progmodes/js.el (js--multi-line-declaration-indentation):
951         Silence byte-compiler warning.
953 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
955         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
957         * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
958         only if it doesn't exist.
960         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
961         Set process marker.
963 2013-02-12  Tassilo Horn  <tsdh@gnu.org>
965         * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
966         UserInstallation when calling soffice to work around LibreOffice
967         bug 37531.
969 2013-02-12  Glenn Morris  <rgm@gnu.org>
971         * files.el (basic-save-buffer):
972         Offer to create a non-existing directory.  (Bug#3016)
974         * calc/calc-graph.el (calc-graph-show-dumb):
975         * calendar/calendar.el (calendar-mode-map):
976         * cus-edit.el (custom-mode-map):
977         * ehelp.el (electric-help-map):
978         * emulation/vip.el (vip-mode-map):
979         * epa.el (epa-key-list-mode-map):
980         * info.el (Info-mode-map):
981         * mail/rmail.el (rmail-mode-map):
982         * mail/rmailsum.el (rmail-summary-mode-map):
983         * man.el (Man-mode-map):
984         * net/newst-plainview.el (newsticker-mode-map):
985         * progmodes/cpp.el (cpp-edit-mode-map):
986         * progmodes/grep.el (grep-mode-map):
987         * progmodes/idlw-help.el (idlwave-help-mode-map):
988         * simple.el (special-mode-map):
989         * startup.el (splash-screen-keymap):
990         * view.el (view-mode-map):
991         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
993 2013-02-11  Elias Pipping  <pipping@lavabit.com>
995         * doc-view.el (doc-view-current-cache-dir): Beware % escapes
996         (bug#13679).
998 2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1000         * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1002 2013-02-11  Glenn Morris  <rgm@gnu.org>
1004         * vc/diff.el (diff-use-labels): New variable.
1005         (diff-no-select): Use --label rather than -L, and first
1006         check that it is supported.  (Bug#11067)
1008         * files.el (enable-dir-local-variables): New variable.
1009         (hack-dir-local-variables): Respect enable-dir-local-variables.
1010         * tutorial.el (help-with-tutorial):
1011         Ignore directory-local variables.  (Bug#11127)
1013         * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1014         (vc-svn-global-switches): ... to here.  (Bug#13513)
1016 2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>
1018         * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1019         Handle "foo (bar, default: xxx): " prompts.
1021 2013-02-10  Chong Yidong  <cyd@gnu.org>
1023         * files.el (basic-save-buffer-1): Do not set
1024         buffer-file-coding-system-explicit (Bug#4533).
1026         * mail/emacsbug.el (report-emacs-bug): Change binding of
1027         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1029 2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>
1031         * calc/calc.el (calc-allow-units-as-numbers): New variable.
1032         * calc/calc-units.el (calc-convert-units): Use new variable.
1034 2013-02-09  Eli Zaretskii  <eliz@gnu.org>
1036         * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1038         * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1039         buffer-file-type.
1041         * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1042         (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1043         (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1044         coding-system-for-write instead.
1046         * jka-compr.el (jka-compr-write-region): Don't bind
1047         buffer-file-type.
1049         * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1050         buffer-file-type.
1052         * files.el (file-name-buffer-file-type-alist): Remove defvar.
1053         (insert-file-contents-literally): Remove reference to
1054         file-name-buffer-file-type-alist.
1056         * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1057         make-obsolete.
1058         (find-buffer-file-type-match, find-buffer-file-type): Remove.
1059         (find-buffer-file-type-coding-system): Remove references to
1060         find-buffer-file-type-match, find-buffer-file-type, and
1061         buffer-file-type.
1062         Don't put find-buffer-file-type-coding-system into
1063         file-coding-system-alist.
1064         (find-file-binary, find-file-text): Bind coding-system-for-read
1065         instead of file-name-buffer-file-type-alist.
1067 2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
1069         * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1070         converter (Bug#13622).
1071         (doc-view-unoconv-program): Make obsolete alias.
1072         (doc-view-odf->pdf-converter-program): New variable.
1073         (doc-view-odf->pdf-converter-function): New variable.
1074         (doc-view-mode-p): Use it.
1075         (doc-view-odf->pdf-converter-unoconv):
1076         Rename from `doc-view-odf->pdf-converter-unoconv'.
1077         (doc-view-odf->pdf-converter-soffice): New function.
1078         (doc-view-convert-current-doc):
1079         Use `doc-view-odf->pdf-converter-function'.
1081 2013-02-09  Chong Yidong  <cyd@gnu.org>
1083         * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1084         view-echo-area-messages (Bug#13340).
1086         * help.el (view-echo-area-messages): Use display-buffer.
1088         * dired-x.el (dired-do-run-mail): Prompt for confirmation
1089         (Bug#13561).
1091 2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1093         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1094         Eval body right away, now that we do eager macroexpansion (bug#13605).
1096         * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1097         (fundamental-mode): Use run-mode-hooks.
1099         * eshell/esh-proc.el (eshell/kill): Fix last change.
1100         * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1102 2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>
1104         * eshell/esh-proc.el (eshell/kill): Rewrite.
1106         * eshell/em-ls.el (show-almost-all): Declare.
1107         (eshell-do-ls): Add support for -A argument.
1109 2013-02-08  Jambunathan K  <kjambunathan@gmail.com>
1111         * icomplete.el (icomplete-forward-completions)
1112         (icomplete-backward-completions): Handle corner case (bug#13602).
1114 2013-02-07  Michael Albinus  <michael.albinus@gmx.de>
1116         * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1117         be nil.  Handle this.  (Bug#13636)
1119 2013-02-07  Richard Stallman  <rms@gnu.org>
1121         * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1122         `save-buffer-coding-system'.
1124 2013-02-07  Alan Mackenzie  <acm@muc.de>
1126         Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
1127         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1128         (c-parse-state-get-strategy): Don't return 'BOD any more.
1129         (c-append-lower-brace-pair-to-state-cache):
1130         Extra parameter HERE instead of narrowing.
1131         Widen to top of buffer before searching backwards for a brace pair.
1132         (c-state-push-any-brace-pair): Add HERE parameter to function call.
1133         (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1134         Narrow to parameter HERE, in place of being called narrowed.
1135         (c-remove-stale-state-cache): Extra parameter HERE in place of
1136         narrowing.  Check there's an open brace in the cache before
1137         searching for its match.
1138         (c-invalidate-state-cache-1): Add HERE parameter to function call.
1139         (c-parse-state-1): Don't narrow here for 'forward strategy,
1140         instead passing extra parameter HERE to several functions.
1141         Remove 'BOD strategy.
1143 2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)
1145         * emacs-lisp/package.el (describe-package-1): Tell what archive is
1146         used to install the package.
1148 2013-02-06  Glenn Morris  <rgm@gnu.org>
1150         * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1151         if we can't get user input.  (Bug#6567)
1153         * startup.el (command-line): If simple.el is missing,
1154         test and warn about for some possible causes.
1156 2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
1158         * cus-start.el (all): Add ns-use-native-fullscreen.
1160 2013-02-05  Glenn Morris  <rgm@gnu.org>
1162         * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1164         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1165         Fix directory creation in fallback case.
1167 2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1169         * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1170         (vc-update-change-log): Use dolist.
1172 2013-02-04  Chong Yidong  <cyd@gnu.org>
1174         * thingatpt.el: Rewrite the URL detection routines, absorbing some
1175         code from ffap.el.
1176         (thing-at-point-beginning-of-url-regexp): New var.
1177         (thing-at-point-uri-schemes): Update list of URI schemes.
1178         (thing-at-point-url-regexp): Variable deleted.
1179         (thing-at-point-markedup-url-regexp): Disallow newlines.
1180         (thing-at-point-newsgroup-regexp)
1181         (thing-at-point-newsgroup-heads)
1182         (thing-at-point-default-mail-uri-scheme): New variables.
1183         (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
1184         method to find the possible bounds of the URI at point.
1185         New optional argument to find ill-formed URIs.
1186         (thing-at-point-url-at-point): Rewrite.  New arguments for finding
1187         ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
1188         the scheme-adding heuristics from ffap-url-at-point.
1189         (thing-at-point--bounds-of-well-formed-url): New function.
1190         Do parens matching to decide whether to include parens in the URI
1191         (Bug#9153).
1193         * ffap.el: Require thingatpt.
1194         (ffap-url-at-point): Delegate URI detection to thing-at-point.
1195         All URI-valid characters are now recognized (Bug#5673).
1196         (ffap-string-at-point): Use use-region-p.
1197         (ffap-url-regexp): Extra character is handled by thing-at-point.
1198         (ffap-string-at-point-mode-alist): Allow parentheses.
1199         (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1200         Convert to aliases; code moved to thingatpt.el.
1201         (ffap-gnus-hook): Use setq-local.
1203 2013-02-04  Glenn Morris  <rgm@gnu.org>
1205         * emacs-lisp/ert.el (ert--explain-format-atom):
1206         Don't try to print non-characters as characters.  (Bug#13543)
1208 2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
1210         * net/tramp.el (tramp-debug-message): Extend function exclude list.
1211         (tramp-backtrace): New defun.
1212         (tramp-handle-insert-file-contents): Use `visit' when inserting
1213         the local copy.
1215         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1216         Use `remote-file-name-inhibit-cache'.
1218 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1220         * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1221         (bug#13614).
1223         * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1224         current-load-list (bug#13366).
1226 2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
1228         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1229         Identify g++ template instantiation trace.  (Bug#12287)
1230         (compilation-mode-hook, compilation-start-hook)
1231         (compilation-window-height): Simplify docstrings.  (Bug#13379)
1233 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1235         * mouse.el (mouse-drag-track): Always deactivate the mark before
1236         running the final event's command since that command is in charge of
1237         activating the mark if needed (bug#13523).
1239 2013-02-02  Juri Linkov  <juri@jurta.org>
1241         * replace.el (perform-replace): Move let-bindings of isearch-*
1242         variables deeper to the loop that searches for the next match.
1243         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1244         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1245         (Bug#13579)
1247         * isearch.el (isearch-search-fun-default): Check for null
1248         first element of isearch-cmds as a precaution when it's used
1249         with inactive isearch.
1251 2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
1253         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1254         error when buffer in question is narrowed so position 1 is out of
1255         visible part.
1257 2013-02-02  Glenn Morris  <rgm@gnu.org>
1259         * textmodes/remember.el (remember-clipboard): Doc fix.
1261 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1264         properties (bug#13179).
1266 2013-02-02  Juri Linkov  <juri@jurta.org>
1268         * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1269         instead of hard-coded default face `match'.  (Bug#9438)
1271 2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
1273         * vc/vc-arch.el (vc-arch-registered):
1274         * vc/vc-bzr.el (vc-bzr-registered):
1275         * vc/vc-cvs.el (vc-cvs-registered):
1276         * vc/vc-git.el (vc-git-registered):
1277         * vc/vc-hg.el (vc-hg-registered):
1278         * vc/vc-mtn.el (vc-mtn-registered):
1279         * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1280         (Bug#13139)
1282         * info.el (Info-next-reference, Info-prev-reference): Add numeric
1283         prefix argument.  (Bug#11656)
1285 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1287         * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1289 2013-02-01  Glenn Morris  <rgm@gnu.org>
1291         * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1292         if the backend is known not to support it.
1294         * imenu.el (imenu-default-create-index-function):
1295         Tweak infinite loop test to check for forward motion as well as none.
1297 2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1299         * net/soap-client.el (soap-invoke): Encode the string for
1300         `url-request-data' as UTF-8.
1301         Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1303 2013-02-01  Glenn Morris  <rgm@gnu.org>
1305         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1307         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1309 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
1311         * net/tramp.el (tramp-tramp-file-p): Comment check for
1312         `string-as-unibyte'.  The function does not exist on XEmacs, and
1313         likely we need another approach.
1315         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1316         `tramp-gw-*' variables are bound.
1318 2013-01-31  Glenn Morris  <rgm@gnu.org>
1320         * files.el (basic-save-buffer-2): Choose coding system for
1321         writing the file before backing it up, to reduce delay between
1322         backing up and writing the new version.  (Bug#13522)
1324 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
1326         * simple.el (cycle-spacing): New command.
1327         (just-one-space): Use it.
1329 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1331         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
1332         (opascal-newline-always-indents): Remove custom.
1333         (opascal-tab, opascal-newline): Remove commands.
1334         (opascal-new-comment-line): Insert "\n" instead of calling newline.
1335         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1336         (opascal-save-match-data): Remove, use save-match-data instead.
1337         (opascal-save-state): Use with-silent-modifications.
1339         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1340         (bug#13585).
1342 2013-01-30  Juri Linkov  <juri@jurta.org>
1344         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1345         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
1346         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1348 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1350         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1351         column if we're just deleting the backslashes.
1352         (makefile-fill-paragraph): Use eolp.
1354 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
1356         * autorevert.el (auto-revert-use-notify): Fix docstring.
1358 2013-01-30  Leo Liu  <sdl.web@gmail.com>
1360         * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1362 2013-01-30  Glenn Morris  <rgm@gnu.org>
1364         * mouse.el (mouse-drag-line): Avoid pushing same event onto
1365         unread-command-events twice in some cases.  This tries to implement
1366         the 2012-07-26 changes in a different way.  (Bug#13560)
1368 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1370         * progmodes/python.el
1371         (python-pdbtrack-comint-output-filter-function): Enhancements on
1372         stacktrace detection.  (thanks @gnovak)
1374 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1376         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1377         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1378         Use defvar-local.
1379         (jit-lock-register): Use setq-local.
1381 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
1383         * calc-units.el (math-default-units-table): Remove initial value.
1384         (calc-convert-units): Treat expressions where all the units cancel as
1385         if they didn't have units.
1387 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
1389         * net/tramp.el (tramp-process-connection-type): Fix docstring.
1390         (tramp-completion-reread-directory-timeout): Fix type.
1391         (tramp-connection-min-time-diff): New defcustom.
1393         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1395 2013-01-30  Glenn Morris  <rgm@gnu.org>
1397         * imenu.el (imenu-default-create-index-function):
1398         Put back a version of the infinite loop test removed 2013-01-23.
1400 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1402         * progmodes/python.el (python-shell-parse-command):
1403         Find python-shell-interpreter with modified environment.
1405 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1407         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1409 2013-01-29  Alan Mackenzie  <acm@muc.de>
1411         Amend to fontify /regexp/s in actions correctly.
1412         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1413         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1414         are no longer included.
1415         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1416         What used to be these variables without "-line" in the name.
1417         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
1418         (c-awk-non-arith-op-bra-re): Now also matches {.
1419         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1420         "return", and "case".
1421         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1422         by /.
1423         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1424         (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1426 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
1428         * autorevert.el (auto-revert-use-notify):
1429         Use `custom-initialize-default' for initialization.  (Bug#13583)
1431         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1433         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1434         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
1435         in `tramp-file-name-handler'.
1436         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1437         compatibility.
1438         (tramp-compute-multi-hops): Check, whether
1439         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1441 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1444         (bug#13297).
1446 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
1448         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1449         checks made superfluous by the \_< operator.
1450         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1451         temporarily) broken indentation.
1452         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1453         Highlight nested constants, too.  \_< broke that.
1455 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1457         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1458         instead of "\\b".
1460 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
1462         * autorevert.el (auto-revert-handler): Notifications which result
1463         from a saved file shall not be taken into account.  (Bug#13557)
1465 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
1467         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1468         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1469         (lisp-mode): Pass t for it.  (Bug#13556)
1471 2013-01-25  Alan Mackenzie  <acm@muc.de>
1473         AWK Mode: Fix indentation bug at top level.  Bug #12274.
1475         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1476         just before CASE 5D.
1478 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
1480         * net/socks.el (socks-nslookup-host): Use string-to-number.
1482 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
1484         * autorevert.el (auto-revert-remote-files)
1485         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1486         (auto-revert-notify-enabled, auto-revert-use-notify)
1487         (auto-revert-notify-watch-descriptor-hash-list)
1488         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1489         (auto-revert-notify-event-descriptor)
1490         (auto-revert-notify-event-action)
1491         (auto-revert-notify-event-file-name): Doc fix.
1492         (global-auto-revert-mode): Reorder checks.
1493         (auto-revert-notify-rm-watch): Respect changed values of
1494         `auto-revert-notify-watch-descriptor-hash-list'.
1495         (auto-revert-notify-add-watch): Check for
1496         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
1497         `inotify-add-watch'.  Watch `default-directory' instead of
1498         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
1499         has a changed meaning now.  (Bug#13540)
1500         (auto-revert-notify-handler): Change implementation wrt events
1501         returning from a directory.
1502         (auto-revert-handler): Reorder implementation for checks of remote
1503         files.
1504         (auto-revert-buffers): Fix parentheses error.
1506 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
1508         * progmodes/python.el: Enhancements to header documentation about
1509         skeletons.  (Bug#5716)
1511         * imenu.el (imenu-default-create-index-function): Remove useless
1512         infinite loop check.  (Bug#13438)
1514 2013-01-25  Alan Mackenzie  <acm@muc.de>
1516         Fix a bug in the state cache mechanism.  Refactor this a bit.
1518         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1519         `cache-pos' element from the return value.
1520         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1521         buffer to enable proper searching from beyond HERE.  Amend the
1522         test for detecting the sought brace pair.  Amend the value written
1523         to the "brace desert cache" when the brace isn't found.
1524         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1525         and several other variables analogously.
1526         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1527         parameter to a locally calculated variable.
1528         (c-parse-state-1): Change the calling conventions to the two
1529         defuns involving `cache-pos'.
1531 2013-01-25  Chong Yidong  <cyd@gnu.org>
1533         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1535 2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
1537         * paren.el (show-paren-function): Make sure to set 'priority and
1538         'face only if the overlay does exist.
1540 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
1542         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1544         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1545         basic attributes.
1546         (tramp-sh-handle-set-file-acl): Improve error checking.
1548 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
1550         * doc-view.el (doc-view-display): Force mode line update until all
1551         document is converted.  Suggested by Stefan Monnier (Bug#13164).
1553 2013-01-23  Bastien Guerry  <bzg@gnu.org>
1555         * paren.el (show-paren-function): Make sure an overlay exists
1556         before trying to delete it.  Also use `pos' as a position only
1557         when it is an integer.
1559 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
1561         * play/gametree.el (gametree-break-line-here): Use point-marker.
1563 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
1565         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1566         Mark descriptive parts with `display' property.
1568 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1570         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1571         New variable to map standard dict names to hunspell ones.
1572         (ispell-set-spellchecker-params): Make sure specific dict names
1573         are used for standard dicts with hunspell.
1575 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
1577         * textmodes/reftex-cite.el (reftex-format-citation): Add format
1578         chars for note (%N) and url (%U).
1579         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1581 2013-01-21  Juri Linkov  <juri@jurta.org>
1583         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1584         in addition to existing separate binding `meta f10' in `global-map'.
1585         (Bug#13484)
1587 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
1589         Improve XEmacs compatibility.
1591         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1593         * net/tramp-adb.el (top): Require `time-date'.
1594         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1595         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1596         Use `tramp-file-name-handler'.
1597         (tramp-adb-maybe-open-connection):
1598         Use `tramp-compat-set-process-query-on-exit-flag'.
1600         * net/tramp-sh.el (tramp-sh-handle-file-acl):
1601         Use `tramp-compat-funcall'.
1603         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1604         `tramp-compat-funcall'.
1606 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
1608         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1609         reimplementation using "adb shell command ..." instead of running
1610         remote shell interactively.
1612 2013-01-20  Glenn Morris  <rgm@gnu.org>
1614         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1615         Add native profiler menu entries.
1617         * profiler.el (profiler-running-p): New function.
1618         (profiler-cpu-profile): Use profiler-running-p.
1619         (profiler-report-mode-map): Add some more menu entries.
1621 2013-01-19  Glenn Morris  <rgm@gnu.org>
1623         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1624         fixes 2012-12-07 change.  (Bug#13499)
1626 2013-01-19  Leo Liu  <sdl.web@gmail.com>
1628         * dired.el (dired-get-marked-files): Prune erroneous values due to
1629         last change.  (Bug#13152)
1631 2013-01-19  Glenn Morris  <rgm@gnu.org>
1633         * progmodes/etags.el (tags-table-check-computed-list):
1634         Preserve point in tags buffer.  (Bug#13412)
1636         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1638 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
1639             Chong Yidong  <cyd@gnu.org>
1641         * image-mode.el (image-next-file, image-previous-file):
1642         New commands (Bug#8453).
1643         (image-mode-map): Bind them to n and p.
1644         (image-mode--images-in-directory): New helper function.
1646 2013-01-19  Chong Yidong  <cyd@gnu.org>
1648         * image-mode.el (image-mode-fit-frame): Add a frame argument.
1649         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
1650         save and restore the old window configuration.
1652 2013-01-18  Leo Liu  <sdl.web@gmail.com>
1654         * progmodes/js.el: Tweak autoload cookie for alias.
1656 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
1658         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1659         buffer local, again.  This was lost with the fix on 2013-01-12.
1661 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
1663         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1664         order to support several eshell buffers in parallel.
1666 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
1668         * autorevert.el (auto-revert-use-notify): In the :set function, do
1669         not modify `kill-buffer-hook'.
1670         (auto-revert-notify-rm-watch):
1671         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1672         (auto-revert-notify-add-watch): Do not call
1673         `auto-revert-notify-rm-watch', but add it to a buffer local
1674         `kill-buffer-hook'.
1676 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1678         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1679         call to `eval' rather than a backquoted lambda.
1681 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1683         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1684         to return an explicit nil.
1685         (advice--remove-function): Change accordingly.
1687         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1688         the use of nadvice.el.
1690         * progmodes/which-func.el (which-function): Silence imenu errors
1691         (bug#13433).
1693 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
1695         * progmodes/sql.el: (sql-imenu-generic-expression):
1696         (sql-mode-font-lock-object-name): Match schema qualified names.
1697         (sql-connect): Use string keys.
1698         (sql-product-interactive): Wait for interpreter prompt.
1699         (sql-comint-oracle): Set process coding based on NLS_LANG.
1701 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
1703         * progmodes/sql.el (sql-output-to-send): Remove, unused.
1704         (sql-interactive-remove-continuation-prompt):
1705         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1707 2013-01-14  Leo Liu  <sdl.web@gmail.com>
1709         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1710         (Bug#13420)
1712 2013-01-14  Glenn Morris  <rgm@gnu.org>
1714         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1715         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
1717 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1719         * progmodes/python.el (python-nav-end-of-statement):
1720         Fix cornercase when handling multiline strings.
1722 2013-01-13  Richard Stallman  <rms@gnu.org>
1724         * mail/sendmail.el (mail-position-on-field): Add doc string.
1726         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1727         Get current message boundaries and pass them to
1728         message-forward-make-body-mime.  Minor style changes.
1730 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
1732         * cus-start.el (all): Avoid warnings about
1733         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1735 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
1737         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1739 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1741         * jit-lock.el (jit-lock-debug-mode): New minor mode.
1742         (jit-lock--debug-fontifying): New var.
1743         (jit-lock--debug-fontify): New function.
1744         * subr.el (condition-case-unless-debug): Don't prevent catching the
1745         error, just let the debbugger run.
1746         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1747         timer code and don't drop errors silently.
1749 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
1751         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1752         `permanent-local' property.
1753         (auto-revert-notify-handler): Use `file-equal-p'.
1755 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
1757         * autorevert.el (auto-revert-notify-handler): Fix filtering of
1758         file notification by ACTION. For filtering by file name, compare
1759         only the non-directory part of the file name.
1761 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1763         * autorevert.el: Use cl-lib instead of cl.
1765         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1766         (vc-bzr-checkin): Use it.
1767         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1768         will preserve match-data.
1770 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
1772         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1773         (js--declaration-keyword-re): New var.
1774         (js--multi-line-declaration-indentation): New function.
1775         (js--proper-indentation): Use it.
1777 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
1779         * calc/calc.el (calc-highlight-selections-with-faces)
1780          (calc-dispatch):
1781         * comint.el (comint-history-isearch-message):
1782         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1783         * ffap.el (ffap-string-at-point-region, ffap-next)
1784         (ffap-string-at-point, ffap-string-around)
1785         (ffap-copy-string-as-kill, ffap-highlight-overlay)
1786         (ffap-literally):
1787         * font-lock.el (font-lock-keywords-alist)
1788         (font-lock-removed-keywords-alist):
1789         * help-mode.el (help-xref-symbol-regexp):
1790         * info.el (Info-find-emacs-command-nodes):
1791         * international/mule.el (add-to-coding-system-list):
1792         * isearch.el (isearch-message-function, isearch-fail-pos):
1793         * misearch.el (multi-isearch-next-buffer-function):
1794         * newcomment.el (comment-box):
1795         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1796         (pr-setting-database):
1797         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1798         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1799         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1800         (pike-font-lock-keywords-3):
1801         * progmodes/compile.el (compile):
1802         * progmodes/etags.el (tags-table-files)
1803         (tags-table-files-function, tags-included-tables-function):
1804         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1805         (gdb-restore-windows):
1806         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1807         (ps-n-up-filling-database):
1808         * server.el (server-buffer, server-log):
1809         * simple.el (newline, delete-backward-char, delete-forward-char)
1810         (minibuffer-history-isearch-message, kill-line, track-eol)
1811         (temporary-goal-column):
1812         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1813         (flyspell-default-deplacement-commands):
1814         * textmodes/ispell.el (ispell-accept-output):
1815         * textmodes/sgml-mode.el (html-tag-help):
1816         * vc/compare-w.el (compare-ignore-whitespace)
1817         (compare-ignore-case, compare-windows-dehighlight):
1818         * vc/diff.el (diff):
1819         * whitespace.el (whitespace-point)
1820         (whitespace-font-lock-refontify, whitespace-bob-marker)
1821         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1823 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
1825         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1826         (auto-revert-notify-rm-watch): Ignore errors.
1827         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
1828         inotify, and '(size last-write-time) for w32notify.
1829         Set buffer-local `auto-revert-use-notify' to nil when adding a file
1830         watch fails - this is a fallback to the file modification check.
1831         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1832         (auto-revert-notify-event-action)
1833         (auto-revert-notify-event-file-name): New defuns.
1834         (auto-revert-notify-handler): Use them.  Implement first
1835         plausibility checks.
1836         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1838 2013-01-11  Julien Danjou  <julien@danjou.info>
1840         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1841         max are almost equal. Also return the correct value for V which is
1842         already between 0 and 1.
1844 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
1846         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1848 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
1850         * autorevert.el (auto-revert-notify-rm-watch)
1851         (auto-revert-notify-add-watch): Fix typos in w32notify function
1852         names.
1854 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
1856         * autorevert.el (auto-revert-notify-enabled): Move up.
1857         (auto-revert-use-notify): New defcustom.
1858         (auto-revert-mode, global-auto-revert-mode)
1859         (auto-revert-notify-add-watch, auto-revert-handler)
1860         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1861         `auto-revert-notify-enabled'.
1863 2013-01-10  Elias Pipping  <pipping@exherbo.org>
1865         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1866         * doc-view.el (doc-view-document->bitmap):
1867         Use doc-view-single-page-converter-function instead of
1868         single-page-converter arg; adjust callers.
1870 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
1872         * progmodes/which-func.el (which-function): Understand Semantic's use
1873         of overlays in imenu--index-alist.
1875 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
1877         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
1878         (Man-man-k-use-anchor): New var.
1879         (Man-parse-man-k): New function.
1880         (Man-completion-table): Use it.
1881         (man): Flush the completion cache between uses.
1883 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
1885         * autorevert.el: Add file watch support.
1886         (auto-revert-notify-enabled): New defconst.
1887         (auto-revert-notify-watch-descriptor-hash-list)
1888         (auto-revert-notify-watch-descriptor)
1889         (auto-revert-notify-modified-p): New defvars.
1890         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1891         (auto-revert-notify-handler): New defuns.
1892         (auto-revert-mode, global-auto-revert-mode): Remove file watches
1893         when mode is disabled.
1894         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1895         (auto-revert-buffers): Add file watches for active buffers.
1897 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
1899         * cus-start.el (toplevel): Only allow float values for
1900         scroll-up-aggressively and scroll-down-aggressively.
1901         Allow any number for line-spacing.
1903 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1905         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1906         (doc-view-pdf->png-converter-function): Use mupdf if available.
1907         (doc-view-djvu->png-converter-function)
1908         (doc-view-ps->png-converter-function): Remove.
1909         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1910         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1911         (doc-view-already-converted-p): Adjust accordingly.
1912         (doc-view-mode-p): Simplify.
1913         (doc-view-enlarge): Use setq-local.
1914         (doc-view-pdf->png-converter-ghostscript)
1915         (doc-view-djvu->png-converter-ddjvu)
1916         (doc-view-pdf->png-converter-mupdf): Rework to call
1917         doc-view-start-process directly.
1918         (doc-view-pdf/ps->png): Simplify accordingly.
1919         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1920         (doc-view-document->bitmap): Rename from doc-view-document->png.
1921         (doc-view-convert-current-doc): Merge pdf and djvu cases.
1922         (doc-view-set-slice-from-bounding-box): Fix completion table.
1923         (doc-view-mode): Use add-hook for after-revert-hook.
1925 2013-01-10  Glenn Morris  <rgm@gnu.org>
1927         * emacs-lisp/authors.el (authors-ignored-files)
1928         (authors-valid-file-names, authors-renamed-files-alist):
1929         Add some more entries.
1931 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * image-mode.el (image-mode-winprops): Don't throw away the fallback
1934         `t' pseudo-window entry.
1936 2013-01-10  Alan Mackenzie  <acm@muc.de>
1938         Fix bugs in the c-parse-state mechanism.  Reuse some markers
1939         instead of continually generating new ones.
1941         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1942         (c-state-old-cpp-end-marker): New variables.
1943         (c-append-lower-brace-pair-to-state-cache): Start a backward
1944         search for "}" definitively outside CPP constructs.
1945         (c-remove-stale-state-cache): Inform the caller of a need to
1946         search back for a brace pair in certain circumstances.
1947         (c-state-maybe-marker): New macro.
1948         (c-parse-state): Reuse markers when appropriate.
1950 2013-01-10  Glenn Morris  <rgm@gnu.org>
1952         * simple.el (execute-extended-command): Doc fix.
1953         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
1955 2013-01-10  Chong Yidong  <cyd@gnu.org>
1957         * faces.el (read-face-name): Doc fix.
1959 2013-01-10  Roland Winkler  <winkler@gnu.org>
1961         * emacs-lisp/crm.el: Allow any regexp for separators.
1962         (crm-default-separator): All spaces around the default comma separator.
1963         (crm--completion-command): New macro.
1964         (crm-completion-help, crm-complete, crm-complete-word): Use it.
1965         (crm-complete-and-exit): Handle non-single-char separators.
1967 2013-01-09  Elias Pipping  <pipping@lavabit.com>
1969         * doc-view.el: Add support for DjVu (bug#13164).
1970         (doc-view-djvu->png-converter-function): New config var.
1971         (doc-view-single-page-converter-function, doc-view--image-type)
1972         (doc-view--image-file-extension): New vars.
1973         (doc-view-mode): Initialize them.
1974         (doc-view-goto-page): Use them.
1975         (doc-view-mode-p): Add support for ddjvu.
1976         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1977         (doc-view-set-up-single-converter): New funs.
1978         (doc-view-pdf/ps->png): Extend for djvu.
1979         (doc-view-document->png): Rename from doc-view-pdf->png.
1980         (doc-view-convert-current-doc): Handle djvu.
1981         (doc-view-insert-image, doc-view-display)
1982         (doc-view-already-converted-p): Don't hardcode png.
1983         (doc-view-set-doc-type): Recognize djvu docs.
1985 2013-01-09  Elias Pipping  <pipping@lavabit.com>
1987         * doc-view.el: Add support for mupdf converter (bug#13164).
1988         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1989         (doc-view-ps->png-converter-function): New config vars.
1990         (doc-view-pdf->png-converter-ghostscript)
1991         (doc-view-ps->png-converter-ghostscript)
1992         (doc-view-pdf->png-converter-mupdf): New functions.
1993         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1995 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
1997         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1998         first in session cache: When `tramp-own-remote-path' is in
1999         `tramp-remote-path', the remote path is only set in the session
2000         cache.
2002 2013-01-09  Glenn Morris  <rgm@gnu.org>
2004         * emacs-lisp/trace.el (trace-function-foreground)
2005         (trace-function-background): Doc fix.
2007 2013-01-09  Juri Linkov  <juri@jurta.org>
2009         * international/mule-cmds.el (read-char-by-name): Move let-binding
2010         of completion-ignore-case around completing-read to fix regression
2011         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2012         `string-match-p' using the nil value of `case-fold-search' and
2013         `completion-ignore-case' in `completion-pcm--all-completions'.
2014         (Bug#12615).
2016 2013-01-09  Glenn Morris  <rgm@gnu.org>
2018         * progmodes/compile.el (compilation-parse-errors):
2019         Fix typo.  (Bug#13369)
2021 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
2023         * comint.el (comint-send-input): Check size of buffer before
2024         waiting for process output, in case already accepted.  (Bug#13290)
2026 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
2028         Spelling fixes.
2029         * net/tramp-adb.el (tramp-adb-get-toolbox):
2030         Fix misspelling of 'unknown'.
2032 2013-01-08  Juri Linkov  <juri@jurta.org>
2034         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2035         * progmodes/flymake.el (flymake-errline, flymake-warnline):
2036         Use underline style wave on terminals that support it.  (Bug#13000)
2038 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2040         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2041         the predicate returns nil.
2043         * simple.el: Use lexical-binding.
2044         (primitive-undo): Use pcase.
2045         (minibuffer-history-isearch-push-state): Use a closure.
2047 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2049         * simple.el (primitive-undo): Move from undo.c.
2051 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2053         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2054         (cvs-mode-remove-handled): Use it (bug#13380).
2056         * emacs-lisp/nadvice.el (advice--tweak): New function.
2057         (advice--remove-function, advice--subst-main): Use it.
2059         * emacs-lisp/advice.el: Update commentary.
2061 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
2063         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2064         Remove spurious entry.
2066 2013-01-08  Glenn Morris  <rgm@gnu.org>
2068         * net/tramp.el (tramp-default-host-alist): Add :version.
2070 2013-01-08  Juri Linkov  <juri@jurta.org>
2072         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2073         single completion.  (Bug#12456)
2074         (info--manual-names): Expand node completions into an explicit list
2075         before appending it to another list.  Filter out internal buffers
2076         with the leading space in the buffer name.  (Bug#10771)
2078 2013-01-08  Juri Linkov  <juri@jurta.org>
2080         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2081         that defaults to the Top node.
2082         (Info-goto-node, Info-read-node-name): Doc fix to mention that
2083         the short format (FILENAME) goes to the Top node.
2084         (Info-build-node-completions): Rename arg `file' to `filename'.
2085         (Bug#13365)
2087 2013-01-07  Bastien Guerry  <bzg@gnu.org>
2089         * menu-bar.el (menu-bar-search-documentation-menu):
2090         Use `apropos-user-option' and fix the help message.
2092 2013-01-07  Bastien Guerry  <bzg@gnu.org>
2094         * apropos.el (apropos-do-all): Update docstring.
2095         (apropos-user-option-button): New face.
2096         (apropos-user-option): Rename from `apropos-variable' and update
2097         docstring.
2098         (apropos-variable): Rewrite, now show all variables by default.
2099         (apropos-print): Mention "User option" instead of "Variable" when
2100         printing doc for user options.  (Bug#13276)
2102 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
2104         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2105         Handle filename correctly, when parsing "source -> target" symlink
2106         output.
2107         (tramp-adb-handle-set-file-times): New defun.
2109 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2111         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2112         advice list when the interactive-spec of ad-Advice-* changes.
2114 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2116         * wid-edit.el (widget-default-get): Work for inlined elements.
2117         (Bug#12670)
2119 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
2121         * net/tramp.el (tramp-default-host-alist): New defcustom.
2122         (tramp-find-host): Use it.
2123         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
2124         `eshell-directory-change-hook'.
2126         * net/tramp-adb.el (top): Add adb specific entry in
2127         `tramp-default-host-alist'.
2128         (tramp-adb-file-name-host): Remove function.
2129         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2130         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2132         * net/tramp-sh.el: Move eshell integration code to tramp.el.
2134 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
2136         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2138 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
2140         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2141         consist of more than one digit.
2142         (tramp-adb-file-name-handler-alist):
2143         Use `tramp-handle-file-exists-p' consistently.
2144         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2145         (tramp-adb-handle-file-exists-p): Remove function.
2146         (tramp-adb-file-name-host): New defun.
2147         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2148         Use it.
2149         (tramp-adb-maybe-open-connection): Set "remote-path" property.
2151 2013-01-06  Chong Yidong  <cyd@gnu.org>
2153         * vc/vc.el (vc-next-action): Detect buffer modifications
2154         conflicting with locking VCS operation (Bug#11490).
2156         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2158 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
2160         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2161         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2163 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
2165         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2166         parsing of ls output using regular expression (handle filenames
2167         with spaces).  Use virtual device number.
2168         (tramp-do-parse-file-attributes-with-ls): New defun (Code
2169         cleanup).
2171 2013-01-04  Daiki Ueno  <ueno@gnu.org>
2173         * epg.el: Silence byte-compiler warnings.
2174         (epg--start): Use delete-char instead of delete-backward-char.
2175         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2177 2013-01-04  Daiki Ueno  <ueno@gnu.org>
2179         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2180         Suggested by Eli Zaretskii  <eliz@gnu.org>.
2182 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
2184         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2185         non-negative integers.  Otherwise, the default values are used.
2186         (tramp-convert-file-attributes): Convert uid and gid to integers.
2188 2013-01-04  Glenn Morris  <rgm@gnu.org>
2190         * term.el (term-handle-colors-array): Ensure face attributes
2191         are fully specified, not nil.  (Bug#13337)
2193         * term.el (term-default-fg-color, term-default-bg-color):
2194         Fix custom type.
2196         * progmodes/etags.el (tags-compression-info-list): Doc fix.
2197         (tag-find-file-of-tag-noselect): Check auto-compression-mode
2198         rather than 'jka-compr being loaded.  (Bug#13338)
2200 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
2202         * icomplete.el (icomplete-completions):
2203         Honor icomplete-prospects-height once more following
2204         2012-11-29 changes.  (Bug#13224)
2206 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * subr.el (internal--called-interactively-p--get-frame): Find aliases
2209         of called-interactively-p as well (bug#13237).
2211         * view.el (view--enable, view--disable): Rename from view-mode-enable
2212         and view-mode-disable and assume it's called from view-mode.
2213         (view-mode-enable, view-mode-disable): Redefine as obsolete
2214         compatibility layer above view-mode.
2215         (view-mode-enter): Call `view-mode'.
2217         * files.el (after-find-file): Call `view-mode'.
2219         * doc-view.el (doc-view-scale-internally): New var.
2220         (doc-view-enlarge, doc-view-insert-image): Obey it.
2222 2013-01-03  Daiki Ueno  <ueno@gnu.org>
2224         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2225         exist.  (Bug#13344)
2227 2013-01-03  Glenn Morris  <rgm@gnu.org>
2229         * mail/rmail.el (rmail-set-header-1): Ignore case.
2230         Handle multi-line headers.  (Bug#13330)
2232         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2233         Handle paragraph starting at beginning of buffer.
2235         * subr.el (eval-after-load): Don't purecopy the form, so that it
2236         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
2238         * emacs-lisp/byte-run.el (defun): Place cl declarations
2239         after any interactive spec.  (Bug#13265)
2241 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
2243         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2244         defun.  Don't check for DECL if DOCSTRING isn't a string.
2245         (defun): Likewise.
2247 2013-01-02  Glenn Morris  <rgm@gnu.org>
2249         * eshell/em-cmpl.el (eshell-pcomplete):
2250         More thoroughly imitate pcomplete.  (Bug#13293)
2252         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
2253         Return nil for empty path elements.  (Bug#13296)
2255 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
2257         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2258         order to improve efficiency (Based on Daniel Colascione's
2259         <dancol@dancol.org> patch).  (Bug#13182)
2261 2013-01-02  Glenn Morris  <rgm@gnu.org>
2263         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2265 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
2267         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2268         neither DOCSTRING nor DECL was given.  (Bug#13316)
2270 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
2272         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2273         `error' call.
2274         (tramp-do-copy-or-rename-file): Ignore errors when calling
2275         `set-file-extended-attributes'.
2277         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2278         Add handler for `file-acl'.
2279         (tramp-smb-handle-file-acl): New defun.
2281 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
2283         * calc/README: Mention ISO 8601 week-numbering dates.
2285 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
2287         * view.el (view-mode-enable): New argument run-view-mode-hook.
2288         Run view-mode-hook only when it's non-nil (Bug#13315).
2289         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2290         argument t.
2292 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
2294         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2295         (No device connected, invalid device name). (Bug #13299)
2297 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
2299         * window.el (window-resizable--p): Rename to window-resizable-p.
2300         (window-resize-no-error): New function.
2302         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2303         broken in fix from 2012-12-28.
2305 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2307         * subr.el (special-form-p): Don't signal errors on undef aliases.
2309 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
2311         * calc/calc-forms.el (math-parse-date): Try using
2312         `math-parse-iso-date' when it looks like it might be needed.
2313         Allow times of 24:00.
2314         (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
2315         of 24:00.
2317 2012-12-30  Glenn Morris  <rgm@gnu.org>
2319         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2320         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
2321         (rmail-summary-displayed, rmail-summary): Declare.
2322         (mairix-rmail-display): Just require rmail.
2324 2012-12-30  Chong Yidong  <cyd@gnu.org>
2326         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2327         check for the tarball contents.
2329 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
2331         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2332         tarfile content listings (Bug#13136).
2334 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
2336         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2337         Insert the undecoded text of the message being forwarded.  (Bug#9521)
2339 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
2341         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2342         integers, if they are real numbers.  (Bug#13282)
2344         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2345         Return `t' on success.
2347         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2348         Add handler for `set-file-selinux-context'.
2350 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
2352         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2353         (tramp-sh-handle-set-file-acl): Return `t' on success.
2355 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
2357         * files.el (backup-buffer-copy, basic-save-buffer-2):
2358         If set-file-extended-attributes fails, fall back on set-file-modes
2359         instead of signaling an error.  (Bug#13298)
2360         (basic-save-buffer): Likewise.
2362 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2364         * progmodes/python.el: Support other commands triggering
2365         python-indent-line so indentation cycling continues to work.
2366         (python-indent-trigger-commands): New defcustom.
2367         (python-indent-line): Use it.
2369 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2371         * progmodes/python.el (python-shell-send-region): Add blank lines
2372         for non sent code so backtraces remain correct.
2374 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2376         * progmodes/python.el: Remove cl dependency.
2377         (python-syntax-count-quotes): Replace incf call.
2378         (python-fill-string): Replace setf call.
2380 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
2382         * info.el (info-other-window): New arg, for consistency with info.
2384 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
2386         * mail/rmail.el (rmail-maybe-display-summary):
2387         Rewrite (Bug#13066).
2389 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
2391         * epg.el (epg--start): Modify process-environment locally.
2393 2012-12-28  Daiki Ueno  <ueno@gnu.org>
2395         * epg.el: Support pinentry-curses.
2396         Suggested by Werner Koch in
2397         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2398         (epg-agent-file, epg-agent-mtime): New variable.
2399         (epg--start): Record the modified time of gpg-agent socket file,
2400         to restore Emacs frame after pinentry-curses termination.
2401         (epg-wait-for-completion): Restore Emacs frame here.
2403 2012-12-27  Juri Linkov  <juri@jurta.org>
2405         * info.el (Info-file-completions): New variable.
2406         (Info-read-node-name-1): Complete node names in the Info file
2407         when a file name is given.  Call `Info-build-node-completions'
2408         with a file name.
2409         (Info-build-node-completions): Add new arg `file'.  When it is
2410         non-nil, visit it in a temporary buffer and cache its completions in
2411         `Info-current-file-completions'.  Move most of the function body to
2412         `Info-build-node-completions-1'.
2413         (Info-build-node-completions-1): New function with the body from
2414         `Info-build-node-completions'.  (Bug#12456)
2416 2012-12-27  Juri Linkov  <juri@jurta.org>
2418         * frame.el (frame-maximization-style): Remove user option.
2419         (cycle-frame-maximized): Remove function.
2420         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2421         (toggle-frame-fullscreen): New command bound to <f11> instead of
2422         `toggle-frame-maximized'.
2423         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2425 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
2427         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2429         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2430         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2431         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2432         for `file-accessible-directory-p'.  (Bug#13275)
2434 2012-12-27  Sam Steingold  <sds@gnu.org>
2436         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2437         continuations, see <http://stackoverflow.com/questions/3582436>.
2439 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
2441         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2442         "module" and "def" to have indentation before them.
2443         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2445         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2447 2012-12-27  Alan Mackenzie  <acm@muc.de>
2449         Speed up fontification where there's large brace blocks.
2450         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2451         to a call of c-beginning-of-decl-1.
2453 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
2455         * comint.el (comint-adjust-window-point): New function.
2456         (comint-postoutput-scroll-to-bottom):
2457         Call comint-adjust-window-point (Bug#13248).
2459 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
2461         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2462         Rakefile regexp.
2463         (auto-mode-alist): Associate .gemspec files with ruby-mode
2464         (https://bugs.ruby-lang.org/issues/5453).
2466 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
2468         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2469         Suppress coloring, if possible (required for BusyBox based systems like
2470         CyanogenMod).
2471         (tramp-adb-handle-file-attributes)
2472         (tramp-adb-handle-insert-directory)
2473         (tramp-adb-handle-file-name-all-completions): Use it.
2474         (tramp-adb-get-toolbox): New defun.  Check for remote shell
2475         implementation (BusyBox or Toolbox).
2477 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
2479         * startup.el (initial-buffer-choice): Allow function as value
2480         (Bug#13251).
2481         (command-line-1): Handle case where initial-buffer-choice
2482         specifies a function.
2483         * server.el (server-execute): Handle case where
2484         initial-buffer-choice specifies a function.
2486 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2488         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2489         its own function.
2490         (smtpmail-try-auth-methods): Forget the user name/password if the
2491         login is unsuccessful (bug#12424).
2493 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
2495         * notifications.el (notifications-notify): Protect body with
2496         `with-demoted-errors'.
2498         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2499         Check properties of remote device.  Restart connection, if there is a
2500         change.
2502 2012-12-21  Chong Yidong  <cyd@gnu.org>
2504         * sort.el (sort-subr): Doc fix (Bug#13056).
2506 2012-12-21  Bastien Guerry  <bzg@gnu.org>
2508         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
2510 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
2512         * simple.el (process-file): Overwrite stderr file, if exists.
2514 2012-12-21  Daiki Ueno  <ueno@gnu.org>
2516         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2517         (epg-error): Set `error-message' property.
2519 2012-12-21  Chong Yidong  <cyd@gnu.org>
2521         * international/mule-cmds.el (read-char-by-name): Signal an error
2522         if the user does not supply a valid character (Bug#13177).
2524         * simple.el (transpose-subr-1): Preserve marker positions by
2525         changing the insertion sequence (Bug#13122).
2527 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
2529         * simple.el (kill-region): Deactivate mark even for empty regions
2530         (Bug#13169).
2532 2012-12-21  Chong Yidong  <cyd@gnu.org>
2534         * help-fns.el (describe-variable): Make sure we get the right
2535         buffer name (Bug#13105).  Suggested by Kelly Dean.
2537 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
2539         * comint.el (comint-redirect-previous-input-string): New variable.
2540         (comint-redirect-setup, comint-redirect-cleanup)
2541         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
2542         (comint-redirect-preoutput-filter): Fix verbose message.
2544 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
2546         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
2547         is too long for Tramp.  See discussion in
2548         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2550         * progmodes/compile.el (compilation-start): Remove line escape
2551         template.
2553 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
2555         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2556         Adjust comment.
2558 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
2560         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2561         following non-comment text (bug#13207).
2562         (lm-header-multiline): Continuation lines need to be indented more than
2563         the first line.
2564         (lm-homepage): New function.
2565         (lm-with-file): Don't be confused if narrowing is in effect.
2567 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2569         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2570         very beginning of a hunk (e.g. killing the first line).
2572 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
2574         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2575         and text properties from returned ACL string.
2576         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2577         for "setfacl" command.
2579 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
2581         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2582         `tramp-cleanup-this-connection', when the process has died.
2583         (Bug#13151)
2585 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2587         * icomplete.el (icomplete-completions): Also use â€¦ to truncate prefix.
2589 2012-12-17  Kevin Ryde  <user42@zip.com.au>
2591         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2593 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
2595         Add support for preserving ACL entries of files.
2597         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2598         `set-file-acl' handlers.
2600         * net/tramp-adb.el (tramp-adb-handle-copy-file):
2601         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2603         * net/tramp-compat.el (tramp-compat-copy-file):
2604         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2606         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2607         Add `file-acl' and `set-file-acl' handlers.
2608         (tramp-gvfs-handle-copy-file):
2609         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2610         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2611         New defuns.
2613         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2614         Add `file-acl' and `set-file-acl' handlers.
2615         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2616         (tramp-sh-handle-set-file-acl): New defuns.
2617         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2618         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2620         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2621         Add `file-acl' and `set-file-acl' handlers.
2622         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2624 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
2626         * help-macro.el (make-help-screen): Instead of switch-to-buffer
2627         use pop-to-buffer with NORECORD argument t.  As buffer name, use
2628         *Metahelp* with a leading space (Bug#13190).
2630 2012-12-16  Romain Francoise  <romain@orebokech.com>
2632         * files.el (file-extended-attributes)
2633         (set-file-extended-attributes): New functions.
2634         (backup-buffer): Use them to handle both SELinux context and ACL
2635         entries.
2636         (backup-buffer-copy): Work with an alist of extended attributes,
2637         rather than an SELinux context.
2638         (basic-save-buffer-2): Ditto.
2640 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
2642         * battery.el (battery-bsd-apm): New function.
2644 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
2646         * calc/calc.el (calc-standard-date-formats): Adjust one of the
2647         standard date formats.
2649 2012-12-15  Juri Linkov  <juri@jurta.org>
2651         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2652         `isearch-insert-char-by-name'.
2653         (with-isearch-suspended): New defmacro with body mostly from
2654         `isearch-edit-string' except the part that sets
2655         `isearch-new-string' and `isearch-new-message'.
2656         (isearch-edit-string): Use new macro `with-isearch-suspended' with
2657         body that sets `isearch-new-string' and `isearch-new-message'.
2658         (isearch-insert-char-by-name): New command.
2659         * international/mule-cmds.el (read-char-by-name): Let-bind
2660         `enable-recursive-minibuffers' to t.
2661         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2663 2012-12-15  Juri Linkov  <juri@jurta.org>
2665         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2666         (Bug#13175)
2668 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
2670         * dired-x.el (dired-guess-shell-command): Put colon at the end of
2671         the prompt.  (Bug#13045)
2673 2012-12-14  Glenn Morris  <rgm@gnu.org>
2675         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2676         Try to include filename in non-bytecomp warning.  (Bug#13132)
2678 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
2680         Fix permissions bugs with setgid directories etc. (Bug#13125)
2681         * files.el (backup-buffer): Don't rely on 9th output of
2682         file-attributes, as it's now a placeholder.  Instead, use the new
2683         optional arg of file-ownership-preserved-p.
2684         (file-ownership-preserved-p): New optional arg GROUP.
2685         Fix mishandling of setuid directories that would cause this
2686         function to return t when it should have returned nil.
2687         Document what happens if the file does not exist, and when
2688         it's not known whether the ownership will be preserved.
2689         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2690         Likewise.
2691         (tramp-get-local-gid): Use group-gid for integer, as that's
2692         faster and more reliable.
2694 2012-12-14  Julien Danjou  <julien@danjou.info>
2696         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2697         Update keywords list, data type and PL/pgSQL.
2699 2012-12-14  Dave Abrahams  <dave@boostpro.com>
2701         * vc/ediff-util.el (ediff-buffer-type): New function.
2702         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2703         rather than taking it as as argument.
2704         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2706 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
2708         * json.el: Add pretty-print option (bug#12634).
2709         (json-encoding-separator, json-encoding-default-indentation)
2710         (json--encoding-current-indentation, json-encoding-pretty-print)
2711         (json-encoding-lisp-style-closings): New vars.
2712         (json--with-indentation): New macro.
2713         (json-encode-hash-table, json-encode-alist, json-encode-plist)
2714         (json-encode-array): Use it to obey json-encoding-pretty-print.
2715         (json-pretty-print-buffer, json-pretty-print): New commands.
2717 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2719         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2720         Extract `ruby-syntax-propertize-expansions'.
2721         (ruby-syntax-propertize-expansions): Only change syntax on
2722         certain string delimiters, to punctuation.  This way the common
2723         functions like forward-word and thing-at-point still work.
2724         (ruby-match-expression-expansion): Improve readability.
2725         (ruby-block-contains-point): New function.
2726         (ruby-add-log-current-method): Handle several edge cases.
2728 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
2730         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2731         unload-feature finishes even when aborting an ongoing edebug session.
2732         Also, do not worry about edebug-mode, unload-feature takes care of it.
2734 2012-12-13  Andreas Schwab  <schwab@suse.de>
2736         * net/tls.el (tls-program): Update customize type.
2738 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
2740         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2741         (edebug-setup-hook, cl-read-load-hooks): Use it.
2742         (edebug-unload-function): New function.  (Bug#13163)
2744 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
2746         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2747         Otherwise, there could be errors in autoloading.  (Bug#13151)
2749 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
2751         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2752         sequences.
2754 2012-12-13  Alan Mackenzie  <acm@muc.de>
2756         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
2757         * progmodes/cc-engine.el (c-backward-comments): Add code to work
2758         around `forward-comment' not recognizing ^M as whitespace.
2760 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
2762         * progmodes/python.el (python-skeleton-class)
2763         (python-skeleton-def): Do not add space after defun name.
2765 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2767         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2768         (cl--symbol-function): Remove (now that funbound is like nil).
2770 2012-12-12  Glenn Morris  <rgm@gnu.org>
2772         * button.el (button--area-button-p): Fix typo.
2774 2012-12-12  Sam Steingold  <sds@gnu.org>
2776         * frame.el (frame-maximization-style): New user option.
2777         (toggle-frame-maximized): Toggle frame maximization according to
2778         `frame-maximization-style', bound to <f11>.
2779         (cycle-frame-maximized): Cycle between all maximization styles and
2780         non-maximized frame, bound to shift-<f11>.
2782 2012-12-12  David Cadé  <codename68@gmail.com>
2784         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2786 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
2788         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2789         (eieio-override-prin1): Don't quote kewords and booleans.
2790         (object-write) <eieio-default-superclass>: Don't put closing parens
2791         on new line, avoid needless empty lines, align values that are objects
2792         with the slot keyword (instead of beginning on the same line).
2793         (eieio-list-prin1): Align value with slot keyword; increase
2794         eieio-print-depth before printing members of the list.
2796 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2798         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2799         a display text-property.
2800         (report-emacs-bug-hook): Don't bother deleting it any more.
2802         * hilit-chg.el (highlight-save-buffer-state): Delete.
2803         Use with-silent-modifications instead.
2804         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2806         * button.el: Handle buttons in display text-properties.
2807         (button--area-button-p, button--area-button-string):
2808         Use (STRING . STRING-POS) representation instead of just STRING.
2810 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
2812         * makefile.w32-in (compile4-SH): Fix a typo that caused term
2813         subdirectory be skipped.
2815 2012-12-11  Glenn Morris  <rgm@gnu.org>
2817         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2819         * progmodes/f90.el (f90-line-continued, f90-indent-region):
2820         Treat preprocessor lines embedded in continuations like comments.
2821         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
2823 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
2825         * calc/calc.el (calc-standard-date-formats):  Add more date
2826         formats.
2827         * calc/calc-forms.el (math-parse-iso-date): New function.
2828         (math-parse-date): Use `math-parse-iso-date' when appropriate.
2829         (math-parse-iso-date-validate): Add extra error checking.
2830         (calc-date-notation): Add ability to access new date formats.
2832 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2834         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2835         font-lock as well as when there's no text-property.
2837 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
2839         * hi-lock.el: Refine the choice of default face.
2840         (hi-lock-keyword->face): New function.  Use it wherever we used
2841         cadadadr instead.
2842         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2843         (hi-lock--last-face): Remove var.
2844         (hi-lock--unused-faces): New var to replace it.
2845         (hi-lock-read-face-name): Use/maintain it.
2846         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
2847         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2848         if it has another face.
2850 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
2852         * subr.el (w32notify-handle-event): New function.
2853         (inotify-handle-event): Doc fix.
2855 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2857         * subr.el (inotify-event-p, inotify-handle-event): New functions.
2859 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
2861         * simple.el (just-one-space): Doc fix.
2863 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
2865         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2867 2012-12-10  Le Wang  <l26wang@gmail.com>
2869         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2870         narrowed buffer (bug#12361).
2872 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
2874         * vc/vc-hooks.el (vc-state): Doc fix.
2876 2012-12-10  Glenn Morris  <rgm@gnu.org>
2878         * mail/rmail.el (rmail-maybe-display-summary):
2879         Preserve buffer, in case select-window changes it.  (Bug#13066)
2881 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2883         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2884         cl-load-hook where they belong.
2886 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2888         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2890 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
2892         Parallelize byte compilation on MS-Windows.
2893         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2894         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2895         (WINS_BASIC): Define as concatenation of the above.
2896         (compile): Subdivide into 4 separate and independent jobs that can
2897         be run in parallel.
2898         (compile0-CMD, compile0-SH): New targets for compiling
2899         COMPILE_FIRST files, which are prerequisites for the rest of the
2900         byte-compilation.
2901         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2902         New targets for parallel compilation with cmd.exe.
2903         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2904         compiling under a Unixy shell.
2906 2012-12-09  Chong Yidong  <cyd@gnu.org>
2908         * simple.el (set-mark-default-inactive): Delete this
2909         accidentally-introduced option.
2910         (set-mark-command, exchange-point-and-mark): Remove calls.
2912 2012-12-09  Glenn Morris  <rgm@gnu.org>
2914         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2915         Respect a defcustom's :set function, if appropriate.  (Bug#109)
2916         (eval-defun): Doc fix.
2918 2012-12-08  Juri Linkov  <juri@jurta.org>
2920         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2921         (Info-fontify-node, Info-bookmark-make-record): Remove the
2922         file extension from Info-current-file (Bug#13016).
2924 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2926         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2927         point, still provide some default.
2928         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2929         names, since we don't use it right now.  Actually return the list.
2930         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2932 2012-12-07  Chong Yidong  <cyd@gnu.org>
2934         * novice.el (disabled-command-function): Remove a spurious help
2935         xref (Bug#13043).  Suggested by Kelly Dean.
2937         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2938         syntax is specified (Bug#13025).
2940         * info.el (Info-set-mode-line): Remove the file extension from
2941         Info-current-file if there is one (Bug#13016).
2943 2012-12-07  Glenn Morris  <rgm@gnu.org>
2945         * mail/rmail.el (rmail-mime-decoded): New permanent local.
2946         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2947         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2948         and rmail-mime-decoded.  (Bug#9841)
2950         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
2951         (batch-unrmail, unrmail): Doc fixes.
2952         (unrmail): Respect unrmail-mbox-format.
2953         * mail/rmail.el (rmail-mbox-format): New option.
2954         (rmail-show-message-1): Respect rmail-mbox-format.
2956 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2958         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2960 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2962         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
2963         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2964         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2965         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2966         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2967         (cl-progv): Don't rely on dynamic scoping to find the body.
2968         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2969         (cl--proclaims-deferred): Rename from the "cl-" prefix.
2970         (cl-declaim): Use backquotes.
2971         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2972         Use "cl--" prefix for the object's tag.
2974         * ses.el: Use advice-add/remove.
2975         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2976         (copy-region-as-kill, yank): Use advice-add.
2977         (ses-unload-function): Use advice-remove.
2979 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
2981         * button.el: Make them work in header-lines (bug#12817).
2982         (button-map): Add bindings for header-line and mode-line use.
2983         (button-get, button-put, button-label): `button' may now be a string.
2984         (button-activate): Don't make it a defsubst.
2985         (button--area-button-p, button--area-button-string): New functions.
2986         (make-text-button): Fix the return value when `beg' was a string.
2987         (push-button): Handle the mode-line case.
2989 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2991         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2992         (sql-signum): Remove.  Use `cl-signum' instead.
2993         (sql-read-passwd): Remove; use read-passwd instread.
2994         (sql-get-login-ext): Use read-string.
2995         (sql-get-login): Use dolist and pcase.
2996         (sql--completion-table): Rename from sql-try-completion.
2997         Use complete-with-action.
2998         (sql-mode): Don't change abbrev-all-caps globally.
2999         (sql-connect): Don't rely on dynamic scoping for `new-name'.
3000         (sql-postgres-completion-object): Initialize vars in their `let'.
3001         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3002         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3003         (sql-comint-interbase): Use a single append, without setq.
3004         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3006         * hi-lock.el: Rework the default face and the serialize regexp code.
3007         (hi-lock--auto-select-face-defaults): Remove.
3008         (hi-lock-string-serialize-serial): Remove.
3009         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3010         make weak.
3011         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3012         equal string.
3013         (hi-lock-set-pattern): Adjust accordingly.
3014         (hi-lock--regexps-at-point): Simplify accordingly.
3015         (hi-lock--auto-select-face-defaults): Remove.
3016         (hi-lock--last-face): New var to replace it.
3017         (hi-lock-read-face-name): Rewrite (bug#11095).
3018         (hi-lock-unface-buffer): Arrange for the face to be the next default.
3020 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
3022         * net/tramp.el (tramp-replace-environment-variables):
3023         Hide compiler warning.
3024         (tramp-file-name-for-operation): Remove `executable-find',
3025         `start-process', `call-process' and `call-process-region'.
3027         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3029         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3030         compatibility.
3032         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3034 2012-12-06  Chong Yidong  <cyd@gnu.org>
3036         * ffap.el (ffap-replace-file-component): Fix typo.
3038 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3040         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3041         fix open-paren-like token test (bug#12785).
3043 2012-12-06  Glenn Morris  <rgm@gnu.org>
3045         * mail/rmailsum.el (rmail-new-summary): Tweak for
3046         rmail-maybe-display-summary changing buffer.  (Bug#13066)
3048 2012-12-06  Juri Linkov  <juri@jurta.org>
3050         * info.el (Info-fontify-node): Don't hide the last newline.
3051         (Bug#12272)
3053 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
3055         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3056         so as to enable message-read-from-minibuffer to expand mail aliases.
3058 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3060         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3061         the `intangible' property.
3062         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3064 2012-12-05  Deniz Dogan  <deniz@dogan.se>
3066         * net/rcirc.el (rcirc-urls): Update documentation.
3067         (rcirc-condition-filter): New function.
3068         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3069         and exclude consecutive duplicate URLs (Bug#6082).
3071 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
3073         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3074         Check return code of copy command.
3076         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3077         Use group `tramp'.  Add version.
3079 2012-12-05  Chong Yidong  <cyd@gnu.org>
3081         * ffap.el (ffap-url-regexp): Don't require matching at front of
3082         string (Bug#4952).
3083         (ffap-url-p): If only a substring matches, return that.
3084         (ffap-url-at-point): Use the return value of ffap-url-p.
3085         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3086         (find-file-at-point, dired-at-point, dired-at-point-prompter)
3087         (ffap-guess-file-name-at-point): Likewise.
3088         (ffap-replace-file-component): Fix typo.
3090         * info.el (info-display-manual): Add existing Info buffers, whose
3091         files may not be in Info-directory-list, to the completion.
3092         (info--manual-names): New helper function.
3094 2012-12-05  Glenn Morris  <rgm@gnu.org>
3096         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3097         New functions, for detecting and resolving conflicts.  (Bug#10709)
3099 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
3101         * hi-lock.el (hi-lock-auto-select-face): New user variable.
3102         (hi-lock-auto-select-face-defaults): New buffer local variable.
3103         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3104         (hi-lock-unface-buffer): Prompt user with useful defaults.
3105         With prefix arg, unhighlight all hi-lock patterns in buffer.
3107 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3109         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3111 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
3113         * Makefile.in (TRAMP_SRC):
3114         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3116 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
3118         * net/tramp-adb.el: New package.
3120 2012-12-04  Chong Yidong  <cyd@gnu.org>
3122         * terminal.el: Move to obsolete/.
3124         * longlines.el: Move to obsolete/.
3126         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3127         Remove code referring to longlines mode.
3129 2012-12-03  Juri Linkov  <juri@jurta.org>
3131         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
3133 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3135         * textmodes/ispell.el (ispell-init-process)
3136         (ispell-start-process, ispell-internal-change-dictionary):
3137         Make sure personal dictionary name is expanded after initial
3138         `default-directory' value. Use expanded strings for
3139         keep/restart checks and for value (Bug#13019).
3141 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
3143         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3145 2012-12-03  Leo Liu  <sdl.web@gmail.com>
3147         * files.el (dir-locals-read-from-file): Check file non-empty
3148         before reading.  (Bug#13038)
3150 2012-12-03  Glenn Morris  <rgm@gnu.org>
3152         * jka-cmpr-hook.el (jka-compr-get-compression-info):
3153         Remove any version extension before checking filename.  (Bug#13006)
3154         (jka-compr-compression-info-list): Belated :version bump.
3156 2012-12-03  Chong Yidong  <cyd@gnu.org>
3158         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3160         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3161         (buffer-menu): Doc fix (Bug#12294).
3163 2012-12-03  Roland Winkler  <winkler@gnu.org>
3165         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3166         of diary-show-all-entries in the diary buffer (Bug#12994).
3168 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
3170         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3171         "<STDIN>".  This is binary safe.
3173 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
3175         * calc/calc-forms.el (math-absolute-from-iso-dt)
3176         (math-date-to-iso-dt, math-parse-iso-date-validate)
3177         (math-iso-dt-to-date): New functions.
3178         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3179         (math-fd-isoweekday): New variables.
3180         (calc-date-notation, math-parse-standard-date, math-format-date)
3181         (math-format-date-part): Add support for more formatting codes.
3183 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3185         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3186         current buffer's file name when called interactively (Bug#12488).
3188 2012-12-02  Juri Linkov  <juri@jurta.org>
3190         * info.el (info-display-manual): Don't clobber an existing Info
3191         buffer (Bug#10770).  Add completion (Bug#10771).
3193 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
3195         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3196         before using it for comparison (Bug#5297).
3198 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
3200         * textmodes/css-mode.el (css-current-defun-name): New function.
3201         (css-mode): Use it.
3203         * textmodes/sgml-mode.el (html-current-defun-name): New function.
3204         (html-mode): Use it.
3206 2012-12-01  Chong Yidong  <cyd@gnu.org>
3208         Modularize add-log-current-defun (Bug#2224).
3209         Suggested by Jari Aalto.
3211         * vc/add-log.el (add-log-current-defun-function): Doc fix.
3212         (add-log-current-defun): Move mode-specific code to other files.
3213         (add-log-lisp-like-modes, add-log-c-like-modes)
3214         (add-log-tex-like-modes): Variables deleted.
3216         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3217         (lisp-mode-variables): Use it.
3219         * progmodes/cc-mode.el (c-common-init):
3220         * progmodes/cperl-mode.el (cperl-mode): Set a value for
3221         add-log-current-defun-function.
3223         * progmodes/m4-mode.el (m4-current-defun-name): New function.
3224         (m4-mode): Use it.
3226         * progmodes/perl-mode.el (perl-current-defun-name): New.
3227         (perl-mode): Use it.
3229         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3230         Use lisp-current-defun-name.
3232         * textmodes/tex-mode.el (tex-current-defun-name): New.
3233         (tex-common-initialization): Use it.
3235         * textmodes/texinfo.el (texinfo-current-defun-name): New.
3236         (texinfo-mode): Use it.
3238 2012-12-01  Chong Yidong  <cyd@gnu.org>
3240         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3241         * progmodes/autoconf.el (autoconf-mode):
3242         * progmodes/js.el (js-mode):
3243         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3244         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3245         * progmodes/perl-mode.el (perl-mode):
3246         * progmodes/sh-script.el (sh-mode, sh-set-shell):
3247         * textmodes/css-mode.el (css-mode):
3248         * textmodes/sgml-mode.el (html-mode, sgml-mode)
3249         (sgml-tags-invisible, sgml-guess-indent):
3250         * textmodes/tex-mode.el (tex-common-initialization)
3251         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3252         (doctex-mode, plain-tex-mode, latex-mode):
3253         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3255 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
3257         * vc/vc-hg.el (vc-hg-next-revision):
3258         Ensure use of default "tip" output format.  (Bug#6968)
3260 2012-12-01  Kim F. Storm  <storm@cua.dk>
3262         * startup.el (fancy-startup-tail): Add a clickable link
3263         (Bug#2176).
3265 2012-12-01  Chong Yidong  <cyd@gnu.org>
3267         * startup.el (fancy-startup-tail): Improve the message about
3268         auto-save files (Bug#2176).
3270         * files.el (recover-session): Improve the descriptive message, and
3271         use substitute-command-keys.
3273 2012-12-01  Glenn Morris  <rgm@gnu.org>
3275         * ido.el (ido-file-internal):
3276         Handle other-window, other-frame for dired.  (Bug#13036)
3278 2012-11-30  Glenn Morris  <rgm@gnu.org>
3280         * icomplete.el (icomplete-separator): Fix :version.
3282 2012-11-30  Chong Yidong  <cyd@gnu.org>
3284         * shell.el (shell): For C-u M-x shell, use an inactive shell
3285         buffer as the default (Bug#1975).
3286         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3287         (shell-mode): Use them to reapply ansi colorization if Shell mode
3288         is re-enabled.
3290 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
3292         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3294 2012-11-30  Samuel Bronson  <naesten@gmail.com>
3296         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3297         flag to xargs, for compatibility with BSD xargs (Bug#11703).
3299 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3301         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3302         by move-to-column (Bug#3234).
3304 2012-11-30  Chong Yidong  <cyd@gnu.org>
3306         * longlines.el (longlines-wrap-line, longlines-encode-region):
3307         Preserve text properties (Bug#1425).
3309 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
3311         * vc/vc.el (vc-register): Allow registering a file which is
3312         already registered with a different backend (Bug#10589).
3314 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
3315             Stefan Monnier  <monnier@iro.umontreal.ca>
3317         * icomplete.el: Change separator; add ido-style commands.
3318         (icomplete-show-key-bindings): Remove custom var.
3319         (icomplete-get-keys): Remove function.
3320         (icomplete-forward-completions, icomplete-backward-completions):
3321         New commands.
3322         (icomplete-minibuffer-map): New var.
3323         (icomplete-minibuffer-setup): Use it.
3324         (icomplete-exhibit): Don't delay if the list of completions is known.
3325         (icomplete-separator): New custom.
3326         (icomplete-completions): Use it.
3327         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3328         (minibuffer-force-complete-and-exit): New command.
3329         (minibuffer--complete-and-exit): New function extracted from
3330         minibuffer-complete-and-exit.
3331         (minibuffer-complete-and-exit): Use it.
3333         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3334         error message when the file doesn't exist (bug#12974).
3336 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
3338         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3340 2012-11-29  Glenn Morris  <rgm@gnu.org>
3342         * files.el (hack-dir-local-variables): Warn if try to set
3343         coding via dir-locals, since it doesn't work.  (Bug#7169)
3345         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
3346         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3347         Set buffer-local value of desktop-save-buffer.
3348         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3349         New functions.
3350         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3351         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3353         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
3354         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3355         Doc fix.
3356         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3357         Doc fixes.
3359 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
3361         * calc/calc-forms.el (calc-date-notation): Fix regexp
3362         used to find time codes.  Fix symbol for seconds.
3364 2012-11-27  Glenn Morris  <rgm@gnu.org>
3366         * emacs-lisp/derived.el (derived-mode-make-docstring):
3367         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
3369 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3371         * textmodes/table.el (table-insert): Don't use `symbol-name' on
3372         lexically scoped variables (bug#13005).
3374 2012-11-27  Glenn Morris  <rgm@gnu.org>
3376         * vc/vc-hooks.el (vc-mistrust-permissions):
3377         Default to t, to avoid data-loss.  (Bug#11490)
3379 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3381         * progmodes/python.el (python-indent-guess-indent-offset):
3382         If indentation is guessed make python-indent-offset buffer-local.
3384         Fix Imenu regression.
3385         * progmodes/python.el (python-nav-beginning-of-defun):
3386         Fix forward movement when statement(s) separates point from defun.
3387         (python-imenu-prev-index-position): New function.
3389 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
3391         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
3393         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3394         Don't set buffer-file-type.  Return nil.  (Bug#12989)
3396 2012-11-27  Glenn Morris  <rgm@gnu.org>
3398         * hippie-exp.el (hippie-expand-try-functions-list):
3399         Re-autoload it.  (Bug#12982)
3401 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
3403         * descr-text.el (describe-char-padded-string):
3404         Call internal-char-font only on GUI frames.  (Bug#11964)
3406 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
3408         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3409         and obsoletion message.
3411 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3414         the constructs to keep outside of the `cl-block' (bug#12977).
3416 2012-11-27  Chong Yidong  <cyd@gnu.org>
3418         * mouse.el (mouse-drag-line): Even if the line is not draggable,
3419         keep reading until we get the up-event anyway, in order to process
3420         the up-event for mouse-1-click-follows-link (Bug#12971).
3422 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3424         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3425         base function is not yet defined (bug#12965).
3426         (ad-activate-advised-definition): Use ad-compile-function.
3427         (ad-activate): Use cond.
3429 2012-11-25  Leo Liu  <sdl.web@gmail.com>
3431         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3432         (Bug#12979)
3434 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3436         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3437         reftex-section-info-function in order to be compatible with
3438         Texinfo integration.
3440         * textmodes/reftex.el (reftex-section-pre-regexp)
3441         (reftex-section-post-regexp, reftex-section-info-function):
3442         New variable.
3443         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3444         reftex-section-post-regexp, and reftex-section-info-function in order
3445         to be compatible with Texinfo integration.
3447         * textmodes/reftex-toc.el (reftex-toc-promote-action):
3448         use reftex-section-pre-regexp variable in order to be compatible with
3449         Texinfo integration.
3451 2012-11-25  Chong Yidong  <cyd@gnu.org>
3453         * faces.el: Make face-spec-set more analogous to setq.
3454         (face-spec-set): Change the third arg to specify whether this
3455         function is being called via defface, customize, or a third party.
3456         Set the appropriate symbol properties.  Clear the override spec if
3457         setting via Custom.  Initialize face if necessary.  (Bug#4988)
3458         (face-spec-recalc): Allow theme faces to completely replace the
3459         defface spec, in the same way as custom faces (Bug#8454).
3461         * cus-face.el (custom-declare-face): Move face initialization to
3462         face-spec-set.
3463         (custom-theme-set-faces): Don't initialize the face name here, as
3464         that is now done in face-spec-set.
3466         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3467         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3468         Simplify by using the new arg to face-spec-set.
3470         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3471         reset face-override-spec too, and use custom-declare-face.
3473 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
3475         * term/ns-win.el (ns-initialize-window-system): Move creation of
3476         fontsets here (Bug#11964).
3478 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3480         * ses.el (ses-rename-cell): Correct bug on mode-line update after
3481         cell renaming.
3483 2012-11-24  Chong Yidong  <cyd@gnu.org>
3485         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3486         obsolete.
3488         * custom.el (custom-theme-set-variables): Use a topological sort
3489         for ordering by custom dependencies (Bug#12952).
3490         (custom--sort-vars, custom--sort-vars-1): New functions.
3492 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3494         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3495         lexical-binding (bug#12938).
3497 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
3499         * image-mode.el (image-transform-check-size): Use assertions only
3500         for images of type imagemagick.
3502         Otherwise no error, image-transform-fit-to-{width,height} is
3503         silently ignored, as before.  Doc fix.
3505 2012-11-24  Chong Yidong  <cyd@gnu.org>
3507         * faces.el (color-defined-p): Doc fix (Bug#12853).
3509 2012-11-24  Juri Linkov  <juri@jurta.org>
3511         * dired.el (dired-mark): Add optional arg `interactive'.
3512         Check for `use-region-p' if `interactive' is non-nil.
3513         (dired-unmark, dired-flag-file-deletion): Add optional arg
3514         `interactive'.  Call `dired-mark' with the arg `interactive'.
3515         (Bug#10624)
3517         * wdired.el: Revert 2012-10-17 change partly and replace it with
3518         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3519         (wdired-finish-edit): Add marks for new file names to
3520         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
3521         after `revert-buffer'.
3522         (wdired-do-renames): Remove calls to `dired-remove-file',
3523         `dired-add-file', `dired-add-entry'.  (Bug#11795)
3525 2012-11-24  Alan Mackenzie  <acm@muc.de>
3527         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3529         Fix bugs in the state cache.  Enhance a debugging mechanism.
3530         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3531         "brace at column zero" strategy for C++.
3532         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3533         (c-parse-state-point): New variable.
3534         (c-record-parse-state-state): Record old parse state with
3535         `copy-tree'.  Record previous value of point.
3536         (c-debug-parse-state-double-cons): New debugging function.
3537         (c-debug-parse-state): Call the above new function.
3538         (c-toggle-parse-state-debug): Output a confirmatory message.
3540         * progmodes/cc-mode.el (c-before-change, c-after-change):
3541         Call c-invalidate-state-cache from `c-before-change' instead of
3542         `c-after-change'.
3544 2012-11-23  Chong Yidong  <cyd@gnu.org>
3546         * find-cmd.el (find-constituents): Add executable, ipath,
3547         readable, samefile, writable, daystart, regextype (Bug#12856).
3549 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3553 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
3555         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3556         definition.  This fixes a bootstrap failure.
3557         (calc-gregorian-switch): In menu, put dates before regions.
3558         This is easier to follow, lines up better in the menu, and lets us
3559         coalesce regions that switch at the same time.  Give country
3560         names, not "Vatican", as that's better for non-expert users.
3561         Use names that are stable between the date of switch and now, e.g.,
3562         Bohemia and Moravia (which existed then and now) and not
3563         Czechoslovakia (which didn't exist then and doesn't exist now).
3564         What is now the U.S. mostly did not switch at the same time as
3565         Britain, so omit the U.S.  Correct spelling of "Britain".
3566         Catholic Switzerland was too much of a mess, so omit it.
3568 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
3570         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3571         after the variable is changed.
3573 2012-11-21  Daniel Colascione  <dancol@dancol.org>
3575         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3576         in SQL declarations for font-lock.
3577         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3579 2012-11-21  Glenn Morris  <rgm@gnu.org>
3581         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3582         (face-italic-p): Add optional argument "inherit".
3584         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3585         Remove -p suffix from names, for consistency with other set-face-*.
3586         (set-face-inverse-video): Fix interactive spec.
3587         * play/gamegrid.el (gamegrid-make-mono-tty-face):
3588         * textmodes/table.el (table--update-cell-face):
3589         Use set-face-inverse-video rather than now obsolete alias.
3591 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
3593         * simple.el (line-move): Don't call line-move-partial if
3594         scroll-conservatively is in effect.  (Bug#12927)
3596 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3599         Fallback on completion-at-point rather than
3600         pcomplete-expand-and-complete, and only if pcomplete actually failed.
3601         (eshell-cmpl-initialize): Setup completion-at-point.
3603         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3605         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3607 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
3609         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3610         are remote, check out-of-band property for both.
3612 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3614         * window.el (switch-to-buffer): Re-add the warning that was lost in the
3615         code rewrite.
3617 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
3619         More minor time fixes.
3620         * calendar/time-date.el: Commentary fix.
3621         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3622         too much other code depends on (0 0) time stamps.
3623         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3624         Add a couple of FIXME comments.
3626         Minor cleanup for times as lists of four integers.
3627         * files.el (dir-locals-directory-cache):
3628         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3629         Doc fixes.
3630         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3631         * ps-bdf.el (bdf-file-newer-than-time):
3632         Process four-integers time stamps, not two.  Doc fixes.
3634 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         * uniquify.el (uniquify-managed): Use defvar-local.
3637         (rename-buffer, create-file-buffer): Advise with advice-add.
3638         (uniquify-unload-function): Unadvise accordingly.
3640         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3641         (trace-buffer): Don't purecopy.
3642         (trace-entry-message, trace-exit-message): Add `context' arg.
3643         (trace--timer): New var.
3644         (trace-make-advice): Adjust for use in nadvice.
3645         Add `context' argument.  Delay `display-buffer' via a timer.
3646         (trace-function-internal): Use advice-add.
3647         (trace--read-args): New function.
3648         (trace-function-foreground, trace-function-background): Use it.
3649         (trace-function): Rename to trace-function-foreground and redefine as
3650         an alias to that new name.
3651         (untrace-function, untrace-all): Adjust to the use of nadvice.
3653         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3655         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3657         * subr.el (called-interactively-p-functions): New var.
3658         (internal--called-interactively-p--get-frame): New macro.
3659         (called-interactively-p, interactive-p): Rewrite in Lisp.
3660         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3661         (called-interactively-p-functions): Use it.
3662         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3663         (called-interactively-p-functions): Use it.
3664         * allout.el (allout-called-interactively-p): Don't assume
3665         called-interactively-p is a subr.
3667 2012-11-20  Glenn Morris  <rgm@gnu.org>
3669         * profiler.el (profiler-report-mode-map): Add a menu.
3670         No need to bind `q' because we derive from special-mode.
3671         (profiler-report-find-entry): Handle calls from the menu-bar.
3673 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3675         * emacs-lisp/byte-run.el (defun-declarations-alist):
3676         Allow a compiler-macro to be a lambda expression.
3678         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
3679         eval-when-compile.
3680         (python-syntax-context): Add compiler-macro.
3681         (python-font-lock-keywords): Simplify with De Morgan.
3683         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3685         * files.el (load-file): Require match in minibuffer selection, as was
3686         the case in Emacs-20 before we changed the spec to allow .elc files
3687         (bug#12935).
3689         * json.el: Don't require cl since we don't use it.
3690         * color.el: Don't require cl.
3691         (color-complement): `caddr' -> `nth 2'.
3693         * calendar/time-date.el (time-to-seconds): De-obsolete.
3695 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3697         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
3698         year numbers.
3699         (math-date-to-julian-dt): Adjust the initial approximation for the
3700         year to deal with the new definition of the DATE.
3702 2012-11-19  Daniel Colascione  <dancol@dancol.org>
3704         * term/w32-win.el (cygwin-convert-path-from-windows):
3705         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3707 2012-11-18  Chong Yidong  <cyd@gnu.org>
3709         * filecache.el (file-cache--read-list): New function.
3710         (file-cache-add-directory-list, file-cache-add-file-list)
3711         (file-cache-delete-file-list, file-cache-delete-directory-list):
3712         Use it to read a list of files or directories (Bug#12846).
3713         (file-cache-add-file, file-cache-add-directory)
3714         (file-cache-delete-file-list, file-cache-delete-file-regexp)
3715         (file-cache-delete-directory): Print an message.
3717 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
3719         * calc/calc-forms.el (math-date-to-dt): Use integer date when
3720         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3722 2012-11-18  Glenn Morris  <rgm@gnu.org>
3724         * image.el (insert-image, insert-sliced-image): Doc fix.
3726 2012-11-18  Chong Yidong  <cyd@gnu.org>
3728         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3729         (Bug#12810).
3731 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
3733         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3734         response when the target file is in a subdirectory (Bug#12757).
3736 2012-11-18  Chong Yidong  <cyd@gnu.org>
3738         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3740 2012-11-18  Glenn Morris  <rgm@gnu.org>
3742         * emacs-lisp/cl-lib.el (face-underline-p):
3743         Use set-face-underline rather than the alias set-face-underline-p.
3745         * window.el (with-temp-buffer-window): Doc fix.
3746         * subr.el (with-output-to-temp-buffer):
3747         Add doc xref to with-temp-buffer-window.
3749 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
3751         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3752         * calc/calc.el (math-format-date-cache): Declare.
3754 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3756         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3757         It also uses January 1, 1 AD as its day number 1.
3758         * calc/calc-forms.el (math-julian-date-beginning)
3759         (math-julian-date-beginning-int): Implement this.
3761 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
3763         * descr-text.el (quail-find-key):
3764         * dired.el (desktop-file-name):
3765         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3766         * generic-x.el (comint-mode, comint-exec):
3767         * image-dired.el (widget-forward):
3768         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3769         (speedbar-change-expand-button-char)
3770         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3771         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3772         * printing.el (easy-menu-add-item, easy-menu-remove-item)
3773         (widget-field-action, widget-value-set):
3774         * speedbar.el (imenu--make-index-alist):
3775         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3776         (ring-length, ring-insert):
3777         * vcursor.el (compare-windows-skip-whitespace):
3778         * woman.el (dired-get-filename):
3779         Declare functions.
3781         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3783 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3785         * calc/calc.el (calc-gregorian-switch): New variable.
3787         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3788         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3789         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3790         (math-leap-year-p): Add option to distinguish between Julian
3791         and Gregorian calendars.
3792         (math-day-number): Use `math-day-in-year' to do the computations.
3793         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3794         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3795         to do the computations.
3796         (math-date-to-dt): Use `math-date-to-julian-dt' and
3797         `math-date-to-gregorian-dt' to do the computations.
3798         (calcFunc-weekday, math-format-date-part): Use the new version of
3799         the DATE to determine the weekday.
3800         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3801         when necessary.
3803 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
3805         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3806         Cygwin; otherwise use 'file:'.  (Bug#12914)
3807         (cygwin-convert-path-from-windows): Declare, to avoid
3808         byte-compiler warnings.
3810 2012-11-17  Andreas Politz  <politza@fh-trier.de>
3812         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3813         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3814         prefix and negative numeric prefix args (Bug#12795).
3816 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
3818         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3819         Don't signal an error with a score that is too low to add to the
3820         list of top scores. (Bug#12779)
3822 2012-11-17  Chong Yidong  <cyd@gnu.org>
3824         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3826         * filecache.el (file-cache-add-file): Handle relative file name in
3827         the argument (Bug#12694).
3829 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
3831         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3833 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3837         * emacs-lisp/cl-lib.el: Set more meaningful version number.
3839 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
3841         * window.el (enlarge-window, shrink-window): Don't mention return
3842         value in doc-string (Bug#12896).
3843         (window--display-buffer): Don't resize frames - it won't work
3844         with all window managers and defeat pop-up-frame-alist.
3845         (display-buffer-alist): In doc-string explain that CONDITION can
3846         be a function and which arguments are passed to it (Bug#12854).
3847         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
3848         expressions (Bug#12854).
3849         (display-buffer): Pass ACTION argument to
3850         display-buffer-assq-regexp.
3852 2012-11-16  Glenn Morris  <rgm@gnu.org>
3854         * window.el (fit-frame-to-buffer-bottom-margin)
3855         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3857         * faces.el (face-underline-p): Use face-attribute-specified-or.
3859 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
3861         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3863 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3867 2012-11-16  Glenn Morris  <rgm@gnu.org>
3869         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
3870         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3872         * faces.el (face-underline-p): Doc fix.  Handle :underline being
3873         things other than `t' (a string, a list).
3874         (face-inverse-video-p): Doc fix.
3875         (set-face-underline): Rename it back from set-face-underline-p.
3876         Doc fix.  Allow interactive input of values other than t.
3877         (read-face-attribute): Apply formatting to :underline,
3878         since like :box and :stipple it can take list values.
3880         * term.el (ansi-term): Don't let C-x escape-char binding
3881         clobber the more standard C-c binding.  (Bug#12842)
3883         * subr.el (set-temporary-overlay-map): Doc fix.
3885 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
3887         * window.el (record-window-buffer)
3888         (display-buffer-record-window): When copying the markers to
3889         window-point preserve window-point-insertion-type. (Bug#12588)
3891 2012-11-16  Glenn Morris  <rgm@gnu.org>
3893         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3894         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3895         Use new names for hooks rather than obsolete aliases.
3897 2012-11-15  Daniel Colascione  <dancol@dancol.org>
3899         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3900         prefix instead of "file:" so that when FILE-NAME begins with "//",
3901         as it does when the target file is on a network share, url-handler
3902         isn't confused.
3904 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3906         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3907         a preactivated advice from an old advice.el; they're not compatible!
3909 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
3911         * emacs-lisp/nadvice.el (advice--make-interactive-form):
3912         Fix string-spec case.
3914         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3916 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3918         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3919         (advice--buffer-local-function-sample): New var.
3920         (advice--set-buffer-local, advice--buffer-local): New functions.
3921         (add-function, remove-function): Use them.
3923 2012-11-15  Drew Adams  <drew.adams@oracle.com>
3925         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3927 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3929         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3930         potential binding of print-gensym to t, and prettify (back)quotes in
3931         case they appear in args's default values (bug#12884).
3933 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3935         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3936         (advice-eval-interactive-spec): New function.
3937         (advice--make-interactive-form): Support around advice (bug#12844).
3939 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
3941         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3942         more strict.  Add docstring.
3943         (ruby-expression-expansion-re): Extract from
3944         `ruby-match-expression-expansion'.
3945         (ruby-syntax-propertize-function): After everything else, search
3946         for expansions in string literals, mark their insides as
3947         whitespace syntax and save match data for font-lock.
3948         (ruby-font-lock-keywords): Use the 2nd group from expression
3949         expansion matches.
3950         (ruby-match-expression-expansion): Use the match data saved to the
3951         text property in ruby-syntax-propertize-function.
3953 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3955         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3956         (bug#12879).
3958 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3960         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3961         start/end keyword a bit harder.  Works with different values of N.
3962         Add more comments.
3963         (ruby-end-of-block): Update accordingly.
3965 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3967         * woman.el (woman-file-name): Don't mess with unread-command-events
3968         (bug#12861).
3970         * emacs-lisp/advice.el: Layer on top of nadvice.el.
3971         Remove out of date self-require hack.
3972         (ad-do-advised-functions): Use simple `dolist'.
3973         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3974         (ad-advice-definition): Redefine as functions.
3975         (ad-advice-classes): Move before first use.
3976         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3977         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3978         (ad--defalias-fset): Remove functions.
3979         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3980         (ad-get-orig-definition): Rewrite.
3981         (ad-make-advised-definition-docstring): Change base docstring.
3982         (ad-real-orig-definition): Rewrite.
3983         (ad-map-arglists): Change name of called function.
3984         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3985         (ad-make-advised-definition): Simplify.
3986         (ad-assemble-advised-definition): Tweak for new calling context.
3987         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3988         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
3989         function and call ad-activate if needed.
3990         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3991         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3992         (ad-compile-function): Compile ad-Advice-*.
3993         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3994         (ad-start-advice, ad-stop-advice): Remove.
3996 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3998         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3999         period before class method names, not after.  Remove handling of
4000         one impossible case.  Add comments.
4002 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4004         * emacs-lisp/advice.el: Remove support for freezing.
4005         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4006         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4007         Remove support for `freeze'.
4009         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4010         override the default.
4011         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4012         cl--dotimes/dolist.
4013         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4014         `cl' is loaded.
4016         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4017         from add-advice.
4018         (advice--strip-macro): New function.
4019         (advice--defalias-fset): Use them to handle macros.
4020         (advice-add): Use them.
4021         (advice-member-p): Correctly handle macros.
4023 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4025         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4026         Never font-lock the beginning of singleton class as heredoc.
4028 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4032 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
4034         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4035         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
4036         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4038 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
4040         Fix end-of-defun misbehavior.
4041         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4042         python-beginning-of-defun-function.  Handle nested defuns
4043         correctly.
4044         (python-nav-end-of-defun): Rename from
4045         python-end-of-defun-function.  Ensure forward movement.
4046         (python-info-current-defun): Reimplement to work as intended
4047         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
4048         parent defuns as soon as possible.
4050 2012-11-13  Glenn Morris  <rgm@gnu.org>
4052         * progmodes/flymake.el (flymake-error-bitmap)
4053         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4054         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4056 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4058         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4059         backward, always stop at indentation.  Reverts the change from
4060         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4062 2012-11-13  Glenn Morris  <rgm@gnu.org>
4064         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4065         Add ibuffer-filter-by-derived-mode.
4067         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4068         the same name shadowing each other.
4070         * window.el (with-temp-buffer-window): Doc tweak.
4072         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4074         * help.el (temp-buffer-max-height):
4075         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4076         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4078 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4080         * emacs-lisp/nadvice.el: New package.
4081         * subr.el (special-form-p): New function.
4082         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4083         (elp-all-instrumented-list): Remove var.
4084         (elp-not-profilable): Remove elp-wrapper.
4085         (elp-profilable-p): Use autoloadp and special-form-p.
4086         (elp--advice-name): New const.
4087         (elp-instrument-function): Use advice-add.
4088         (elp--instrumented-p): New predicate.
4089         (elp-restore-function): Use advice-remove.
4090         (elp-restore-all, elp-reset-all): Use mapatoms.
4091         (elp-set-master): Use elp--instrumented-p.
4092         (elp--make-wrapper): Rename from elp-wrapper, return a function
4093         suitable for advice-add.  Use cl-inf.
4094         (elp-results): Use mapatoms+elp--instrumented-p.
4095         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4096         (debug-function-list): Remove var.
4097         (debug): Rename arg, and then let-bind it explicitly inside.
4098         (debugger-setup-buffer): Rename arg.
4099         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4100         (debugger-frame-number): Adjust to new debug-on-entry setup.
4101         (debug--implement-debug-on-entry): Rename from
4102         implement-debug-on-entry, add argument.
4103         (debugger-special-form-p): Remove, use special-form-p instead.
4104         (debug-on-entry): Use advice-add.
4105         (debug--function-list): New function.
4106         (cancel-debug-on-entry): Use it, along with advice-remove.
4107         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4108         (debugger-list-functions): Use debug--function-list instead of
4109         debug-function-list.
4110         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4111         (ad-special-form-p): Remove, use special-form-p instead.
4112         (ad-set-advice-info): Use add-function and remove-function.
4113         (ad--defalias-fset): Adjust accordingly.
4115 2012-11-10  Glenn Morris  <rgm@gnu.org>
4117         * mail/emacsbug.el (report-emacs-bug-tracker-url)
4118         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4119         (report-emacs-bug-create-existing-bugs-buffer)
4120         (report-emacs-bug-parse-query-results)
4121         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
4123         * term.el (term-default-fg-color, term-default-bg-color):
4124         Make obsolete, rather than just saying "deprecated" in the doc.
4126         * term.el (term): Rename from `term-face'.
4127         (term-current-face, ansi-term-color-vector)
4128         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4129         Update all users.
4131 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
4133         * server.el (server-create-window-system-frame): Handle Nextstep
4134         specially (Bug#12780).
4136 2012-11-10  Glenn Morris  <rgm@gnu.org>
4138         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4139         Unautoload, and make obsolete.  (Bug#7449)
4141 2012-11-10  Chong Yidong  <cyd@gnu.org>
4143         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4144         rename from diff-remove-trailing-whitespace (Bug#12831).
4146 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4148         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4149         miscompilation of trace.el.
4151 2012-11-10  Glenn Morris  <rgm@gnu.org>
4153         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4155 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4157         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4158         (bug#12812).
4160 2012-11-10  Chong Yidong  <cyd@gnu.org>
4162         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4163         a defcustom with an appropriate :set function.
4164         (minibuffer-default--in-prompt-regexps): New function.
4166 2012-11-10  Glenn Morris  <rgm@gnu.org>
4168         * emacs-lisp/cl.el (define-setf-expander, defsetf)
4169         (define-modify-macro): Doc fixes.
4171         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4172         (gv-define-simple-setter): Update doc of `fix-return'.
4174 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4176         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4177         twice when `fix-return' is set (bug#12813).
4179         * emacs-lisp/cl.el (defsetf): Pass the third arg to
4180         gv-define-simple-setter (bug#12812).
4182         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4183         (bug#12756).
4185 2012-11-10  Glenn Morris  <rgm@gnu.org>
4187         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4189         * emacs-lisp/cl-extra.el (cl-prettyexpand):
4190         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4191         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4192         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4194         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4196 2012-11-10  Leo Liu  <sdl.web@gmail.com>
4198         * ido.el (ido-set-matches-1): Improve flex matching performance by
4199         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
4201 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4204         (ad--defalias-fset): New function.
4205         (ad-safe-fset): Remove.
4206         (ad-make-freeze-definition): Use cl-letf*.
4208 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4210         * subr.el (dolist): Don't bind VAR in RESULT.
4212         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
4213         (fset, documentation): Don't save real def since we don't advise.
4214         (ad-do-advised-functions): Remove problematic `result-form'.
4215         (ad-safe-fset): `ad-real-fset' => `fset'.
4216         (ad-read-advised-function): Don't assume that ad-do-advised-functions
4217         uses CL's dolist internally.
4218         (ad-arglist): Remove unused arg `name'.
4219         (ad-docstring, ad-make-advised-docstring):
4220         `ad-real-documentation' => `documentation'.
4221         (warning-suppress-types): Declare.
4222         (ad-set-arguments): Simple CSE.
4223         (ad-recover-normality): Sanity check.
4225         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4226         (funcall '(lambda ..) ..) into ((lambda ..) ..).
4228 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4230         * ses.el: symbol to coordinate mapping is made by symbol property
4231         `ses-cell'.  This means that the same mapping is done for all SES
4232         sheets.  That is good enough for cells with standard A1 names, but
4233         not for named cell.  So a hash map is added for the latter.
4234         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4235         (ses-sym-rowcol): Use hashmap for named cell.
4236         (ses-is-cell-sym-p): New defun.
4237         (ses-decode-cell-symbol): New defun.
4238         (ses-create-cell-variable): Add cell to hashmap when name is not
4239         A1-like.
4240         (ses-rename-cell): Check that cell new name is not already in
4241         spreadsheet with the use of ses-is-cell-sym-p
4242         (ses-rename-cell): Use hash map for named cells, but accept also
4243         renaming back to A1-like.
4245 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         * emacs-lisp/advice.el: Use new dynamic docstrings.
4248         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4249         Use dynamic-docstring-function instead of ad-advice-info.
4250         (ad--make-advised-docstring): New function extracted from
4251         ad-make-advised-docstring.
4252         (ad-make-advised-docstring): Use it.
4253         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4254         from sql-help.
4255         (sql-help): Use it with dynamic-docstring-function.
4257         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4259 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4261         * files.el (hack-one-local-variable--obsolete): New function.
4262         (hack-one-local-variable): Use it for obsolete settings.
4264         * subr.el (locate-user-emacs-file): If both old and new name exist, use
4265         the new name.
4267         * progmodes/js.el (js--filling-paragraph): New var.
4268         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4269         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4270         less sneaky.
4272 2012-11-08  Julien Danjou  <julien@danjou.info>
4274         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4275         `auto-mode-alist' (Bug#12835).
4277 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4279         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4280         (perl--prettify-symbols-alist): New const.
4281         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4282         New functions.
4283         (perl-font-lock-keywords-2): Use them.
4284         (perl-electric-noindent-p): New function.
4285         (perl-mode): Use it to set up electric-indent-mode.
4286         (perl-electric-terminator, perl-indent-command): Mark obsolete.
4287         (perl-mode-map): Remove bindings for them.
4288         (perl-imenu-generic-expression, perl-outline-level):
4289         Match functions&packages in column>0.
4291         * env.el (env--substitute-vars-regexp): New const.
4292         (substitute-env-vars): Use it.  Add `only-defined' arg.
4293         * net/tramp.el (tramp-replace-environment-variables): Use it.
4295         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4296         Byte-compile *before* eval in eval-and-compile.
4297         (byte-compile-log-warning): Remove redundant inhibit-read-only.
4298         (byte-compile-file-form-autoload): Don't hide actual definition.
4299         (byte-compile-maybe-guarded): Accept `functionp' as well.
4301         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4303 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
4305         * notifications.el (notifications-get-server-information-method):
4306         New defconst.
4307         (notifications-get-capabilities): Fix docstring.
4308         (notifications-get-server-information): New defun.
4310 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4312         * textmodes/ispell.el (ispell-region): Standard re-indent for better
4313         readability.
4315         * textmodes/ispell.el: Experimental support for support debugging.
4316         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4317         buffer for ispell.
4318         (ispell-print-if-debug): New function to print stuff to
4319         `ispell-debug-buffer' if debugging is enabled.
4320         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4321         show some debugging info.
4322         (ispell-buffer-with-debug): New function that creates a debugging
4323         buffer and calls `ispell-buffer' with debugging enabled.
4325         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4326         comment in autoconf mode. (Bug#12768)
4328 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
4330         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4331         frame-first-window, frame-root-window, frame-selected-window,
4332         minibuffer-selected-window, minibuffer-window,
4333         window-absolute-pixel-edges, window-at, window-body-height,
4334         window-body-width, window-display-table, window-combination-limit,
4335         window-frame, window-fringes, window-inside-absolute-pixel-edges,
4336         window-inside-edges, window-inside-pixel-edges, window-left-child,
4337         window-left-column, window-margins, window-next-buffers,
4338         window-next-sibling, window-new-normal, window-new-total,
4339         window-normal-size, window-parameter, window-parameters, window-parent,
4340         window-pixel-edges, window-point, window-prev-buffers,
4341         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4342         window-start, window-text-height, window-top-child, window-top-line,
4343         window-total-height, window-total-width and window-use-time to the list
4344         of functions without side-effects.
4345         (toplevel): Add window-valid-p to the list of error-free functions
4346         without side-effects.
4348 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4350         * textmodes/ispell.el (ispell-program-name):
4351         Update spellchecker parameters when customized.
4353 2012-11-04  Glenn Morris  <rgm@gnu.org>
4355         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
4357 2012-11-04  Chong Yidong  <cyd@gnu.org>
4359         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4360         same-window-* variables.
4362 2012-11-04  Juri Linkov  <juri@jurta.org>
4364         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4365         (isearch-describe-key, isearch-describe-mode): Use a display
4366         action instead of binding same-window-* variables (Bug#10040).
4368 2012-11-03  Glenn Morris  <rgm@gnu.org>
4370         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4371         Rename handler properties back from cl-- to cl-.  (Bug#12788)
4373         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4375 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
4377         * term/pc-win.el: Don't load term/internal from here.
4379         * loadup.el: Load term/internal from here.
4381 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
4383         * progmodes/python.el (inferior-python-mode): Fix hang in
4384         jit-lock (Bug#12645).
4386 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
4388         * window.el (switch-to-visible-buffer)
4389         (switch-to-buffer-preserve-window-point): Fix doc-strings.
4391 2012-11-03  Glenn Morris  <rgm@gnu.org>
4393         * emacs-lisp/cl-lib.el (cl--random-time):
4394         Rename from cl-random-time.  (Bug#12773)
4395         (cl--gensym-counter, cl--random-state): Update callers.
4396         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4398 2012-11-03  Chong Yidong  <cyd@gnu.org>
4400         * cus-start.el: Make cursor-type customizable (Bug#11633).
4402 2012-11-02  Glenn Morris  <rgm@gnu.org>
4404         * filecache.el: No need to load find-lisp when compiling.
4405         (find-lisp-find-files): Autoload it.
4406         (file-cache-add-directory-recursively): Don't require find-lisp.
4408         * image.el (image-type-from-file-name): Trivial simplification.
4410         * emacs-lisp/bytecomp.el (byte-compile-eval):
4411         Decouple "noruntime" and "cl-functions" warnings.
4413 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
4415         * play/gomoku.el (gomoku-display-statistics): Update mode line
4416         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4418 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
4420         * window.el (quit-restore-window): If the window has been
4421         created on an existing frame and ended up as the sole window on
4422         that frame, do not delete it (Bug#12764).
4424 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4427         Rename from sh--inside-arithmetic-expression, handle more cases
4428         (bug#11263).
4430         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4431         (sh-font-lock-open-heredoc): Use it (bug#12770).
4433 2012-10-30  Glenn Morris  <rgm@gnu.org>
4435         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
4437         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
4439 2012-10-29  Chong Yidong  <cyd@gnu.org>
4441         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4442         function key is stored in a keyboard macro (Bug#4894).
4444         * thingatpt.el (number-at-point): Apply a thing-at-point property.
4446 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4448         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4449         header comments".
4450         (diff-unified->context, diff-context->unified)
4451         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4453         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4455         * files.el (find-alternate-file): Only ask one question (bug#12487).
4457 2012-10-29  Chong Yidong  <cyd@gnu.org>
4459         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4460         Suggested by Dan Nicolaescu (Bug#6326).
4462         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4464         * startup.el (fancy-about-screen): Don't message (Bug#12680).
4466         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4468         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4470         * face-remap.el (face-remap-add-relative): Handle the case where a
4471         face-remapping-alist entry is a cons cell (Bug#12762).
4473 2012-10-29  Kevin Ryde  <user42@zip.com.au>
4475         * woman.el (woman-parse-numeric-value): Handle picas correctly
4476         (Bug#12639).
4478 2012-10-29  Glenn Morris  <rgm@gnu.org>
4480         * emacs-lisp/cl.el (defsetf): Doc fix.
4482 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4484         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4485         syntax to the matching opener, if any (bug#12547).
4486         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4487         matching open as a "case-(".
4488         (sh-smie-rc-grammar): Add a corresponding rule for it.
4490 2012-10-28  Daniel Hackney  <dan@haxney.org>
4492         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4493         "PKGNAME-autoloads.el" in case we created it.
4495 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4497         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4498         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4499         (completion--twq-all): Disable too-strict assertions.
4501         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4503 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
4505         * profiler.el (profiler-report-make-entry-part): Fix help-echo
4506         text to match the real keybindings.
4508 2012-10-27  Juri Linkov  <juri@jurta.org>
4510         * wdired.el (wdired-keep-marker-rename): New defcustom.
4511         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4512         (Bug#11795)
4514         * dired.el (dired-keep-marker-rename): Add reference to
4515         `wdired-keep-marker-rename' in the docstring.
4516         Add default character value ?R to display initially in
4517         Customization UI instead of ?@.
4519 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
4521         * window.el (display-buffer): In doc-string describe
4522         window-height and window-width alist entries.
4524         * time.el (display-time-world): Restore fit-window-to-buffer
4525         behavior.
4527 2012-10-27  Chong Yidong  <cyd@gnu.org>
4529         * subr.el (insert-buffer-substring-as-yank): Doc fix.
4531 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
4533         * minibuffer.el (completion-category-overrides): New completion
4534         category `bookmark' (bug#11131).
4536 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4538         * emacs-lisp/advice.el (ad-assemble-advised-definition):
4539         Silence bogus compiler warnings for ad-do-it.
4541         * bookmark.el (bookmark-completing-read): Set the completion category
4542         to `bookmark' (bug#11131).
4544 2012-10-26  Bastien  <bzg@altern.org>
4545             Stefan Monnier  <monnier@iro.umontreal.ca>
4547         * face-remap.el: Use lexical-binding.
4548         (text-scale-adjust): Improve docstring.  Use itself for the temporary
4549         overlay-map bindings, so as to repeat the "Use..." message each time.
4551 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4553         * emacs-lisp/macroexp.el (macroexp--expand-all):
4554         Obey byte-compile-warning-enabled-p (bug#12486).
4556         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4557         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4559 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
4561         * mouse.el (mouse-drag-line): Move last form into preceding when
4562         clause (Bug#12731).
4564         * help.el (resize-temp-buffer-window): Fix doc-string.
4566 2012-10-25  David Engster  <deng@randomsample.de>
4568         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4569         Remove.  This feature is already integrated in imenu.
4571         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4572         always loaded.  Require `speedbar' unconditionally.
4574 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4576         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4578         * minibuffer.el (minibuffer-force-complete): Fix thinko.
4580         * net/ldap.el (ldap-search-internal): The official ldif format starts
4581         with a "version: 1" header (bug#12724).
4583         * emacs-lisp/package.el (package-installed-p): Warn if not ready
4584         (bug#12721).
4586 2012-10-25  Glenn Morris  <rgm@gnu.org>
4588         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4590 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4592         * minibuffer.el (minibuffer-force-complete): Use one more marker
4593         for the temporary-overlay-map command (bug#12619).
4595 2012-10-24  Chong Yidong  <cyd@gnu.org>
4597         * time.el (display-time-world-mode): Derive from special-mode.
4598         (display-time-world): Use display-buffer (Bug#12708).
4599         (display-time-world-mode-map): Variable deleted.
4600         (display-time-world-display): Wrap the final delete-char inside
4601         inhibit-read-only.
4603 2012-10-24  Chong Yidong  <cyd@gnu.org>
4605         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4606         Doc fix.
4608         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4610 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4612         * minibuffer.el (completion--all-sorted-completions-location): New var.
4613         (completion--cache-all-sorted-completions)
4614         (completion--flush-all-sorted-completions): Use it.
4615         (completion-in-region, completion-in-region--postch)
4616         (completion-at-point, completion-help-at-point): Use markers in
4617         completion-in-region--data (bug#12619).
4619 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4621         * progmodes/compile.el (compilation-start): Try to handle common
4622         quoting of `cd' argument (bug#12640).
4624         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4625         (bug#12671).
4627 2012-10-23  Glenn Morris  <rgm@gnu.org>
4629         * progmodes/gud.el (gud-menu-map):
4630         Check gdb-active-process is bound.  (Bug#12358)
4632 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * repeat.el (repeat): Set real-this-command (bug#12232).
4636         * htmlfontify.el (hfy-post-html-hook):
4637         * filesets.el (filesets-cache-fill-content-hook):
4638         * arc-mode.el (archive-extract-hook):
4639         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4640         * net/rcirc.el (rcirc-sentinel-functions)
4641         (rcirc-receive-message-functions, rcirc-activity-functions)
4642         (rcirc-print-functions):
4643         * net/dbus.el (dbus-event-error-functions):
4644         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4645         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4646         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4647         * term/sun.el (sun-raw-prefix-hooks):
4648         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4650 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
4652         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4653         Set `tramp-chunksize' to 1.  This improves the performance.
4654         (tramp-smb-wait-for-output): Add timeout to
4655         `tramp-accept-process-output' calls.
4657 2012-10-23  Chong Yidong  <cyd@gnu.org>
4659         * faces.el (font-list-limit): Define as an obsolete variable.
4661         * startup.el (command-line):
4662         * cus-start.el: Don't refer to font-list-limit.
4664         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4666 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4668         * subr.el (internal-temp-output-buffer-show): Rename from
4669         temp-output-buffer-show, since previously compiled files expect this name.
4671 2012-10-23  Glenn Morris  <rgm@gnu.org>
4673         * image.el (image-type-from-file-name): If multiple types match,
4674         return the first one that is supported.  (Bug#9045)
4676 2012-10-22  Glenn Morris  <rgm@gnu.org>
4678         * image.el (imagemagick-enabled-types): Doc fix.
4680 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
4682         * progmodes/which-func.el (which-func-current): The hash-table may have
4683         an explicit nil (bug#12338).
4685 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4687         * electric.el (electric-pair-delete-selection-self-insert-function):
4688         Rename to electric-pair-will-use-region, return a boolean.
4689         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
4691         * delsel.el (delete-selection-helper): Use a function instead of a hook.
4692         (delete-selection-pre-hook): Use use-region-p.
4693         (delete-selection-self-insert-function): Remove.
4694         (self-insert-command): Obey self-insert-uses-region-functions.
4695         (self-insert-iso): Revert to previous setting, since we don't actually
4696         know what that command does.
4697         (delete-selection-self-insert-hooks): Remove.
4699 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
4701         * delsel.el (delete-selection-helper): New function, extracted from
4702         delete-selection-pre-hook.
4703         (delete-selection-pre-hook): Use it.
4704         (delete-selection-self-insert-function): New function.
4705         (delete-selection-self-insert-hooks): New hook.
4706         (self-insert-command, self-insert-iso): Use it.
4707         * electric.el (electric-pair-syntax): New function, extracted from
4708         electric-pair-post-self-insert-function.
4709         (electric-pair-post-self-insert-function): Use it.
4710         (electric-pair-delete-selection-self-insert-function): New function.
4711         (electric-pair-mode): Require delsel and setup
4712         delete-selection-self-insert-hooks (bug#11520).
4714 2012-10-20  Chong Yidong  <cyd@gnu.org>
4716         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4717         no changes to show (Bug#12586).
4719         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4720         list explicitly (Bug#12571).
4722 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
4724         * progmodes/flymake.el (flymake-create-temp-inplace):
4725         Use file-truename.
4727 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
4729         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
4731 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
4733         * calc/calc-units.el (math-extract-units): Properly extract powers
4734         of units.
4736 2012-10-20  Daniel Colascione  <dancol@dancol.org>
4738         * frame.el (make-frame): Set x-display-name as we used to in order
4739         to unbreak creating an X11 frame from an Emacs daemon started
4740         without a display.
4742 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * minibuffer.el (minibuffer-force-complete): Make the next completion use
4745         the same completion-field (bug#12221).
4747 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
4749         * emacs-lisp/debug.el (debug): Record height of debugger window
4750         also when debugger will be back (Bug#8789).
4752 2012-10-18  Chong Yidong  <cyd@gnu.org>
4754         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4755         Convert to defcustom.
4756         (gdb-get-source-file): Don't bind pop-up-windows.
4758         * progmodes/gud.el (gud-display-line): Don't specially re-use
4759         other frames for the gdb-mi case (Bug#12648).
4761 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4763         * emacs-lisp/advice.el: Clean up commentary a bit.
4764         (ad-do-advised-functions, ad-with-originals): Use `declare'.
4765         (byte-code-function-p): Never redefine.
4767         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4769 2012-10-18  Glenn Morris  <rgm@gnu.org>
4771         * dired.el (dired-sort-toggle): Some ls implementations only allow
4772         a single option string.  (Bug#12666)
4774         * minibuffer.el (completion-cycle-threshold): Doc fix.
4776 2012-10-17  Kenichi Handa  <handa@gnu.org>
4778         * international/mule.el (set-keyboard-coding-system):
4779         Recover input meta mode when the new coding system doesn not use 8-bit.
4780         Supply TERMINAL arg to set-input-meta-mode.
4782 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
4784         * wdired.el (wdired-old-marks): New variable.
4785         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4786         (wdired-do-renames): Move point with renamed file and don't lose
4787         mark status (Bug#11795).
4789 2012-10-16  Juri Linkov  <juri@jurta.org>
4791         * replace.el (query-replace-help): Mention multi-buffer replacement
4792         keys in the Help message.  (Bug#12655)
4794 2012-10-15  Chong Yidong  <cyd@gnu.org>
4796         * emacs-lisp/byte-run.el (defsubst): Doc fix.
4798 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
4800         * window.el (display-buffer): Doc fix.
4802         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4803         Adjust the msft regexp to the output of Studio 2010, and move msft
4804         before edg-1.  See the discussion on emacs-devel,
4805         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4806         for the details.
4808 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4810         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4811         (oset): Move uses of object-class-fast macro after its definition.
4813         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4815 2012-10-13  Chong Yidong  <cyd@gnu.org>
4817         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4818         enabled, re-enable it (Bug#11963).
4820 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
4822         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4823         non-nil, restore window configuration (Bug#12623).
4825 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4827         * help-fns.el (describe-variable, describe-function-1):
4828         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4830         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4832 2012-10-12  Glenn Morris  <rgm@gnu.org>
4834         * mail/rmailsum.el (rmail-header-summary):
4835         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
4837 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
4839         * progmodes/python.el (python-mode-map):
4840         Replace subtitute-key-definition with proper command remapping.
4841         (python-nav--up-list): Fix behavior for blocks on the same level.
4843 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4845         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4847         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4848         changes to the format of load-history.
4850         * international/mule-cmds.el (read-char-by-name): Move let-binding of
4851         completion-ignore-case in case that var is buffer-local (bug#12615).
4853 2012-10-11  Kenichi Handa  <handa@gnu.org>
4855         * international/eucjp-ms.el: Re-generated.
4857 2012-10-10  Kenichi Handa  <handa@gnu.org>
4859         * select.el (xselect--encode-string): If a coding is specified for
4860         selection, and that is compatible with COMPOUND_TEXT, use it.
4862 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
4864         * window.el (switch-to-buffer-preserve-window-point): New option.
4865         (switch-to-buffer):
4866         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4868 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4870         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4871         Don't document nil as a useful value (bug#12583).
4873 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
4875         * net/tramp.el (tramp-debug-message):
4876         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4877         (with-tramp-progress-reporter): Rename from
4878         `tramp-with-progress-reporter'.
4879         (with-tramp-file-property, with-tramp-connection-property):
4880         Move from tramp-cache.el, rename from `with-file-property' and
4881         `with-connection-property', respectively.
4883         * net/tramp-cache.el: Remove `with-file-property' and
4884         `with-connection-property'.
4886         * net/tramp.el:
4887         * net/tramp-gvfs.el:
4888         * net/tramp-sh.el:
4889         * net/tramp-smb.el: Adapt callees.
4891         * net/trampver.el: Update release number.
4893 2012-10-09  Glenn Morris  <rgm@gnu.org>
4895         * w32-fns.el (set-message-beep):
4896         * term/w32-win.el (set-message-beep): Update declarations.
4898 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4900         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4901         (mode-line-widen, mode-line-input-method-map)
4902         (mode-line-coding-system-map, mode-line-remote)
4903         (mode-line-unbury-buffer, mode-line-bury-buffer)
4904         (mode-line-next-buffer, mode-line-previous-buffer):
4905         Replace save-selected-window+select-window => with-selected-window.
4907         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4908         * progmodes/cc-vars.el (bq-process): Remove, unused.
4910         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4912 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4914         Implemented `backward-up-list'-like navigation.
4915         * progmodes/python.el (python-nav-up-list)
4916         (python-nav-backward-up-list): New functions.
4917         (python-mode-map): Define substitute key for backward-up-list to
4918         python-nav-backward-up-list.
4920 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4922         * progmodes/python.el (python-fill-paragraph): Rename from
4923         python-fill-paragraph-function.  Fixed fill-paragraph for
4924         decorators (Bug#12605).
4926 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4928         * progmodes/python.el (python-shell-output-filter): Handle extra
4929         carriage return in OSX (Bug#12409).
4931 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4933         Fix shell handling of unbalanced quotes and parens in output.
4934         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4935         (python-syntax-propertize-function): Use it.
4936         (python-shell-output-syntax-table): New var.
4937         (inferior-python-mode): Prevent unbalanced parens/quotes from
4938         previous output mess with current input context.
4940 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
4942         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4943         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4945 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
4947         * ffap.el (ffap-replace-file-component): Support Tramp file name
4948         syntax, not only ange-ftp's one.
4950 2012-10-08  Glenn Morris  <rgm@gnu.org>
4952         * cus-start.el (message-log-max): Set :version.
4954         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4956 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
4958         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4959         the minibuffer window (Bug#10851).
4961 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4963         Enhancements on forward-sexp movement.
4964         * progmodes/python.el (python-nav-beginning-of-statement)
4965         (python-nav-end-of-statement): Return point-marker.
4966         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4967         (python-info-current-symbol)
4968         (python-info-statement-starts-block-p): Rename from
4969         python-info-beginning-of-block-p.
4970         (python-info-statement-ends-block-p): Rename from
4971         python-info-end-of-block-p.
4972         (python-info-beginning-of-statement-p)
4973         (python-info-end-of-statement-p)
4974         (python-info-beginning-of-block-p, python-info-end-of-block-p):
4975         New functions.
4977 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4979         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4980         frame-selected-windows.
4982 2012-10-08  Daniel Colascione  <dancol@dancol.org>
4984         * battery.el (battery-status-function): Check for
4985         w32-battery-status itself, not system-time windows-nt.
4987         * frame.el: Require cl-lib.
4988         (display-format-alist): New variable mapping frame types to
4989         functions that initialize them.
4990         (window-system-for-display): New function: interprets
4991         display-format-alist.
4992         (make-frame-on-display): Remove existing display-selection logic
4993         and just forward to make-frame, which will now DTRT.
4994         (make-frame): Restructure to use window-system-for-display to
4995         figure out how to create a frame on a given display.
4996         (display-mouse-p): Look for frame-type w32, not a particular
4997         system-type.
4999         * loadup.el: Load w32 lisp code when we have the w32 feature.
5001         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5002         system-type windows-nt.
5004         * server.el (server-create-window-system-frame): Look for window
5005         type.
5006         (server-proces-filter): Only force a window system when windows-nt
5007         _and_ w32.  Explain why.
5009         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5010         of window systems we configure for the mode.
5012         * startup.el (command-line): Mark window system is initialized
5013         after we've done it.
5015         * common-win.el (x-select-text): Look for w32, not windows-nt.
5017         * ns-win.el: Require cl-lib.  Add ourselves to
5018         display-format-alist.
5019         (ns-initialize-window-system): Assert we're not initialized twice.
5021         * w32-win.el: Enable lexical binding; require cl-lib; add
5022         ourselves to display-format-alist.
5023         (w32-handle-dropped-file): Convert incoming dropped files from
5024         Windows paths to Cygwin ones before passing them on to the rest of
5025         Emacs.
5026         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
5027         (w32-initialize-window-system): Assert we're not initialized twice.
5029         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5030         (x-initialize-window-system): Assert we're not initialized twice.
5032         * w32-common-fns.el: New File.
5033         (w32-version, w32-using-nt, w32-get-clipboard-data)
5034         (w32-set-clipboard-data, x-set-selection, x-get-selection)
5035         (w32-charset-info-alist, x-last-selected, text)
5036         (x-get-selection-value, x-selection-value): Move here.
5038         * w32-fns.el: Require w32-common-fns.
5039         (w32-version, w32-using-nt, w32-get-clipboard-data)
5040         (w32-set-clipboard-data, x-set-selection, x-get-selection)
5041         (w32-charset-info-alist, x-last-selected, text)
5042         (x-get-selection-value, x-selection-value): Move to
5043         w32-common-fns.
5045         * w32-vars.el:
5046         (w32-allow-system-shell, w32-system-shells): Define only in
5047         non-cygwin case.
5049 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5051         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5052         (read-passwd): Remove a few more potential sources of leaks.
5054 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5056         * progmodes/python.el (inferior-python-mode)
5057         (python-shell-make-comint): Fix initialization of local
5058         variables copied from parent buffer.
5060 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
5062         * term/ns-win.el (ns-read-file-name): Update declaration to match
5063         nsfns.m.
5064         (ns-respond-to-change-font): Change fontsize separatly so we are sure
5065         it is set when font is acted upon.
5067 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5069         Enhancements to indentation.
5070         * progmodes/python.el (python-indent-context): Give priority to
5071         inside-string context.  Make comments indentation markers.
5072         (python-indent-region): Do not mess with strings, unless it's the
5073         enclosing set of quotes.
5075 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5077         * window.el (internal--before-save-selected-window)
5078         (internal--after-save-selected-window): New functions extracted from
5079         save-selected-window.  Make sure we return the `alist' we construct.
5080         (save-selected-window): Use them.
5082         * textmodes/tex-mode.el (tex-recenter-output-buffer):
5083         Use with-selected-window.
5085         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5086         forms that define macros (bug#12593).
5088 2012-10-07  Kenichi Handa  <handa@gnu.org>
5090         * international/mule-conf.el (compound-text-with-extensions):
5091         Add :mime-charset property as x-ctext.
5093 2012-10-07  Stefan Merten  <smerten@oekonux.de>
5095         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5096         (rst-indent-literal-normal, rst-indent-literal-minimized)
5097         (rst-indent-comment): Correct :version tag.
5098         (rst-official-cvs-rev): Correct version string.
5100 2012-10-07  Glenn Morris  <rgm@gnu.org>
5102         * mail/rmailmm.el (rmail-mime-process-multipart):
5103         Do not confuse a multipart message with an epilogue
5104         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
5106 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5108         Fix shell output retrieval and comint-prompt-regexp init.
5109         * progmodes/python.el (inferior-python-mode):
5110         (python-shell-make-comint): Fix initialization of
5111         comint-prompt-regexp from copied file local variables.
5112         (python-shell-fetched-lines): Remove var.
5113         (python-shell-output-filter-in-progress): Rename from
5114         python-shell-fetch-lines-in-progress.
5115         (python-shell-output-filter-buffer): Rename from
5116         python-shell-fetch-lines-string.
5117         (python-shell-fetch-lines-filter): Delete function.
5118         (python-shell-output-filter): New function.
5119         (python-shell-send-string-no-output): Use them.
5121 2012-10-07  Glenn Morris  <rgm@gnu.org>
5123         * hi-lock.el (hi-lock-process-phrase):
5124         Try to make it less fragile.  (Bug#7161)
5126         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5128 2012-10-06  Glenn Morris  <rgm@gnu.org>
5130         * ehelp.el (electric-help-mode): Use help-mode rather than
5131         non-existent mode `help'.
5132         (electric-help-map): Use button-buffer-map.  (Bug#10917)
5134         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5135         (reftex-create-bibtex-footer): Fix custom types.
5137         * progmodes/sh-script.el (sh-indent-after-continuation):
5138         Add explicit :group.
5140         * textmodes/rst.el (rst-preferred-decorations)
5141         (rst-shift-basic-offset): Clarify obsolescence versions.
5143         * profiler.el (profiler): Add missing group :version tag.
5144         * avoid.el (mouse-avoidance-banish-position):
5145         * proced.el (proced-renice-command):
5146         * calc/calc.el (calc-ensure-consistent-units):
5147         * calendar/icalendar.el (icalendar-import-format-uid):
5148         * net/tramp.el (tramp-save-ad-hoc-proxies):
5149         * progmodes/bug-reference.el (bug-reference-bug-regexp):
5150         * progmodes/flymake.el (flymake-error-bitmap)
5151         (flymake-warning-bitmap, flymake-fringe-indicator-position):
5152         * progmodes/sh-script.el (sh-indent-after-continuation):
5153         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5154         (verilog-before-save-font-hook, verilog-after-save-font-hook):
5155         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5156         (vhdl-array-index-record-field-in-sensitivity-list)
5157         (vhdl-indent-comment-like-next-code-line):
5158         * textmodes/reftex-vars.el (reftex-ref-style-alist)
5159         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5160         (reftex-cite-key-separator, reftex-create-bibtex-header)
5161         (reftex-create-bibtex-footer):
5162         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5163         (rst-indent-literal-normal, rst-indent-literal-minimized)
5164         (rst-indent-comment): Add missing custom :version tags.
5166         * calendar/timeclock.el (timeclock-modeline-display):
5167         Add missing obsolete alias for renamed user option.
5169         * strokes.el (strokes-modeline-string):
5170         * emulation/crisp.el (crisp-mode-modeline-string):
5171         * eshell/esh-mode.el (eshell-status-in-modeline):
5172         Aliases to defcustoms must come before the defcustom.
5174         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5175         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5176         (cal-tex-cursor-week-monday): Doc fixes.
5177         (cal-tex-cursor-week2-summary): Doc fix.
5178         Rename from cal-tex-cursor-week-at-a-glance.
5180         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5181         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
5183         * calendar/calendar.el (calendar-mode-map):
5184         Add cal-tex-cursor-week2-summary.
5186 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5188         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5190         * subr.el (read-passwd-map): New var.
5191         (read-passwd): Use `read-string' again.
5192         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5194 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
5196         * register.el (append-to-register, prepend-to-register):
5197         Deactivate mark, as does `copy-to-register' (bug#12389).
5199 2012-10-06  Chong Yidong  <cyd@gnu.org>
5201         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5203 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
5205         * international/characters.el: Fix simple mistake ((car chars) ->
5206         elt), delete duplicated code.
5208 2012-10-06  Glenn Morris  <rgm@gnu.org>
5210         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
5212 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
5214         * color.el (color-hsl-to-rgb): Fix incorrect results for
5215         small and large hue values.  (Bug#12559)
5217 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
5219         Enhancements to docstring formatting when filling paragraphs.
5220         * progmodes/python.el (python-fill-docstring-style): Rename from
5221         python-fill-string-style.  Added new style.
5222         (python-fill-string): Use new style.  Better checks for
5223         docstrings.
5225 2012-10-05  Glenn Morris  <rgm@gnu.org>
5227         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5229         * color.el (color-name-to-rgb, color-rgb-to-hex)
5230         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5231         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5232         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5233         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5235         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
5237 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
5239         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5240         to get the correct size across symlinks.
5242         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5244 2012-10-04  Juri Linkov  <juri@jurta.org>
5246         * replace.el (query-replace-interactive): Declare obsolete.
5247         (query-replace-read-from): Add the last incremental search string
5248         to the list of default values accessible via M-n.
5249         (map-query-replace-regexp): Use `read-regexp'.
5250         (query-replace, query-replace-regexp, query-replace-regexp-eval)
5251         (map-query-replace-regexp, replace-string, replace-regexp):
5252         Fix docstrings to replace mentions of `query-replace-interactive'
5253         with alternatives.  (Bug#12526)
5255 2012-10-04  Juri Linkov  <juri@jurta.org>
5257         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
5258         (dired-pop-to-buffer): Declare obsolete.
5259         (dired-mark-pop-up): Doc fix.
5261 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
5263         Allow user to set docstring style for fill-paragraph.
5264         * progmodes/python.el
5265         (python-fill-comment-function, python-fill-string-function)
5266         (python-fill-decorator-function, python-fill-paren-function):
5267         Remove :safe for defcustoms.
5268         (python-fill-string-style): New defcustom
5269         (python-fill-paragraph-function): Enhance context detection.
5270         (python-fill-string): Honor python-fill-string-style settings.
5272 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
5274         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5275         after setting its buffer (Bug#10805).
5277 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
5279         Fix cornercase for string syntax.
5280         * progmodes/python.el (python-syntax-propertize-function):
5281         Simplify and enhance the regexp for unescaped quotes.  Now it also
5282         matches quotes in weird situations like the single quote in
5283         "something\"'".
5284         (python-syntax-stringify): Simplify num-quotes detecting code.
5286 2012-10-03  Glenn Morris  <rgm@gnu.org>
5288         * help-macro.el (three-step-help):
5289         Revert 2012-09-29 change.  (Bug#12567)
5291 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
5293         * menu-bar.el (kill-this-buffer): Don't do anything when
5294         `menu-frame' is not alive or visible (Bug#8184).
5296         * emacs-lisp/debug.el (debug): When quitting the debugger window
5297         restore current buffer (Bug#12502).
5299 2012-10-02  Chong Yidong  <cyd@gnu.org>
5301         * progmodes/hideif.el (hif-lookup, hif-defined):
5302         Handle semantic-c-takeover-hideif.
5304 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
5306         Change sampling interval units from ms to ns.
5307         * profiler.el (profiler-sampling-interval): Change units
5308         from ms to ns, multiplying the default by 1000000 so that
5309         it remains 1 ms.
5310         (profiler-report-cpu-line-format): Give enough room for
5311         the maximum counters on 64-bit hosts.
5312         (profiler-report-render-calltree-1): Call them "CPU samples",
5313         not "Time (ms)", since they are not milliseconds now (and
5314         never really were).
5316 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5318         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5319         Fix querying BBDB for entries without a last name (Bug#11580).
5321 2012-10-02  Chong Yidong  <cyd@gnu.org>
5323         * emacs-lisp/eieio.el: Restore Version header.
5325 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5327         * vc/diff-mode.el (diff--auto-refine-data): New var.
5328         (diff-hunk): Use it to delay refinement.
5329         (diff-mode): Remove overlays when we turn off font-lock.
5331         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5332         (table-initialize-table-fixed-width-mode)
5333         (table-set-table-fixed-width-mode): Remove functions.
5334         (table-command-list): Move initialization into declaration.
5335         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5336         (table-with-cache-buffer): Use `declare'.
5337         (table-span-cell): Simplify via CSE.
5338         (table-fixed-width-mode): Use define-minor-mode.
5339         (table-call-interactively, table-funcall, table-apply): Remove.
5340         (table-function): New function, to replace them.
5342         * bookmark.el (bookmark-search-pattern): Remove var.
5343         (bookmark-read-search-input): Remove function.
5344         (bookmark-bmenu-search): Reimplement using a minibuffer.
5346         * faces.el (modeline): Remove obsolete face name.
5348         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5349         and give a non-nil default value.
5350         (add-change-log-entry): Simplify accordingly.
5352 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
5354         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5355         (vc-git-log-edit-toggle-amend): New function.
5356         (vc-git-log-edit-toggle-signoff): New function.
5357         (vc-git-log-edit-mode): New major mode.
5358         (vc-git-log-edit-mode-map): Keymap for it.
5359         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5361         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5362         header names.
5363         (log-edit-toggle-header): New function.
5364         (log-edit-extract-headers): Accept function values in HEADERS alist.
5366 2012-10-01  David Engster  <deng@randomsample.de>
5368         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5369         from symbol property and change message to be more consistent with
5370         Emacs proper.
5371         (eieio-describe-generic): Add filename for each implementation.
5372         Fix indices for generic and normal methods.
5373         (eieio-method-def, eieio-class-def): New buttons.
5374         (eieio-help-find-method-definition)
5375         (eieio-help-find-class-definition): New functions.
5376         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5377         class, constructor and method definitions.
5379         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5380         information in symbol property.
5381         (scoped-class): Remove.
5382         (eieio-slot-name-index, call-next-method): Check if it is bound.
5384 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
5386         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5387         (eieio-custom-mode): New major mode.
5388         (eieio-customize-object): Use it.
5390 2012-10-01  Eric Ludlam  <zappo@gnu.org>
5392         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5393         specifying the expected class, and whether subclassing is allowed.
5394         (eieio-persistent-convert-list-to-object):
5395         (eieio-persistent-validate/fix-slot-value)
5396         (eieio-persistent-slot-type-is-class-p): New functions.
5397         (eieio-named::slot-missing): Doc fix.
5399         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5400         Stop using unused publd variable.
5402         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5403         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5404         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5405         (eieio-speedbar-handle-click): Do not specify a class for the
5406         method.  Fixes method invocation order problems with EDE.
5408 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5410         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5411         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5413 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
5415         * bookmark.el (bookmark-version-control): Give tags in the
5416         :type choices (Bug#12309), and improve doc string.
5417         (bookmark-write-file): Bind `print-circle' to `t' to allow
5418         circular custom bookmark types.  (Bug#12503)
5420 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
5422         Revert the FOLLOW-SYMLINKS change for file-attributes.
5423         * files.el (remote-file-name-inhibit-cache, after-find-file):
5424         * time.el (display-time-file-nonempty-p): Undo last change.
5426         * profiler.el (profiler-sampling-interval): Change default back to 1.
5427         See Stefan Monnier in
5428         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5430 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
5432         Shell output catching a la gud-gdb.
5433         * progmodes/python.el (python-shell-fetch-lines-in-progress)
5434         (python-shell-fetch-lines-string, python-shell-fetched-lines):
5435         New Vars.
5436         (python-shell-fetch-lines-filter): New function.
5437         (python-shell-send-string-no-output): Use them.
5439 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
5441         * profiler.el (profiler-sampling-interval): Rename from
5442         profiler-sample-interval.
5443         (profiler-sampling-interval): Default to 10.
5444         (profiler-find-profile): New command (was profiler-find-log).
5445         (profiler-find-profile-other-window): New command.
5446         (profiler-find-profile-other-frame): New command.
5447         (profiler-profile): Introduce API-level data structure.
5449 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
5451         file-attributes has a new optional arg FOLLOW-SYMLINKS.
5452         * files.el (remote-file-name-inhibit-cache):
5453         * time.el (display-time-file-nonempty-p): Use it.
5454         * files.el (after-find-file): Don't chase links before calling
5455         file-exists-p, as file-exists-p already does the right thing.
5457 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
5459         Merge from standalone RefTeX repository.
5461         The following ChangeLog entries are shortened versions of the
5462         original ones with file paths adapted.  A not so strongly edited
5463         version of the original ChangeLog can be found in the commit log.
5465         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5466         (reftex-arg-cite): Use `reftex-cite-key-separator'.
5467         Correctly handle new value type returned by `reftex-citation'.
5469         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5470         that entries with whitespace at various places are found.
5471         Doc fix. Include entries that are cross-referenced from cited entries.
5472         Include @String definitions in the resulting bib file.  Add header
5473         and footer defined in `reftex-create-bibtex-header' and
5474         `reftex-create-bibtex-footer'.
5475         (reftex-do-citation): Make it possible again to insert
5476         non-existent entries.  Save match data when asking for optional
5477         arguments. Return all keys, not just the first one.
5478         (reftex-all-used-citation-keys): Fix regexp to correctly extract
5479         all citations in the same line.
5480         (reftex-parse-bibtex-entry): Accept additional optional argument
5481         `raw' and keep quotes or braces if it is non-nil.  Match fields
5482         containing hyphens besides word constituents.
5483         (reftex-get-string-refs): New function.
5484         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5485         and ask if it should be reread in case it did.
5486         (reftex-pop-to-bibtex-entry)
5487         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5488         entries with spaces or tabs in front of arguments.
5489         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5490         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5491         Match entries containing numbers and symbol constituents.
5492         (reftex-do-citation, reftex-figure-out-cite-format):
5493         Use `reftex-cite-key-separator'.
5495         * textmodes/reftex-dcr.el: Move provide statement to end of file.
5496         (reftex-mouse-view-crossref): Explain why point is set.
5498         * textmodes/reftex-global.el: Whitespace changes.
5500         * textmodes/reftex-index.el: Move provide statement to end of
5501         file.
5502         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5503         (reftex-index-visit-phrases-buffer): Set marker when visiting
5504         buffer.  This allows for returning from the phrases file to the
5505         file one was just editing instead of the file where the last
5506         phrases was added from.
5507         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
5508         punctuation syntax as it usually is not used as string quote in
5509         TeX-related modes and may occur unmatched.  The change also
5510         prevents fontification of quoted content.
5511         (reftex-index-phrases-mode): Use it.
5513         * textmodes/reftex-parse.el (reftex-parse-from-file):
5514         Move backward one char if a `\' was matched after a section macro.
5515         (reftex-parse-from-file): Use beginning of match instead of end as
5516         bound.
5518         * textmodes/reftex-ref.el: Adapt creation of
5519         `reftex-<package>-<macro>' functions to new structure of
5520         `reftex-ref-style-alist'.
5521         (reftex-reference): Use `reftex-ref-style-list' function.
5522         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
5523         reference macro if `reftex-ref-macro-prompt' is non-nil.
5524         (reftex-reference): Pass refstyle to `reftex-format-special'.
5525         Determine reference macro by looking at
5526         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5527         Use only one special format function.
5528         (reftex-varioref-vref, reftex-fancyref-fref)
5529         (reftex-fancyref-Fref): Remove definitions.  The functions are now
5530         generated from `reftex-ref-style-alist'.
5531         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5532         Remove.
5533         (reftex-format-special): New function.
5535         * textmodes/reftex-sel.el
5536         (reftex-select-cycle-ref-style-internal): Adapt to new structure
5537         of `reftex-ref-style-alist'. Remove code for testing macro type.
5538         (reftex-select-toggle-varioref)
5539         (reftex-select-toggle-fancyref): Remove.
5540         (reftex-select-cycle-ref-style-internal)
5541         (reftex-select-cycle-ref-style-forward)
5542         (reftex-select-cycle-ref-style-backward): New functions.
5543         (reftex-select-label-map): Use `v' and `V' for general cycling
5544         through reference styles.  Add `p' for switching between number
5545         and page reference types.
5547         * textmodes/reftex-toc.el (reftex-re-enlarge):
5548         Call `enlarge-window' only if there is something to do because in Emacs
5549         the horizontal version throws an error even if the parameter is 0.
5551         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5552         (reftex-plug-into-AUCTeX): Doc fix.
5553         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5554         string.  Adapt to new name.
5555         (reftex-ref-style-alist): Change structure so that it is not
5556         possible to use multiple different package names within a style.
5557         Remove the symbols for symbols for macro type distinction.
5558         Add characters for macro selection.
5559         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5560         (reftex-create-bibtex-footer): New variables.
5561         (reftex-format-ref-function): Mention third argument of special
5562         format function.
5563         (reftex-ref-style-alist, reftex-ref-style-default-list):
5564         New variables.
5565         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5566         to new implementation.  Mark as obsolete.  Add compatibility code
5567         for honoring the variable values in case they are set.
5568         (reftex-cite-format-builtin, reftex-bibliography-commands):
5569         Add support for ConTeXt.
5570         (reftex-format-ref-function, reftex-format-cite-function):
5571         Fix custom type.
5572         (reftex-cite-key-separator): New variable.
5574         * textmodes/reftex.el (reftex-syntax-table-for-bib)
5575         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5576         `reftex-syntax-table' because parens have to retain their paren
5577         syntax in order for parsing of BibTeX entries like @book(...) to
5578         work.
5579         (reftex-in-comment): Do not error out if `comment-start-skip' is
5580         not set.  Deal correctly with escaped comment characters.
5581         (reftex-tie-multifile-symbols): Add doc string.
5582         Initialize `reftex-ref-style-list'.
5583         (reftex-untie-multifile-symbols): Add doc string.
5584         (reftex-add-index-macros): Doc fix.
5585         (reftex-ref-style-activate, reftex-ref-style-toggle)
5586         (reftex-ref-style-list): New functions.
5587         (reftex-mode-menu): Use them.  Adapt to new structure of
5588         `reftex-ref-style-alist'.
5589         (reftex-select-with-char): Kill the RefTeX Select buffer when
5590         done.
5591         (reftex-remove-if): New function.
5592         (reftex-erase-all-selection-and-index-buffers)
5593         (reftex-mode-menu): Reference styles are now computed from
5594         `reftex-ref-style-alist'.  Fix typo.
5595         (reftex-report-bug): New function.
5596         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5597         algorithms with O(n log n).  Introduce optional argument SORT (not
5598         yet used).
5600 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
5602         Enhancements for triple-quote string syntax.
5603         * progmodes/python.el (python-syntax-propertize-function):
5604         Match both quote cases in one regexp.
5605         (python-syntax-stringify): Handle matches properly.
5607 2012-09-30  Juri Linkov  <juri@jurta.org>
5609         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5610         to nil around the call to `insert' to prevent
5611         directory time modification by lock_file.  (Bug#2295)
5612         * tar-mode.el (tar-summarize-buffer): Idem.
5614 2012-09-30  Juri Linkov  <juri@jurta.org>
5616         * facemenu.el (list-colors-sort): Add option "Luminance".
5617         (list-colors-sort-key): Implement it.
5619         * vc/diff-mode.el (diff-refine-removed):
5620         * vc/ediff-init.el (ediff-fine-diff-A):
5621         * vc/smerge-mode.el (smerge-refined-removed):
5622         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
5624 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
5626         * term/ns-win.el (x-file-dialog): New function.
5628 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
5630         * ido.el (ido-max-directory-size): Default to nil; the current
5631         default is small for POSIX systems, and impractical on Windows 7
5632         now that lstat returns directory sizes for NTFS.
5634 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
5636         In buffer display functions handle window-height/window-width
5637         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
5638         * window.el (window--display-buffer): New argument ALIST.
5639         Obey window-height and window-width alist entries.
5640         (window--try-to-split-window): New argument ALIST.
5641         Bind window-combination-limit to t when the window's size shall be
5642         changed and window-combination-limit equals `window-size'.
5643         (display-buffer-in-atom-window)
5644         (display-buffer-in-major-side-window)
5645         (display-buffer-in-side-window, display-buffer-same-window)
5646         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5647         (display-buffer-pop-up-window, display-buffer-below-selected)
5648         (display-buffer-at-bottom, display-buffer-in-previous-window)
5649         (display-buffer-use-some-window): Adjust all callers of
5650         window--display-buffer and window--try-to-split-window.
5651         (fit-frame-to-buffer): New option.
5652         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5653         is non-nil.
5654         (display-buffer-in-major-side-window): Evaluate window-height /
5655         window-width alist entries.
5657         * help.el (temp-buffer-resize-frames)
5658         (temp-buffer-resize-regexps): Remove options.
5659         (temp-buffer-resize-mode): Adjust doc-string.
5660         (resize-temp-buffer-window): Don't consult
5661         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
5662         temp-buffer-resize-frames.
5664         * dired.el (dired-mark-pop-up):
5665         Call display-buffer-below-selected with a fit-window-to-buffer alist
5666         entry.
5668 2012-09-30  Chong Yidong  <cyd@gnu.org>
5670         * server.el (server-host): Document the security implications.
5671         (server-auth-key): Doc fix.
5673         * startup.el (initial-buffer-choice): Doc fix.
5675         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5677         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5678         restriction change.
5680         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5682         * help-fns.el (help-fns--obsolete): Fix last change.
5684 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5687         (minor-mode-map-alist): Remove redundant code.
5689         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5690         visited in a buffer.
5691         (cvs-insert-visited-file): New function.
5692         (find-file-hook): Use it.
5694         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5696         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5697         chose face.
5698         (log-edit-empty-buffer-p): Don't require a space after a header.
5700         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5702         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5704         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5705         a proper minor-mode.
5707         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5709 2012-09-29  Glenn Morris  <rgm@gnu.org>
5711         * winner.el (winner-mode): Remove variable (let define-minor-mode
5712         handle it).
5713         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5714         Doc fixes.
5715         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5716         (winner-mode): Use define-minor-mode.
5718         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5719         the full definition in loaddefs, rather than duplicating it.
5721         * help-macro.el (three-step-help): No need to autoload defcustom.
5723         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5724         (inferior-lisp-program, inferior-lisp-load-command)
5725         (inferior-lisp-prompt, inferior-lisp-mode-hook):
5726         No need to autoload defcustoms.
5728         * hippie-exp.el (hippie-expand-try-functions-list)
5729         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5730         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5731         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5732         (hippie-expand-only-buffers): No need to autoload defcustoms.
5733         * progmodes/vhdl-mode.el (vhdl-line-expand):
5734         Explicitly load hippie-exp, so it does not get autoloaded
5735         while hippie-expand-try-functions-list is let-bound.
5737 2012-09-28  Glenn Morris  <rgm@gnu.org>
5739         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5741         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5742         Only "cl.el" counts as cl these days.
5744 2012-09-28  Juri Linkov  <juri@jurta.org>
5746         Display archive errors in the echo area instead of inserting
5747         to the file buffer.
5749         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5750         to STDERR-TEST that can be a regexp matching a successful output.
5751         Create a temporary file and redirect stderr to it.  Search for
5752         STDERR-TEST in the stderr output and display it in the echo area
5753         if no match is found.
5754         (archive-extract-by-file): New function like
5755         `archive-extract-by-stdout' but extracting archives to files
5756         and looking for successful matches in stdout.  Function body is
5757         mostly copied from `archive-rar-extract'.
5758         (archive-rar-extract): Use `archive-extract-by-file'.
5759         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
5761 2012-09-28  Leo Liu  <sdl.web@gmail.com>
5763         * pcomplete.el (pcomplete-show-completions):
5764         Use minibuffer-message to make pcomplete usable in minibuffer.
5766         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5768 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5770         * type-break.el: Use lexical-binding.
5771         (type-break-mode): Use define-minor-mode.
5773         * emacs-lisp/pcase.el (pcase--mark-used): New.
5774         (pcase--u1): Use it (bug#12512).
5776         * custom.el (load-theme): Set buffer-file-name so the load is recorded
5777         in load-history with the right file name.
5779 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
5781         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5782         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5783         (doc-view-get-bounding-box): Make bounding box slicing work for
5784         ODF and DVI documents.
5786 2012-09-28  Glenn Morris  <rgm@gnu.org>
5788         * type-break.el (type-break-mode, type-break-interval)
5789         (type-break-good-rest-interval, type-break-keystroke-threshold):
5790         No need to autoload.
5791         (type-break-good-rest-interval, type-break-keystroke-threshold):
5792         Add :set-after.
5794 2012-09-28  Chong Yidong  <cyd@gnu.org>
5796         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5797         Add :version tag.
5799 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5801         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5803 2012-09-27  Glenn Morris  <rgm@gnu.org>
5805         * faces.el (x-display-name): Declare (for without-x builds).
5807         * linum.el (linum-format): Don't autoload it.  Improve :type.
5809         * progmodes/tcl.el: Don't require outline when compiling.
5810         (outline-regexp, outline-level): Declare.
5811         * textmodes/sgml-mode.el: Don't require outline when compiling.
5812         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5814         * term.el (term-ansi-reset):
5815         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
5817         * vc/vc.el (vc-next-action): Only gripe about committing read-only
5818         files for RCS and SCCS.  (Bug#9781)
5820 2012-09-27  Chong Yidong  <cyd@gnu.org>
5822         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5823         change; value should be t.
5825 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5827         * image-mode.el: Use lexical-binding.
5828         (image-mode-winprops): Use t to stand for the window of
5829         a buffer that's not displayed.
5830         * doc-view.el (doc-view-new-window-function): Handle the new
5831         t in winprops.
5832         (doc-view-enlarge): Make it a real nop if the size is not changed.
5833         (doc-view-display): Handle the case where the buffer is not (yet?)
5834         displayed in any window.
5835         (doc-view-saved-settings): New var.
5836         (doc-view-mode): Use it.
5837         (doc-view-fallback-mode): Set it.
5839         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5840         Set lexical-binding.
5841         (minibuffer-eldef-shorten-default): New var.
5842         (minibuffer-default-in-prompt-regexps): Use it for new default.
5843         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5845 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
5847         * international/uni-bidi.el:
5848         * international/uni-category.el:
5849         * international/uni-name.el:
5850         * international/uni-numeric.el: Regenerate.
5852 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
5853             Stefan Monnier  <monnier@iro.umontreal.ca>
5855         * profiler.el: New file.
5857 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5859         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5860         (testcover-reinstrument): Simplify with CSE.
5862 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
5864         * window.el (temp-buffer-window-setup): Fix typo in docstring.
5866 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
5868         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5869         (verilog-auto-input, verilog-auto-insert-lisp)
5870         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5871         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5872         (verilog-auto-unused, verilog-auto-wire)
5873         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5874         newline.  Reported by Andrew Jones.
5875         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5876         Reported by Brad Dobbie.
5877         (verilog-batch-delete-trailing-whitespace):
5878         Create verilog-batch-delete-trailing-whitespace.
5879         Reported by Brad Dobbie.
5880         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5881         parameters from another module.  Reported by Dan Katz.
5882         (verilog-auto, verilog-auto-assign-modport)
5883         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5884         AUTOINOUTMODPORT for UVM interface module shell generation.
5885         Reported by Brad Dobbie.
5886         (verilog-auto-inst-interfaced-ports): Make default nil, as more
5887         standard behavior.
5888         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5889         Reported by Matt Martin.
5891 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
5893         * window.el (window--resize-child-windows): When resizing child
5894         windows proportionally, process them in reverse order to
5895         preserve the "when splitting a window the new one gets the odd
5896         line" behavior.
5897         (window--resize-root-window-vertically): When resizing the
5898         minibuffer window try to affect only windows at the bottom of the
5899         frame.  (Bug#12419)
5901 2012-09-25  Chong Yidong  <cyd@gnu.org>
5903         * subr.el (declare): Doc fix.
5905         * help-fns.el (help-fns--obsolete): Handle macros properly.
5907 2012-09-25  Chong Yidong  <cyd@gnu.org>
5909         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5910         this function obsolete.
5912         * calendar/cal-x.el (calendar-two-frame-setup)
5913         (calendar-only-one-frame-setup, calendar-one-frame-setup):
5914         * calendar/calendar.el (american-calendar, european-calendar)
5915         (calendar-for-loop):
5916         * comint.el (comint-dynamic-simple-complete)
5917         (comint-dynamic-complete-as-filename, comint-unquote-filename):
5918         * desktop.el (desktop-load-default):
5919         * dired-x.el (dired-omit-here-always)
5920         (dired-hack-local-variables, dired-default-directory):
5921         * emacs-lisp/derived.el (derived-mode-class):
5922         * emacs-lisp/timer.el (timer-set-time-with-usecs):
5923         * emacs-lock.el (toggle-emacs-lock):
5924         * epa.el (epa-display-verify-result):
5925         * epg.el (epg-sign-keys, epg-start-sign-keys)
5926         (epg-passphrase-callback-function):
5927         * eshell/esh-util.el (eshell-for):
5928         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5929         (eshell-add-to-window-buffer-names):
5930         * files.el (locate-file-completion):
5931         * imenu.el (imenu-example--create-c-index)
5932         (imenu-example--create-lisp-index)
5933         (imenu-example--lisp-extract-index-name)
5934         (imenu-example--name-and-position):
5935         * international/mule-cmds.el (princ-list):
5936         * international/mule-diag.el (decode-codepage-char):
5937         * international/mule-util.el (detect-coding-with-priority):
5938         * iswitchb.el (iswitchb-read-buffer):
5939         * mail/mailalias.el (mail-complete):
5940         * mail/sendmail.el (mail-sent-via):
5941         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5942         (mouse-major-mode-menu):
5943         * password-cache.el (password-read-and-add):
5944         * pcomplete.el (pcomplete-parse-comint-arguments):
5945         * progmodes/sh-script.el (sh-maybe-here-document):
5946         * replace.el (query-replace-regexp-eval):
5947         * savehist.el (savehist-load):
5948         * simple.el (choose-completion-delete-max-match):
5949         * term.el (term-dynamic-simple-complete):
5950         * vc/ediff-init.el (ediff-check-version):
5951         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5952         * vc/vc.el (vc-diff-switches-list):
5953         * view.el (view-return-to-alist-update): Likewise.
5955         * subr.el (eval-next-after-load, makehash, insert-string)
5956         (assoc-ignore-representation, assoc-ignore-case): Use declare to
5957         mark obsolete.
5958         (mode-line-inverse-video): Variable deleted.
5960         * international/mule-util.el (string-to-sequence): Remove.
5962         * calendar/calendar.el (calendar-version):
5963         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5964         (icalendar-convert-diary-to-ical):
5965         * cus-edit.el (custom-mode):
5966         * ansi-color.el (ansi-color-unfontify-region):
5967         * international/latin1-disp.el (latin1-char-displayable-p):
5968         * progmodes/cwarn.el (turn-on-cwarn-mode):
5969         * progmodes/which-func.el (which-func-update-1):
5970         Use define-obsolete-function-alias.
5972         * net/newst-backend.el (newsticker-cache-filename):
5973         * net/newst-treeview.el (newsticker-groups-filename):
5974         Fix incorrect obsolescence declaration.
5976         * allout.el (allout-passphrase-hint-string): Likewise.
5977         (allout-init): Use a declare form to mark obsolete.
5979         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5980         this applies to functions.
5982         * iswitchb.el (iswitchb-read-buffer): Move code of
5983         iswitchb-define-mode-map here, and delete that obsolete function.
5985         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5986         font-lock-reference-face.
5988 2012-09-25  Glenn Morris  <rgm@gnu.org>
5990         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5991         Doc fixes.
5993         * eshell/em-term.el (eshell-term-name):
5994         Default to term-term-name.  (Bug#12485)
5996 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
5998         * progmodes/python.el (python-shell-send-buffer): Better handling
5999         of "if __name__ == '__main__':" conditionals when sending the buffer.
6001 2012-09-24  Glenn Morris  <rgm@gnu.org>
6003         * eshell/esh-cmd.el (eshell-find-alias-function):
6004         Tighten up file-name regexp.  (Bug#12499)
6006 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
6008         Enhancements for triple-quote string syntax.
6009         * progmodes/python.el (python-quote-syntax): Remove.
6010         (python-syntax-propertize-function): New value.
6011         (python-syntax-count-quotes, python-syntax-stringify):
6012         New functions.
6014 2012-09-24  Chong Yidong  <cyd@gnu.org>
6016         * mail/supercite.el (sc-version): Remove obsolete function.
6017         (sc-describe): Don't mark as obsolete, since it is bound.
6018         (sc-submit-bug-report): Remove.
6020         * vc/log-edit.el (cvs-changelog-full-paragraphs)
6021         (cvs-commit-buffer-require-final-newline): Remove.
6022         (log-edit-require-final-newline)
6023         (log-edit-changelog-full-paragraphs): Default to t.
6025         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6026         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6027         * vc/vc.el (vc-checkout-carefully): Likewise.
6029         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6030         (emerge-version): Remove.
6032         * progmodes/compile.el (compile-internal): Remove.
6033         (compilation-parse-errors-function): Fix typo.
6035         * international/mule.el (set-char-table-default): Remove.
6036         (set-coding-priority, make-coding-system, generic-char-p)
6037         (charset-list, charset-bytes, charset-id): Use declare to mark
6038         functions as obsolete.
6040         * vc/pcvs-defs.el (cvs-buffer-name-alist)
6041         (cvs-invert-ignore-marks): Remove references to obsolete vars.
6042         * vc/vc-hooks.el (vc-default-registered): Don't use
6043         vc-master-templates.
6045         * font-lock.el (font-lock-reference-face):
6046         Use define-obsolete-variable-alias.
6048         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6049         * calendar/calendar.el (calendar-font-lock-keywords):
6050         * calendar/diary-lib.el (diary-font-lock-keywords)
6051         (diary-fancy-font-lock-keywords):
6052         * textmodes/reftex-sel.el (reftex-insert-docstruct):
6053         * textmodes/reftex-index.el (reftex-insert-index):
6054         * textmodes/reftex-cite.el (reftex-format-bib-entry):
6055         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6056         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6057         * progmodes/prolog.el (prolog-font-lock-keywords):
6058         * progmodes/idlwave.el (idlwave-idl-keywords):
6059         * progmodes/ada-mode.el (ada-font-lock-keywords):
6060         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6062 2012-09-24  Glenn Morris  <rgm@gnu.org>
6064         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6066 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
6068         * progmodes/python.el (python-indent-line): More consistent cursor
6069         movement behavior.
6071 2012-09-23  Stefan Merten  <smerten@oekonux.de>
6073         * textmodes/rst.el: Fix compiler warning.
6075 2012-09-23  Roland Winkler  <winkler@gnu.org>
6077         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6078         Transcribe also LaTeX hyphenation.
6079         (bibtex-reformat): Bug fix. Do not quote twice the elements of
6080         bibtex-reformat-previous-options.
6082 2012-09-23  Roland Winkler  <winkler@gnu.org>
6084         * proced.el (proced-renice-command): New variable.
6085         (proced-marked-processes): New function.
6086         (proced-with-processes-buffer): New macro.
6087         (proced-send-signal): Use them.
6088         (proced-renice): New command bound to r.
6090 2012-09-23  Roland Winkler  <winkler@gnu.org>
6092         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6093         ibuffer-saved-filter-groups has one element, shortcut the call of
6094         completing-read.  (Bug#12331)
6096 2012-09-23  Chong Yidong  <cyd@gnu.org>
6098         * bindings.el (mode-line-toggle-read-only):
6099         * bs.el (bs-toggle-readonly):
6100         * buff-menu.el (Buffer-menu-toggle-read-only):
6101         * dired.el (dired-toggle-read-only):
6102         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6104 2012-09-23  Chong Yidong  <cyd@gnu.org>
6106         * image.el (image-type-available-p): Adapt to init-image-library
6107         argument changes.
6109 2012-09-22  Juri Linkov  <juri@jurta.org>
6111         * dired.el (dired-mode-map): Add [remap read-only-mode] for
6112         `dired-toggle-read-only'.  (Bug#12462)
6114 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
6116         * subr.el (temp-output-buffer-show): New function.
6117         (with-output-to-temp-buffer): Call temp-output-buffer-show
6118         instead of internal-temp-output-buffer-show.
6120 2012-09-22  Chong Yidong  <cyd@gnu.org>
6122         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6123         (Bug#12462).
6125         * repeat.el (repeat): Doc fix (Bug#12348).
6127         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6128         (Bug#10909).
6130         * simple.el (shell-command-on-region): Doc fix.
6131         (read-only-mode): Doc fix.
6133 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
6135         * emacs-lisp/timer.el (run-with-idle-timer)
6136         (timer-activate-when-idle): Warn against reinvoking an idle timer
6137         from within its own timer action.  (Bug#12447)
6139 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
6141         * cus-start.el (window-combination-limit): Add new optional
6142         values.
6143         * window.el (temp-buffer-window-show)
6144         (window--try-to-split-window): Handle new values of
6145         window-combination-limit (Bug#1806).
6146         (split-window): Test window-combination-limit for t instead of
6147         non-nil.
6148         (display-buffer-at-bottom): New buffer display action function.
6149         * help.el (temp-buffer-resize-regexps): New option.
6150         (temp-buffer-resize-mode): Rewrite doc-string.
6151         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6152         Don't resize reused window.  Suggested by Glenn Morris.
6154 2012-09-22  Stefan Merten  <smerten@oekonux.de>
6156         * textmodes/rst.el: Revamp section title faces.
6157         (rst-official-version)
6158         (rst-package-emacs-version-alist): Sync with official version
6159         V1.4.0.
6160         (rst-faces-defaults, rst-set-level-default)
6161         (rst-level-face-max, rst-level-face-base-color)
6162         (rst-level-face-base-light, rst-level-face-format-light)
6163         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6164         (rst-adornment-faces-alist): Match new setup.
6165         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6166         (rst-level-5, rst-level-6): New faces.
6168 2012-09-22  Chong Yidong  <cyd@gnu.org>
6170         * simple.el (undo): Handle indirect buffers (Bug#8207).
6172 2012-09-21  Leo Liu  <sdl.web@gmail.com>
6174         IDO: Disable match re-ordering for buffer switching.
6175         * ido.el (ido-buffer-disable-smart-matches): New variable.
6176         (ido-set-matches-1): Use it.  (Bug#2042)
6178 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
6180         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6181         Fix 2011-05-17 change.  (Bug#12418)
6183 2012-09-21  Leo Liu  <sdl.web@gmail.com>
6185         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6187 2012-09-21  Glenn Morris  <rgm@gnu.org>
6189         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6190         Be more robust about locating simple.el.
6192 2012-09-21  Glenn Morris  <rgm@gnu.org>
6194         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6196 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
6198         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
6200 2012-09-20  Juri Linkov  <juri@jurta.org>
6202         * replace.el (query-replace-read-from): Use `read-regexp' instead
6203         of `read-from-minibuffer' when `regexp-flag' is non-nil.
6204         (occur-read-primary-args): Use `read-regexp' instead of
6205         `read-string'.
6206         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6207         `read-from-minibuffer'.
6208         * isearch.el (isearch-occur): Use `read-regexp' instead of
6209         `read-string'.
6210         * dired.el (dired-read-regexp): Use `read-regexp' instead of
6211         `read-from-minibuffer'.
6212         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6213         of `read-string'.  (Bug#7567)
6215         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6216         and allow accepting a list of strings prepended to a list of
6217         standard default values.  Doc fix.  (Bug#12321)
6219         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
6221         * replace.el (read-regexp): Don't add ": " when PROMPT already
6222         ends with a colon and space.  (Bug#12321)
6224 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
6226         * doc-view.el (doc-view-display): Better fix for the cl-assertion
6227         error.
6229 2012-09-20  Stefan Merten  <smerten@oekonux.de>
6231         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6232         Fixes feature request bug#11711.
6233         (rst-mode): Create `imenu-create-index-function'.
6234         (rst-get-stripped-line): Delete after refactoring.
6235         (rst-section-tree, rst-section-tree-rec)
6236         (rst-section-tree-point): Refactor and document properly.
6237         (rst-imenu-find-adornments-for-position)
6238         (rst-imenu-convert-cell, rst-imenu-create-index):
6239         New function.
6241 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6243         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6244         (macroexp--expand-all): Use it.
6245         (macroexp--funcall-and-return): Remove by folding it into its sole
6246         caller (macroexp--warn-and-return).
6247         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6248         Use macroexp--obsolete-warning.
6250         * calc/calc.el: Fix last change by removing the whole chunk, since it
6251         was only needed back when Calc was not bundled.
6253 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
6255         * emacs-lisp/debug.el (debug): Restore assignment to
6256         debugger-old-buffer removed on 2012-09-08.
6258 2012-09-20  Juri Linkov  <juri@jurta.org>
6260         * dired-aux.el (dired-diff): Remove (require 'diff) since
6261         `diff-latest-backup-file' is now autoloaded.
6263 2012-09-20  Chong Yidong  <cyd@gnu.org>
6265         * vc/diff.el (diff-latest-backup-file): Autoload.
6267 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6269         * calc/calc.el: Remove redundant autoload shape check.
6270         (sel-mode): Don't defvar.
6271         (calc-get-stack-element): Add `sel-mode' arg instead.
6272         (calc-top, calc-top-list): Pass it this additional argument.
6273         * calc/calc-store.el (calc-store-map):
6274         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6275         (calc-map-equation, calc-outer-product, calc-inner-product):
6276         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6278         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6280 2012-09-19  Juri Linkov  <juri@jurta.org>
6282         * dired-aux.el (dired-diff): Add (require 'diff) because
6283         `diff-latest-backup-file' is not autoloaded.
6284         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6285         of `dired-get-filename' to t to not report error when there is
6286         no default file on the current line.
6288 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6290         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6291         macroexp--eval-if-compile.
6292         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6293         (macroexp--expand-all): Use them (bug#12371).
6295         * doc-view.el (doc-view-guess-paper-size)
6296         (doc-view-scale-bounding-box): Fix unbound `caddr'.
6298 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
6300         New feature: set optimal slice from BoundingBox information.
6301         * doc-view.el (doc-view-mode-map): Add keybinding.
6302         (doc-view-menu): Add menu entry.
6303         (doc-view-set-slice): Adapt docstring.
6304         (doc-view-get-bounding-box, doc-view-guess-paper-size)
6305         (doc-view-scale-bounding-box)
6306         (doc-view-set-slice-from-bounding-box): New functions.
6307         (doc-view-paper-sizes): New defvar.
6309 2012-09-19  Glenn Morris  <rgm@gnu.org>
6311         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6312         (byte-compile-log-warning): Autoload.  (Bug#12371)
6314         * calendar/calendar.el (calendar-american-month-header)
6315         (calendar-european-month-header, calendar-iso-month-header)
6316         (calendar-month-header): New options.
6317         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
6318         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
6320 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
6322         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6324 2012-09-18  Juri Linkov  <juri@jurta.org>
6326         * dired-aux.el (dired-diff): Restore original functionality of
6327         getting the default value, but keep new feature of using the
6328         latest existing backup file (`diff-latest-backup-file').
6330 2012-09-18  Juri Linkov  <juri@jurta.org>
6332         * dired.el (dired-mark): If the region is active in Transient Mark
6333         mode, mark all files in the active region.  Doc fix.
6334         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6335         Doc fix.  (Bug#10624)
6337 2012-09-18  Juri Linkov  <juri@jurta.org>
6339         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6340         attributes for M-n are pulled from the file at point.
6341         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6342         Suggested by Drew Adams.  (Bug#10624)
6344 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
6346         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6347         whitespace after "end".
6348         (ruby-do-end-to-brace): Collapse block to one line if it fits
6349         within fill-column.
6351 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
6353         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6354         value.
6355         (debug): Don't remove debugger window when debugger is expected
6356         to be back.
6358 2012-09-18  Chong Yidong  <cyd@gnu.org>
6360         * custom.el (defface): Doc fix.
6362         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6364 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
6366         * progmodes/compile.el (compilation-start): Use compilation-always-kill
6367         to initialize query-on-exit; then test that instead (bug#12288).
6369 2012-09-17  Stefan Merten  <smerten@oekonux.de>
6371         * textmodes/rst.el: Add support for `testcover'.
6372         (rst-defcustom-testcover, rst-testcover-add-compose)
6373         (rst-testcover-add-1value): New functions.
6374         (rst-portable-mark-active-p): Replace by `use-region-p'.
6375         (rst-update-section, rst-classify-adornment)
6376         (rst-find-title-line): Mark `1value' forms.
6377         (rst-classify-adornment): Remove superfluous form.
6378         (rst-update-section, rst-get-adornments-around)
6379         (rst-adornment-complete-p, rst-get-next-adornment)
6380         (rst-adjust, rst-promote-region)
6381         (rst-display-adornments-hierarchy, rst-straighten-adornments)
6382         (rst-find-pfx-in-region, rst-section-tree-rec)
6383         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6384         (rst-toc-node, rst-toc, rst-forward-section)
6385         (rst-iterate-leftmost-paragraphs)
6386         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6387         (rst-bullet-list-region)
6388         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6389         (rst-compile-find-conf, rst-compile)
6390         (rst-repeat-last-character): Fix style.
6392 2012-09-17  Chong Yidong  <cyd@gnu.org>
6394         * comint.el (comint--complete-file-name-data): Don't add a space
6395         if the status is `sole'; that adds a gratuitous space in the
6396         completion-cycling case (Bug#12092).
6398         * pcomplete.el (pcomplete-completions-at-point): Likewise.
6400 2012-09-17  Richard Stallman  <rms@gnu.org>
6402         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6403         only in the mime-shown mode, not in raw mode.
6404         (rmail-mime): Toggle off mime by displaying the message without
6405         mime processing.  (Bug#12305)
6407         * mail/rmail.el (rmail-retry-failure):
6408         Turn off mime processing first.  (Bug#12037)
6410         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6412 2012-09-17  Chong Yidong  <cyd@gnu.org>
6414         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6415         (shell-dynamic-complete-functions): Convert to defcustom.
6416         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6418         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6419         * comint.el (comint-prompt-read-only):
6420         * custom.el (defcustom):
6421         * hi-lock.el (hi-lock-mode):
6422         * ibuffer.el (ibuffer-formats):
6423         * ielm.el (ielm-prompt-read-only):
6424         * novice.el (disable-command):
6425         * saveplace.el (toggle-save-place):
6426         * speedbar.el (speedbar-supported-extension-expressions):
6427         * startup.el (auto-save-list-file-prefix, init-file-user)
6428         (after-init-hook, inhibit-startup-echo-area-message):
6429         * strokes.el (strokes-help):
6430         * time-stamp.el (time-stamp):
6431         * calendar/calendar.el (calendar, diary-file):
6432         * calendar/diary-lib.el (diary-mail-entries, diary)
6433         (diary-list-entries-hook):
6434         * calendar/holidays.el (holidays, calendar-holidays):
6435         * calendar/lunar.el (lunar-phases):
6436         * calendar/solar.el (sunrise-sunset):
6437         * emulation/edt.el (edt-load-keys):
6438         * emulation/viper.el (viper-mode):
6439         * eshell/em-alias.el (eshell-command-aliases-list):
6440         * eshell/esh-util.el (eshell-convert-numeric-arguments):
6441         * international/ogonek.el (ogonek-information):
6442         * net/tramp-cmds.el (tramp-bug):
6443         * net/quickurl.el (quickurl-reread-hook-postfix):
6444         * play/decipher.el (decipher-font-lock-keywords):
6445         * progmodes/cc-styles.el (c-set-style):
6446         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6447         * progmodes/inf-lisp.el (inferior-lisp-prompt):
6448         * progmodes/octave-mod.el (octave-mode):
6449         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6450         * progmodes/verilog-mode.el (verilog-read-defines):
6451         * textmodes/two-column.el (2C-mode): Likewise.
6453 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
6455         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6456         that holds many addresses.
6458 2012-09-16  Chong Yidong  <cyd@gnu.org>
6460         * align.el (align-areas): Call the indication function with
6461         positions instead of markers for arguments (Bug#12343).
6463         * files.el (parse-colon-path): Use split-string (Bug#12351).
6465         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6466         (display-buffer-function): Mark as obsolete.
6468         * progmodes/compile.el (compilation-parse-errors): Accept list
6469         values similar to font-lock-keywords (Bug#12136).
6470         Suggested by Oleksandr Manzyuk.
6471         (compilation-error-regexp-alist): Doc fix.
6473 2012-09-15  Glenn Morris  <rgm@gnu.org>
6475         * version.el (emacs-bzr-version-bzr): New function.
6476         (emacs-bzr-get-version): Add optional EXTERNAL argument.
6478         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6479         checkouts, check the parent dirstate matches the branch.
6480         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
6481         empty string.
6483         * version.el (emacs-bzr-version): Doc fix.
6484         (emacs-bzr-version-dirstate): New function.
6485         (emacs-bzr-get-version): For lightweight checkouts, if the parent
6486         is local try and check that it matches the branch.  If not, just
6487         use dirstate information.  (Bug#12441)
6489 2012-09-14  Juri Linkov  <juri@jurta.org>
6491         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6492         (Bug#12399)
6494 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6496         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6498         * emacs-lisp/edebug.el: Miscellaneous cleanup.
6499         Remove obsolete byte-compiler hack that tried to silence some warnings.
6500         (edebug-submit-bug-report): Remove.
6501         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6502         Remove aliases, use the un-prefixed name instead.
6503         (edebug-pop-to-buffer): Consider other frames.
6504         (edebug-original-read):: Make it more obvious that it's always defined.
6505         (edebug--make-form-data-entry, edebug--form-data-name)
6506         (edebug--form-data-begin, edebug--form-data-end): Rename from the
6507         single-dashed name, and implement with cl-defstruct.
6508         (edebug-set-form-data-entry): Use the standard accessors.
6509         (edebug-make-top-form-data-entry): Use push.
6510         (edebug-no-match): Drop useless `funcall'.
6511         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6512         to functions.
6513         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6514         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6515         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6516         (easy-menu-define, with-custom-print): Remove redundant specs.
6517         (edebug-outside-overriding-local-map)
6518         (edebug-outside-overriding-terminal-local-map): Remove, unused.
6519         (edebug--display): Bind unread-command-events directly to nil rather
6520         than binding it to unread-command-events and later setting it to nil.
6521         (edebug--display): Kill edebug-eval-buffer here...
6522         (edebug--recursive-edit): ...rather than here.
6523         Bind standard-output and standard-input.
6524         (edebug-eval): Check cl-macroexpand-all is fboundp.
6525         (edebug-temp-display-freq-count): Fix last change.
6527         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6528         * subr.el (noreturn, 1value): Add `debug' spec.
6529         * emacs-lisp/advice.el: Require cl-lib.
6530         (ad-copy-tree): Remove, use copy-tree instead.
6531         (ad-dolist): Remove use dolist or cl-dolist instead.
6532         (ad-do-return): Remove, use cl-return instead.
6533         (defadvice): Add `debug' spec.
6535 2012-09-13  Juri Linkov  <juri@jurta.org>
6537         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6538         (Bug#12399)
6540 2012-09-13  Glenn Morris  <rgm@gnu.org>
6542         * calc/calc.el (math-compose-expr):
6543         * calc/calc-ext.el (math-compose-expr):
6544         * progmodes/cc-defs.el (cl-macroexpand-all):
6545         * progmodes/cc-langs.el (delete-duplicates, mapcan)
6546         (cl-macroexpand-all): Update declarations.
6548         * vc/vc.el: No need to require ediff.
6549         (ediff-load-version-control): Declare.
6550         (ediff-vc-internal): Fix declaration.
6551         (vc-version-ediff): Require ediff.
6553 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
6555         Use a more backwards-compatible timer format (Bug#12430).
6556         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6557         being right after USECS, as that better supports old code that
6558         inadvisedly looked directly at the timer vector.
6560 2012-09-13  Kenichi Handa  <handa@gnu.org>
6562         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6563         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6564         `coding-priority' property of these language environment.
6566 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
6568         Fix glitches caused by addition of psec to timers (Bug#12430).
6569         * image.el (image-animate-timer):
6570         * time.el (display-time-world-timer):
6571         Use timer--function and timer--args rather than raw access to
6572         timer vector.
6574 2012-09-13  Glenn Morris  <rgm@gnu.org>
6576         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6577         If not compiling a file, try using load-file-name.
6579 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6581         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6582         Fix last change.
6583         (edebug-update-eval-list): Use `push'.
6585         * emacs-lisp/edebug.el: Use lexical-binding.
6586         Remove the "edebug-" prefix from non-dynamically-scoped variables.
6587         Mark unused args with underscore.
6588         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6589         (edebug-form-data): Use defvar-local.
6590         (edebug-make-before-and-after-form, edebug-make-after-form):
6591         Use backquote.
6592         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6593         Not dynamically scoped any more.
6594         (edebug--enter-trace): Add arguments `function' and `args'.
6595         Rename from edebug-enter-trace.
6596         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
6597         (edebug--update-coverage): Add `after-index' and `value' args.
6598         Rename from edebug-update-coverage.
6599         (edebug-slow-after): Call it accordingly.
6600         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
6601         edebug-recursive-edit.
6602         (edebug--display): Call it accordingly.  Add args `value',
6603         `offset-index', and `arg-mode'.  Rename from edebug-display.
6604         (edebug-debugger, edebug): Call it accordingly.
6605         (edebug-eval-display-list): Use dolist.
6607 2012-09-12  Juri Linkov  <juri@jurta.org>
6609         * info.el (Info-search): Don't check for isearch-mode and
6610         isearch-regexp before let-binding search-spaces-regexp to
6611         Info-search-whitespace-regexp.
6612         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6613         search-whitespace-regexp if isearch-lax-whitespace or
6614         isearch-regexp-lax-whitespace is non-nil.
6615         (Info-mode): Don't set local variable search-whitespace-regexp.
6616         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6618 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6620         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6621         (debugger-env-macro): Remove support for unread-command-char.
6623         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6624         the temporary map re-appearing on emulation-mode-map-alists.
6626         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6627         since 22.1.
6629         * ehelp.el (with-electric-help): Accept functions in
6630         electric-help-form-to-execute.
6631         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6632         And replace unread-command-char -> unread-command-events.
6634 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
6636         Sync with Tramp 2.2.6.
6638         * net/tramp.el (tramp-accept-process-output): Don't use
6639         JUST-THIS-ONE in the XEmacs case.
6641         * net/trampver.el: Update release number.
6643 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
6645         * emacs-lisp/debug.el (debugger-previous-window-height):
6646         New variable.
6647         (debug): When debugger-jumping-flag is non-nil try to restore
6648         height of debugger window.  (Bug#8789)
6650 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6652         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6653         overriding-local-map and pre/post-command-hook here.
6654         (edebug-recursive-edit): Do it here instead (bug#12345).
6655         (edebug-outside-unread-command-char): Remove all uses of
6656         unread-command-char.
6658         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6659         inhibit-debugger is bound instead.
6661 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6663         * subr.el (set-temporary-overlay-map): Add a docstring.
6664         (Bug#12346)
6666 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6668         * minibuffer.el (completion-table-subvert): Fix docstring.
6669         (Bug#12347)
6671 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6673         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
6675 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
6677         * progmodes/sql.el: Version 3.1
6678         (sql-db2-escape-newlines): New variable.
6679         (sql-escape-newlines-filter): Use it.
6681 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
6683         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6685 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
6687         * vc/diff-mode.el (diff-mode-menu):
6688         Bind diff-remove-trailing-whitespace.
6690 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6692         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6693         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6694         (emacs-lisp-byte-code-mode): New functions.
6695         (eval-sexp-add-defvars): Don't skip defvars in column >0.
6696         (eval-defun-2): Remove bogus interactive spec.
6697         (lisp-indent-line): Remove redundant whole-exp code, now done in
6698         indent-according-to-mode.
6699         (save-match-data): Remove redundant indent data.
6701         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6702         Use `declare'.
6704 2012-09-09  Juri Linkov  <juri@jurta.org>
6706         * replace.el (replace-regexp-lax-whitespace): New defcustom.
6707         (replace-lax-whitespace, query-replace-regexp)
6708         (query-replace-regexp-eval, replace-regexp): Doc fix.
6709         (perform-replace, replace-highlight): Let-bind
6710         isearch-lax-whitespace to replace-lax-whitespace and
6711         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6713         * isearch.el (isearch-query-replace): Let-bind
6714         replace-lax-whitespace to isearch-lax-whitespace and
6715         replace-regexp-lax-whitespace to
6716         isearch-regexp-lax-whitespace.  (Bug#10885)
6718 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6720         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6722 2012-09-09  Alan Mackenzie  <acm@muc.de>
6724         * progmodes/cc-engine.el (c-state-cache-init):
6725         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6726         (c-record-parse-state-state):
6727         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6729 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
6731         * register.el (register-separator): Rename from
6732         separator-register.  All uses changed.  Doc fix.
6733         (register): Fix version.
6735 2012-09-09  Chong Yidong  <cyd@gnu.org>
6737         * replace.el (query-replace-map): Bind four new symbols for
6738         requesting window scrolling.
6740         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6741         query-replace-map (Bug#8948).
6743         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6745         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6746         since they are now in query-replace-map.
6748         * window.el (scroll-other-window-down): Make the arg optional.
6750 2012-09-09  Chong Yidong  <cyd@gnu.org>
6752         * files.el (hack-local-variables-confirm): Use quit-window to kill
6753         the *Local Variables* buffer.
6755 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
6757         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6758         not just expect to be at its beginning.  Adjust callees.
6759         Succeed when do-end block has no space before the pipe character.
6760         (ruby-brace-to-do-end): When the original block is one-liner,
6761         convert to multiline.  Reindent the result.
6763 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
6765         * register.el (register): New group.
6766         (separator-register): New user option.
6767         (increment-register): Route it to `append-to-register', if
6768         register contains text.  Implication is that `C-x r +' can now be
6769         used for appending to a text register (bug#12217).
6770         (append-to-register, prepend-to-register): Add separator based on
6771         `separator-register'.
6773 2012-09-08  Alan Mackenzie  <acm@muc.de>
6775         AWK Mode: make auto-newline work when there's "==" in the pattern.
6776         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6777         correctly.
6778         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6779         Test more rigorously for "=" token.
6781 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
6783         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6784         Only fail when reached LIMIT.
6786 2012-09-08  Chong Yidong  <cyd@gnu.org>
6788         * dired.el (dired-mode-map): Don't bind M-=.
6790         * dired-aux.el (dired-diff): Use backup file as default.
6792 2012-09-08  Drew Adams  <drew.adams@oracle.com>
6794         * subr.el (add-to-history): Fix delete usage (Bug#12314).
6796 2012-09-08  Chong Yidong  <cyd@gnu.org>
6798         * subr.el (syntax-after, syntax-class): Doc fix.
6800 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
6802         * window.el (display-buffer-in-previous-window): New buffer
6803         display action function.
6805         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6806         (debugger-previous-window): New variable.
6807         (debug): Rewrite using display-buffer-in-previous-window,
6808         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
6810 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6812         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
6814 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
6816         * progmodes/python.el (python-shell-send-string):
6817         When default-directory is remote, create temp file on remote
6818         filesystem.
6819         (python-shell-send-file): When file is remote, pass local view of
6820         file paths to remote Python interpreter.  (Bug#12340)
6822 2012-09-07  Chong Yidong  <cyd@gnu.org>
6824         * window.el (switch-to-buffer): Doc fix (Bug#12181).
6826         * files.el (after-find-file): Don't fail on a read-only buffer if
6827         require-final-newline is `visit' or `visit-save' (Bug#11156).
6829         * subr.el (read-char-choice): Allow quitting via ESC ESC.
6831         * userlock.el (ask-user-about-supersession-threat):
6832         Use read-char-choice (Bug#12093).
6834 2012-09-07  Chong Yidong  <cyd@gnu.org>
6836         * subr.el (buffer-narrowed-p): New function.
6838         * ses.el (ses-widen):
6839         * simple.el (count-words--buffer-message):
6840         * net/browse-url.el (browse-url-of-buffer): Use it.
6842         * simple.el (count-words-region): Don't signal an error if there
6843         is a non-nil prefix arg and the mark is not set.
6845         * help.el (describe-key-briefly): Allow the message to be seen
6846         when invoked from the minibuffer (Bug#7014).
6848 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
6850         * progmodes/ruby-mode.el (ruby-end-of-defun)
6851         (ruby-beginning-of-defun): Simplify, allow indentation before
6852         block beginning and end keywords.
6853         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6854         (ruby-end-of-defun): Expect that the point is at the beginning of
6855         the defun.
6857 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6859         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6860         (bug#12367).
6861         (cl--make-usage-args): Strip _ from argument names.
6863 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6865         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6866         obsolete alias speedbar-key-map.
6867         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6868         (vhdl-index-menu-init): Don't use obsolete variable
6869         font-lock-maximum-size.
6871 2012-09-06  Chong Yidong  <cyd@gnu.org>
6873         * frame.el (window-system-version): Mark as obsolete.
6875         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6876         of obsolete variable speedbar-key-map.
6878 2012-09-06  Juri Linkov  <juri@jurta.org>
6880         * replace.el (replace-lax-whitespace): New defcustom.
6881         (query-replace, query-replace-regexp, query-replace-regexp-eval)
6882         (replace-string, replace-regexp): Mention it in docstrings.
6883         (perform-replace, replace-highlight): Let-bind
6884         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6885         to the values of replace-lax-whitespace and regexp-flag.
6886         Don't let-bind search-whitespace-regexp.  (Bug#10885)
6888         * isearch.el (isearch-query-replace): Let-bind
6889         replace-lax-whitespace instead of let-binding
6890         replace-search-function and replace-re-search-function.
6891         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6892         and isearch-regexp-lax-whitespace to lazy-highlight variables.
6893         (isearch-toggle-symbol): Set isearch-regexp to nil
6894         in isearch-word mode (like in isearch-toggle-word).
6896 2012-09-06  Juri Linkov  <juri@jurta.org>
6898         * replace.el (replace-search-function)
6899         (replace-re-search-function): Set default values to nil.
6900         (perform-replace): Let-bind isearch-related variables based on
6901         replace-related values, call `isearch-search-fun' and let-bind
6902         the result to `search-function'.  Remove code that sets
6903         `search-function' and `search-string' separately for
6904         `delimited-flag'.
6905         (replace-highlight): Add new argument `delimited-flag' and
6906         rename other arguments to the names used in `perform-replace'.
6907         Let-bind `isearch-word' to the argument `delimited-flag'.
6908         (Bug#10885, bug#10887)
6910 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
6912         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6913         ruby-beginning-of-indent, simplify, allow all keywords to have
6914         indentation before them.
6915         (ruby-beginning-of-indent): Adjust for above.  Search until the
6916         found point is not inside a string or comment.
6917         (ruby-font-lock-keywords): Allow symbols to start with "@"
6918         character, give them higher priority than variables.
6919         (ruby-syntax-propertize-function)
6920         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6921         matchers.  Expression expansions are not comments when inside a
6922         string, and there comment syntax status is irrelevant.
6923         (ruby-match-expression-expansion): New function.  Check that
6924         expression expansion is inside a string, and it's not escaped.
6925         (ruby-font-lock-keywords): Use it.
6927 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
6929         * help.el (temp-buffer-max-height): New default value.
6930         (temp-buffer-resize-frames): New option.
6931         (resize-temp-buffer-window): Optionally resize frame.
6933         * window.el (fit-frame-to-buffer-bottom-margin): New option.
6934         (fit-frame-to-buffer): New function.
6936 2012-09-05  Glenn Morris  <rgm@gnu.org>
6938         * emulation/cua-rect.el (cua--init-rectangles):
6939         * textmodes/picture.el (picture-mode-map):
6940         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6941         like forward-char and backward-char.  (Bug#12317)
6943 2012-09-05  Leo Liu  <sdl.web@gmail.com>
6945         * progmodes/flymake.el (flymake-warning-re): New variable.
6946         (flymake-parse-line): Use it.
6948 2012-09-05  Glenn Morris  <rgm@gnu.org>
6950         * calendar/holidays.el (holiday-christian-holidays):
6951         Rename an entry.  (Bug#12289)
6953 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6956         (bug#12222).
6958 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6960         * loadup.el: Load macroexp.  Remove hack.
6961         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6962         (macroexp--expand-all): Use it to get better warnings.
6963         (macroexp--backtrace, macroexp--trim-backtrace-frame)
6964         (internal-macroexpand-for-load): New functions.
6965         (macroexp--pending-eager-loads): New var.
6966         (emacs-startup-hook): New hack to replace one in loadup.el.
6967         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6968         (cl--compiler-macro-cXXr): Move to top, before they can be used.
6969         (cl-psetf): Simplify.
6970         (cl-defstruct): Add indent rule.
6972 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
6974         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6975         over `user-mail-address' for the SMTP MAIL FROM envelope.
6976         (smtpmail-via-smtp): Ditto.
6978 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
6980         * progmodes/ruby-mode.el: Clean up keybindings.
6981         (ruby-mode-map): Don't bind ruby-electric-brace,
6982         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6983         backward-kill-word, reindent-then-newline-and-indent.
6984         (ruby-mark-defun): Remove.
6985         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
6986         (ruby-mode): Set local beginning-of-defun-function and
6987         end-of-defun-function values.
6989 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
6991         * window.el (temp-buffer-window-setup-hook)
6992         (temp-buffer-window-show-hook): New hooks.
6993         (temp-buffer-window-setup, temp-buffer-window-show)
6994         (with-temp-buffer-window): New functions.
6995         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6996         (special-display-popup-frame): Make sure the window used shows BUFFER.
6998         * help.el (temp-buffer-resize-mode): Fix doc-string.
6999         (resize-temp-buffer-window): New optional argument WINDOW.
7001         * files.el (recover-file, save-buffers-kill-emacs):
7002         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7004 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
7006         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7007         remote definition of `default-directory', ensure we can connect.
7009 2012-09-02  Juri Linkov  <juri@jurta.org>
7011         Toggle whitespace matching mode with M-s SPC.
7012         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7014         * isearch.el (search-whitespace-regexp): Doc fix.
7015         Remove cons cell customization.
7016         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7017         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7018         New variables.
7019         (isearch-forward, isearch-forward-regexp): Doc fix.
7020         (isearch-toggle-lax-whitespace): New command.
7021         (search-forward-lax-whitespace, search-backward-lax-whitespace)
7022         (re-search-forward-lax-whitespace)
7023         (re-search-backward-lax-whitespace): New functions.
7024         (isearch-whitespace-regexp): Remove function.
7025         (isearch-query-replace): Let-bind replace-search-function and
7026         replace-re-search-function.
7027         (isearch-occur): Let-bind search-spaces-regexp according to the
7028         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7029         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7030         condition for C-q SPC.
7031         (isearch-search-fun-default): Use new functions mentioned above.
7032         (isearch-search-forward, isearch-search-backward): Remove functions.
7033         (isearch-search): Don't let-bind search-spaces-regexp.
7034         (isearch-lazy-highlight-space-regexp): Remove variable.
7035         (isearch-lazy-highlight-lax-whitespace)
7036         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7037         (isearch-lazy-highlight-new-loop): Use them.
7038         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7040 2012-09-02  Chong Yidong  <cyd@gnu.org>
7042         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7044 2012-09-02  Glenn Morris  <rgm@gnu.org>
7046         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
7048 2012-09-01  Glenn Morris  <rgm@gnu.org>
7050         * term.el: Tidy up menu definitions.
7051         (term-mode-map): Use easymenu for In/Out, Complete menus.
7052         (term-pager-break-map): Initialize in the defvar.
7053         (term-terminal-menu, term-signals-menu): Define with easymenu.
7054         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
7055         (term-pager-menu): New, extracted from term-process-pager.
7056         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7057         (term-update-mode-line): Propertize line/char and page items.
7058         (term-process-pager): Move keymap initialization elsewhere.
7060 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
7062         * window.el (switch-to-prev-buffer): Handle additional values of
7063         BURY-OR-KILL argument.  Don't switch in minibuffer window.
7064         (switch-to-next-buffer): Don't switch in minibuffer window.
7065         (quit-restore-window): New function based on quit-window.
7066         Handle additional values of former KILL argument.
7067         (quit-window): Call quit-restore-window with appropriate
7068         interpretation of KILL argument.
7069         (display-buffer-below-selected): New buffer display action
7070         function.
7072 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7074         * minibuffer.el (completion-at-point-functions): Complete docstring
7075         (bug#12254).
7077 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
7079         Better seed support for (random).
7080         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7081         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7082         * play/mpuz.el, play/tetris.el, play/zone.el:
7083         * calc/calc-comb.el (math-init-random-base):
7084         * play/blackbox.el (bb-init-board):
7085         * play/life.el (life):
7086         * server.el (server-use-tcp):
7087         * type-break.el (type-break):
7088         Remove unnecessary call to (random t).
7089         * net/sasl.el (sasl-unique-id-function):
7090         Change (random t) to (random), now that the latter is more random.
7091         * play/life.el (life-initialized): Remove no-longer-needed var.
7093 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
7095         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7096         Consider frame's buffer predicate when choosing the buffer.
7097         (Bug#12081)
7099 2012-08-30  Richard Stallman  <rms@gnu.org>
7101         * simple.el (special-mode-map): Delete binding for `z'.
7103 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
7105         * progmodes/compile.el (compilation-always-kill): Doc fix.
7107 2012-08-30  Chong Yidong  <cyd@gnu.org>
7109         * window.el (display-buffer-reuse-frames): Make the obsolescence
7110         message more informative.
7112 2012-08-30  Glenn Morris  <rgm@gnu.org>
7114         * paren.el (show-paren-delay):
7115         Add a :set function.  Doc fix.  (Bug#12297)
7117 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
7119         * progmodes/compile.el (compilation-always-kill): New var.
7120         (compilation-start): Use it.
7122 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7124         * simple.el (read-only-mode): Move from files.el for bootstrapping.
7125         * files.el (read-only-mode): Move to simple.el.
7127         * files.el (read-only-mode): New minor mode.
7128         (toggle-read-only): Use it and mark obsolete.
7129         (find-file--read-only):
7130         * vc/vc.el (vc-next-action, vc-checkout):
7131         * vc/vc-cvs.el (vc-cvs-checkout):
7132         * obsolete/vc-mcvs.el (vc-mcvs-update):
7133         * ffap.el (ffap--toggle-read-only): Update callers.
7135 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
7137         * eshell/esh-ext.el (eshell-external-command): Do not examine
7138         remote shell scripts.
7139         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7141         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7142         "/usr/local/sbin".
7144 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7146         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7148 2012-08-28  Leo Liu  <sdl.web@gmail.com>
7150         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7151         completion-at-point.  (Bug#12220)
7153         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7155         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7157 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7159         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7160         be buffer-local; add delete-trailing-whitespace (bug#12259).
7162 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
7164         * progmodes/hideif.el (hif-compress-define-list):
7165         Fix typo.  (Bug#11951)
7167 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
7169         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7170         buffer local setting.
7172         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7173         rcirc-encode-coding-system.
7175 2012-08-28  Leo Liu  <sdl.web@gmail.com>
7177         * net/rcirc.el (rcirc-split-message): New function.
7178         (rcirc-send-message): Use it.  (Bug#12051)
7180 2012-08-28  Juri Linkov  <juri@jurta.org>
7182         * info.el (Info-fontify-node): Hide empty lines at the end of
7183         the node.  (Bug#12272)
7185 2012-08-27  Drew Adams  <drew.adams@oracle.com>
7187         * dired.el (dired-pop-to-buffer): Make window start at beginning
7188         of buffer (Bug#12281).
7190 2012-08-26  Chong Yidong  <cyd@gnu.org>
7192         * window.el (special-display-regexps, special-display-frame-alist)
7193         (special-display-buffer-names, special-display-function)
7194         (display-buffer-reuse-frames): Mark as obsolete.
7196         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7198         * help.el (help-print-return-message): Don't treat
7199         display-buffer-reuse-frames specially.
7201 2012-08-26  Chong Yidong  <cyd@gnu.org>
7203         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7204         New variable, replacing gdb-frame-parameters.
7205         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7206         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7207         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7208         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7209         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
7210         the functions directly with gdb-display-buffer-other-frame-action.
7211         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7212         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7213         (gdb-display-stack-buffer, gdb-display-locals-buffer)
7214         (gdb-display-registers-buffer): Define directly.
7215         (def-gdb-display-buffer): Macro deleted.
7216         (gdb-display-buffer): Remove second and third args, callers don't
7217         use them.  Defer to the default display-buffer behavior, apart
7218         from making windows dedicated.
7219         (gdb-setup-windows): Don't call display-buffer unnecessarily.
7221         * progmodes/gud.el (gud-display-line): Just use display-buffer.
7223         * window.el (display-buffer-pop-up-frame): Handle a
7224         pop-up-frame-parameters alist entry.
7225         (display-buffer): Document it.
7227 2012-08-26  Chong Yidong  <cyd@gnu.org>
7229         * isearch.el (search-whitespace-regexp): Make string and nil
7230         values apply to both ordinary and regexp search.  Allow a cons
7231         cell value to distinguish between the two.
7232         (isearch-whitespace-regexp, isearch-search-forward)
7233         (isearch-search-backward): New functions.
7234         (isearch-occur, isearch-search-fun-default, isearch-search)
7235         (isearch-lazy-highlight-new-loop): Use them.
7236         (isearch-forward, isearch-forward-regexp): Doc fix.
7238 2012-08-26  Chong Yidong  <cyd@gnu.org>
7240         * faces.el (help-argument-name): Always inherit from italic
7241         (Bug#12213).
7243 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
7245         * window.el (window--even-window-heights): Even heights when
7246         WINDOW and the selected window form a vertical combination.
7247         (display-buffer-use-some-window): Provide that window used gets
7248         sized back by quit-window.  (Bug#11880) and (Bug#12091)
7250 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
7252         Fix file time stamp problem with bzr and CVS (Bug#12001).
7253         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7254         in the file's time stamp, since the version control system loses
7255         that information.
7257 2012-08-22  Juri Linkov  <juri@jurta.org>
7259         * info.el (Info-fontify-node): Hide the suffix of the
7260         Info file name in the header line.  (Bug#12187)
7262 2012-08-22  Glenn Morris  <rgm@gnu.org>
7264         * calendar/cal-tex.el (cal-tex-weekly-common):
7265         Restore leading blank page.
7267 2012-08-22  Le Wang  <l26wang@gmail.com>
7269         * misc.el (forward-to-word, backward-to-word): Activate or extend
7270         the region under `shift-select-mode'.  (Bug#12231)
7272 2012-08-22  Bastien Guerry  <bzg@gnu.org>
7274         * progmodes/executable.el (executable-prefix): Set to "#!" instead
7275         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
7276         gives details on why the space is never needed.
7278 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
7280         * window.el (walk-window-tree, window-with-parameter):
7281         New optional argument MINIBUF to control whether these functions
7282         should run on the minibuffer window.
7283         (window-at-side-list): Don't operate on minibuffer window.
7284         (window-in-direction): Simplify and rewrite doc-string.
7285         (window--size-ignore): Rename to window--size-ignore-p.
7286         Update callers.
7287         (display-buffer-in-atom-window, window--major-non-side-window)
7288         (window--major-side-window, display-buffer-in-major-side-window)
7289         (delete-side-window, display-buffer-in-side-window):
7290         New functions.
7291         (window--side-check, window-deletable-p, delete-window)
7292         (delete-other-windows, split-window): Handle side windows and
7293         atomic windows appropriately.
7294         (window--display-buffer): Call display-buffer-record-window also
7295         when the window buffer did not change.
7297 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
7299         * help-fns.el (help-fns--key-bindings):
7300         Abbreviate non-symbol remap targets.  (Bug#12174)
7302 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
7304         * dired.el (dired-mark-remembered): Don't clobber point.
7305         (Bug#11795)
7307 2012-08-22  Glenn Morris  <rgm@gnu.org>
7309         * progmodes/bug-reference.el (bug-reference): New custom group.
7310         (bug-reference-bug-regexp): Make it a defcustom.
7312 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
7314         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7315         (js-paren-indent-offset, js-square-indent-offset)
7316         (js-curly-indent-offset): Add :safe (Bug#12257).
7318 2012-08-22  Edward O'Connor  <hober0@gmail.com>
7320         * json.el (json-key-format): Add error properties.
7321         (json-encode-key): New function.
7322         (json-encode-hash-table, json-encode-alist, json-encode-plist):
7323         Use json-encode-key.
7325 2012-08-22  Glenn Morris  <rgm@gnu.org>
7327         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7328         (cal-tex-leftday, cal-tex-rightday): Remove functions.
7329         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7330         Update for above change.
7332 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
7334         * cus-face.el (custom-face-attributes): Fix customize type for the
7335         :underline attribute.  (Bug#11805)
7337 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
7339         * window.el (window-point-1, set-window-point-1): Remove.
7340         (window-in-direction, record-window-buffer)
7341         (set-window-buffer-start-and-point, split-window-below)
7342         (window--state-get-1, display-buffer-record-window):
7343         Replace calls to window-point-1 and set-window-point-1 by calls to
7344         window-point and set-window-point respectively.
7346 2012-08-21  Glenn Morris  <rgm@gnu.org>
7348         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7349         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7350         Use it.
7352         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7353         (cal-tex-shortday): New function.
7354         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7355         (cal-tex-cursor-filofax-daily): Use the above.
7357         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7358         New functions.
7359         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7360         (cal-tex-cursor-filofax-week): Use them.
7362         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7363         New constants.
7364         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7365         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7367         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7368         (cal-tex-end-document): Don't rely on buffer name.
7370         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7371         Use cal-tex-vspace.
7372         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7373         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7374         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7375         Use cal-tex-arg.
7377         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7378         (cal-tex-cursor-week, cal-tex-cursor-week2)
7379         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7380         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7381         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7382         (cal-tex-insert-preamble, cal-tex-b-document)
7383         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7384         Improve cal-tex-cmd usage.
7386         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7387         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7388         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7389         (cal-tex-weekly-paper): New function.
7390         (cal-tex-cursor-week, cal-tex-cursor-week2)
7391         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7392         (cal-tex-cursor-day): Use it.
7394         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7395         (cal-tex-cursor-filofax-week): Remove leading blank page.
7397         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7398         Add autoload cookie.  For now at least, don't use color, since
7399         no other cal-tex function does.
7401         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7402         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7403         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7405 2012-08-21  Juri Linkov  <juri@jurta.org>
7407         * info.el (Info-file-attributes): New variable.
7408         (info-insert-file-contents): Add file attributes to
7409         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
7410         `Info-toc-nodes' when previous modtime of the Info file is less
7411         than new modtime.
7412         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7413         of info.el.  (Bug#12230)
7415 2012-08-20  Glenn Morris  <rgm@gnu.org>
7417         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7418         * calendar/holidays.el (calendar-holiday-list):
7419         Report errors with display-warning rather than beep'n'sleep.
7421 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
7423         * net/tramp.el (tramp-accept-process-output): Accept only output
7424         from PROC.  Otherwise, process filters and sentinels might be
7425         confused.  (Bug#12145)
7427 2012-08-20  Chong Yidong  <cyd@gnu.org>
7429         * descr-text.el (describe-text-properties-1): Use overlays-in to
7430         report on empty overlays (Bug#3322).
7432 2012-08-20  Glenn Morris  <rgm@gnu.org>
7434         * mail/rmailout.el (rmail-output-read-file-name):
7435         Trap and report errors in rmail-output-file-alist elements.
7437         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7438         since most non-font-lock faces are not also variables).
7440 2012-08-20  Edward Reingold  <reingold@iit.edu>
7442         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7443         New function.  (Bug12160)
7445 2012-08-19  Glenn Morris  <rgm@gnu.org>
7447         * mail/rmailout.el (rmail-output-read-file-name):
7448         Fix previous change (when the alist is nil or does not match).
7450 2012-08-19  Chong Yidong  <cyd@gnu.org>
7452         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7453         (Bug#12228).
7455 2012-08-18  Chong Yidong  <cyd@gnu.org>
7457         * simple.el (yank-handled-properties): New defcustom.
7458         (yank-excluded-properties): Add font-lock-face and category.
7459         (yank): Doc fix.
7461         * subr.el (remove-yank-excluded-properties):
7462         Obey yank-handled-properties.  The special handling of font-lock-face
7463         and category is now done this way, instead of being hard-coded.
7464         (insert-for-yank-1): Remove font-lock-face handling.
7465         (yank-handle-font-lock-face-property)
7466         (yank-handle-category-property): New function.
7468 2012-08-17  Glenn Morris  <rgm@gnu.org>
7470         * mail/rmailout.el (rmail-output-read-file-name):
7471         Check rmail-output-file-alist against the full message body
7472         in the correct rmail buffer.  (Bug#12214)
7474 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
7476         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7477         Eliminate superfluous prompt.  (Bug#12203)
7479 2012-08-17  Chong Yidong  <cyd@gnu.org>
7481         * mouse.el (mouse-appearance-menu): If x-select-font returns a
7482         font spec, set the font directly (Bug#3228).
7484 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
7486         * window.el (delete-window): Fix last fix.
7488 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
7490         * window.el (window-valid-p): Move to window.c.
7491         (window-child, window-child-count, window-last-child)
7492         (window-normalize-window, window-combined-p)
7493         (window-combinations, window-atom-root, window-min-size)
7494         (window-sizable, window-sizable-p, window-size-fixed-p)
7495         (window-min-delta, window-max-delta, window--resizable)
7496         (window--resizable-p, window-resizable, window-total-size)
7497         (window-full-height-p, window-full-width-p, window-body-size)
7498         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7499         (minimize-window, window-deletable-p, delete-window)
7500         (delete-other-windows, set-window-buffer-start-and-point)
7501         (next-buffer, previous-buffer, split-window, balance-windows-2)
7502         (set-window-text-height, window-buffer-height)
7503         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7504         (truncated-partial-width-window-p): Minor code adjustments.
7505         In doc-strings state whether the argument window has to denote a
7506         live, valid or any window.
7508 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
7510         * progmodes/subword.el (subword-forward-function)
7511         (subword-backward-function, subword-forward-regexp)
7512         (subword-backward-regexp): New variables.
7513         (subword-forward, subword-forward-internal, subword-backward-internal):
7514         Use new variables, eg so that different "word" definitions
7515         can be easily used.  (Bug#11411)
7517 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7519         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7520         for composite selectors.
7521         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7522         operation just because we can't find a previous revision.
7524 2012-08-15  Chong Yidong  <cyd@gnu.org>
7526         * frame.el (set-frame-font): Accept font objects.
7528 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7532 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
7534         * man.el (Man-overstrike-face, Man-underline-face)
7535         (Man-reverse-face): Remove variables.
7536         (Man-overstrike, Man-underline, Man-reverse): New faces.
7537         (Man-fontify-manpage): Use them instead of the variables.
7538         (Man-cleanup-manpage): Comment change.
7539         (Man-ansi-color-map): New variable.
7540         (Man-fontify-manpage): Use it.
7541         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7543         Implement ANSI SGR parameters 22-27 (bug#12146).
7544         * ansi-color.el (ansi-colors): Doc fix.
7545         (ansi-color-context, ansi-color-context-region): Doc fix.
7546         (ansi-color--find-face): New function.
7547         (ansi-color-apply, ansi-color-apply-on-region): Use it.
7548         Rename the local variable `face' to `codes' since it is now a list of
7549         ansi codes.  Doc fix.
7550         (ansi-color-get-face): Remove.
7551         (ansi-color-parse-sequence): New function, derived from
7552         ansi-color-get-face.
7553         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
7554         codes 22-27.
7556 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7558         * subr.el (read-passwd): Allow use from a minibuffer.
7560 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
7562         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7563         inside comments and strings as identifiers.
7565         * progmodes/gud.el (gud-tooltip-print-command): Quote the
7566         expression to evaluate.  This allows to evaluate expressions with
7567         embedded whitespace.
7568         (gud-tooltip-tips): Add a blank before the newline in the
7569         message-box text, for the benefit of message-box emulation on
7570         MS-Windows.
7572         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7573         messages from GDB, pop them up in a tooltip to give feedback to
7574         user.
7575         (gdb-tooltip-print-1): Quote the expression to evaluate.
7576         This allows to evaluate expressions with embedded whitespace.
7577         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7578         if the TTY name is nil or empty (which happens when communicating
7579         with the inferior via pipes, e.g. on MS-Windows).
7580         (gdb-internals): If GDB sends a "&\n" empty debugging message,
7581         don't send that to the GUD buffer.
7583 2012-08-14  Glenn Morris  <rgm@gnu.org>
7585         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7586         Optimize away setq-default with no args, as for setq.  (Bug#12195)
7588 2012-08-14  Chong Yidong  <cyd@gnu.org>
7590         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7592         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7593         (Bug#12085).
7595 2012-08-14  Glenn Morris  <rgm@gnu.org>
7597         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7599 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
7601         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7602         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7603         Use cached shell name.
7605 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
7607         * progmodes/python.el (python-shell-send-string):
7608         (python-shell-send-setup-code): Do not use `format' with `message'.
7610 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
7612         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7613         (ruby-percent-literal-beg-re): New constant.
7614         (ruby-syntax-general-delimiters-goto-beg): Rename to
7615         `ruby-syntax-enclosing-percent-literal', improve literal type check.
7616         (ruby-syntax-propertize-general-delimiters): Rename to
7617         `ruby-syntax-propertize-percent-literal', it's a shorter and more
7618         popular term.  Adjust comments everywhere.
7619         (ruby-syntax-propertize-percent-literal): Only propertize when not
7620         inside a simple string or comment.  When the literal is unclosed,
7621         leave the text after it unpropertized.
7622         (ruby-syntax-methods-before-regexp): New constant.
7623         (ruby-syntax-propertize-function): Use it to recognize regexps.
7624         Don't look at the text after regexp, just use the whitelist.
7626 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
7628         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7629         non-nil always load the compiled file if it exists.  (Bug#12197)
7631 2012-08-14  Chong Yidong  <cyd@gnu.org>
7633         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7634         (hi-lock-set-pattern): When deciding whether to use font lock or
7635         overlays, look at font-lock-mode instead of font-lock-fontified
7636         (Bug#12168).
7637         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7638         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7640 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
7642         * subr.el (internal--after-with-selected-window): Fix typo
7643         (Bug#12193).
7645 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
7647         Use `completion-table-dynamic' for completion functions.
7648         * progmodes/python.el
7649         (python-shell-completion--do-completion-at-point)
7650         (python-shell-completion--get-completions):
7651         Remove functions.
7652         (python-shell-completion-complete-at-point): New function.
7653         (python-completion-complete-at-point): Use it.
7655 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
7657         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7658         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7660 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7662         * subr.el (function-get): Refine `autoload' arg so it can also
7663         autoload functions for gv.el (bug#12191).
7664         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7665         autoloads macros.
7667         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7668         Prefer pcase-let over destructuring-bind.
7669         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7670         Also, remove whitespace as we go, rather than after accumulating the
7671         various places.
7673         * subr.el (internal--before-with-selected-window)
7674         (internal--after-with-selected-window): Fix typo seleted->selected.
7675         (with-selected-window): Adjust callers.
7676         Reported by Dmitry Gutov <dgutov@yandex.ru>.
7678 2012-08-13  Bastien Guerry  <bzg@gnu.org>
7680         * window.el (special-display-popup-frame): Minor docstring
7681         enhancement.  (Bug#12172)
7683 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
7685         * tar-mode.el (tar-header-data-end): Only ignore size for files of
7686         type 1-6.
7687         (tar-header-block-summarize, tar-get-descriptor): Handle pax
7688         extended headers.
7690         * files.el (hack-local-variables-filter): Remove useless eval.
7692 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
7694         * subr.el (with-selected-window): Fix last change.
7696 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7698         * subr.el (internal--before-with-seleted-window)
7699         (internal--after-with-seleted-window): New functions.
7700         (with-selected-window): Use them, to replace dependency on
7701         tty-top-frame.
7703 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7705         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7706         binding for `newline'.
7707         (ruby-move-to-block): When moving backward, stop at block opening,
7708         not indentation.
7709         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7710         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7711         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7712         `ruby-toggle-block'.
7714 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7716         * ibuffer.el (ibuffer-do-toggle-read-only):
7717         * dired.el (dired-toggle-read-only):
7718         * buff-menu.el (Buffer-menu-toggle-read-only):
7719         * bindings.el (mode-line-toggle-read-only):
7720         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7722 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
7724         * descr-text.el (describe-char): Put the overlays over the
7725         "displayed as" character.
7727 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
7729         * calc/calc-units.el (math-default-units-table): Give an
7730         initial value.
7731         (math-put-default-units): Add options to put composite units and
7732         unit systems in the default units table.
7733         (calc-convert-units): Send composite units to
7734         `math-put-default-units' when appropriate.
7736 2012-08-11  Glenn Morris  <rgm@gnu.org>
7738         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7740         * tutorial.el (help-with-tutorial):
7741         * emacs-lisp/copyright.el (copyright-update-directory):
7742         * emacs-lisp/autoload.el (autoload-find-generated-file)
7743         (autoload-find-file): Disable local eval: (for insurance).
7745         * files.el (hack-local-variables-filter): If an eval: form is not
7746         known to be safe, and enable-local-variables is :safe, then ignore
7747         the form totally, as is done for non-eval forms.  (Bug#12155)
7748         This is CVE-2012-3479.
7750 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7752         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7753         (rx-form): Simplify.
7755 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
7757         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7758         ?, _, and : are symbol constituents, ! is not (but kinda should be).
7759         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7760         (ruby-syntax-propertize-function): Adjust for changes in
7761         `ruby-syntax-propertize-heredoc'.
7763 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
7765         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7766         binding (use `M-;' instead).
7767         (ruby-singleton-class-p): New function.
7768         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7770 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7774 2012-08-10  Chong Yidong  <cyd@gnu.org>
7776         * progmodes/python.el (python-shell-get-process-name): Don't mess
7777         with same-window-buffer-names.
7779         * eshell/eshell.el (eshell-add-to-window-buffer-names)
7780         (eshell-remove-from-window-buffer-names): Make obsolete.
7781         (eshell-buffer-name, eshell-unload-hook): Don't use them.
7782         (eshell): Just use pop-to-buffer-same-window instead.
7784 2012-08-10  Chong Yidong  <cyd@gnu.org>
7786         * bindings.el: Bind M-= back to count-words-region.
7788         * simple.el (count-words-region): Accept a prefix arg for acting
7789         on the entire buffer.
7790         (count-words--buffer-message): New helper function.
7792 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7794         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7795         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7796         (event-start, event-end): Use posn-at-point to return a more
7797         informative posn.
7798         (posnp): New function.
7799         * mouse.el (popup-menu-normalize-position): Use it.
7801 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
7803         * mouse.el (popup-menu-normalize-position): New function.
7804         (popup-menu): Use `popup-menu-normalize-position' to normalize
7805         the form for POSITION argument.
7807         * term/x-win.el (x-menu-bar-open):
7808         Use the value returend from (posn-at-point) as position
7809         passed to `popup-menu'.
7811 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
7813         * calc/calccomp.el (math-compose-expr): Add extra argument
7814         indicating that parentheses should be put around products in
7815         denominators.  Give multiplication precedence over division during
7816         composition.
7818 2012-08-09  Chong Yidong  <cyd@gnu.org>
7820         * man.el (Man-switches, Man-sed-command, Man-awk-command)
7821         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7822         (Man-untabify-command, manual-program): Convert to defcustom
7823         (Bug#10429).
7825         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7827         * descr-text.el (describe-char): Don't insert extra newlines
7828         (Bug#10127).
7830         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7831         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7833         * align.el (align-region): Delete temporary markers (Bug#10047).
7834         Plus some code cleanups.
7836 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
7838         * progmodes/python.el (python-pdbtrack-tracked-buffer)
7839         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7840         (python-shell-internal-last-output): Use make-local-variable
7841         instead of make-variable-buffer-local.
7843 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
7845         * progmodes/python.el: Enhancements to forward-sexp.
7846         (python-nav-forward-sexp): Rename from
7847         python-nav-forward-sexp-function.
7848         (python-nav--forward-sexp, python-nav--backward-sexp):
7849         New functions.
7851 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
7853         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7854         modes and simplification modes.
7856 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7858         * delsel.el (delete-selection-pre-hook): Don't propagate the
7859         file-supersession signals (bug#12161).
7861 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7863         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7864         (cl-map-extents): Add compatibility aliases (bug#12135).
7866 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
7868         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7869         tests by `ignore-error'.
7870         (tramp-find-shell): Open also a new shell, when cache is already
7871         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
7873 2012-08-08  Juri Linkov  <juri@jurta.org>
7875         * bookmark.el: Add `defaults' property to the bookmark record.
7876         (bookmark-current-buffer): Doc fix.
7877         (bookmark-make-record): Add `defaults' property with default values
7878         to the bookmark record.
7879         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7880         with `bookmark-insert-current-bookmark'.
7881         (bookmark-set): Get `defaults' property from the bookmark record
7882         and use it in `read-from-minibuffer'.
7883         (bookmark-insert-current-bookmark): Remove function.
7885         * info.el (Info-bookmark-make-record): Add `defaults' property
7886         with values of canonical Info node name, the current Info file
7887         name and the current Info node name.  (Bug#12107)
7889 2012-08-08  Juri Linkov  <juri@jurta.org>
7891         * files.el (basic-save-buffer): Use `buffer-name' as the default
7892         of `read-file-name' when buffer is not visiting a file (bug#12128).
7894 2012-08-08  Juri Linkov  <juri@jurta.org>
7896         * info.el (Info-isearch-search): Doc fix.
7897         (Info-search): Change search-failed message from "initial node" to
7898         "end of node" (bug#12078).
7899         (Info-isearch-search): Change `isearch-string-state' to
7900         `isearch--state-string'.
7902 2012-08-08  Glenn Morris  <rgm@gnu.org>
7904         * language/persian.el: Remove file.
7905         * language/misc-lang.el: Move unique part of persian.el here.
7906         * loadup.el: Remove language/persian.
7908 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
7910         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7912 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7914         * progmodes/python.el: Fix defsubst warning.
7915         (python-syntax-context) Rename from python-info-ppss-context.
7916         (python-syntax-context-type): Rename from
7917         python-info-ppss-context-type.
7918         (python-syntax-comment-or-string-p): Rename from
7919         python-info-ppss-comment-or-string-p.
7921 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7923         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7925 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
7927         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7928         a defcustom that is quoted with backquote.
7930         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7931         Fix handling of interactive spec when the body uses return.
7932         (math-do-arg-check, math-define-function-body): Use backquote forms.
7933         * calc/calc-ext.el (math-defcache): Likewise.
7934         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7935         * allout.el (allout-new-exposure): Likewise.
7936         * calc/calcalg2.el (math-tracing-integral): Likewise.
7937         * info.el (Info-last-menu-item): Likewise.
7938         * emulation/vip.el (vip-loop): Likewise.
7939         * textmodes/artist.el (artist-funcall): Likewise.
7940         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7941         Construct menu-item directly.
7943         * progmodes/autoconf.el (font-lock-syntactic-keywords):
7944         Don't declare.
7946 2012-08-07  Chong Yidong  <cyd@gnu.org>
7948         * simple.el (deactivate-mark): Preserve text properties when
7949         saving the primary selection (Bug#8384).
7951 2012-08-07  Kevin Ryde  <user42@zip.com.au>
7953         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7954         (woman-parse-numeric-value): On a bad .IP line, issue a warning
7955         and continue processing (Bug#12110).
7957 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7959         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7960         syntax-propertize-function (bug#10095).
7962 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7964         * help-fns.el (help-fns--key-bindings, help-fns--signature)
7965         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7966         describe-function-1.
7967         (describe-function-1): Use them.  Move compiler macro after sig.
7968         (help-fns--compiler-macro): Use function-get.  Assume we're already in
7969         standard-output.  Adjust layout to new call order.
7971         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7972         re-binding a symbol that has a symbol-macro (bug#12119).
7974 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
7976         * language/persian.el: New file.  (Bug#11812)
7977         * loadup.el: Add language/persian.el.
7979 2012-08-06  Chong Yidong  <cyd@gnu.org>
7981         * window.el (window--maybe-raise-frame): New function.
7982         (window--display-buffer): Split off from here.
7983         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7984         (display-buffer-pop-up-window, display-buffer-use-some-window):
7985         Obey an inhibit-switch-frame action alist entry.
7986         (display-buffer): Update doc.
7988         * replace.el (occur-after-change-function): Avoid losing focus by
7989         using the inhibit-switch-frame display parameter (Bug#12139).
7991 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
7993         Make internal shell process buffer names start with space.
7994         * progmodes/python.el (python-shell-make-comint): Add optional
7995         argument INTERNAL.
7996         (run-python-internal): Use it.
7997         (python-shell-internal-get-or-create-process): Check for new
7998         internal buffer names.
8000 2012-08-06  Glenn Morris  <rgm@gnu.org>
8002         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8003         Do less getting and setting of environment variables.
8005 2012-08-05  Chong Yidong  <cyd@gnu.org>
8007         * proced.el (proced): Add substitution string to docstring to
8008         trigger autoloading of the proced library on C-h f (Bug#1768).
8010         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8011         Don't show defvars which have no second argument (Bug#8638).
8013         * imenu.el (imenu-generic-expression): Move documentation here
8014         from imenu--generic-function.
8015         (imenu--generic-function): Refer to imenu-generic-expression.
8017 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
8019         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8020         indentation declaration.
8021         (viper-loop): Add indentation declaration (Bug#7025).
8023 2012-08-05  Chong Yidong  <cyd@gnu.org>
8025         * help-fns.el (describe-variable): Add hyperlink for
8026         directory-local variables files.  Improve buffer-local and
8027         permanent-local reporting; suggested by MON KEY (Bug#6644).
8029         * help-mode.el (help-dir-local-var-def): New button type.
8031         * files.el (kill-buffer-hook): Provide a defvar.
8033 2012-08-05  Glenn Morris  <rgm@gnu.org>
8035         * eshell/esh-ext.el (eshell/addpath):
8036         Also update eshell-path-env.  (Bug#12013)
8038 2012-08-05  Chong Yidong  <cyd@gnu.org>
8040         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8042         * fringe.el (fringe-styles): Add docstring.
8043         (fringe--check-mode): New function.
8044         (set-fringe-mode, set-fringe-style): Use it.
8045         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8047         * files.el (set-auto-mode): Fix invalid setq call.
8049 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8051         * isearch.el: Misc simplification; use defstruct.
8052         (isearch-mode-map): Dense maps now work like sparse ones.
8053         (isearch--state): New defstruct.
8054         (isearch-string-state, isearch-message-state, isearch-point-state)
8055         (isearch-success-state, isearch-forward-state)
8056         (isearch-other-end-state, isearch-word-state, isearch-error-state)
8057         (isearch-wrapped-state, isearch-barrier-state)
8058         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8059         replaced by defstruct's accessors.
8060         (isearch--set-state): Rename from isearch-top-state and change
8061         calling convention.
8062         (isearch-push-state): Use new isearch--get-state.
8063         (isearch-toggle-word): Disable regexp when enabling word.
8064         (isearch-message-prefix): Remove unused arg _c-q-hack.
8065         (isearch-message-suffix): Remove unused arg _ellipsis.
8067 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
8069         * simple.el (list-processes--refresh): For a server use :host or
8070         :local as the address.
8071         (list-processes): Doc fix.
8073 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
8075         * lisp/mpc.el: Support password in host argument.
8076         (mpc--proc-connect): Parse and use new password element.
8077         Set mpc-proc variable instead of returning process.
8078         (mpc-proc): Adjust accordingly.
8080 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
8082         * whitespace.el (whitespace-display-mappings): Use Unicode
8083         codepoints, instead of emacs-mule codepoints.  See
8084         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8085         for the details.
8087         * files.el (file-truename): Don't skip symlink-chasing part on
8088         windows-nt.  Incorporate the resolution of 8+3 short aliases on
8089         Windows into the loop that recursively chases symlinks.
8090         Compare directory and its parent case-insensitively on MS-Windows and
8091         MS-DOS.
8093 2012-08-03  Chong Yidong  <cyd@gnu.org>
8095         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8097         * sort.el (sort-regexp-fields): Doc fix.
8099 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
8101         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8102         labels regex position point at the expected place.
8104 2012-08-03  MON KEY  <monkey@sandpframing.com>
8106         * net/imap.el (imap-interactive-login, imap-authenticate)
8107         (imap-mailbox-lsub, imap-mailbox-list)
8108         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8109         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8110         (imap-parse-response): Doc fix.
8112 2012-08-03  João Távora  <joaotavora@gmail.com>
8114         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8115         if sexp scanning does not move point (Bug#5734).
8117 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
8119         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8120         Add listings, minted, and ctable packages.
8121         (reftex-label-alist-builtin): Move listings, minted, and ctable
8122         entries before LaTeX.
8123         (reftex-label-alist): Docfix.
8125 2012-08-02  Bastien Guerry  <bzg@gnu.org>
8127         * replace.el (occur): Fix docstring (bug#12122).
8129 2012-08-02  Glenn Morris  <rgm@gnu.org>
8131         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8133 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
8135         Obsolete alias inactivate-current-input-method-function (Bug#10150).
8136         * international/mule-cmds.el: Create
8137         inactivate-current-input-method-function as an obsolete alias for
8138         deactivate-current-input-method-function.  See Katsumi Yamaoka in
8139         <http://bugs.gnu.org/10150#46>.
8141 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
8143         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8144         of nested `if's.
8146 2012-08-01  Glenn Morris  <rgm@gnu.org>
8148         * progmodes/autoconf.el (autoconf-definition-regexp):
8149         Add AH_TEMPLATE, adjust submatch numbering.
8150         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8151         (autoconf-current-defun-function): Update for above change.
8152         (autoconf-current-defun-function): First skip to end of current word.
8154 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
8156         * calendar/cal-html.el (cal-html-insert-agenda-days):
8157         Fix typo.  (Bug#12018)
8159 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
8161         Shell processes: enhancements to startup and CEDET compatibility.
8162         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8163         (python-shell-make-comint): accept-process-output at startup.
8164         (run-python-internal): Set inferior-python-mode-hook to nil.
8165         (python-shell-internal-get-or-create-process): call sit-for.
8166         (python-preoutput-result): Add obsolete alias.
8167         (python-shell-internal-send-string): Use it.
8168         (python-shell-send-setup-code): Remove call to
8169         accept-process-output.
8171 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
8173         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8174         (Bug#12108)
8176 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
8178         * calc-mode.el (calc-basic-simplification-mode): Rename from
8179         `calc-limited-simplification-mode'.
8180         (calc-alg-simplification-mode): New function.
8181         (calc-set-simplify-mode): Adjust message.
8183         * calc.el (calc-set-mode-line): Adjust mode line display for
8184         basic simplification mode.
8186         * calc-help.el (calc-m-prefix-help): Update help message.
8188         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8189         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8191 2012-07-31  Bastien Guerry  <bzg@gnu.org>
8193         * man.el (man): Fix comment.  (bug#12101)
8195 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
8197         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8198         Don't return a non-nil value when no suitable buffer was found.
8200 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
8202         * progmodes/python.el (run-python-internal): Disable font lock for
8203         internal shells.
8205 2012-07-30  Stefan Merten  <smerten@oekonux.de>
8207         * textmodes/rst.el: Silence `checkdoc-ispell'.
8208         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8209         (rst-official-version, rst-official-cvs-rev)
8210         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8211         (rst-mode-map): New key binding.
8213 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
8215         Update .PHONY listings in makefiles.
8216         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8217         autoloads, update-subdirs, updates, bzr-update, update-authors,
8218         compile-onefile, compile-calc, backup-compiled-files,
8219         compile-after-backup, compile-one-process, mh-autoloads,
8220         bootstrap-clean, distclean, maintainer-clean.
8222 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
8224         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8225         (calc-set-mode-line): Don't display "AlgSimp ".
8227         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8228         (calc-lim-simplify-mode): New function.
8229         (calc-set-simplify-mode): Default to 'alg.
8230         (calc-default-simplify-mode): Make algebraic simplifications
8231         the default.
8233         * calc/calc-ext.el (calc-init-extensions): Remove binding for
8234         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
8236         * calc/calc-help.el (calc-m-prefix-help): Change messages to
8237         indicate new simplification modes.
8239         * calc/README: Mention new default simplification mode.
8241         * calc/calc.el (math-normalize-error): New variable.
8242         (math-normalize): Set `math-normalize-error' to t
8243         when there's an error.
8245         * calc/calc-alg.el (math-simplify): Don't simplify when
8246         `math-normalize' returns an error.
8248 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
8250         * international/mule-cmds.el (set-locale-environment): Revert last
8251         change, since display-graphic-p returns nil when this function is
8252         called during startup.  Instead...
8254         * term/w32console.el (terminal-init-w32console): ...setup the
8255         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
8257 2012-07-29  Juri Linkov  <juri@jurta.org>
8259         * simple.el (goto-line): Don't display default line number in the
8260         prompt because it should be displayed by `read-number' (bug#9952).
8261         Add the current line number to the defaults of `goto-line' to
8262         allow its easier modification by users with `M-n' (bug#9201).
8264         * subr.el (read-number): Support multiple default values like in
8265         other minibuffer reading functions.  Replace `read' with
8266         `string-to-number' for consistency with `number-to-string'.
8268 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
8270         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8271         * emulation/viper-init.el (viper-deactivate-input-method-action):
8272         Rename from viper-inactivate-input-method-action.
8273         (viper-deactivate-input-method):
8274         Rename from viper-inactivate-input-method.
8275         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8276         * international/mule-cmds.el (deactivate-input-method):
8277         Rename from inactivate-input-method.
8278         Also run input-method-deactivate-hook.
8279         (deactivate-current-input-method-function):
8280         Rename from inactivate-current-input-method-function.
8281         (input-method-deactivate-hook): New hook.
8282         (input-method-inactivate-hook): Mark obsolete.
8283         (inactivate-input-method): Mark obsolete.
8285         * international/quail.el (quail-activate):
8286         Also run quail-deactivate-hook.
8287         (quail-deactivate): Rename from quail-inactivate.
8288         * international/robin.el (robin-activate):
8289         Also run robin-deactivate-hook.
8290         (robin-deactivate): Rename from robin-inactivate.
8292 2012-07-29  Chong Yidong  <cyd@gnu.org>
8294         * simple.el (indicate-copied-region): New function.
8295         (kill-ring-save): Split off from here.
8297         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8298         (kill-rectangle): Set deactivate-mark to t on read-only error.
8300         * register.el (copy-to-register, copy-rectangle-to-register):
8301         Deactivate the mark, and use indicate-copied-region (Bug#10056).
8302         (append-to-register, prepend-to-register): Call indicate-copied-region.
8304 2012-07-29  Juri Linkov  <juri@jurta.org>
8306         * simple.el (async-shell-command-buffer): New defcustom.
8307         (shell-command): Use it.  (Bug#4719)
8309 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
8311         * international/mule-cmds.el (set-locale-environment): In a
8312         console session on MS-Windows, set up keyboard and terminal
8313         encoding from the OEM codepage, not the ANSI codepage.
8314         (Bug#12055)
8316 2012-07-28  Chong Yidong  <cyd@gnu.org>
8318         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8319         gdb-get-location.
8321 2012-07-28  Leo Liu  <sdl.web@gmail.com>
8323         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8324         the alist (bug#12029).
8326 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
8328         * makefile.w32-in (custom-deps, finder-data, updates, compile)
8329         (compile-always, compile-first)
8330         ($(lisp)/calendar/cal-loaddefs.el)
8331         ($(lisp)/calendar/diary-loaddefs.el)
8332         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8333         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8334         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8335         instead of on update-subdirs.
8336         (bootstrap-clean): Delete $(lisp)/subdirs.el.
8338 2012-07-28  Chong Yidong  <cyd@gnu.org>
8340         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8341         directory if vc-deduce-backend returns nil (Bug#7350).
8343         * simple.el (delete-trailing-lines): New option.
8344         (delete-trailing-whitespace): Obey it (Bug#11879).
8346 2012-07-28  David Engster  <deng@randomsample.de>
8348         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8349         Explanation of new 'symbol-qnames feature in doc-strings.
8350         (xml-maybe-do-ns): Return expanded names as plain symbols if
8351         'symbol-qnames was provided in XML-NS argument (Bug#11916).
8352         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8354 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
8356         Consistent completion in inferior python with emacs -nw.
8357         * progmodes/python.el (inferior-python-mode): replace "<tab>"
8358         binding in inferior-python-mode-map with "\t".
8359         (python-shell-completion-complete-at-point)
8360         (python-completion-complete-at-point): Remove interactive spec.
8362 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
8364         * calc/calccomp.el (math-compose-expr): Undo previous change.
8366 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
8368         * progmodes/python.el (python-mode-map): Add keybinding for
8369         run-python.
8370         (python-shell-make-comint): Fix pop-to-buffer call.
8371         (run-python): Autoload.  New arg SHOW.
8372         (python-shell-get-or-create-process): Do not pop python process
8373         buffer.
8375 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
8377         * notifications.el (notifications-on-action-signal)
8378         (notifications-on-closed-signal): Use also the bus address for the map.
8379         (notifications-notify, notifications-close-notification)
8380         (notifications-get-capabilities): Add optional argument BUS.
8382 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
8384         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8385         Add support for the lstlisting and minted environments, and for the
8386         ctable macro.
8387         * textmodes/reftex.el (reftex-compile-variables): Also recognize
8388         labels written in keyvals syntax.
8390 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
8392         * calc/calccomp.el (math-compose-expr): Use parentheses when
8393         there is a product in the denominator of a fraction.
8395 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
8397         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8398         ($(lisp)/calendar/diary-loaddefs.el)
8399         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8400         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8401         Fixes failures in parallel bootstrap because subdirs.el is being
8402         rewritten while the autoload files are built at the same time,
8403         which needs to load subdirs.el.
8405 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
8407         * mouse.el (popup-menu): Fix doc-string and re-indent code.
8408         (mouse-drag-line): Don't exit tracking when a switch-frame or
8409         switch-window event occurs (Bug#12006).
8411 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8413         * mouse.el (popup-menu): Fix last change.
8415 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8417         Autoload from Lisp with more care.  Follow aliases when looking for
8418         function properties.
8419         * subr.el (autoloadp): New function.
8420         (symbol-file): Use it.
8421         (function-get): New function.
8422         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8423         autoload-do-load.
8424         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8425         (lisp-indent-function):
8426         * emacs-lisp/gv.el (gv-get):
8427         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8428         * emacs-lisp/byte-opt.el (byte-optimize-form):
8429         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8430         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8431         Use function-get.
8432         * emacs-lisp/cl.el: Don't propagate function properties any more.
8434         * speedbar.el (speedbar-add-localized-speedbar-support):
8435         * emacs-lisp/disass.el (disassemble-internal):
8436         * desktop.el (desktop-load-file):
8437         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8438         (describe-function-1):
8439         * emacs-lisp/find-func.el (find-function-noselect):
8440         * emacs-lisp/elp.el (elp-instrument-function):
8441         * emacs-lisp/advice.el (ad-has-proper-definition):
8442         * apropos.el (apropos-safe-documentation, apropos-macrop):
8443         * emacs-lisp/debug.el (debug-on-entry):
8444         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8445         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8446         * calc/calc.el (name): Use autoloadp & autoload-do-load.
8448 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
8450         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8451         function, not an obsolete variable (Bug#12046).
8453 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
8455         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
8457 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
8459         * emacs-lisp/pp.el (pp-display-expression): Select old selected
8460         window only if it is still live (Bug#12034).
8462 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
8464         * subr.el (redirect-frame-focus): Add advertised calling
8465         convention (Bug#12030).
8467 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
8469         Prefer typical American spelling for "acknowledgment".
8470         * vc/add-log.el (change-log-acknowledgment): Rename from
8471         change-log-acknowledgement, with an alias for the old name.
8473 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
8475         * calc-alg.el (math-simplify-divide): Don't cross multiply
8476         in an equation when the lhs is a variable.
8478 2012-07-24  Julien Danjou  <julien@danjou.info>
8480         * net/netrc.el (netrc-find-service-number, netrc-store-data):
8481         Remove, unused.
8483 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
8485         * startup.el (command-line): Don't display an empty user name in
8486         the error message about non-existent home directory, when
8487         init-file-user was set to an empty string.  See
8488         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8489         for the details and context.
8491 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8493         * ses.el (ses-cell-formula-aset): New macro.
8494         (ses-cell-references-aset): New macro.
8495         (ses-cell-p): New function.
8496         (ses-rename-cell): Do no longer rely on complex operations like
8497         ses-cell-set-formula or ses-set-cell to change the cell and handle
8498         the undo at the same time, but rather use lower level new macros
8499         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8500         the undo directly.  Refresh the mode line.
8502 2012-07-21  Leo Liu  <sdl.web@gmail.com>
8504         * progmodes/cc-cmds.el (c-defun-name):
8505         Use match-string-no-properties instead for consistency.
8507 2012-07-20  Leo Liu  <sdl.web@gmail.com>
8509         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8510         (Bug#7879)
8512         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8514 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8517         * progmodes/bug-reference.el, misearch.el: Provide themselves
8518         (bug#11915).
8520         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8521         of narrowed buffer (bug#11966).
8523 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8525         * ses.el (ses-rename-cell): Set new name also in reference list of
8526         cells of which the renamed cell depends.
8528 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
8530         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8531         to check whether menu-bar is shown or not.  If not shown,
8532         show the menu-bar as a popup menu instead of using tmm.
8533         * mouse.el (popup-menu): Accept `point' as `position' argument.
8535 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
8537         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8538         up inside string symbol literal (bug#11923).
8540 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
8542         * startup.el (fancy-startup-text): Read the whole tutorial, not
8543         just its first 256 bytes.  Prevents gibberish in display of the
8544         tutorial title.
8546 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
8548         Drop idle buffer compaction due to an absence of the
8549         proved efficiency.
8550         * compact.el: Remove.
8552 2012-07-19  Sam Steingold  <sds@gnu.org>
8554         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8555         vc-bzr-pull & vc-bzr-merge-branch.
8556         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8557         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8558         for consistency with compilation-error-regexp-alist.
8559         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8560         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8561         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8562         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8564 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8566         * emacs-lisp/chart.el: Use lexical-binding.
8567         (chart-emacs-storage): Don't hardcode the list of entries.
8569 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
8571         Next round of tweaks caused by Fgarbage_collect changes.
8572         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8574 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
8576         Compact buffers when idle.
8577         * compact.el: New file.
8579 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8581         * subr.el (eventp): Presume that if it looks vaguely like an event,
8582         it's an event (bug#10190).
8584 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
8586         Enhancements to ppss related code (thanks Stefan).
8587         * progmodes/python.el (python-indent-context)
8588         (python-indent-calculate-indentation, python-indent-dedent-line)
8589         (python-indent-electric-colon, python-nav-forward-block)
8590         (python-mode-abbrev-table)
8591         (python-info-assignment-continuation-line-p): Simplify checks
8592         for ppss context.
8593         (python-info-continuation-line-p): Cleanup.
8594         (python-info-ppss-context): Do not catch 'quote.
8595         (python-info-ppss-context-type)
8596         (python-info-ppss-comment-or-string-p): Simplify.
8598 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
8600         * progmodes/python.el: Enhancements to eldoc support.
8601         (python-info-current-symbol): New function.
8602         (python-eldoc-at-point): Use python-info-current-symbol.
8603         (python-info-current-defun): Fix cornercase on first defun scan.
8604         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8605         and signal error when no inferior python process is available.
8607 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
8609         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8610         assume it's always t.
8611         (vc-git-registered): Remove caching, the function is only called
8612         once.
8613         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8615 2012-07-18  Chong Yidong  <cyd@gnu.org>
8617         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8619         * simple.el (count-words): Report on narrowing (Bug#9959).
8621         * bindings.el: Bind M-= to count-words.
8623         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8625 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
8627         * progmodes/sh-script.el (sh-imenu-generic-expression):
8628         Capture a function with `function' keyword and without parentheses
8629         like "function FOO" (bug#11856).
8631 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
8633         * window.el (split-window-sensibly): Make WINDOW argument
8634         optional.
8636 2012-07-18  Chong Yidong  <cyd@gnu.org>
8638         * subr.el (keyboard-translate): Doc fix (Bug#7261).
8640         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8641         and make C-x 8 RET exit isearch (Bug#11439).
8643         * international/iso-transl.el: Move isearch-mode-map key
8644         definitions to isearch.el.
8646 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8648         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8649         (eieio-defclass): Use gv-define-setter when possible.
8651 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
8653         Reflect recent changes in Fgarbage_collect.
8654         * emacs-lisp/chart.el (chart-emacs-storage): Change to
8655         reflect new format of data returned by Fgarbage_collect.
8657 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8659         New utility functions + python-info-ppss-context fix (Bug#11910).
8660         * progmodes/python.el (python-info-beginning-of-block-statement-p)
8661         (python-info-ppss-comment-or-string-p): New functions.
8662         (python-info-ppss-context): Small fix for string check.
8664 2012-07-17  Juri Linkov  <juri@jurta.org>
8666         * dired-aux.el (dired-do-async-shell-command): Doc fix.
8667         (dired-do-async-shell-command): Don't add `*' at the end of the
8668         command (Bug#11815).
8669         (dired-do-shell-command): Doc fix.
8670         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8671         Join the individual commands using either "&" or ";" as the
8672         separator depending on the values of these trailing characters.
8673         At the end re-add the trailing "&".  (Bug#10598)
8675         * simple.el (async-shell-command): Sync the interactive spec with
8676         `shell-command'.  Doc fix.
8677         (shell-command): Doc fix.
8679 2012-07-17  Juri Linkov  <juri@jurta.org>
8681         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
8683 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8685         Final renames and doc fixes for movement commands (bug#11899).
8686         * progmodes/python.el (python-nav-beginning-of-statement):
8687         Rename from python-nav-statement-start.
8688         (python-nav-end-of-statement): Rename from
8689         python-nav-statement-end.
8690         (python-nav-beginning-of-block): Rename from
8691         python-nav-block-start.
8692         (python-nav-end-of-block): Rename from python-nav-block-end.
8694 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8696         * progmodes/python.el (python-shell-send-string-no-output):
8697         Allow accept-process-output to quit, keeping shell process ready for
8698         future interactions (Bug#11868).
8700 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8704         * emacs-lisp/elint.el (elint-find-args-in-code):
8705         Use help-function-arglist, so as to handle lexical byte-code.
8707         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8708         change (bug#11826).
8710 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8712         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8713         Avoid spuriously marking the buffer as modified because of c-is-sws.
8715         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8716         as not-a-comment (bug#11946).
8718         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8719         for uninterned vars.
8721         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8722         Use read-event since we don't really want to read chars but bytes.
8724         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8725         $$..$$ but also $..$ using regexps (bug#11953).
8726         Use tex-verbatim for \url and \path.
8727         (tex-font-lock-keywords): Define as defconst like the others.
8728         (tex-common-initialization): Don't use font-lock-syntax-table any more.
8730 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
8732         * international/mule-cmds.el (ucs-insert): Make it an obsolete
8733         alias for insert-char.
8735 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
8737         * progmodes/python.el: Simplified imenu implementation.
8738         (python-nav-jump-to-defun): Remove command.
8739         (python-mode-map): Use `imenu' instead.
8740         (python-nav-list-defun-positions-cache)
8741         (python-imenu-include-defun-type, python-imenu-make-tree)
8742         (python-imenu-subtree-root-label, python-imenu-index-alist):
8743         Remove vars.
8744         (python-nav-list-defun-positions, python-nav-read-defun)
8745         (python-imenu-tree-assoc, python-imenu-make-element-tree)
8746         (python-imenu-make-tree, python-imenu-create-index):
8747         Remove functions.
8748         (python-mode): Update to interact with imenu by setting
8749         `imenu-extract-index-name-function' only.
8751 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
8753         * progmodes/python.el: Enhancements to navigation commands.
8754         (python-nav-backward-sentence)
8755         (python-nav-forward-sentence): Remove.
8756         (python-nav-backward-statement, python-nav-forward-statement)
8757         (python-nav-statement-start, python-nav-statement-end)
8758         (python-nav-backward-block, python-nav-forward-block)
8759         (python-nav-block-start, python-nav-block-end)
8760         (python-nav-forward-sexp-function)
8761         (python-info-current-line-comment-p)
8762         (python-info-current-line-empty-p): New functions.
8763         (python-indent-context): Use `python-nav-statement-start'.
8765 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
8767         * eshell/em-ls.el (eshell/ls): Use `apply'.
8769         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8770         multi-hops, instead of Tramp internals.
8772         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8774         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8775         when F1 and F2 are located on different hosts.
8777 2012-07-14  Chong Yidong  <cyd@gnu.org>
8779         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8780         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8781         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8782         (xterm-mouse--read-event-sequence-1000)
8783         (xterm-mouse--read-event-sequence-1006): New functions.  For old
8784         mouse protocol, handle M-mouse-X events correctly.
8785         (xterm-mouse-event): New arg specifying mouse protocol.
8786         (turn-on-xterm-mouse-tracking-on-terminal)
8787         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8788         sequence to toggle extended coordinates on newer XTerms.
8789         This appears to be harmless on terminals which do not support this.
8791 2012-07-14  Leo Liu  <sdl.web@gmail.com>
8793         Add fringe bitmap indicators for flymake.  (Bug#11253)
8794         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8795         (flymake-make-overlay): New arg BITMAP.
8796         (flymake-error-bitmap, flymake-warning-bitmap)
8797         (flymake-fringe-indicator-position): New user variables.
8799         * fringe.el: New bitmap exclamation-mark.
8801 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8803         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8804         also (Bug#7879).
8806 2012-07-14  Chong Yidong  <cyd@gnu.org>
8808         * electric.el (electric-pair-post-self-insert-function): Fix pair
8809         insertion in empty-region case (Bug#11520).
8811 2012-07-14  Chong Yidong  <cyd@gnu.org>
8813         * bindings.el: Consolidate ctl-x-r-map bindings.
8814         Bind copy-rectangle-as-kill to C-x r w.
8816         * rect.el, register.el: Move bindings to bindings.el.
8818 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
8820         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8822 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8824         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
8826 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
8828         * bindings.el (top): Use `mapc' instead of `mapcar'.
8830         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8832 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
8834         * progmodes/sql.el (sql-comint): Suppress the check for program on
8835         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
8836         (Bug#11908)
8838 2012-07-13  Chong Yidong  <cyd@gnu.org>
8840         * bindings.el: Assign a non-nil permanent-local property to
8841         per-buffer variables which lack a default value (Bug#11930).
8843         * help-fns.el (describe-variable): In the "automatically becomes
8844         local" notice, take note of permanent-local variables.
8846 2012-07-13  Chong Yidong  <cyd@gnu.org>
8848         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
8849         to allow printing the message when called from Lisp.
8851         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8852         Remove toggle-read-only.
8854         * bs.el (bs-toggle-readonly):
8855         * buff-menu.el (Buffer-menu-toggle-read-only):
8856         Remove with-no-warnings around toggle-read-only.
8858         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8859         Remove with-no-warnings around toggle-read-only.
8860         (ffap-read-only, ffap-read-only-other-window)
8861         (ffap-read-only-other-frame): Callers changed.
8863         * help-mode.el: Don't require view package.
8864         (help-mode-finish): Set buffer-read-only instead of calling
8865         toggle-read-only.
8867         * bindings.el (mode-line-toggle-read-only):
8868         * dired.el (dired-toggle-read-only):
8869         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8870         with non-nil second arg.
8872         * emacs-lisp/eieio-custom.el (eieio-customize-object):
8873         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8874         directly.
8876 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
8878         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8879         not incf.
8881 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8883         More CL cleanups and reduction of use of cl.el.
8884         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8885         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8886         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8887         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8888         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8889         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8890         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8891         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8892         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8893         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8894         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8895         * eshell/em-cmpl.el, eshell/em-banner.el:
8896         * calendar/parse-time.el: Use cl-lib.
8897         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8898         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8899         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8900         * term/ns-win.el, term.el, shell.el, ps-samp.el:
8901         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8902         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8903         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8904         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8905         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8906         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8907         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8908         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8909         `lambda' rather than with `quote'.
8910         (eshell-do-opt): Adjust accordingly.
8911         (eshell-process-option): Simplify.
8912         * eshell/esh-var.el:
8913         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8914         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8915         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8916         to `pcase--dontcare'.
8917         * emacs-lisp/cl.el (labels): Mark obsolete.
8918         (cl--letf, letf): Move to cl-lib.
8919         (cl--letf*, letf*): Remove.
8920         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8921         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8922         (cl-progv): Rewrite.
8923         (cl--letf, cl-letf): Move from cl.el.
8924         (cl-letf*): New macro.
8925         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8927 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
8929         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8931 2012-07-11  Chong Yidong  <cyd@gnu.org>
8933         * vc/log-edit.el (log-edit-vc-backend): New variable.
8934         (log-edit): Doc fix.
8936         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
8937         argument of log-edit to set up all local variables.
8938         (vc-start-logentry): New optional arg specifying VC backend.
8940         * vc/vc.el (vc-checkin): Use it.
8941         (vc-deduce-fileset): Handle Log Edit buffers.
8942         (vc-diff): Make first argument optional too.
8944         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8946 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
8948         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8949         command, just in case.  The function is not needed anymore.
8950         (eshell-external-command): Do not call `eshell-remote-command'.
8952 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8954         Reduce use of (require 'cl).
8955         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8956         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8957         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8958         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8959         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8960         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8961         * battery.el, avoid.el, abbrev.el: Use cl-lib.
8962         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8963         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8964         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8965         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8966         * calculator.el, autorevert.el, apropos.el: Don't require CL.
8967         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8968         (byte-compile-unfold-bcf, byte-compile-check-variable):
8969         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8970         (byte-compile-nilconstp):
8971         * emacs-lisp/autoload.el (make-autoload): Use pcase.
8972         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8974         * emacs-lisp/gv.el (cond): Make it a valid place.
8975         (if): Simplify slightly.
8977         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8978         (pcase--self-quoting-p): New function.
8979         (pcase--u1): Use it.
8981 2012-07-10  Glenn Morris  <rgm@gnu.org>
8983         * emacs-lisp/authors.el (authors-fixed-entries):
8984         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8986 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
8988         Rename configure.in to configure.ac (Bug#11603).
8989         * emacs-lisp/authors.el (authors-canonical-file-name):
8990         * progmodes/autoconf.el (autoconf-mode):
8991         Prefer configure.ac to configure.in.
8993 2012-07-08  Chong Yidong  <cyd@gnu.org>
8995         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8996         Implement the mouse-1-click-follows-link handling properly.
8998         * info.el (Info-link-keymap): Use follow-link mechanism for
8999         header-line links (Bug#374).
9001         * simple.el (deactivate-mark): Do not set the primary selection
9002         if another program has acquired it (Bug#11772).
9004 2012-07-07  Kevin Ryde  <user42@zip.com.au>
9006         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9007         (woman-decode-region): Replace escaped-escapes without destroying
9008         bold or underline (Bug#11552).
9009         (woman2-process-escapes): Handle nofill regions (Bug#11591).
9011 2012-07-07  Chong Yidong  <cyd@gnu.org>
9013         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9014         (interprogram-cut-function, interprogram-paste-function):
9015         Mention that we typically mean the clipboard.
9017 2012-07-06  Glenn Morris  <rgm@gnu.org>
9019         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
9021         * files.el (toggle-read-only): Restrict message to interactive use.
9023 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
9025         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9027         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9029 2012-07-06  Glenn Morris  <rgm@gnu.org>
9031         * Makefile.in (compile-one-process): Rename from "recompile".
9033         * Makefile.in (bzr-update): "compile" is the same as "recompile
9034         autoloads", but parallelizable, so use that instead.
9036 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
9038         * window.el (quit-window): Always restore window height when
9039         it's saved in quit-restore parameter (Bug#11810).
9041 2012-07-06  Glenn Morris  <rgm@gnu.org>
9043         * simple.el (kill-whole-line): Doc tweak.
9045 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
9047         * files.el (file-relative-name): Compare file names
9048         case-insensitively if on MS-Windows or MS-DOS, or if
9049         read-file-name-completion-ignore-case is non-nil.  Don't use
9050         case-fold-search for this purpose.  (Bug#11827)
9052 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
9054         * calendar/cal-dst.el (calendar-current-time-zone):
9055         Return calendar-current-time-zone-cache if non-nil.
9057 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
9058 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9060         * calendar/cal-dst.el (calendar-current-time-zone):
9061         Return calendar-current-time-zone-cache if non-nil.
9063 2012-07-06  Glenn Morris  <rgm@gnu.org>
9065         * Makefile.in (cvs-update): Remove old alias.
9067 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
9069         Sync with Tramp 2.2.6-pre.
9071         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9072         compatible declaration.
9074         * net/tramp-cmds.el (tramp-append-tramp-buffers):
9075         Protect `list-load-path-shadows' call.
9077         * net/tramp-compat.el (top): Require packages, which aren't
9078         autoloaded anymore for XEmacs.  Protect call of
9079         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9080         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
9081         it hurts at least for SXEmacs.
9082         (tramp-compat-temporary-file-directory): In XEmacs, there is no
9083         standard-value for `temporary-file-directory'.
9085         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9086         Redirect stderr to /dev/null.
9087         (tramp-sh-handle-write-region): uid and gid can be floats.
9088         Reported by Russell Sim <russell.sim@gmail.com>.
9089         (tramp-sh-handle-vc-registered): Hide errors.
9090         (tramp-vc-file-name-handler): Use dummy results for `process-file'
9091         and `start-file-process'.
9092         (tramp-maybe-open-connection): Check also whether `non-essential'
9093         is bound.
9095 2012-07-04  Chong Yidong  <cyd@gnu.org>
9097         * xml.el (xml--parse-buffer): Use xml-syntax-table.
9098         (xml-parse-tag): Likewise, and avoid changing entity tables.
9099         (xml-syntax-table): Define from scratch, making sure not to give
9100         x2000 and other Unicode spaces whitespace syntax, since those are
9101         not spaces in XML.
9102         (xml-parse-fragment): Delete unused function.
9103         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9104         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9105         (xml-entity-ref, xml-pe-reference-re)
9106         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9107         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9108         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9109         (xml-entity-value-re): Use syntax references in regexps where
9110         possible; no need to define inside a let-binding.
9111         (xml-parse-dtd): Use xml-pe-reference-re.
9112         (xml-entity-or-char-ref-re): New defconst.
9113         (xml-parse-string, xml-substitute-special): Use it.
9115 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9117         * files.el (locate-dominating-file): Allow `name' to be a predicate.
9118         (find-file--read-only): New function.
9119         (find-file-read-only, find-file-read-only-other-window)
9120         (find-file-read-only-other-frame): Use it.
9121         (insert-file-contents-literally): Don't `fset'.
9122         (get-free-disk-space): Use locate-dominating-file.
9124         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9125         function is already compiled.
9127         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
9129 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
9131         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9132         files on the same host.
9134 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
9136         * help-fns.el (describe-function-1): Only call
9137         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
9139 2012-07-03  Chong Yidong  <cyd@gnu.org>
9141         * xml.el: Protect parser against XML bombs.
9142         (xml-entity-expansion-limit): New variable.
9143         (xml-parse-string, xml-substitute-special): Use it.
9144         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9146 2012-07-03  Glenn Morris  <rgm@gnu.org>
9148         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9149         Allow linking to specific messages in debbugs reports (eg 123#5).
9151 2012-07-02  Chong Yidong  <cyd@gnu.org>
9153         * xml.el: Fix entity and character reference expansion, allowing
9154         them to expand into markup as per XML spec.
9155         (xml-default-ns): New variable.
9156         (xml-entity-alist): Use XML spec definitions for lt and amp.
9157         (xml-parse-region): Make first two arguments optional.
9158         Discard text properties.
9159         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9160         All callers changed.
9161         (xml-parse-tag): Call xml-parse-tag-1.  For backward
9162         compatibility, this function should not modify buffer contents.
9163         (xml-parse-tag-1): Fix opening-tag regexp.
9164         (xml-parse-string): Rewrite, handling entity and character
9165         references properly.
9166         (xml--entity-replacement-text): Signal an error if a parameter
9167         entity is undefined.
9169 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9171         * comint.el (comint-output-filter): Filter out repeated prompts.
9173         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9174         and file-name-absolute-p.
9175         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9176         internal calls.
9178 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
9180         Spelling fixes.
9181         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9182         Rename from byte-compile--refiy-function.  All uses changed.
9184 2012-07-01  Chong Yidong  <cyd@gnu.org>
9186         * xml.el (xml--parse-buffer): New function.  Move most of
9187         xml-parse-region here.
9188         (xml-parse-region): Copy region into a temporary buffer, since
9189         parameter entity substitution requires changing buffer contents.
9190         Use xml--parse-buffer.
9191         (xml-parse-file): Use xml--parse-buffer.
9192         (xml-parse-dtd): Make parameter entity substitution work right.
9193         Use proper regexps for ELEMENT declarations (Bug#7172).
9195 2012-06-30  Glenn Morris  <rgm@gnu.org>
9197         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9199         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9200         Remove outdated and unnecessary dbus declarations.
9202 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
9204         * emacs-lisp/timer.el (timer-until): Subtract results of
9205         float-time, instead of taking float-time of the result of
9206         time-subtract, since float-time signals an error for negative time
9207         arguments.
9209 2012-06-30  Chong Yidong  <cyd@gnu.org>
9211         * xml.el (xml-*-re): Convert defvars into defconsts, and
9212         eval-and-compile them so eval-and-compile works on derivatives.
9213         (xml--entity-replacement-text): Use eval-and-comple.
9215 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
9217         * vc/vc-git.el (vc-git-registered): Use cache property
9218         `git-registered'.
9219         (vc-git-mode-line-string): Call `vc-working-revision' instead of
9220         `vc-git-working-revision' in order to benefit from the cache.
9221         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
9223 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
9225         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9226         removed (likely outside Emacs).  (Bug#11757)
9228 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9230         * emacs-lisp/cl-lib.el: Require macroexp.
9232 2012-06-30  Chong Yidong  <cyd@gnu.org>
9234         * xml.el: Implement XML parameter entities.
9235         (xml-parameter-entity-alist): New variable.
9236         (xml-parse-region, xml-parse-fragment): Preserve previous values
9237         of xml-entity-alist and xml-parameter-entity-alist, so that
9238         repeated calls on different documents do not change them.
9239         (xml-parse-tag): Fix doctype regexp.
9240         (xml--entity-replacement-text): New function.
9241         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
9242         properly requires url retrieval which is unimplemented.
9243         (xml-escape-string): Doc fix.
9245 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9247         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9249 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
9251         * fringe.el (fringe-mode): Doc fix.
9253 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
9255         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9256         is non-nil.
9257         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9258         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
9260 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
9262         * calendar/cal-dst.el (calendar-current-time-zone):
9263         Return calendar-current-time-zone-cache if non-nil.
9265 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
9267         * progmodes/which-func.el (which-func-format):
9268         Add mouse-face.  (Bug#11698)
9270 2012-06-29  Leo Liu  <sdl.web@gmail.com>
9272         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9274 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9276         * minibuffer.el (minibuffer-confirm-exit-commands):
9277         Add completion-at-point (bug#11725).
9279 2012-06-29  Glenn Morris  <rgm@gnu.org>
9281         * progmodes/f90.el (f90-font-lock-keywords-2):
9282         Add some preprocessor elements.  (Bug#10499)
9284 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9286         * progmodes/cperl-mode.el (cperl-update-syntaxification):
9287         Use syntax-propertize (bug#11739).
9289 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
9291         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9293 2012-06-28  Julien Danjou  <julien@danjou.info>
9295         * term.el (term-handle-colors-array): Use a set of new faces to
9296         color the terminal.  Also uses :inverse-video property.
9297         (term-default-fg-color): Set to nil by default, deprecate in favor
9298         of `term-face'.
9299         (term-default-bg-color): Set to nil by default, deprecate in favor
9300         of `term-face'.
9301         (term-current-face): Use `term-face' by default.
9302         (term-bold-attribute): Variable deleted.
9304 2012-06-28  Glenn Morris  <rgm@gnu.org>
9306         * simple.el (completion-list-mode-finish):
9307         Don't use toggle-read-only.  (Since completion-list-mode has
9308         a special mode-class, it wasn't doing anything extra anyway.)
9310 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9312         Make inlining of other-mode interpreted functions work (bug#11799).
9313         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9314         (byte-compile): Use it to fix compilation of lexical-binding closures.
9315         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9316         function, if needed.
9318 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9320         * help-mode.el (help-make-xrefs): Don't just withstand
9321         cyclic-variable-indirection but any error in documentation-property.
9323         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9324         memory use.
9325         * bindings.el (bindings--define-key): New function.
9326         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9327         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9328         * bindings.el: Use it to purecopy define-key bindings.
9330         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9332         * emacs-lisp/cl.el (flet): Mark obsolete.
9333         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9334         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9335         * progmodes/js.el (js-c-fill-paragraph):
9336         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9337         (ebrowse-switch-member-buffer-to-derived-class):
9338         * play/5x5.el (5x5-solver): Use cl-flet.
9340         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
9341         (cl--symbol-function): New macro.
9342         (cl--letf, cl--letf*): Use it.
9344         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9345         Strip "toggle-" if any.
9347 2012-06-27  Glenn Morris  <rgm@gnu.org>
9349         * info.el (Info-default-directory-list): Move here from paths.el.
9350         * paths.el: Remove file, which is now empty.
9351         * loadup.el: No longer load "paths".
9353         * custom.el (custom-initialize-delay): Doc fix.
9355         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9356         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9357         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9358         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9359         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9360         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9361         * eshell/eshell.el (eshell-defgroup): Remove alias.
9363 2012-06-27  Chong Yidong  <cyd@gnu.org>
9365         * help.el (help-enable-auto-load): New variable.
9367         * help-fns.el (help-fns--autoloaded-p): New function.
9368         (describe-function-1): Refer to a function as "autoloaded" if it
9369         was autoloaded at any time in the past.  Perform autoloading if
9370         help-enable-auto-load is non-nil.
9372 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
9374         * makefile.w32-in (compile, compile-always): Depend on
9375         update-subdirs, not on subdirs.el.  Otherwise, several different
9376         sub-targets of 'bootstrap' running in parallel could
9377         simultaneously write to subdirs.el, producing a garbled file.
9379 2012-06-26  Sam Steingold  <sds@gnu.org>
9381         * files.el (file-name-base): New convenience function.
9382         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9383         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9384         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9385         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9386         * textmodes/ispell.el, textmodes/reftex-ref.el:
9387         * textmodes/tex-mode.el: Use it.
9388         Did not touch cedet and org because they are maintained elsewhere.
9390 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
9392         * calendar/calendar.el (calendar-exit): Don't try to delete or
9393         iconify last frame.  See:
9394         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9396 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
9398         * server.el (server-process-filter): Remember dir in the
9399         process's `server-client-directory' properties.
9401 2012-06-24  Chong Yidong  <cyd@gnu.org>
9403         * xml.el (xml-parse-tag): Correctly handle comment embedded in
9404         non-tag text.
9406 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
9408         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9410 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9412         * help-fns.el (describe-variable): Don't croak when doc is not found.
9413         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9414         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9415         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9416         * emacs-lisp/smie.el (smie-next-sexp): CSE.
9417         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9418         ((lambda ..) ..).
9419         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9421 2012-06-23  Chong Yidong  <cyd@gnu.org>
9423         * info.el (Info-mouse-follow-link): Accept symbol values of
9424         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
9425         (Info-fontify-node): Use Info-link-keymap for all navigation
9426         buttons, with link-args property to perform the desired action.
9427         (Info-link-keymap): Doc fix.
9428         (Info-next-link-keymap, Info-prev-link-keymap)
9429         (Info-up-link-keymap): Delete now-unused keymaps.
9431 2012-06-23  Chong Yidong  <cyd@gnu.org>
9433         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9435         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9436         system abbrevs.
9438         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9440 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9442         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9443         (bug#11719).
9445         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9446         the requote function doesn't work properly (bug#11714).
9448 2012-06-23  Glenn Morris  <rgm@gnu.org>
9450         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9452 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9454         Further GV/CL cleanups.
9455         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9456         gv-expander.
9457         (gv--defun-declaration): New function.
9458         (defun-declarations-alist): Use it.
9459         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9460         (gv-place): Autoload.
9461         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9462         original definition of dotimes and dolist.
9463         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9464         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9465         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9466         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9467         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9468         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9469         to the function's definition.
9470         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9471         * window.el:
9472         * files.el:
9473         * faces.el:
9474         * env.el: Don't use CL.
9476 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
9478         Support higher-resolution time stamps (Bug#9000).
9480         * calendar/time-date.el (with-decoded-time-value): New arg
9481         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
9482         (encode-time-value): New optional arg PICO.  New type 3.
9483         (time-to-seconds) [!float-time]: Support the new picoseconds
9484         component if it's used.
9485         (seconds-to-time, time-subtract, time-add):
9486         Support ps-resolution time stamps as well.
9488         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
9489         (timerp): Timer vectors now have length 9, not 8.
9490         (timer--time): Support new-style (4-part) time stamps.
9491         (timer-next-integral-multiple-of-time): Time stamps now have
9492         picosecond resolution, so take a bit more care about rounding.
9493         (timer-relative-time, timer-inc-time): New optional arg psecs.
9494         (timer-set-time-with-usecs): Set psecs to 0.
9495         (timer--activate): Check psecs component, too.
9497         * proced.el (proced-time-lessp): Support ps-resolution stamps.
9499 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9501         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9502         Move the non-essential binding to the post/pre-command-hook where it is
9503         more obviously correct.
9505         * subr.el (read-passwd): Don't use a history at all.
9506         * savehist.el (savehist-save): Remove password saved accidentally
9507         because of the above bug.
9509 2012-06-22  Bastien Guerry  <bzg@gnu.org>
9511         * files.el (toggle-read-only): Display a message telling whether
9512         the buffer is read-only or not (bug#11726).
9514 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9516         * emacs-lisp/gv.el: New file.
9517         * subr.el (push, pop): Extend to generalized variables.
9518         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9519         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9520         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
9521         gv-define-simple-setter, and gv-define-expander.
9522         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
9523         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9524         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9525         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9526         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9527         gv-letplace.
9528         (cl-defstruct): Don't define setf-method any more.
9529         * emacs-lisp/cl.el (flet): Don't autoload.
9530         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9531         (define-setf-expander, defsetf, define-modify-macro)
9532         (cl-struct-setf-expander): Move from cl-lib.el.
9533         * emacs-lisp/syntax.el:
9534         * emacs-lisp/ewoc.el:
9535         * emacs-lisp/smie.el:
9536         * emacs-lisp/cconv.el:
9537         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9538         (timer--time): Use gv-define-simple-setter.
9539         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9540         to avoid coding-system problems in subr.el.  Adjust all users.
9541         (macroexp--maxsize, macroexp-small-p): New functions.
9542         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9543         * scroll-bar.el (scroll-bar-mode):
9544         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9545         (normal-erase-is-backspace-mode): Don't use the `eq' place.
9546         * winner.el (winner-configuration, winner-make-point-alist)
9547         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9548         * files.el (locate-file-completion-table): Avoid list*.
9550 2012-06-22  Chong Yidong  <cyd@gnu.org>
9552         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9553         (dired-create-files): Doc fix (Bug#11329).
9554         (dired-do-copy): Doc fix (Bug#11334).
9555         (dired-mark-read-string): Doc fix (Bug#11553).
9557         * dired.el (dired-recursive-copies, dired-recursive-deletes):
9558         Doc fix (Bug#11326).
9559         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
9560         (dired-dwim-target): Doc fix.
9562         * wdired.el (wdired-mode): Doc fix.
9564 2012-06-22  Glenn Morris  <rgm@gnu.org>
9566         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9567         (pcmpl-rpm-cache-stamp-file): New constant.
9568         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9569         (pcmpl-rpm-packages): Optionally cache list of packages.
9571         * pcmpl-rpm.el (pcmpl-rpm): New group.
9572         (pcmpl-rpm-query-options): New option.
9573         (pcmpl-rpm-packages): No need to inline it.
9574         Use pcmpl-rpm-query-options.
9576         * calendar/calendar.el (calendar-in-read-only-buffer):
9577         Avoid some needless mode changes.
9579 2012-06-21  Chong Yidong  <cyd@gnu.org>
9581         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9582         (desktop-path): Remove . from the default value (Bug#10977).
9583         (desktop-read): Use user-emacs-directory if desktop-path is nil.
9585 2012-06-20  Chong Yidong  <cyd@gnu.org>
9587         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9589 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
9591         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9592         (bug#11201).
9594 2012-06-20  Chong Yidong  <cyd@gnu.org>
9596         * term.el (term-window-width): Handle the case of a missing right
9597         fringe (Bug#8837).
9598         (term-check-size): Use window-text-height (Bug#5445).
9599         (term-mode): Use define-derived-mode.  Minor cleanups.
9600         Set font-lock-defaults (Bug#7692).
9601         (term-move-columns, term-insert-char, term-emulate-terminal)
9602         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9604 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
9606         * net/ange-ftp.el (ange-ftp-get-passwd):
9607         Bind `enable-recursive-minibuffers'.
9608         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9610 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
9612         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9614 2012-06-19  Glenn Morris  <rgm@gnu.org>
9616         * progmodes/python.el (python-mode): Derive from prog-mode.
9618 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
9620         * emulation/edt.el (edt-default-menu-bar-update-buffers)
9621         (edt-user-menu-bar-update-buffers): New functions.
9622         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9624 2012-06-19  Chong Yidong  <cyd@gnu.org>
9626         * subr.el (with-selected-window): Preserve the selected window's
9627         terminal's top-frame (Bug#4702).
9629         * window.el (save-selected-window): Likewise.
9631 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9633         * progmodes/python.el (python-rx-constituents): Move backquote.
9634         (python-skeleton-define, python-define-auxiliary-skeleton):
9635         Use `declare'.
9637 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
9639         * minibuffer.el (read-file-name-default): Revert the patch from
9640         2012-06-17.
9642 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9645         (pcase--u1, pcase--q1): Don't use apply-partially.
9647 2012-06-18  Glenn Morris  <rgm@gnu.org>
9649         * progmodes/python.el (python-proc, python-buffer)
9650         (python-send-receive, python-send-string): Fix obsolete versions.
9652 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
9654         * window.el (special-display-p): Completely remove stringp
9655         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9657 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
9659         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9661         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9663         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9664         * net/tramp-sh.el (tramp-maybe-open-connection):
9665         Throw if `non-essential' is non-nil.
9667 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
9669         * window.el (special-display-p): Signal an error if BUFFER-NAME
9670         is not a string (Bug#11713).
9672 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
9674         * progmodes/python.el (python-info-beginning-of-backslash):
9675         Rename from python-info-beginning-of-backlash, as a spelling fix.
9677 2012-06-17  Chong Yidong  <cyd@gnu.org>
9679         * term.el (term-emulate-terminal): If term-check-size is called,
9680         move point to the process mark without resetting point (Bug#4635).
9682 2012-06-17  Glenn Morris  <rgm@gnu.org>
9684         * international/mule-cmds.el (mule-menu-keymap)
9685         (set-language-environment, set-locale-environment): Doc tweaks.
9687 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
9689         * cus-face.el (custom-face-attributes): Add wave-style underline
9690         attribute.
9691         * faces.el (set-face-attribute): Update docstring to describe
9692         wave-style underline attribute.
9694 2012-06-16  Chong Yidong  <cyd@gnu.org>
9696         * term/xterm.el (terminal-init-xterm): Discard input before
9697         querying background mode (Bug#10959).
9699 2012-06-16  Stefan Merten  <smerten@oekonux.de>
9701         * textmodes/rst.el: Added and corrected some comments.
9702         (rst-re-alist-def): Improve symbol syntax.
9703         (rst-mode-syntax-table): Correct syntax entries.
9704         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9705         (rst-official-version, rst-official-cvs-rev): Update version
9706         information.
9708 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
9710         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9711         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9713 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
9715         * progmodes/python.el: New python.el merge.
9716         (python-guess-indent): Obsolete var.
9717         (python-indent-guess-indent-offset): New defcustom.
9718         (python-indent): Obsolete var.
9719         (python-indent-offset): New defcustom.
9720         (python-python-command, python-jython-command): Delete var.
9721         (python-shell-interpreter): New defcustom.
9722         (python-pdbtrack-do-tracking-p): Delete var.
9723         (python-pdbtrack-activate): New defcustom.
9724         (python-use-skeletons): Obsolete var.
9725         (python-skeleton-autoinsert): New defcustom.
9726         (inferior-python-filter-regexp, python-continuation-offset)
9727         (python-honour-comment-indentation, python-indent-string-contents)
9728         (python-jython-packages, python-mode-hook)
9729         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9730         (python-shell-prompt-alist)
9731         (python-source-modes): Delete defcustoms.
9732         (python-check-buffer-name, python-eldoc-setup-code)
9733         (python-eldoc-string-code, python-ffap-setup-code)
9734         (python-ffap-string-code, python-fill-comment-function)
9735         (python-fill-decorator-function, python-fill-paren-function)
9736         (python-fill-string-function, python-imenu-include-defun-type)
9737         (python-imenu-make-tree, python-imenu-subtree-root-label)
9738         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9739         (python-shell-compilation-regexp-alist)
9740         (python-shell-completion-module-string-code)
9741         (python-shell-completion-pdb-string-code)
9742         (python-shell-completion-setup-code)
9743         (python-shell-completion-string-code)
9744         (python-shell-enable-font-lock, python-shell-exec-path)
9745         (python-shell-extra-pythonpaths)
9746         (python-shell-internal-buffer-name, python-shell-interpreter-args)
9747         (python-shell-process-environment)
9748         (python-shell-prompt-block-regexp)
9749         (python-shell-prompt-output-regexp)
9750         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9751         (python-shell-send-setup-max-wait, python-shell-setup-codes)
9752         (python-shell-virtualenv-path): New defcustoms.
9753         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9754         (inferior-python-mode-syntax-table, python--prompt-regexp)
9755         (python-buffer, python-command python-python-command)
9756         (python-default-template, python-imports, python-indent-index)
9757         (python-indent-list, python-indent-list-length)
9758         (python-mode-running, python-pdbtrack-is-tracking-p)
9759         (python-preoutput-continuation, python-preoutput-leftover)
9760         (python-preoutput-result, python-preoutput-skip-next-prompt)
9761         (python-prev-dir/file, python-recursing)
9762         (python-saved-check-command, python-version-checked)
9763         (python-which-func-length-limit)
9764         (view-return-to-alist): Delete vars.
9765         (python-check-custom-command, python-dotty-syntax-table)
9766         (python-imenu-index-alist, python-indent-current-level)
9767         (python-indent-dedenters, python-indent-levels)
9768         (python-nav-beginning-of-defun-regexp)
9769         (python-nav-list-defun-positions-cache)
9770         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9771         (python-shell-internal-buffer)
9772         (python-skeleton-available): New vars.
9773         (def-python-skeleton): Delete macro.
9774         (python-skeleton-define): New macro.
9775         (python-define-auxiliary-skeleton, python-rx): New macros.
9776         (python-insert-class): Delete command.
9777         (python-skeleton-class): New command.
9778         (python-insert-def): Delete command.
9779         (python-skeleton-def): New command.
9780         (python-insert-for): Delete command.
9781         (python-skeleton-for): New command.
9782         (python-insert-if): Delete command.
9783         (python-skeleton-if): New command.
9784         (python-insert-try/except, python-insert-try/finally): Delete commands.
9785         (python-skeleton-try): New command.
9786         (python-insert-while): Delete command.
9787         (python-skeleton-while): New command.
9788         (python-backspace): Delete command.
9789         (python-indent-dedent-line-backspace): New command.
9790         (python-electric-colon): Delete command.
9791         (python-indent-electric-colon): New command.
9792         (python-guess-indent): Delete command.
9793         (python-indent-guess-indent-offset): New command.
9794         (python-shift-left): Delete command.
9795         (python-indent-shift-left): New command.
9796         (python-shift-right): Delete command.
9797         (python-indent-shift-right): New command.
9798         (python-find-function): Delete command.
9799         (python-nav-jump-to-defun): New command.
9800         (python-next-statement): Delete command.
9801         (python-nav-forward-sentence): New command.
9802         (python-previous-statement): Delete command.
9803         (python-nav-backward-sentence): New command.
9804         (python-fill-paragraph): Delete command.
9805         (python-fill-paragraph-function): New command.
9806         (python-send-buffer): Delete command.
9807         (python-shell-send-buffer): New command.
9808         (python-send-defun): Delete command.
9809         (python-shell-send-defun): New command.
9810         (python-send-region, python-send-region-and-go): Delete commands.
9811         (python-shell-send-region)
9812         (python-shell-switch-to-shell): New commands.
9813         (python-send-string): Delete command.
9814         (python-shell-send-string): New command.
9815         (python-switch-to-python): Delete command.
9816         (python-shell-switch-to-shell): New command.
9817         (python-describe-symbol): Delete command.
9818         (python-eldoc-at-point): New command.
9819         (python--set-prompt-regexp, python-args-to-list)
9820         (python-after-info-look, python-check-version)
9821         (python-check-comint-prompt, python-find-imports)
9822         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9823         (python-unload-function, python-expand-template)
9824         (python-maybe-jython, python-preoutput-filter)
9825         (python-pdbtrack-get-source-buffer)
9826         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9827         (python-pdbtrack-toggle-stack-tracking)
9828         (python-pdbtrack-track-stack-file, python-initial-text)
9829         (python-first-word, python-comment-line-p, python-send-command)
9830         (python-setup-brm, python-sentinel, python-set-proc)
9831         (python-skip-out, python-input-filter, python-outdent-p)
9832         (python-outline-level, python-backslash-continuation-line-p)
9833         (python-end-of-block, python-end-of-statement, python-mark-block)
9834         (python-beginning-of-block, python-beginning-of-statement)
9835         (python-blank-line-p, python-beginning-of-string)
9836         (python-open-block-statement-p): Delete functions.
9837         (python-indent-line, python-indent-line-1): Delete functions.
9838         (python-indent-line): New function.
9839         (python-indentation-levels): Delete function.
9840         (python-indent-calculate-levels): New function.
9841         (python-proc): Delete function.
9842         (python-shell-get-process): New function.
9843         (python-send-receive): Delete function.
9844         (python-shell-send-string-no-output): New function.
9845         (python-module-path): Delete function.
9846         (python-ffap-module-path): New function.
9847         (python-completion-at-point)
9848         (python-symbol-completions): Delete functions.
9849         (python-completion-complete-at-point): New function.
9850         (python-load-file): Delete function.
9851         (python-shell-send-file): New function.
9852         (python-calculate-indentation): Delete function.
9853         (python-indent-calculate-indentation): New function.
9854         (python-skip-comments/blanks): Delete function.
9855         (python-util-forward-comment): New function.
9856         (python-continuation-line-p): Delete function.
9857         (python-info-continuation-line-p): New function.
9858         (python-which-func, python-current-defun): Delete function.
9859         (python-info-current-defun): New function.
9860         (python-beginning-of-defun): Delete function.
9861         (python-nav-beginning-of-defun): New function.
9862         (python-close-block-statement-p)
9863         (python-block-end-p): Delete function.
9864         (python-info-closing-block): New function.
9865         (python-comint-output-filter-function)
9866         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9867         (python-fill-comment, python-fill-decorator, python-fill-paren)
9868         (python-fill-string, python-imenu-make-element-tree)
9869         (python-imenu-make-tree, python-imenu-tree-assoc)
9870         (python-indent-context, python-indent-dedent-line)
9871         (python-indent-line-function)
9872         (python-indent-post-self-insert-function)
9873         (python-indent-toggle-levels)
9874         (python-info-assignment-continuation-line-p)
9875         (python-info-beginning-of-backlash)
9876         (python-info-block-continuation-line-p)
9877         (python-info-closing-block-message)
9878         (python-info-line-ends-backslash-p)
9879         (python-info-looking-at-beginning-of-defun)
9880         (python-info-ppss-context, python-info-ppss-context-type)
9881         (python-nav-list-defun-positions, python-nav-read-defun)
9882         (python-nav-sentence-end, python-nav-sentence-start)
9883         (python-pdbtrack-comint-output-filter-function)
9884         (python-pdbtrack-set-tracked-buffer)
9885         (python-shell-calculate-exec-path)
9886         (python-shell-calculate-process-environment)
9887         (python-shell-completion--do-completion-at-point)
9888         (python-shell-completion--get-completions)
9889         (python-shell-completion-complete-at-point)
9890         (python-shell-completion-complete-or-indent)
9891         (python-shell-get-or-create-process)
9892         (python-shell-get-process-name)
9893         (python-shell-internal-get-or-create-process)
9894         (python-shell-internal-get-process-name)
9895         (python-shell-internal-send-string, python-shell-make-comint)
9896         (python-shell-parse-command, python-shell-send-setup-code)
9897         (python-skeleton-add-menu-items)
9898         (python-util-clone-local-variables, python-util-position)
9899         (run-python-internal, python-indentation-levels)
9900         (python-nav-beginning-of-defun)
9901         (python-completion-complete-at-point): New functions.
9902         (run-python): Change arguments.  New API requirements.
9904 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9906         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9907         (bug#11649).
9909         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9910         (macroexp--expand-all): Use it.
9912         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9913         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9914         Use `cl-function' instead.
9916 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
9918         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9919         Suggested by Stefan Monnier while discussing bug#11657.
9921 2012-06-14  Sam Steingold  <sds@gnu.org>
9923         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9925 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9927         * play/doctor.el (doctor-doc): Remove parameter and use
9928         doctor-sent instead of sent.
9929         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
9931 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9933         * files.el: Require cl-lib.
9934         (file-name-non-special): Replace case -> cl-case.
9936         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9938         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9939         mapping from #' to function*.
9941 2012-06-13  Chong Yidong  <cyd@gnu.org>
9943         * mouse.el (mouse-drag-track): Do not set the mark if the user
9944         releases the mouse without selecting anything (Bug#11588).
9946 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9948         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9949         as well (bug#11646).
9951         * loadup.el: Count byte-code functions as well.
9953         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9954         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9956         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9957         (bug#11649).  Add cl-defun and cl-defmacro.
9959 2012-06-13  Drew Adams  <drew.adams@oracle.com>
9961         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9962         Fix last change.
9964 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
9966         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9967         Otherwise, it blocks in batch mode.
9969 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
9971         * help-mode.el (bookmark-make-record-default): Declare.
9973 2012-06-13  Chong Yidong  <cyd@gnu.org>
9975         * emacs-lisp/package.el (list-packages): Compute a list of
9976         packages that are newly-available since the last list-packages
9977         invocation.
9978         (package-menu--new-package-list): New var.
9979         (package-menu--generate, package-menu--print-info)
9980         (package-menu--status-predicate, package-menu-mark-install):
9981         Handle new status label "new".
9983 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9985         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9986         conversion to backquotes.
9988 2012-06-12  Chong Yidong  <cyd@gnu.org>
9990         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9991         Rename from gud-inhibit-global-bindings.
9993         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9995         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9996         hook from nxml-glyph-set-hook.
9998         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9999         declaration.
10001         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10003         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10004         Convert to defcustom.
10006 2012-06-12  Drew Adams  <drew.adams@oracle.com>
10008         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10009         New functions.
10010         (help-mode): Use them.
10012 2012-06-11  Glenn Morris  <rgm@gnu.org>
10014         * progmodes/fortran.el (fortran-font-lock-keywords-3):
10015         Use preprocessor face for directives.
10016         (fortran-directive-re): Doc fix.
10018 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10020         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10021         conversion to backquotes (bug#11652).
10023         Fix compiler-expansion of CL's cXXr functions (bug#11673).
10024         * emacs-lisp/cl-lib.el (cl--defalias): New function.
10025         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10026         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10027         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10028         (cl-ninth, cl-tenth): Mark them as inlinable.
10029         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10030         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10031         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10032         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10033         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10034         (cl-list*, cl-adjoin): Don't put an autoload manually.
10035         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10036         (cl--compiler-macro-list*): Add autoload cookie.
10037         (cl--compiler-macro-cXXr): New function.
10039         * help-fns.el (help-fns--compiler-macro): New function extracted from
10040         describe-function-1; follow aliases and use `compiler-macro' property.
10041         (describe-function-1): Use it.
10043 2012-06-11  Chong Yidong  <cyd@gnu.org>
10045         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10046         is uninstalled, if imagemagick is installed.
10048 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10050         * emacs-lisp/cl-lib.el: Use lexical-binding.
10051         (cl-map-extents, cl-maclisp-member): Remove.
10052         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10053         (cl--set-substring, cl--block-wrapper, cl--block-throw)
10054         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10055         * emacs-lisp/cl-extra.el: Use lexical-binding.
10056         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10057         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10058         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10059         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10060         * emacs-lisp/cl-seq.el: Use lexical-binding.
10061         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10062         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10063         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10064         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10065         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10066         CL's internals.
10068 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
10070         Sync with Tramp 2.2.6-pre.
10072         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10073         `print-length' and `print-level' to nil, in order to avoid
10074         truncation.  Reported by Christopher Schmidt
10075         <christopher@ristopher.com>.
10077         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10079         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10080         New defmacro.
10081         (tramp-compat-copy-directory): Add optional argument
10082         COPY-CONTENTS.  It is not handled yet.
10084         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10085         (tramp-ftp-file-name-p): Simplify.
10087         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10088         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10089         connection vector.
10091         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10092         (tramp-methods): Do not use `tramp-password-end-of-line'.
10093         (tramp-completion-function-alist-putty): Handle UNIX case.
10094         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10095         (tramp-do-file-attributes-with-stat)
10096         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10097         gid as real numbers.  They could run out of integer range on cygwin.
10098         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10099         (tramp-sh-handle-expand-file-name): Handle hops.
10100         (tramp-open-connection-setup-interactive-shell):
10101         Use `tramp-cleanup'.  Move check for busyboxes ...
10102         (tramp-find-shell): ... here.  Simplify implementation.
10103         Set "remote-shell" property also for alternative shells.
10104         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10105         If failing, a regular file would be written otherwise.
10106         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10107         (tramp-find-inline-encoding): Cache the coding commands in the
10108         process cache.  Apply test command on the remote side, if defined.
10109         (tramp-find-inline-compress): Cache the compress commands in the
10110         process cache.
10111         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10112         when requested.  Handle hops.
10113         (tramp-current-connection): New defvar.
10114         (tramp-maybe-open-connection): Use `tramp-cleanup'.
10115         Throw `suppress', if there was a failed connection shortly before.
10116         Handle user interrupt.  (Bug#10187)
10117         (tramp-get-inline-compress, tramp-get-inline-coding):
10118         Read connection properties from the process cache.
10120         * net/tramp-smb.el (tramp-smb-server-version)
10121         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10122         New defconsts.
10123         (tramp-smb-prompt): Extend for powershell prompt.
10124         (tramp-smb-file-name-handler-alist): Add handlers for
10125         `process-file', `shell-command' and `start-file-process'.
10126         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10127         (tramp-smb-winexe-shell-command-switch): New defcustoms.
10128         (tramp-smb-file-name-p): Simplify.
10129         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10130         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10131         (tramp-smb-shell-quote-argument): New defuns.
10132         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10133         Implement using "tar".  By this, time-stamps are preserved.
10134         (tramp-smb-handle-copy-file): Handle also the case of directories.
10135         (tramp-smb-do-file-attributes-with-stat)
10136         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10137         Use `tramp-get-connection-buffer').
10138         (tramp-smb-handle-rename-file): Use "rename", when source and
10139         target are on the same share.
10140         (tramp-smb-maybe-open-connection): Handle wrong passwords.
10141         Use `tramp-smb-server-version'.
10142         (tramp-smb-wait-for-output): Remove prompt.
10144         * net/tramp.el (top): Require 'cl.
10145         (tramp-methods, tramp-rsh-end-of-line):
10146         Remove `tramp-password-end-of-line' from docstring.
10147         (tramp-save-ad-hoc-proxies): New defcustom.
10148         (tramp-completion-function-alist): Adapt docstring.
10149         (tramp-default-password-end-of-line): Remove defcustom.
10150         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
10151         (tramp-user-regexp, tramp-file-name-regexp-unified)
10152         (tramp-file-name-regexp-url): Extend regexp by hop separator.
10153         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10154         (tramp-remote-file-name-spec-regexp): New defconst.
10155         (tramp-file-name-structure): Extend structure for hops.
10156         (tramp-get-method-parameter): Move up.
10157         (tramp-file-name-p, tramp-dissect-file-name)
10158         (with-parsed-tramp-file-name): Handle hops.
10159         (tramp-file-name-hop): New defun.
10160         (tramp-make-tramp-file-name): New optional arg HOP.
10161         (tramp-message-show-progress-reporter-message): New defvar.
10162         (tramp-with-progress-reporter): Use it.  We cannot use
10163         `tramp-message-show-message' here, because this suppresses also
10164         error buffers.
10165         (tramp-error-with-buffer): Suppress buffer view, if
10166         `tramp-message-show-message' is nil.
10167         Use `tramp-get-connection-buffer'.
10168         (tramp-cleanup): New defun.
10169         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10170         (tramp-file-name-handler): If `debug-on-error' is set, propagate
10171         an error unchanged.
10172         (tramp-completion-handle-file-name-all-completions): Handle hops.
10173         Fix an error when called from ido.
10174         (tramp-completion-dissect-file-name): Use better local variable
10175         name.  Add hop to the vector.
10176         (tramp-handle-insert-file-contents): Use progress-reporter for the
10177         whole scenario.
10178         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10179         to `t'.
10180         (tramp-check-for-regexp): Simplify search.
10181         (tramp-enter-password): Remove it.  Move implementation ...
10182         (tramp-action-password): ... here.
10183         (tramp-mode-string-to-int, tramp-local-host-p)
10184         (tramp-make-tramp-temp-file, tramp-read-passwd)
10185         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10186         Set tramp-autoload cookie.
10188         * net/trampver.el: Update release number.
10190 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10191             Michael Albinus  <michael.albinus@gmx.de>
10193         * net/tramp.el (tramp-set-completion-function): Fix docstring.
10194         (tramp-parse-group, tramp-parse-file)
10195         (tramp-parse-shostkeys-sknownhosts): New defuns.
10196         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10197         (tramp-parse-shosts-group, tramp-parse-sconfig)
10198         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10199         (tramp-parse-sknownhosts, tramp-parse-hosts)
10200         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10201         Use them.
10202         (tramp-parse-passwd-group, tramp-parse-netrc-group)
10203         (tramp-parse-putty-group): Don't narrow.
10204         (tramp-parse-putty): Make a loop.
10205         (tramp-file-name-handler): Catch the `suppress' signal.
10207 2012-06-11  Chong Yidong  <cyd@gnu.org>
10209         * image.el (imagemagick-register-types): Put the ImageMagick entry
10210         at the end of image-type-file-name-regexps.
10212 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
10214         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10215         (pcase, pcase-let*, pcase-dolist): Use them.
10217 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10219         * emacs-lisp/pcase.el (pcase--let*): New function.
10220         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
10221         (pcase--expand): Use macroexp-let².
10223 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10225         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10226         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10227         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10228         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10229         * emacs-lisp/derived.el: Use pcase instead of `cl'.
10230         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10232 2012-06-10  Glenn Morris  <rgm@gnu.org>
10234         * mail/rmail.el (rmail-yank-current-message): Leave point at
10235         correct position.  (Bug#11660)
10237 2012-06-10  Chong Yidong  <cyd@gnu.org>
10239         * allout-widgets.el: Fix code header.
10241 2012-06-10  Chong Yidong  <cyd@gnu.org>
10243         * cus-edit.el (customize-changed-options-previous-release):
10244         Bump to 24.1.
10246 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
10248         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10250 2012-06-09  Chong Yidong  <cyd@gnu.org>
10252         * ebuff-menu.el (electric-buffer-list): Preserve header line.
10254 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
10256         * window.el (special-display-popup-frame): Don't use
10257         window--display-buffer (Bug#11651).
10259 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
10261         Fix parallel builds: make sure loaddefs.el is not being written
10262         while Lisp files are compiled.
10263         (compile): Don't depend on 'mh-autoloads'.
10264         (compile-CMD, compile-SH): Depend on 'autoloads'.
10265         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10267         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
10269 2012-06-09  Chong Yidong  <cyd@gnu.org>
10271         * face-remap.el (face-remap-add-relative, face-remap-set-base)
10272         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10273         Doc fixes (Bug#11225).
10275 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10277         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10278         a function if there's a clear indication that it has a compiler-macro.
10279         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10280         (macro-declarations-alist): Add arglist to declaration functions.
10281         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10282         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10283         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10284         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10285         Also add autoload to find the compiler macro.
10286         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10287         (cl--compiler-macro-member, cl--compiler-macro-assoc)
10288         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10289         (cl--compiler-macro-get): New functions, replacing calls to
10290         cl-define-compiler-macro.
10291         (cl-typep) [compiler-macro]: Use macroexp-let².
10293 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
10295         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10296         string properly, fixes Bug#11473.
10298 2012-06-08  Chong Yidong  <cyd@gnu.org>
10300         * faces.el (set-face-attribute): Doc fix.
10301         (modify-face): Don't use :bold and :italic.
10302         (error, warning, success): Tweak definitions.
10304         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10305         (custom-modified, custom-set, custom-changed, custom-themed)
10306         (custom-saved, custom-button, custom-button-mouse)
10307         (custom-button-pressed, custom-state, custom-comment-tag)
10308         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10309         (custom-group-subtitle): Use new-style face specs.
10310         (custom-invalid-face, custom-rogue-face, custom-modified-face)
10311         (custom-set-face, custom-changed-face, custom-saved-face)
10312         (custom-button-face, custom-button-pressed-face)
10313         (custom-documentation-face, custom-state-face)
10314         (custom-comment-face, custom-comment-tag-face)
10315         (custom-variable-tag-face, custom-variable-button-face)
10316         (custom-face-tag-face, custom-group-tag-face-1)
10317         (custom-group-tag-face): Remove obsolete face alias.
10319         * epa.el (epa-validity-high, epa-validity-medium)
10320         (epa-validity-low, epa-mark, epa-field-name, epa-string)
10321         (epa-field-name, epa-field-body):
10322         * font-lock.el (font-lock-comment-face, font-lock-string-face)
10323         (font-lock-keyword-face, font-lock-builtin-face)
10324         (font-lock-function-name-face, font-lock-variable-name-face)
10325         (font-lock-type-face, font-lock-constant-face):
10326         * ido.el (ido-first-match, ido-only-match, ido-subdir)
10327         (ido-virtual, ido-indicator, ido-incomplete-regexp):
10328         * speedbar.el (speedbar-button-face, speedbar-file-face)
10329         (speedbar-directory-face, speedbar-tag-face)
10330         (speedbar-selected-face, speedbar-highlight-face)
10331         (speedbar-separator-face):
10332         * whitespace.el (whitespace-newline, whitespace-space)
10333         (whitespace-hspace, whitespace-tab, whitespace-trailing)
10334         (whitespace-line, whitespace-space-before-tab)
10335         (whitespace-space-after-tab, whitespace-indentation)
10336         (whitespace-empty):
10337         * emulation/cua-base.el (cua-global-mark):
10338         * eshell/em-prompt.el (eshell-prompt):
10339         * net/newst-plainview.el (newsticker-new-item-face)
10340         (newsticker-old-item-face, newsticker-immortal-item-face)
10341         (newsticker-obsolete-item-face, newsticker-date-face)
10342         (newsticker-statistics-face, newsticker-default-face):
10343         * net/newst-reader.el (newsticker-feed-face)
10344         (newsticker-extra-face, newsticker-enclosure-face):
10345         * net/newst-treeview.el (newsticker-treeview-face)
10346         (newsticker-treeview-new-face, newsticker-treeview-old-face)
10347         (newsticker-treeview-immortal-face)
10348         (newsticker-treeview-obsolete-face)
10349         (newsticker-treeview-selection-face):
10350         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10351         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10352         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10353         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10354         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10355         (nxml-outline-active-indicator, nxml-outline-ellipsis):
10356         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10357         (mpuz-text):
10358         * progmodes/vera-mode.el (vera-font-lock-number)
10359         (vera-font-lock-function, vera-font-lock-interface):
10360         * textmodes/table.el (table-cell): Use new-style face specs, and
10361         don't use the old :bold and :italic attributes.
10363         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10364         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10365         (ebrowse-member-class, ebrowse-progress): Likewise.
10366         (ebrowse-tree-mark-face, ebrowse-root-class-face)
10367         (ebrowse-file-name-face, ebrowse-default-face)
10368         (ebrowse-member-attribute-face, ebrowse-member-class-face)
10369         (ebrowse-progress-face): Remove obsolete faces.
10371         * progmodes/flymake.el (flymake-errline, flymake-warnline):
10372         Inherit from error and warning faces respectively.
10374         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10375         Likewise.
10376         (flyspell-incorrect-face, flyspell-duplicate-face):
10377         Remove obsolete aliases.
10379 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
10381         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10382         Avoid infloop.
10384 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10386         * startup.el (argv, argi): Make lexically scoped.
10387         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10388         * emacs-lisp/cl-macs.el: Use lexical-binding.
10389         Rename cl-bind-* to cl--bind-*.
10390         * files.el: Don't require `cl' since it doesn't use it.
10391         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10393 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
10395         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10396         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10397         instead of calling external sort utility.
10398         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10400 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
10402         * descr-text.el (describe-char): Mention how to insert the
10403         character, if the current input method doesn't support it.
10404         See the discussion in this thread for the details:
10405         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10407 2012-06-08  Sam Steingold  <sds@gnu.org>
10409         * bindings.el (global-map): Bind XF86Forward to next-buffer and
10410         XF86Back to previous-buffer.
10411         (minibuffer-local-map): Bind them to next-history-element and
10412         previous-history-element respectively.
10413         * help-mode.el (help-mode-map): Bind them to help-go-forward and
10414         help-go-back respectively.
10415         * info.el (Info-mode-map): Bind them to Info-history-forward and
10416         Info-history-back respectively.
10417         These are the keys next to Up on the ThinkPad keyboard.
10419 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10421         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10422         * emacs-lisp/cl-macs.el: Provide itself.
10423         (cl--labels-convert-cache): New var.
10424         (cl--labels-convert): New function.
10425         (cl-flet, cl-labels): New implementation with new semantics, relying on
10426         lexical-binding.
10427         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10428         (cl-closure-vars, cl--function-convert-cache)
10429         (cl--function-convert): Move from cl-macs.el.
10430         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10431         rename by removing the "cl-" prefix.
10432         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10434 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10437         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10438         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10439         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10440         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10441         (cl-hash-table-count): Add old compatibility aliases.
10443         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10444         Use macroexpand-all-environment instead.
10445         (cl--old-macroexpand): New var.
10446         (cl--sm-macroexpand): New function.
10447         (cl-symbol-macrolet): Use it during macro expansion.
10448         (cl--function-convert-cache): New var.
10449         (cl--function-convert): New function, extracted from
10450         cl-macroexpand-all.
10451         (cl-lexical-let): Use it.
10453         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10454         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10455         (cl-member): Remove old alias.
10457         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10458         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10459         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10460         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10461         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10462         (cl-macroexpand-cmacs): Remove var.
10463         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10464         Use macroexpand-all instead.
10466 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10468         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10469         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10470         (macroexp-copyable-p): New functions and macros.
10471         * emacs-lisp/edebug.el (edebug-unwrap):
10472         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10473         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10474         (pcase--let*): Remove.
10475         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10476         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
10477         macroexp-const-p instead.
10478         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10480         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10481         instead of "cl-" for internal definitions.  Use macroexp-const-p.
10482         (cl-old-bc-file-form): Remove var.
10483         (cl-const-exprs-p): Remove fun.
10484         (cl-labels, cl-macrolet): Use backquote.
10485         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
10486         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10487         (cl-define-setf-expander): Rename from cl-define-setf-method.
10488         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10490         * international/mule-cmds.el: Don't require CL.
10491         (view-hello-file): Don't use `letf'.
10493 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10495         * tmm.el (tmm-prompt): Use string-prefix-p.
10496         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10497         (tmm-add-prompt): Use minibuffer-completion-help.
10498         (tmm-delete-map): Remove.
10500         * subr.el (kbd): Make it its own function.
10502 2012-06-07  Stefan Merten  <smerten@oekonux.de>
10504         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10505         Silence compiler warnings.  Fix versions.
10506         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10507         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10508         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10509         (rst-package-emacs-version-alist): Correct Emacs version to
10510         represent major merge with upstream.
10511         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10513 2012-06-06  Glenn Morris  <rgm@gnu.org>
10515         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10516         Only print environment variables if set.
10518 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10521         (macroexp--cons): Rename from maybe-cons.
10522         (macroexp--accumulate): Rename from macroexp-accumulate.
10523         (macroexp--all-forms): Rename from macroexpand-all-forms.
10524         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10525         (macroexp--expand-all): Rename from macroexpand-all-1.
10527 2012-06-06  Sam Steingold  <sds@gnu.org>
10529         * calendar/calendar.el (calendar-in-read-only-buffer):
10530         Call `special-mode' to enable the standard read-only keybindings.
10532 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10534         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10535         with "loading" messages (bug#11635).
10537 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
10539         * files.el (enable-remote-dir-locals): New option.
10540         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
10542         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10543         Ensure, that the temp directory is local.
10545         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10546         `temporary-file-directory'.
10548         * progmodes/python.el (python-send-region): Ensure, that the
10549         temporary file is created also in the remote case.
10551 2012-06-06  Glenn Morris  <rgm@gnu.org>
10553         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10554         (vc-rcs-update-changelog): Use it.
10556         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10558         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10559         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10560         (vc-sccs-diff): Replace use of the external vcdiff script.
10562 2012-06-05  Glenn Morris  <rgm@gnu.org>
10564         * ledit.el: Move to obsolete/.
10566 2012-06-05  Sam Steingold  <sds@gnu.org>
10568         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10569         patch (Bug#11140).
10571 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10573         * emacs-lisp/cust-print.el: Move to obsolete.
10575         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10576         compiler-macro expansion.
10578         Add native compiler-macro support.
10579         * emacs-lisp/macroexp.el (macroexpand-all-1):
10580         Support compiler-macros directly.  Properly follow aliases and apply
10581         the compiler macros more thoroughly.
10582         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10583         macroexpand now properly follows aliases.
10584         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10585         (cl-compiler-macroexpand): Use new prop.
10586         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10588         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10590 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
10592         * window.el (get-lru-window, get-mru-window, get-largest-window):
10593         New argument NOT-SELECTED to avoid picking the selected window.
10594         (window--display-buffer-1, window--display-buffer-2): Replace by
10595         new function window--display-buffer
10596         (display-buffer-same-window, display-buffer-reuse-window)
10597         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10598         Use window--display-buffer.
10599         (display-buffer-use-some-window): Remove temporary dedication
10600         hack by calling get-lru-window and get-largest-window with
10601         NOT-SELECTED argument non-nil.  Call window--display-buffer.
10603 2012-06-05  Glenn Morris  <rgm@gnu.org>
10605         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10606         Replace external vcdiff script.
10608 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10612 2012-06-04  Chong Yidong  <cyd@gnu.org>
10614         * image.el (imagemagick-types-inhibit): Revert last change.
10615         Add INFO and M.
10616         (imagemagick-enabled-types): Remove CIN and EPS*.
10618 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10620         * emacs-lisp/cl-lib.el: Rename from cl.el.
10621         * emacs-lisp/cl.el: New compatibility file.
10622         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10623         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10624         to obey the "cl-" prefix.
10625         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10627 2012-06-03  Glenn Morris  <rgm@gnu.org>
10629         * emacs-lisp/authors.el (authors-aliases): Addition.
10631         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10632         Fix :version.
10634 2012-06-03  Stefan Merten  <smerten@oekonux.de>
10636         * textmodes/rst.el: Add comments.
10637         (rst-transition, rst-adornment): New faces.
10638         (rst-adornment-faces-alist): Make default safe to reevaluate.
10639         Fixes
10640         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10641         Improve customization tags.
10642         (rst-define-level-faces): Clarify meaning.
10644 2012-06-03  Chong Yidong  <cyd@gnu.org>
10646         * progmodes/compile.el (compilation-mode-line-fail)
10647         (compilation-mode-line-run, compilation-mode-line-exit):
10648         New faces.
10649         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10651 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
10653         * progmodes/which-func.el (which-func-update-ediff-windows):
10654         New function.  Use it in ediff-select-hook (Bug#11478).
10656 2012-06-03  Chong Yidong  <cyd@gnu.org>
10658         * bindings.el: Remove explicit help text from format-mode-line.
10659         It is now supplied by mode-line-default-help-echo.
10660         (mode-line-front-space, mode-line-end-spaces)
10661         (mode-line-misc-info): New variables.
10662         (mode-line-modes, mode-line-position): Move the default value to
10663         the variable definition.
10664         (mode-line-default-help-echo): New defcustom.
10665         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10666         (mode-line-modified-help-echo): New functions.
10667         (mode-line-mule-info, mode-line-modified): Use them.
10668         (mode-line-eol-desc, propertized-buffer-identification):
10669         Consistency fixes for help text.
10670         (mode-line-coding-system-map): Allow using mouse-3 to invoke
10671         set-buffer-file-coding-system (Bug#289).
10672         (mode-line-mule-info-help-echo): Update help text.
10674 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10676         * simple.el (execute-extended-command): Set real-this-command
10677         (bug#11506).
10679 2012-06-02  Chong Yidong  <cyd@gnu.org>
10681         Remove incorrect uses of "modeline" in comments, docstrings, and
10682         function/variable names (Bug#10329).
10684         * cus-edit.el (mode-line):
10685         * dframe.el (dframe-mouse-hscroll):
10686         * emacs-lisp/re-builder.el:
10687         * emacs-lisp/easy-mmode.el (define-minor-mode):
10688         * frame.el (set-frame-name):
10689         * help.el (lookup-minor-mode-from-indicator):
10690         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10691         * progmodes/cc-cmds.el (c-toggle-auto-newline)
10692         (c-toggle-hungry-state):
10693         * progmodes/antlr-mode.el (antlr-language-alist):
10694         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10695         * progmodes/vhdl-mode.el (vhdl-mode):
10696         * progmodes/which-func.el (which-func, which-func-cleanup-function):
10697         * term/ns-win.el (ns-face-at-pos):
10698         * term/sup-mouse.el (sup-mouse-report):
10699         * textmodes/flyspell.el (flyspell-mode-line-string):
10700         * textmodes/ispell.el (ispell-highlight-face):
10701         * textmodes/reftex-global.el:
10702         * vc/vc-arch.el (vc-arch-mode-line-string):
10703         * vc/vc-cvs.el (vc-cvs-mode-line-string):
10704         * vc/vc-git.el (vc-git-mode-line-string):
10705         * vc/vc-hooks.el (vc-display-status)
10706         (vc-default-mode-line-string):
10707         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10709         * ansi-color.el (ansi-color-faces-vector): Change default faces.
10711         * dired.el (dired-sort-set-mode-line): Rename from
10712         dired-sort-set-modeline.  All callers changed.
10714         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10715         eshell-status-in-modeline.
10717         * foldout.el (foldout-mode-line-string): Rename from
10718         foldout-modeline-string.  All callers changed.
10719         (foldout-update-mode-line): Rename from foldout-update-modeline.
10721         * subr.el (redraw-modeline): Make into obsolete alias.
10723         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10724         timeclock-modeline-display.  Make old name an alias.
10725         (timeclock-update-mode-line): Likewise.  All callers changed.
10726         (timeclock-mode-line-display): No need to check before using
10727         add-hook.
10728         (timeclock-relative, timeclock-day-over-hook)
10729         (timeclock-use-elapsed, timeclock-mode-string)
10730         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10732         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10733         crisp-mode-modeline-string.
10735         * play/solitaire.el (solitaire-build-mode-line): Rename from
10736         solitaire-build-modeline.  All callers changed.
10738         * play/zone.el (zone-hiding-mode-line): Rename from
10739         zone-hiding-modeline.  All callers changed.
10740         (zone): Remove unusued `modeline-hidden-level' property.
10742         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10743         xscheme-modeline-initialize.  All callers changed.
10745         * strokes.el (strokes-lighter): Rename from
10746         strokes-modeline-string.
10748         * textmodes/sgml-mode.el (html-face-tag-alist)
10749         (html-tag-face-alist): Use mode-line face instead of obsolete
10750         alias modeline.
10752 2012-06-02  Stefan Merten  <smerten@oekonux.de>
10754         * textmodes/rst.el: Always require `cl'.
10755         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10757 2012-06-02  Chong Yidong  <cyd@gnu.org>
10759         * image.el (imagemagick-enabled-types): Rename from
10760         imagemagick-types-enable.  Add many more types.
10761         (imagemagick-types-inhibit): Change default to nil.
10762         (imagemagick-filter-types): Caller changed.
10764 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10766         * emacs-lisp/cl-macs.el: Use backquotes.
10767         (cl-transform-function-property): Use eval-and-compile rather than
10768         abusing `require'.
10769         (defstruct): Use declare-function instead of with-no-warnings.
10771         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10772         (byte-compile-output-docform): Re-add the print-circle bindings.
10773         (byte-compile-fix-header): Use #$ just because it's shorter.
10774         (byte-compile-output-file-form): Remove defun/defmacro.
10776 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
10778         * simple.el (choose-completion): Remove now obsolete binding for
10779         owindow.
10781 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
10783         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10784         in order to avoid "Stack overflow in regexp matcher".
10786 2012-05-31  Glenn Morris  <rgm@gnu.org>
10788         * image.el: For clarity, call imagemagick-register-types at
10789         top-level, rather than relying on a custom :initialize.
10790         (imagemagick-types-enable): New option.  (Bug#11557)
10791         (imagemagick-filter-types): New function.  (Bug#7406)
10792         (imagemagick-register-types): Use imagemagick-filter-types.
10793         If disabling support, remove elements altogether rather
10794         than using an impossible regexp.
10795         (imagemagick-types-inhibit): Give it the default init function.
10797 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10799         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10800         Handle arbitrary file name lengths (Bug#11585).
10802 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
10804         * desktop.el (desktop-read): Clear previous and next buffers for
10805         all windows and bury *Messages* buffer (bug#11556).
10807 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10809         Add `declare' for `defun'.  Align `defmacro's with it.
10810         * emacs-lisp/easy-mmode.el (define-minor-mode)
10811         (define-globalized-minor-mode): Don't autoload the var definitions.
10812         * emacs-lisp/byte-run.el: Use lexical-binding.
10813         (defun-declarations-alist, macro-declarations-alist): New vars.
10814         (defmacro, defun): Use them.
10815         (make-obsolete, define-obsolete-function-alias)
10816         (make-obsolete-variable, define-obsolete-variable-alias):
10817         Use `declare'.
10818         (macro-declaration-function): Mark obsolete.
10819         * emacs-lisp/autoload.el: Use lexical-binding.
10820         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
10822 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10824         * textmodes/ispell.el (ispell-with-no-warnings):
10825         Define as a macro.
10826         (ispell-kill-ispell, ispell-change-dictionary):
10827         Use `called-interactively-p' for Emacs instead of obsolete
10828         `interactive-p'.
10830 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10832         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10833         (macro-declaration-function): Move var from C code.
10834         (macro-declaration-function): Define function with defalias.
10835         * emacs-lisp/macroexp.el (macroexpand-all-1):
10836         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10837         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10838         defun/defmacro any more.
10839         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10840         Provide fallback for unknown arglist.
10841         (byte-compile-arglist-warn): Change calling convention.
10842         (byte-compile-output-file-form): Move print-vars binding.
10843         (byte-compile-output-docform): Simplify accordingly.
10844         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10845         (byte-compile-defmacro-declaration): Remove.
10846         (byte-compile-file-form-defmumble): Generalize to defalias.
10847         (byte-compile-output-as-comment): Return byte-positions.
10848         Simplify callers accordingly.
10849         (byte-compile-lambda): Use `assert'.
10850         (byte-compile-defun, byte-compile-defmacro): Remove.
10851         (byte-compile-file-form-defalias):
10852         Use byte-compile-file-form-defmumble.
10853         (byte-compile-defalias-warn): Remove.
10855 2012-05-29  Stefan Merten  <smerten@oekonux.de>
10857         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10858         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
10860         (rst-mode-abbrev-table): Merge definition.
10861         (rst-mode): Make sure `font-lock-defaults' is buffer local.
10862         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10864 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
10866         * calendar/icalendar.el
10867         (icalendar-export-region): Export UID properly.
10869 2012-05-29  Leo Liu  <sdl.web@gmail.com>
10870         * calendar/icalendar.el (icalendar-import-format):
10871         Add `icalendar-import-format-uid' (Bug#11525).
10872         (icalendar-import-format-uid): New.
10873         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10874         Export UID.
10876 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10878         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10879         different alternative patterns.
10880         (pcase-codegen): Be more careful to preserve identity.
10881         (pcase--u1): Don't forget to mark vars as used.
10883         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10884         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10885         (byte-compile-from-buffer): ...rather than here.
10887         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10888         functions from byte-compile-function-environment.
10890 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
10892         * window.el (window-deletable-p): Avoid deleting the root window
10893         of a frame with an active minibuffer.
10895 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
10897         * simple.el (choose-completion): Use quit-window (Bug#11567).
10899 2012-05-29  Chong Yidong  <cyd@gnu.org>
10901         * whitespace.el (whitespace-cleanup): Fix usage of
10902         whitespace-empty-at-bob-regexp (Bug#11492).
10904 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10906         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10907         revert (Bug#11488).
10909 2012-05-29  Juri Linkov  <juri@jurta.org>
10911         * isearch.el (isearch-mode-map): Bind `M-s _' to
10912         `isearch-toggle-symbol'.  Bind `M-s c' to
10913         `isearch-toggle-case-fold'.
10914         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10915         (isearch-forward): Add `M-s _' to the docstring.
10916         (isearch-forward-symbol, isearch-toggle-case-fold)
10917         (isearch-symbol-regexp): New functions.  (Bug#11381)
10919 2012-05-29  Juri Linkov  <juri@jurta.org>
10921         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
10922         (isearch-occur, isearch-search-and-update): If `isearch-word' is
10923         a function, call it to get the regexp.
10924         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10925         property `isearch-message-prefix' instead of the string "word ".
10926         (isearch-search-fun-default): For the case of `isearch-word',
10927         return a lambda that calls re-search-forward/re-search-backward
10928         with a regexp returned by `word-search-regexp' or by the function
10929         in `isearch-word'.
10931 2012-05-29  Juri Linkov  <juri@jurta.org>
10933         * isearch.el (isearch-search-fun-default): New function.
10934         (isearch-search-fun): Move default part to the new function
10935         `isearch-search-fun-default'.
10936         (isearch-search-fun-function): Set the default value to
10937         `isearch-search-fun-default'.  (Bug#11381)
10939         * comint.el (comint-history-isearch-end):
10940         Use `isearch-search-fun-default'.
10941         (comint-history-isearch-search): Use `isearch-search-fun-default'
10942         and remove spacial case for `isearch-word'.
10943         (comint-history-isearch-wrap): Remove spacial case for
10944         `isearch-word'.
10946         * hexl.el (hexl-isearch-search-function):
10947         Use `isearch-search-fun-default'.
10949         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10950         Use `word-search-regexp' for `isearch-word'.
10952         * misearch.el (multi-isearch-search-fun):
10953         Use `isearch-search-fun-default'.
10955         * simple.el (minibuffer-history-isearch-search):
10956         Use `isearch-search-fun-default' and remove spacial case for
10957         `isearch-word'.
10958         (minibuffer-history-isearch-wrap): Remove spacial case for
10959         `isearch-word'.
10961         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10962         Remove spacial case for `isearch-word'.
10963         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10965 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10967         Decrease XEmacs incompatibilities.
10968         * textmodes/flyspell.el (flyspell-check-pre-word-p):
10969         Use `string-match'.
10970         (flyspell-delete-region-overlays): Use alternative definition for
10971         XEmacs.
10972         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10973         (flyspell-word): Use `process-kill-without-query' if XEmacs.
10974         (flyspell-mode-on): Use `interactive-p' if XEmacs.
10975         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10976         `define-obsolete-face-alias' under XEmacs, but old method.
10978         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10979         `with-no-warnings' definition or Emacs alias.
10980         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10981         (ispell-word): Do not use `region-p' if XEmacs.
10983 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10985         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10986         Check for `ispell-dictionary-base-alist' instead of full
10987         `ispell-dictionary-alist'.
10988         (ispell-init-process): Show spellchecker when starting new Ispell
10989         process.
10991 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10993         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10994         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10996 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
10998         * version.el (motif-version-string, gtk-version-string)
10999         (ns-version-string): Declare.
11001 2012-05-27  Juri Linkov  <juri@jurta.org>
11003         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11004         after the `eval-defun-1' specialcaseing
11005         like in `edebug-eval-defun' (bug#10181).
11007         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11008         like in `eval-defun-1'.
11010 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
11012         * mail/sendmail.el (mail-yank-region):
11013         Recognize rmail-yank-current-message in addition to insert-buffer.
11014         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11015         a *mail* buffer created through rmail-start-mail with sendmail as
11016         mail-user-agent.
11018 2012-05-27  Chong Yidong  <cyd@gnu.org>
11020         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11021         Default to 256 (Bug#11267).
11023         * help.el (describe-mode): Doc fix.
11025 2012-05-26  Glenn Morris  <rgm@gnu.org>
11027         * w32-fns.el (w32-init-info): Remove.
11028         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11030         * info.el (info-initialize): For self-contained NS builds, put the
11031         included info/ directory at the front.  (Bug#2791)
11033         * paths.el (Info-default-directory-list): Make it a defcustom,
11034         mainly so that we can use custom-initialize-delay.
11036 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11038         * subr.el (buffer-has-markers-at): Mark obsolete.
11040         * subr.el (lambda): Use declare.
11042         * emacs-lisp/lisp-mode.el (lambda):
11043         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11045 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11047         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
11049 2012-05-26  Glenn Morris  <rgm@gnu.org>
11051         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11053 2012-05-25  Glenn Morris  <rgm@gnu.org>
11055         * paths.el: Remove no-byte-compile.
11056         * loadup.el: No need to load paths.el uncompiled.
11058         * image.el (imagemagick-types-inhibit): Doc fix.
11060         * version.el: Remove no-byte-compile and associated formatting.
11061         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
11062         is ancient code from when there was an "inc-vers.el".
11064 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11066         * progmodes/gdb-mi.el: Minor style changes.
11067         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11068         Turn into minor modes.
11069         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11070         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11071         (gdb-shell): Remove unneeded let-binding.
11072         (gdb-get-many-fields): Eliminate O(n²) behavior.
11074 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
11076         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11077         platforms that don't link in fontset.c.
11079 2012-05-25  Juri Linkov  <juri@jurta.org>
11081         Use the same diff color scheme as in modern VCSes (bug#10181).
11083         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11084         to avoid confusion with `diff-added' that now uses green colors.
11085         (diff-removed): Use shades of red.
11086         (diff-added): Use shades of green.
11087         (diff-changed): Leave just the yellow color.
11088         (diff-use-changed-face): New variable.
11089         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11090         how to highlight context diff changes.
11091         (diff-refine-change): Use shades of yellow.
11092         (diff-refine-removed): New face that uses shades of red.
11093         (diff-refine-added): New face that uses shades of green.
11094         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11095         `diff-refine-removed' in the call to `smerge-refine-subst'
11096         depending on the value of `diff-use-changed-face'.
11098         * vc/smerge-mode.el (smerge-mine): Use shades of red.
11099         (smerge-other): Use shades of green.
11100         (smerge-base): Use shades of yellow.
11101         (smerge-refined-change): Empty face.
11102         (smerge-refined-removed): New face that uses shades of red.
11103         (smerge-refined-added): New face that uses shades of green.
11104         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
11105         args `props-r' and `props-a', and use them.  Doc fix.
11106         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11107         on its value use different faces `smerge-refined-change',
11108         `smerge-refined-removed', `smerge-refined-added' in the call to
11109         `smerge-refine-subst'.
11111         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11112         Add face condition `min-colors 88' with shades of red.
11113         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11114         `min-colors 88' with shades of green.
11115         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11116         `min-colors 88' with shades of yellow.
11118 2012-05-24  Glenn Morris  <rgm@gnu.org>
11120         * paths.el (prune-directory-list, remote-shell-program): Move to...
11121         * files.el (prune-directory-list, remote-shell-program): ...here.
11122         For the latter, delay initialization, prefer ssh, just search PATH.
11124         * paths.el (term-file-prefix): Move to faces.el (the only user).
11125         * faces.el (term-file-prefix): Move here, make it a defcustom.
11127         * paths.el (news-directory, news-path, news-inews-program):
11128         Move to gnus/nnspool.el.
11130         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11132         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11133         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11134         Make the latter a defcustom, with a delayed initialization.
11136         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11137         These were deleted from Gnus itself late 2010.
11139 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
11141         * progmodes/which-func.el (which-func-ff-hook):
11142         Check against user-error, not error.
11144         * emacs-lisp/edebug.el (top): Do not load or set up loading of
11145         cl-specs.el, which no longer exists.
11147 2012-05-22  Glenn Morris  <rgm@gnu.org>
11149         * info.el (info-emacs-bug): New command.
11150         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11151         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11153 2012-05-21  Glenn Morris  <rgm@gnu.org>
11155         * makefile.w32-in (update-subdirs-SH):
11156         * Makefile.in (update-subdirs): Update for moved update-subdirs.
11158 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11160         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11162         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11163         Simplify Maven regexp, and make sure the file can't start with a space
11164         (bug#11517).
11166 2012-05-21  Glenn Morris  <rgm@gnu.org>
11168         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11169         Scrap superfluous subshells.
11171 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11173         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11174         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11176 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
11178         * calc/calc.el (calc-ensure-consistent-units): New variable.
11180         * calc/calc-units.el (math-consistent-units-p)
11181         (math-check-unit-consistency): New functions.
11182         (calc-quick-units, calc-convert-units):
11183         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11184         is non-nil.
11185         (calc-extract-units): Fix typo.
11187 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11189         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11191         * textmodes/flyspell.el: Commenting style, plus code simplifications.
11192         (flyspell-default-deplacement-commands): Don't spell check after
11193         repeated window/frame switches (e.g. triggered by mouse-movement).
11194         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11195         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11196         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11197         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11198         Remove unused vars.
11199         (flyspell-get-casechars, flyspell-get-not-casechars):
11200         Simplify; Don't bother removing a ] just to add it back.
11201         * textmodes/ispell.el (ispell-program-name): Use executable-find.
11203 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11205         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11206         New functions.
11207         (math-function-table): Add support for more C functions.
11209 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11211         * textmodes/flyspell.el (flyspell-check-pre-word-p)
11212         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11213         Protect delay handling for otherchars against empty otherchars.
11215 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11217         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11218         their respective macro declarations.
11219         * skeleton.el (define-skeleton):
11220         * progmodes/compile.el (define-compilation-mode):
11221         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11222         (define-ibuffer-filter):
11223         * emacs-lisp/generic.el (define-generic-mode):
11224         * emacs-lisp/easy-mmode.el (define-minor-mode)
11225         (define-globalized-minor-mode):
11226         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11227         * emacs-lisp/byte-run.el (defsubst):
11228         * custom.el (deftheme): Add doc-string metadata.
11230 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11232         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11234 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11236         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11238         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11239         * emacs-lisp/cl-macs.el: Idem.
11240         * emacs-lisp/cl-specs.el: Remove.
11242 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11244         Minor renaming of internal CL functions and variables.
11245         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11246         (cl--position): Rename from cl-position.
11247         (cl--delete-duplicates): Rename from cl-delete-duplicates.
11248         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11249         (cl--random-state): Rename from *random-state*.
11251 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11253         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11254         parens around the arg list (bug#11499).
11256 2012-05-17  Juri Linkov  <juri@jurta.org>
11258         * isearch.el (word-search-regexp, word-search-backward)
11259         (word-search-forward, word-search-backward-lax)
11260         (word-search-forward-lax): Move functions from search.c
11261         (bug#10145, bug#11381).
11263 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11265         * textmodes/flyspell.el (flyspell-check-pre-word-p)
11266         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11267         Delay for otherchars as for normal word components.
11269 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11271         * minibuffer.el (completion--sifn-requote): Fix last change.
11272         (minibuffer-local-must-match-filename-map):
11273         Move define-obsolete-variable-alias before its var.
11275 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11277         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11279         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11280         behavior.
11281         (completion--string-equal-p): New function.
11282         (completion--twq-all): Use it to get better assertion failure data.
11284         Only handle ".." and '..' quoting in shell-mode (bug#11466).
11285         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11286         (shell--requote-argument): New functions.
11287         (shell-completion-vars): Use them.
11288         (shell--parse-pcomplete-arguments): Rename from
11289         shell-parse-pcomplete-arguments.
11290         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
11291         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11292         Obey comint-file-name-quote-list.
11294         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11295         (smie-indent-keyword): Use it.
11297 2012-05-14  Stefan Merten  <smerten@oekonux.de>
11299         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11301 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11303         * net/rlogin.el (rlogin-mode-map): Fix last change.
11305 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
11307         * mail/smtpmail.el (smtpmail-send-command): Send the command and
11308         the following \r\n using a single `process-send-string', since the
11309         Lotus SMTP server refuses to accept any commands if they are sent
11310         with two `process-send-string's (Bug#11444).
11312 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11314         * shell.el (shell-parse-pcomplete-arguments):
11315         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11317 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
11319         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11320         (image-transform-scale, image-transform-right-angle-fudge): New vars.
11321         (image-transform-width, image-transform-fit-width): New functions.
11322         (image-transform-properties): Use them.
11323         (image-transform-check-size): New function.
11324         (image-toggle-display-image): Use it (for testing).
11325         (image-transform-set-rotation): Reduce angle mod 360.
11326         Delete obsolete comment.
11328 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
11330         * image-mode.el: Fix scaling (bug#11399).
11331         (image-transform-resize): Doc fix.
11332         (image-transform-properties): Default scale is 1 and height should
11333         be an integer.
11335 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
11337         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11338         than hard-coding `car', to fix misbehavior when moving forward.
11340 2012-05-13  Chong Yidong  <cyd@gnu.org>
11342         * emacs-lisp/tabulated-list.el (tabulated-list-format)
11343         (tabulated-list-entries, tabulated-list-padding)
11344         (tabulated-list-sort-key): Make permanent-local.
11346         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11347         (electric-buffer-list): Put electric buffer menu
11348         command descriptions in this docstring, instead of the docstring
11349         of electric-buffer-menu-mode.  Code cleanups.
11350         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
11351         Electric-buffer-menu-mode.
11352         (electric-buffer-update-highlight): Minor code cleanup.
11354 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
11356         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11357         (Bug#11447)
11359 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         Move define-obsolete-variable-alias before the var's definition.
11362         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11363         * tooltip.el (tooltip-hook):
11364         * textmodes/reftex-toc.el (reftex-toc-map):
11365         * textmodes/reftex-sel.el (reftex-select-label-map)
11366         (reftex-select-bib-map):
11367         * textmodes/reftex-index.el (reftex-index-map)
11368         (reftex-index-phrases-map):
11369         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11370         * progmodes/meta-mode.el (meta-mode-map):
11371         * novice.el (disabled-command-hook):
11372         * loadhist.el (unload-hook-features-list):
11373         * frame.el (blink-cursor):
11374         * files.el (find-file-not-found-hooks, write-file-hooks)
11375         (write-contents-hooks):
11376         * emulation/tpu-edt.el (GOLD-map):
11377         * emacs-lock.el (emacs-lock-from-exiting):
11378         * emacs-lisp/generic.el (generic-font-lock-defaults):
11379         * emacs-lisp/chart.el (chart-map):
11380         * dos-fns.el (register-name-alist):
11381         * dired-x.el (dired-omit-files-p):
11382         * desktop.el (desktop-enable):
11383         * cus-edit.el (custom-mode-hook):
11384         * buff-menu.el (buffer-menu-mode-hook):
11385         * bookmark.el (bookmark-read-annotation-text-func)
11386         (bookmark-exit-hooks):
11387         * allout.el (allout-mode-deactivate-hook)
11388         (allout-exposure-change-hook, allout-structure-added-hook)
11389         (allout-structure-deleted-hook, allout-structure-shifted-hook):
11390         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11391         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11392         comes before the corresponding variable's definition.
11394 2012-05-12  Chong Yidong  <cyd@gnu.org>
11396         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11397         (Buffer-menu-mouse-select): Restore function (Bug#11459).
11398         (Buffer-menu-mode-map): Bind it.
11399         (Buffer-menu--pretty-name): Add a mouse-face property.
11401 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11403         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
11404         (prolog-upper-case-string, prolog-lower-case-string)
11405         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11406         (prolog-use-smie, prolog-smie-grammar): New vars.
11407         (prolog-smie-forward-token, prolog-smie-backward-token)
11408         (prolog-smie-rules): New funs.
11409         (prolog-comment-indent): Remove.
11410         (prolog-mode-variables): Use default comment indentation instead.
11411         Setup SMIE.
11412         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11413         (prolog-mode): Don't call them any more.
11414         (prolog-electric-colon, prolog-electric-dash)
11415         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11417         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11419         * minibuffer.el (completion--twq-all): Again, allow case differences.
11421         * term.el: Move keymap initialization code to be more idiomatic.
11422         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11423         (term-terminal-menu): Move initialization into declaration.
11424         (term-escape-char): Let the user set it in her .emacs.
11426         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11427         Provide SMIE-based indentation (not enabled by default yet).
11428         (sh-mode-map): Don't bind electric keys.
11429         Use electric-pair-mode instead of skeleton-pair.
11430         (sh-assignment-regexp): Fit within 80 columns.
11431         (sh-indent-supported): Specify actual shell name instead of boolean.
11432         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11433         (sh-maybe-here-document): Use it.  Make obsolete.
11434         (sh-electric-here-document-mode) New minor mode.
11435         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
11436         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11437         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11438         (sh-smie-rc-grammar, sh-use-smie): New vars.
11439         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11440         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11441         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11442         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11443         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11444         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11445         (sh-set-shell): Use smie-setup if requested.
11447         * term.el (term-set-escape-char): Properly set term-escape-char.
11448         See http://stackoverflow.com/questions/10524656.
11450 2012-05-10  Chong Yidong  <cyd@gnu.org>
11452         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11453         Use url-generic-parse-url, and handle host names and Windows
11454         filenames properly.
11455         (ffap-url-unwrap-remote): Use url-generic-parse-url.
11456         (ffap-url-unwrap-remote): Accept list values, specifying a list of
11457         URL schemes to work on.
11458         (ffap--toggle-read-only): New function.
11459         (ffap-read-only, ffap-read-only-other-window)
11460         (ffap-read-only-other-frame): Use it.
11461         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11462         necessary for ffap-url-unwrap-remote.
11464 2012-05-10  Dave Abrahams  <dave@boostpro.com>
11466         * cus-start.el (create-lockfiles): Add it.
11468 2012-05-09  Chong Yidong  <cyd@gnu.org>
11470         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11471         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11473 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         * shell.el (shell-completion-vars): Fix last change (bug#11348).
11477 2012-05-09  Chong Yidong  <cyd@gnu.org>
11479         * ansi-color.el (ansi-color-process-output): Check for validity of
11480         comint-last-output-start before using it.  This avoids a bad
11481         interaction with gdb-mi's input/output buffer.
11483 2012-05-09  Glenn Morris  <rgm@gnu.org>
11485         * files.el (dir-locals-read-from-file):
11486         Mention dir-locals in any error message.
11488 2012-05-09  Chong Yidong  <cyd@gnu.org>
11490         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11491         package (Bug#11410).
11493         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11494         variables into description.
11496 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11498         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11499         shell-delimiter-argument-list (bug#11348).
11500         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11502 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
11504         * textmodes/rst.el: Silence byte-compiler warnings.
11505         (rst-re-alist, rst-reset-section-caches): Move around.
11506         (rst-re): Use `characterp', not `char-valid-p'.
11507         (font-lock-beg, font-lock-end): Declare.
11509         * progmodes/idlw-shell.el (specs): Remove reference to deleted
11510         variable `idlwave-shell-activate-alt-keybindings' and simplify.
11512         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11514 2012-05-08  Glenn Morris  <rgm@gnu.org>
11516         * files.el (auto-mode-alist): Treat ".make" like ".mk".
11518 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11520         * vc/log-edit.el: Add GNU coding standards highlighting.
11521         (log-edit-font-lock-gnu-style)
11522         (log-edit-font-lock-gnu-keywords): New vars.
11523         (log-edit-font-lock-keywords): New fun.
11524         (log-edit-mode): Don't fold case in font-lock.
11525         (log-edit-font-lock-keywords): Do not assume case-folding.
11527         * imenu.el: Misc cleanup.  Make docstrings out of comments.
11528         Use lexical-binding.
11529         (imenu--index-alist, imenu--last-menubar-index-alist)
11530         (imenu-menubar-modified-tick): Use defvar-local.
11531         (imenu--split-menu): Remove unused var.
11532         (imenu--cleanup-seen): Declare as global.
11533         (imenu--cleanup): Use dolist.
11535         * subr.el (defvar-local): Add debug spec and doc-string position.
11537 2012-05-08  Glenn Morris  <rgm@gnu.org>
11539         * language/burmese.el, language/cham.el, language/czech.el:
11540         * language/english.el, language/georgian.el, language/greek.el:
11541         * language/japanese.el, language/khmer.el, language/korean.el:
11542         * language/lao.el, language/misc-lang.el, language/romanian.el:
11543         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11544         * language/thai.el, language/utf-8-lang.el:
11545         Remove no-byte-compile setting.
11547         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
11549 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11551         * progmodes/make-mode.el (makefile-browse):
11552         Remove unnecessary interactive.  (Bug#11324)
11554 2012-05-07  Glenn Morris  <rgm@gnu.org>
11556         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11558         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11560 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11562         * loadup.el: Preload newcomment.el.
11563         * newcomment.el: Move autoload-only code to toplevel.
11565         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11566         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11567         Handle new :right-align column property.
11568         (tabulated-list-print-col): Idem, plus use `display' text-property to
11569         try and preserve alignment for variable pitch fonts.
11571 2012-05-07  Chong Yidong  <cyd@gnu.org>
11573         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11574         (tabulated-list-use-header-line): New var.
11575         (tabulated-list-init-header): Use it.
11576         (tabulated-list-print-fake-header): New function.
11577         (tabulated-list-print): Use it.
11578         (tabulated-list-sort-button-map): Add non-header-line commands.
11579         (tabulated-list-init-header): Add column name property to basic
11580         labels as well.
11581         (tabulated-list-col-sort): Handle non-header-line button case.
11582         (tabulated-list--sort-by-column-name): Fix a corner case.
11584         * buff-menu.el (list-buffers--refresh):
11585         Handle Buffer-menu-use-header-line.
11587 2012-05-06  Chong Yidong  <cyd@gnu.org>
11589         * buff-menu.el: Convert to Tabulated List mode.
11590         (Buffer-menu-buffer+size-width): Make obsolete.
11591         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11592         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11593         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
11594         documentation into docstring of buffer-menu.
11595         (Buffer-menu-toggle-files-only): Add an informative message.
11596         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11597         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11598         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11599         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11600         (Buffer-menu-execute, Buffer-menu-select)
11601         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11602         (Buffer-menu-bury): Use Tabulated List machinery.
11603         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11604         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11605         Delete.
11606         (list-buffers--refresh): New function.
11607         (list-buffers-noselect): Use it.
11608         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11609         (Buffer-menu--pretty-file-name): New helper functions.
11611         * loadup.el: Preload tabulated-list.
11613         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11614         tabulated-list-sort-column.
11615         (tabulated-list-init-header): Add the initial aligning space even
11616         if tabulated-list-padding is zero.
11618 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
11620         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11621         whose cdr is not a cons cell correctly (bug#11038).
11623 2012-05-06  Chong Yidong  <cyd@gnu.org>
11625         * emacs-lisp/tabulated-list.el (tabulated-list-format):
11626         Accept additional plist in column descriptors.
11627         (tabulated-list-init-header): Obey it.
11628         (tabulated-list-get-entry): New function.
11629         (tabulated-list-put-tag): Use it.  Use string-width instead of
11630         length.
11631         (tabulated-list--column-number): New function.
11632         (tabulated-list-print): Use it.
11633         (tabulated-list-print-col): New function.
11634         Set `tabulated-list-column-name' property on each column's text.
11635         (tabulated-list-print-entry): Use it.
11636         (tabulated-list-delete-entry, tabulated-list-set-col):
11637         New functions.
11638         (tabulated-list-sort-column): New command (Bug#11337).
11640         * buff-menu.el (list-buffers): Move C-x C-b binding from
11641         buff-menu.el to bindings.el.
11643         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11644         :advertised-binding feature.
11646 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
11648         * progmodes/compile.el (compilation-internal-error-properties):
11649         Calculate start position correctly when end-col is set but
11650         end-line is not (Bug#11382).
11652 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
11654         * man.el (Man-unindent): Use text-property-default-nonsticky to
11655         prevent untabify from inheriting face properties (Bug#11408).
11657 2012-05-05  Stefan Merten  <smerten@oekonux.de>
11659         * textmodes/rst.el: Major merge with upstream development up to
11660         Docutils SVN r7399 / rst.el V1.2.1.
11662         Clarify maintainership and authors.
11664         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11665         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11666         (rst-official-version, rst-official-cvs-rev, rst-version)
11667         (rst-package-emacs-version-alist): New functions and variables
11668         for version information.
11670         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11671         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11672         (rst-mode-syntax-table, rst-mode): New and corrected functions
11673         and variables representing reStructuredText features.
11675         (rst-re): New function for reStructuredText regexes.  Use in
11676         many places.
11678         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11679         (rst-mode-map): Rebind keys.
11681         (rst-mode-lazy, rst-font-lock-keywords)
11682         (rst-font-lock-extend-region)
11683         (rst-font-lock-extend-region-internal)
11684         (rst-font-lock-extend-region-extend)
11685         (rst-font-lock-find-unindented-line-limit)
11686         (rst-font-lock-find-unindented-line-match)
11687         (rst-adornment-level, rst-font-lock-adornment-level)
11688         (rst-font-lock-adornment-match)
11689         (rst-font-lock-handle-adornment-pre-match-form)
11690         (rst-font-lock-handle-adornment-matcher): Major revision of
11691         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
11693         (rst-preferred-adornments, rst-adjust-hook)
11694         (rst-new-adornment-down, rst-preferred-bullets)
11695         (rst-preferred-bullets, rst-indent, rst-indent-width)
11696         (rst-indent-field, rst-indent-literal-normal)
11697         (rst-indent-literal-minimized, rst-indent-comment): Change,
11698         extend and improve customization.
11700         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11701         (rst-normalize-cursor-position, rst-get-decoration)
11702         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11703         (rst-rstrip, rst-toc-insert-find-delete-contents)
11704         (rst-shift-fill-region, rst-compute-bullet-tabs)
11705         (rst-debug-print-tabs, rst-debug-mark-found)
11706         (rst-shift-region-guts, rst-shift-region-right)
11707         (rst-shift-region-left, rst-use-char-classes)
11708         (rst-font-lock-keywords-function)
11709         (rst-font-lock-indentation-point)
11710         (rst-font-lock-find-unindented-line-begin)
11711         (rst-font-lock-find-unindented-line-end)
11712         (rst-font-lock-find-unindented-line)
11713         (rst-font-lock-adornment-point, rst-font-lock-level)
11714         (rst-adornment-level-alist): Remove functions and variables.
11716         (rst-compare-adornments, rst-get-adornment-match)
11717         (rst-suggest-new-adornment, rst-get-adornments-around)
11718         (rst-adornment-complete-p, rst-get-next-adornment)
11719         (rst-adjust-adornment, rst-display-adornments-hierarchy)
11720         (rst-straighten-adornments): Standardize function names to
11721         use "adornment" instead of "decoration".  Correct callers.
11722         Similar standardizing in many places.
11724         (rst-update-section, rst-adjust, rst-promote-region)
11725         (rst-enumerate-region, rst-bullet-list-region)
11726         (rst-repeat-last-character): Correct use of `interactive'.
11728         (rst-classify-adornment, rst-find-all-adornments)
11729         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11730         (rst-find-leftmost-column, rst-repeat-last-character):
11731         Refactor functions.
11733         (rst-find-title-line, rst-reset-section-caches)
11734         (rst-get-adornments-around, rst-adjust-adornment-work)
11735         (rst-arabic-to-roman, rst-roman-to-arabic)
11736         (rst-insert-list-pos, rst-insert-list-new-item)
11737         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11738         New functions.
11740         (rst-all-sections, rst-section-hierarchy)
11741         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11742         New variables.
11744         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11745         configuration instead of only buffer.  Change where necessary.
11747         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11748         (rst-shift-region, rst-adaptive-fill): New functions for
11749         indentation and filling.
11751         (rst-comment-line-break, rst-comment-indent)
11752         (rst-comment-insert-comment, rst-comment-region)
11753         (rst-uncomment-region): New functions for handling comments.
11755         (rst-compile): Quote shell arguments.
11757         (rst-compile-pdf-preview, rst-compile-slides-preview):
11758         Delete temporary files after use.
11760 2012-05-05  Glenn Morris  <rgm@gnu.org>
11762         * calendar/cal-html.el: Optionally include holidays in the output.
11763         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11764         (cal-html-holidays): New option.
11765         (cal-html-css-default): Add holiday entry.
11766         (holiday-in-range): Autoload it.
11767         (cal-html-htmlify-entry): Add optional class argument.
11768         (cal-html-htmlify-list): Add optional holidays argument.
11769         (cal-html-insert-agenda-days): Include holidays in the output.
11770         (cal-html-one-month): Maybe include holidays.
11772         * calendar/holidays.el (holiday-in-range):
11773         Move here from cal-tex-list-holidays.
11774         * calendar/cal-tex.el (cal-tex-list-holidays):
11775         Make it an obsolete alias for holiday-in-range.  Update all callers.
11777 2012-05-05  Chong Yidong  <cyd@gnu.org>
11779         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11780         Nextstep.
11782 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
11784         * files.el (file-auto-mode-skip): New var.
11785         (set-auto-mode-1): Use it.
11787 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11789         * repeat.el: Use lexical-binding.
11790         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11791         (repeat-undo-count): Remove.
11792         (repeat):
11793         * progmodes/octave-mod.el (octave-abbrev-start):
11794         * progmodes/f90.el (f90-abbrev-start):
11795         * face-remap.el (text-scale-adjust):
11796         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11798         * emacs-lisp/pcase.el (pcase--let*): New function.
11799         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11800         a bit more.
11801         (pcase--split-pred): Be more clever about ruling out overlap between
11802         a predicate and some constant pattern.
11803         (pcase--q1): Use `null' instead of (eq foo nil).
11805         * subr.el (setq-local, defvar-local): New macros.
11806         (kbd): Redefine as an alias.
11807         (with-selected-window): Leave unrelated frames alone.
11808         (set-temporary-overlay-map): New function.
11810 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11812         * subr.el (user-error): New function.
11813         * window.el (switch-to-buffer):
11814         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11815         (smerge-match-conflict):
11816         * simple.el (previous-matching-history-element)
11817         (next-matching-history-element, goto-history-element, undo-more)
11818         (undo-start):
11819         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11820         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11821         (next-file, tags-loop-scan, list-tags, complete-tag):
11822         * progmodes/compile.el (compilation-loop):
11823         * mouse.el (mouse-minibuffer-check):
11824         * man.el (Man-bgproc-sentinel, Man-goto-page):
11825         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11826         (Info-history-forward, Info-follow-reference, Info-menu)
11827         (Info-extract-menu-item, Info-extract-menu-counting)
11828         (Info-forward-node, Info-backward-node, Info-next-menu-item)
11829         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11830         (Info-next-reference, Info-prev-reference, Info-index)
11831         (Info-index-next, Info-follow-nearest-node)
11832         (Info-copy-current-node-name):
11833         * imenu.el (imenu--make-index-alist)
11834         (imenu-default-create-index-function, imenu-add-to-menubar):
11835         * files.el (basic-save-buffer, recover-file):
11836         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11837         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11838         (checkdoc-message-text, checkdoc-defun):
11839         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11840         * cus-edit.el (customize-changed-options, customize-rogue)
11841         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11842         (custom-variable-mark-to-reset-standard)
11843         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11844         (custom-file):
11845         * completion.el (check-completion-length):
11846         * comint.el (comint-search-arg)
11847         (comint-previous-matching-input-string-position)
11848         (comint-previous-matching-input)
11849         (comint-replace-by-expanded-history-before-point, comint-send-input)
11850         (comint-copy-old-input, comint-backward-matching-input)
11851         (comint-goto-process-mark, comint-set-process-mark):
11852         * calendar/calendar.el (calendar-cursor-to-date): Use it.
11853         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11855 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11857         * dabbrev.el (dabbrev--ignore-case-p): New function.
11858         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11859         Use it.
11861         * files.el (automount-dir-prefix): Mark as obsolete.
11863 2012-05-04  Glenn Morris  <rgm@gnu.org>
11865         * patcomp.el, play/bruce.el: Move to obsolete/.
11867 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
11869         Fix minor Y10k bugs.
11870         * arc-mode.el (archive-unixdate):
11871         * autoinsert.el (auto-insert-alist):
11872         * calc/calc-forms.el (math-this-year):
11873         * emacs-lisp/copyright.el (copyright-current-year)
11874         (copyright-update-year, copyright):
11875         * tar-mode.el (tar-clip-time-string):
11876         * time.el (display-time-update):
11877         Don't assume years have 4 digits.
11879 2012-05-04  Chong Yidong  <cyd@gnu.org>
11881         * dos-w32.el (file-name-buffer-file-type-alist)
11882         (direct-print-region-use-command-dot-com):
11883         * ffap.el (ffap-menu-regexp):
11884         * find-file.el (ff-special-constructs):
11885         * follow.el (follow-debug):
11886         * forms.el (forms--debug):
11887         * iswitchb.el (iswitchb-all-frames):
11888         * ido.el (ido-all-frames):
11889         * emacs-lisp/timer.el (timer-max-repeats):
11890         * mail/feedmail.el (feedmail-mail-send-hook)
11891         (feedmail-mail-send-hook-queued):
11892         * mail/footnote.el (footnote-signature-separator):
11893         * mail/mailabbrev.el (mail-alias-separator-string)
11894         (mail-abbrev-mode-regexp):
11895         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11896         * progmodes/idlwave.el (idlwave-libinfo-file)
11897         (idlwave-default-completion-case-is-down)
11898         (idlwave-library-routines): Convert defvars to defcustoms.
11900         * mail/rmail.el (rmail-decode-mime-charset):
11901         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11902         (idlwave-shell-fix-inserted-breaks)
11903         (idlwave-shell-activate-alt-keybindings)
11904         (idlwave-shell-use-breakpoint-glyph):
11905         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11907 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11909         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11911 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
11913         * progmodes/verilog-mode.el (font-lock-keywords):
11914         Fix mis-highligting auto.  Reported by Craig Barner.
11915         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11916         defines from global name space.  Reported by Dan Dever.
11917         (verilog-auto-reset, verilog-auto-reset-widths)
11918         (verilog-auto-tieoff): Support using unbased numbers for
11919         AUTORESET and AUTOTIEOFF.
11920         (verilog-submit-bug-report): Update variable list.
11921         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11922         parenthesis from not matching.  Reported by Michael Rytting.
11923         (verilog-auto-template-lint): Fix hash error when linting modules
11924         with no used templates.
11925         (verilog-warn, verilog-warn-error)
11926         (verilog-warn-fatal): When non-interactive report multiple
11927         warnings before exiting.  Suggested by Brad Dobbie.
11928         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11929         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11930         to report unused template errors.  Reported by Brad Dobbie.
11931         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11932         nets, bug438.  Reported by Vns Blore.
11933         (verilog-auto-inout-module, verilog-auto-reg)
11934         (verilog-read-decls, verilog-read-sub-decls-sig)
11935         (verilog-signals-edit-wire-reg, verilog-signals-with):
11936         Fix passing of Verilog data types in ANSI input/output ports
11937         such as "output logic" into the AUTOs.  Special case "wire" and
11938         "reg" for backwards compatibility presuming Verilog 2001.
11939         (verilog-auto-ascii-enum): Add "auto enum" as alias.
11940         (verilog-preprocess): Fix replication of preprocess output.
11941         Reported by Brad Dobbie.
11942         (verilog-auto-inst-interfaced-ports):
11943         Create verilog-auto-inst-interfaced-ports, bug429.
11944         Reported by Julian Gorfajn.
11945         (verilog-after-save-font-hook)
11946         (verilog-before-save-font-hook): New variable.
11947         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11948         (verilog-save-font-mods): Wrap disabling fontification, reported
11949         by David Rogoff.
11950         (verilog-do-indent, verilog-pretty-declarations-auto)
11951         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11952         Reported by Pierre-David Pfister.
11953         (verilog-set-auto-endcomments): Fix endtask auto comments outside
11954         of class declarations, bug292.  Reported by Kevin Heilman.
11955         (verilog-read-decls): Fix 'parameter type' not appearing in
11956         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
11957         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11958         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
11959         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11960         Reported by David Kravitz.
11962 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
11964         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11965         assignment with tests in ifs and for loops.
11966         (verilog-extended-complete-re, verilog-complete-reg): Change so
11967         that DPI inport functions don't look like fuction declarations.
11968         (verilog-pretty-expr): Don't line up assignment
11969         operations to the test and increment in if and for loops
11970         (verilog-extended-complete-re, verilog-complete-reg): Change so
11971         that DPI inport functions don't look like fuction declarations.
11973 2012-05-03  Kenichi Handa  <handa@m17n.org>
11975         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11976         decoding, and show a warning message without signaling an error
11977         (Bug#11282).
11979 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * emacs-lisp/bytecomp.el
11982         (byte-compile-file-form-custom-declare-variable): Compile all elements,
11983         since cconv.el might have introduced :fun-body, internal-make-closure,
11984         and friends for bytecomp to handle (bug#11391).
11985         * custom.el (defcustom): Avoid ((λ ..) ..).
11987 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11989         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11991 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
11993         * notifications.el (dbus-debug):
11994         * term/linux.el (gpm-mouse-enable):
11995         * term/screen.el (xterm-register-default-colors): Declare.
11997 2012-05-02  Chong Yidong  <cyd@gnu.org>
11999         * cus-start.el (gc-cons-percentage, exec-suffixes)
12000         (dos-display-scancodes, dos-hyper-key, dos-super-key)
12001         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12002         (make-cursor-line-fully-visible, void-text-area-pointer)
12003         (font-list-limit): Add customization data.
12005         * allout.el (allout-exposure-change-functions)
12006         (allout-structure-added-functions)
12007         (allout-structure-deleted-functions)
12008         (allout-structure-shifted-functions): Rename abnormal hooks from
12009         *-hook, and convert to defcustoms.
12010         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12011         Convert to defcustoms.
12012         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12014         * allout-widgets.el: Hook callers changed.
12016 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
12018         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12019         the yanked message in preference to the default value of
12020         buffer-file-coding-system.
12022 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
12024         * window.el (display-buffer--action-function-custom-type):
12025         Fix entry.
12027 2012-05-02  Alan Mackenzie  <acm@muc.de>
12029         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12031 2012-05-01  Glenn Morris  <rgm@gnu.org>
12033         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12035         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
12037         * cus-edit.el (custom-variable-documentation): Simplify with format.
12039 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12040             Stefan Monnier  <monnier@iro.umontreal.ca>
12042         * simple.el (suggest-key-bindings, execute-extended-command):
12043         Move from keyboard.c.
12045 2012-05-01  Chong Yidong  <cyd@gnu.org>
12047         * follow.el: Eliminate advice.
12048         (set-process-filter, process-filter, sit-for): Advice deleted.
12049         (follow-mode-off-hook): Obsolete hook removed.
12050         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12051         Vars deleted.
12052         (follow-auto): Use a :set function.
12053         (follow-mode): Rewritten.  Don't advise process filters.
12054         (follow-switch-to-current-buffer-all, follow-scroll-up)
12055         (follow-scroll-down): Assume follow-mode is bound.
12056         (follow-comint-scroll-to-bottom)
12057         (follow-align-compilation-windows): New functions.
12058         (follow--window-sorter): New function.
12059         (follow-all-followers): Use it to explicitly sort windows by their
12060         positions; don't make assumptions about next-window order.
12061         (follow-windows-start-end, follow-delete-other-windows-and-split)
12062         (follow-calc-win-start): Doc fix.
12063         (follow-windows-aligned-p, follow-select-if-visible): Don't call
12064         vertical-motion unnecessarily.
12065         (follow-adjust-window): New function.
12066         (follow-post-command-hook): Use it.
12067         (follow-call-set-process-filter, follow-call-process-filter)
12068         (follow-intercept-process-output, follow-tidy-process-filter-alist)
12069         (follow-stop-intercept-process-output, follow-generic-filter):
12070         Functions deleted.
12071         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12072         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12073         New functions, replacing advice on scroll-bar-* commands.
12074         (follow-mwheel-scroll): New function (Bug#4112).
12076         * comint.el (comint-adjust-point): New function.
12077         (comint-postoutput-scroll-to-bottom): Use it.
12078         Call follow-comint-scroll-to-bottom for Follow mode buffers.
12080 2012-05-01  Glenn Morris  <rgm@gnu.org>
12082         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12083         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12084         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12085         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12086         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12087         Remove no-byte-compile setting.
12089 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12091         * minibuffer.el (completion-table-with-quoting): Fix compatibility
12092         all-completions code to not return a number in the last cdr.
12094 2012-04-30  Leo Liu  <sdl.web@gmail.com>
12096         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12097         read-only error.
12099 2012-04-29  Chong Yidong  <cyd@gnu.org>
12101         * follow.el (follow-calc-win-end): Rewrite to handle partial
12102         screen lines correctly (Bug#8390).
12103         (follow-avoid-tail-recenter): Minor cleanup.
12105 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12107         Avoid the obsolete `assoc' package.
12108         * speedbar.el (speedbar-refresh): Avoid adelete.
12109         (speedbar-file-lists): Simplify and avoid aput.
12110         * man.el (Man--sections, Man--refpages): New vars, replacing
12111         Man-sections-alist and Man-refpages-alist.
12112         (Man-build-section-alist, Man-build-references-alist):
12113         Use them; avoid aput.
12114         (Man--last-section, Man--last-refpage): New vars.
12115         (Man-follow-manual-reference): Use them.
12116         Use the `default' arg of completing-read.
12117         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
12119 2012-04-27  Chong Yidong  <cyd@gnu.org>
12121         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12123         * startup.el (x-apply-session-resources): New function.
12125         * term/ns-win.el (ns-initialize-window-system):
12126         * term/w32-win.el (w32-initialize-window-system):
12127         * term/x-win.el (x-initialize-window-system): Use it to properly
12128         set menu-bar-mode and other vars from X resources, even if the
12129         initial frame is not a window-system frame (Bug#2299).
12131         * subr.el (read-key): Avoid running filter function when setting
12132         up temporary tool bar entries (Bug#9922).
12134 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
12136         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12137         (Bug#11344)
12139 2012-04-27  Chong Yidong  <cyd@gnu.org>
12141         * select.el (xselect--encode-string): New function, split from
12142         xselect-convert-to-string.
12143         (xselect-convert-to-string): Use it.
12144         (xselect-convert-to-filename, xselect-convert-to-os)
12145         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12146         returned strings are properly encoded (Bug#11315).
12148 2012-04-27  Chong Yidong  <cyd@gnu.org>
12150         * simple.el (delete-active-region): Move to killing custom group.
12152 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
12154         * progmodes/which-func.el (which-func-current): Quote %
12155         characters for mode-line processing.
12157 2012-04-27  Chong Yidong  <cyd@gnu.org>
12159         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12160         reaching eob (Bug#11286).
12162 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
12164         * progmodes/gdb-mi.el (gdb-control-level): New variable.
12165         (gdb): Make it buffer-local and init to zero.
12166         (gdb-control-commands-regexp): New variable.
12167         (gdb-send): Don't wrap in "-interpreter-exec console" if
12168         gdb-control-level is positive.  Increment gdb-control-level
12169         whenever the command matches gdb-control-commands-regexp, and
12170         decrement it each time the command is "end".  (Bug#11279)
12172 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
12174         * window.el (adjust-window-trailing-edge, enlarge-window)
12175         (shrink-window, window-resize):
12176         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12177         windows (Bug#11276).
12179 2012-04-27  Chong Yidong  <cyd@gnu.org>
12181         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12182         fix "missing prefix" warning.  All callers changed.
12184 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12186         * emacs-lisp/assoc.el: Move to obsolete/.
12188 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12190         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12192         * term/ns-win.el (ns-define-service):
12193         * progmodes/pascal.el (pascal-goto-defun):
12194         * progmodes/js.el (js--read-tab):
12195         * progmodes/etags.el (tags-lazy-completion-table):
12196         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12197         * emacs-lisp/ewoc.el (ewoc--wrap):
12198         * emacs-lisp/assoc.el (aput, adelete, amake):
12199         * doc-view.el (doc-view-convert-current-doc):
12200         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12202 2012-04-26  Chong Yidong  <cyd@gnu.org>
12204         * image.el (image-type-from-buffer): Only return supported image
12205         type (Bug#9045).
12207         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12208         value, for symmetry with diff-end-of-hunk.
12209         (diff-split-hunk, diff-find-source-location)
12210         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12211         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12212         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12213         compute the relevant hunk or file properly (Bug#6005).
12214         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12216 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12218         * vc/vc-mtn.el:
12219         * vc/vc-hg.el:
12220         * vc/vc-git.el:
12221         * vc/vc-dir.el:
12222         * vc/vc-cvs.el:
12223         * vc/vc-bzr.el:
12224         * vc/vc-arch.el:
12225         * vc/vc.el: Replace lexical-let by lexical-binding.
12226         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12227         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12228         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12230 2012-04-26  Chong Yidong  <cyd@gnu.org>
12232         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12233         (diff-mode-shared-map): Bind it to / and [remap undo].
12235         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12236         (ediff-window-setup-function): Use it as the default, to set up
12237         windows based on whether the current frame is graphical (Bug#2138).
12238         (ediff-choose-window-setup-function-automatically): Make obsolete.
12240         * vc/ediff-init.el: Always define ediff-pixel-width/height.
12242 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12244         * ffap.el: Remove old code for obsolete package.
12245         (ffap-complete-as-file-p): Remove.
12247         Use completion-table-with-quoting for comint and pcomplete.
12248         * comint.el (comint--unquote&requote-argument)
12249         (comint--unquote-argument, comint--requote-argument): New functions.
12250         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12251         (comint-quote-filename): Use regexp-opt-charset.
12252         (comint--common-suffix, comint--common-quoted-suffix)
12253         (comint--table-subvert): Remove.
12254         (comint-unquote-function, comint-requote-function): New vars.
12255         (comint--complete-file-name-data): Use them with
12256         completion-table-with-quoting.
12257         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12258         * pcomplete.el (pcomplete-arg-quote-list)
12259         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12260         (pcomplete-unquote-argument-function): Default to non-nil.
12261         (pcomplete-unquote-argument): Simplify.
12262         (pcomplete--common-quoted-suffix): Remove.
12263         (pcomplete-requote-argument-function): New var.
12264         (pcomplete--common-suffix): New function.
12265         (pcomplete-completions-at-point): Use completion-table-with-quoting
12266         and completion-table-subvert.
12268         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12269         (minibuffer--double-dollars): Preserve properties.
12270         (completion--sifn-requote): New function.
12271         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12273         * minibuffer.el: Add support for completion of quoted/escaped data.
12274         (completion-table-with-quoting, completion-table-subvert): New funs.
12275         (completion--twq-try, completion--twq-all): New functions.
12276         (completion--nth-completion): New function.
12277         (completion-try-completion, completion-all-completions): Use it.
12279 2012-04-25  Leo Liu  <sdl.web@gmail.com>
12281         * progmodes/python.el (python-pdbtrack-get-source-buffer):
12282         Use compilation-message if available to find real filename.
12284 2012-04-25  Chong Yidong  <cyd@gnu.org>
12286         * vc/diff-mode.el (diff-setup-whitespace): New function.
12287         (diff-mode): Use it.
12289         * vc/diff.el (diff-sentinel):
12290         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12291         Whitespace mode variables based on diff style (Bug#8612).
12293 2012-04-25  Leo Liu  <sdl.web@gmail.com>
12295         * progmodes/python.el (python-send-region): Add suffix .py to the
12296         temp file.
12298         * files.el (auto-mode-alist): Use javascript-mode instead.
12300 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
12302         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
12304         * net/soap-client.el (soap-resolve-references-for-sequence-type)
12305         (soap-resolve-references-for-array-type): Hack to prevent self
12306         references, see Bug#9.
12307         (soap-parse-envelope): Report the contents of the 'detail' node
12308         when receiving a fault reply.
12309         (soap-parse-envelope): Report the contents of the entire 'detail' node.
12311         * net/soap-inspect.el (soap-sample-value-for-simple-type)
12312         (soap-inspect-simple-type): New function.
12314         * net/soap-client.el (soap-simple-type): New struct.
12315         (soap-default-xsd-types, soap-default-soapenc-types)
12316         (soap-decode-basic-type, soap-encode-basic-type):
12317         support unsignedInt and double basic types.
12318         (soap-resolve-references-for-simple-type)
12319         (soap-parse-simple-type, soap-encode-simple-type): New function.
12320         (soap-parse-schema): Parse xsd:simpleType declarations.
12322         * net/soap-client.el (soap-default-xsd-types)
12323         (soap-default-soapenc-types): Add integer, byte and anyURI types.
12324         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12325         the local name of "soapenc:Array".
12326         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12327         decoding integer, byte and anyURI xsd types.
12329 2012-04-25  Chong Yidong  <cyd@gnu.org>
12331         * cus-edit.el (custom-buffer-create-internal): Update header text.
12333 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
12335         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12336         settings on 'system-type', not on 'window-system'.  On MS-Windows,
12337         set interactive-mode on in GDB.
12339 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12341         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12342         (ruby-syntax-propertize-regexp): Remove.
12343         (ruby-syntax-propertize-function): Split regexp into chunks.
12344         Match following code directly.
12346 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
12348         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12349         (ruby-syntax-propertize-regexp): New function.
12350         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12351         by a special keyword.
12353         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12354         (ruby-syntax-general-delimiters-goto-beg)
12355         (ruby-syntax-propertize-general-delimiters): New functions.
12356         (ruby-syntax-propertize-function): Use them to handle GDL.
12357         (ruby-font-lock-keywords): Move old handling of GDL...
12358         (ruby-font-lock-syntactic-keywords): .. to here.
12359         (ruby-calculate-indent): Adjust indentation for GDL.
12361 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
12363         * notifications.el (top): Remove unneeded declarations.
12364         (notifications-specification-version): Change to "1.2".
12365         (notifications-interface, notifications-notify-method)
12366         (notifications-close-notification-method): Fix docstring.
12367         (notifications-get-capabilities-method): New defconst.
12368         (notifications-notify): Add :action-items, :resident and
12369         :transient hints.  Change "image_data" to "image-data" and
12370         "image_path" to "image-path".
12371         (notifications-get-capabilities): New defun.
12373 2012-04-24  Leo Liu  <sdl.web@gmail.com>
12375         * progmodes/python.el: Move hideshow setup to the end.
12377 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
12379         * window.el (handle-select-window): Clear echo area since this is
12380         no more done by read_char (Bug#11304).
12382 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12384         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12385         and `/ M' to filter-derived-mode.
12386         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12387         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12388         (ibuffer-mark-by-mode): Use default rather than initial-input.
12389         (ibuffer-filter-by-derived-mode): Autoload and require-match.
12391 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
12393         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12394         (ibuffer-filter-by-derived-mode): New filter.
12395         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12397 2012-04-23  Andreas Politz  <politza@fh-trier.de>
12399         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12401 2012-04-23  Chong Yidong  <cyd@gnu.org>
12403         * cus-edit.el (customize-apropos, customize-apropos-options):
12404         Disable matching of non-option variables (Bug#11176).
12405         (customize-option, customize-option-other-window)
12406         (customize-changed-options): Doc fix.
12407         (customize-apropos-options, customize-apropos-faces)
12408         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12410         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12411         Fix word list splitting (Bug#11132).
12412         (apropos-symbol, apropos-keybinding, apropos-label)
12413         (apropos-property, apropos-function-button)
12414         (apropos-variable-button, apropos-misc-button): New faces.
12415         (apropos-symbol-face, apropos-keybinding-face)
12416         (apropos-label-face, apropos-property-face, apropos-match-face):
12417         Variables removed (Bug#8396).
12418         (apropos-library-button, apropos-format-plist, apropos-print)
12419         (apropos-print-doc, apropos-describe-plist): Callers changed.
12421 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
12423         * net/xesam.el (xesam-mode-map): Use let-bound map in
12424         initialization.  (Bug#11292)
12426 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12428         Preserve ispell session localwords when switching back to
12429         original buffer.
12431         * textmodes/ispell.el (ispell-buffer-session-localwords):
12432         New buffer-local variable to hold buffer session localwords.
12433         (ispell-kill-ispell): Add option 'clear to delete session
12434         localwords.
12435         (ispell-command-loop, ispell-change-dictionary)
12436         (ispell-buffer-local-words): Preserve session localwords when
12437         needed.
12439         * textmodes/flyspell.el (flyspell-process-localwords)
12440         (flyspell-do-correct): Preserve session localwords when needed.
12442 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12444         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12445         using obsolete `translation-table-for-input'.
12446         (ispell-word, ispell-process-line, ispell-complete-word):
12447         Use plain `insert' instead of removed `ispell-insert-word'.
12449 2012-04-22  Chong Yidong  <cyd@gnu.org>
12451         * cus-edit.el (custom-variable-menu)
12452         (custom-variable-reset-saved, custom-face-menu)
12453         (custom-face-reset-saved): If there is no saved value, make the
12454         "reset-saved" operation bring back the default (Bug#9509).
12455         (custom-face-state): Properly detect themed faces.
12457         * faces.el (face-spec-set): Stop supporting deprecated form of
12458         third arg.
12460 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
12462         Move functions from C to Lisp.  Make non-blocking method calls
12463         the default.  Implement further D-Bus standard interfaces.
12465         * net/dbus.el (dbus-message-internal): Declare function.
12466         Remove unneeded function declarations.
12467         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12468         (dbus-message-type-method-return, dbus-message-type-error)
12469         (dbus-message-type-signal): Declare variables.  Remove local
12470         definitions.
12471         (dbus-interface-dbus, dbus-interface-peer)
12472         (dbus-interface-introspectable, dbus-interface-properties)
12473         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12474         Adapt docstring.
12475         (dbus-interface-objectmanager): New defconst.
12476         (dbus-call-method, dbus-call-method-asynchronously)
12477         (dbus-send-signal, dbus-method-return-internal)
12478         (dbus-method-error-internal, dbus-register-service)
12479         (dbus-register-signal, dbus-register-method): New defuns, moved
12480         from dbusbind.c
12481         (dbus-call-method-handler, dbus-setenv)
12482         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12483         New defuns.
12484         (dbus-call-method-non-blocking): Make it an obsolete function.
12485         (dbus-unregister-object, dbus-unregister-service)
12486         (dbus-handle-event, dbus-register-property)
12487         (dbus-property-handler): Obey the new structure of
12488         `bus-registered-objects'.
12489         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
12490         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12491         Use `dbus-call-method'.
12493 2012-04-22  Chong Yidong  <cyd@gnu.org>
12495         * cus-edit.el (custom-commands, custom-reset-menu)
12496         (Custom-reset-standard): Tweak labels.
12497         (custom-reset-button-menu): Change default to t.
12498         (custom-buffer-create-internal): For the custom-reset-button-menu
12499         case, put the revert button first.
12500         (custom-group-subtitle): New face.
12501         (custom-group-value-create): Align docstring to a specific column.
12503         * wid-edit.el (widget-documentation-link-add): Don't handle
12504         indentation in this function.
12505         (widget-documentation-string-indent-to): New function.
12506         (widget-documentation-string-value-create): Use it.
12508         * autorevert.el (auto-revert):
12509         * epg-config.el (epg):
12510         * ibuffer.el (ibuffer):
12511         * mpc.el (mpc):
12512         * ses.el (ses):
12513         * eshell/eshell.el (eshell):
12514         * net/ange-ftp.el (ange-ftp):
12515         * progmodes/ebnf2ps.el (postscript):
12516         * progmodes/flymake.el (flymake):
12517         * progmodes/prolog.el (prolog):
12518         * progmodes/verilog-mode.el (verilog-mode):
12519         * progmodes/which-func.el (which-func):
12520         * term/xterm.el (xterm):
12521         * textmodes/picture.el (picture):
12522         * textmodes/tildify.el (tildify):
12523         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12524         customization buffers.
12526 2012-04-22  Alan Mackenzie  <acm@muc.de>
12528         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12529         Adding a ) can hide the resulting (..) from searches.  Fix it.
12530         Bound the backward search to the position of the existing (.
12532 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
12534         * progmodes/verilog-mode.el (verilog-mode): Check whether
12535         which-func-modes is t before adding verilog-mode.
12536         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12538 2012-04-21  Leo Liu  <sdl.web@gmail.com>
12540         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12542 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
12544         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12545         filling of the last column of a table (Bug#5635).
12546         (woman-find-next-control-line): New arg, specifying an additional
12547         regexp component for the control line.
12548         (woman2-roff-buffer): Use it.
12549         (woman-break-table): New function.
12550         (woman2-TS): Use it.
12552 2012-04-21  Chong Yidong  <cyd@gnu.org>
12554         * woman.el (woman-set-buffer-display-table, woman-decode-region)
12555         (woman-horizontal-escapes, woman-negative-vertical-space)
12556         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12557         (WoMan-warn-ignored): Use ?\s instead of ?\ .
12559 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12561         * minibuffer.el (completion-file-name-table): Complete user names.
12563 2012-04-20  Leo Liu  <sdl.web@gmail.com>
12565         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12566         and pcase-let*.
12568 2012-04-20  Chong Yidong  <cyd@gnu.org>
12570         * server.el (server-execute): Respect initial-buffer-choice if it
12571         is a string and there are no files to open (Bug#2825).
12572         (server-create-window-system-frame, server-create-tty-frame):
12573         Don't switch buffers here.
12574         (server-process-filter): Only try to open a window system frame if
12575         compiled with graphical support (Bug#8314).
12577 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
12579         * battery.el (battery-echo-area-format): Display remaining time
12580         for sysfs backend too (Bug#11269).
12581         (battery-linux-sysfs): Fix conditional for the charge.
12583 2012-04-20  Chong Yidong  <cyd@gnu.org>
12585         * progmodes/gdb-mi.el (gdb): Revert previous change.
12586         (gdb-inferior-io--init-proc): New function.
12587         (gdb-init-1): Use it.
12588         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12589         responsible for allocating a new pty and hooking it to gdb when
12590         the old pty gets an EIO due to process exit.
12591         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
12592         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12593         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12595 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
12597         * window.el (window-min-size, window-sizable, window-min-delta)
12598         (window-max-delta, window--resizable, window-resizable)
12599         (window-total-size, window-full-height-p, window-full-width-p)
12600         (window-in-direction, window--resize-mini-window, window-resize)
12601         (window--resize-child-windows-normal)
12602         (window--resize-child-windows, window--resize-siblings)
12603         (window--resize-this-window, adjust-window-trailing-edge)
12604         (enlarge-window, shrink-window): Doc fixes.
12606 2012-04-20  Chong Yidong  <cyd@gnu.org>
12608         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12609         New function to call delete-process on the gdb-inferior buffer's pty.
12610         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12611         pty process (Bug#11273).
12612         (gdb-update): New arg to suppress talking to the gdb process.
12613         (gdb-done-or-error): Use it.
12614         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12615         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12616         sentinel not being called.
12618         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12620         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12622 2012-04-20  Glenn Morris  <rgm@gnu.org>
12624         * net/network-stream.el (open-network-stream): Doc fix.
12626 2012-04-20  Chong Yidong  <cyd@gnu.org>
12628         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12630 2012-04-20  Alan Mackenzie  <acm@muc.de>
12632         Ensure searching for keywords is case sensitive.
12634         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12635         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12636         (c-defun-name, c-mark-function, c-cpp-define-name)
12637         (c-comment-indent, c-scan-conditionals, c-indent-defun)
12638         (c-context-line-break): Bind case-fold-search to nil.
12640         * progmodes/cc-mode.el (c-font-lock-fontify-region):
12641         Bind case-fold-search to nil.
12643 2012-04-20  Chong Yidong  <cyd@gnu.org>
12645         * mail/sendmail.el (mail-bury): Call return action with the right
12646         Rmail buffer (Bug#11242).
12648         * server.el (server-process-filter): Handle corner case where both
12649         tty and nowait options are present (Bug#11102).
12651 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
12653         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12654         (top level): Put into the executable the ident-style '$Id:' tag on
12655         windows-nt as well.
12657 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12659         * electric.el (electric-indent-post-self-insert-function): Check that
12660         electric-indent-mode is enabled in current buffer.
12662 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
12664         * imenu.el (imenu-progress-message): Restore; it is "used" in
12665         erc/erc-imenu.el and net/snmp-mode.el.
12667 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
12669         * avoid.el (mouse-avoidance-mode): Mark unused arg.
12670         (mouse-avoidance-nudge-mouse): Remove unused binding.
12672         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12674         * descr-text.el (describe-char):
12675         * progmodes/python.el (python-describe-symbol):
12676         Don't call `toggle-read-only', set `buffer-read-only'.
12678         * imenu.el (imenu-default-goto-function): Mark unused args.
12679         (imenu-progress-message): Remove obsolete macro; all callers changed.
12681         * subr.el (keymap-canonicalize): Remove unused binding.
12682         (read-passwd): Mark unused arg.
12684         * tutorial.el (tutorial--display-changes): Remove unused binding.
12685         (tutorial--save-tutorial-to): Remove unused variable.
12687         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12688         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12689         (package-generate-autoloads, package-menu--generate)
12690         (package-menu--find-upgrades): Remove unused bindings.
12692         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12693         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
12694         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12695         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12696         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12697         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12698         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12699         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12700         (cua-delete-char-rectangle): Mark unused args.
12701         (cua-align-rectangle): Remove unused binding.
12703         * mail/rmail.el (compilation--message->loc)
12704         (epa--find-coding-system-for-mime-charset): Declare.
12706         * net/dbus.el (dbus-register-service): Declare.
12707         (dbus-name-owner-changed-handler): Remove unused binding.
12709         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12710         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12711         (nxml-scan-backward-within): Mark unused arg.
12712         (nxml-dynamic-markup-word): Remove unused binding.
12714         * mouse.el (mouse-menu-major-mode-map):
12715         * emacs-lisp/authors.el (authors-scan-change-log)
12716         (authors-add-to-author-list):
12717         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12718         * emacs-lisp/smie.el (smie-auto-fill):
12719         * mail/sendmail.el (mail-bury):
12720         * mail/unrmail.el (unrmail):
12721         * net/tls.el (open-tls-stream):
12722         * textmodes/picture.el (picture-mouse-set-point):
12723         Remove unused bindings.
12725 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
12727         * net/tramp.el (tramp-action-password): Let-bind
12728         `enable-recursive-minibuffers' to t.
12730 2012-04-18  Sam Steingold  <sds@gnu.org>
12732         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12733         instead of 'string to accommodate values like [f11].
12734         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12735         * progmodes/gdb-mi.el: Likewise.
12737 2012-04-18  Leo Liu  <sdl.web@gmail.com>
12739         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12740         current buffer.
12741         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12742         LOCAL is nil.
12744 2012-04-18  Chong Yidong  <cyd@gnu.org>
12746         * simple.el (line-move): Use forward-line if in batch mode
12747         (Bug#11053).
12749 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
12751         * files.el (after-find-file): Do not try to add a final newline if
12752         the buffer is read-only (Bug#11156).
12754 2012-04-17  Richard Stallman  <rms@gnu.org>
12756         * mail/rmail.el (rmail-start-mail):
12757         Pass (rmail-mail-return...) for the return-action.
12758         Pass (rmail-yank-current-message...) for the yank-action.
12759         (rmail-yank-current-message): New function.
12760         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12761         (rmail-reply): Likewise.
12762         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12764         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12765         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
12766         buffer, not newbuf.
12768 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
12770         * server.el (server-ensure-safe-dir): Simplify.
12772 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12774         * emacs-lisp/smie.el: Provide smarter auto-filling.
12775         (smie-auto-fill): New function.
12776         (smie-setup): Use it.
12778         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12780 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
12782         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12783         (comment-indent): Use it.
12785 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12787         * ses.el: The overall change is to add cell renaming, that is
12788         setting fancy names for cell symbols other than name matching
12789         "\\`[A-Z]+[0-9]+\\'" regexp .
12790         (ses-localvars): Add ses--renamed-cell-symb-list.
12791         (ses-create-cell-variable): New defun.
12792         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12793         (ses-relocate-formula): Relocate formulas only for cells the
12794         symbols of which are not renamed, i.e. symbols whose names do not
12795         match regexp "\\`[A-Z]+[0-9]+\\'".
12796         (ses-relocate-all): Relocate values only for cells the symbols of
12797         which are not renamed.
12798         (ses-load): Create cells variables as the (ses-cell ...) are read,
12799         in order to check row col consistency with cell symbol name only
12800         for cells that are not renamed.
12801         (ses-replace-name-in-formula): New defun.
12802         (ses-rename-cell): New defun.
12804 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
12806         * progmodes/perl-mode.el (perl-indent-parens-as-block):
12807         New option (bug#11118).
12808         (perl-calculate-indent): Respect it.
12810 2012-04-17  Glenn Morris  <rgm@gnu.org>
12812         * dired-aux.el (dired-mark-read-string): Doc fix.
12814 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
12816         * dired-aux.el (dired-mark-read-string): Offer optional completion.
12817         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
12819 2012-04-17  Glenn Morris  <rgm@gnu.org>
12821         * mouse.el (mouse-drag-track):
12822         * speedbar.el (speedbar-frame-mode):
12823         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12825 2012-04-16  Leo Liu  <sdl.web@gmail.com>
12827         * progmodes/python.el: Trivial cleanup.
12829 2012-04-16  Glenn Morris  <rgm@gnu.org>
12831         * vc/vc.el (vc-string-prefix-p):
12832         * vc/pcvs-util.el (cvs-string-prefix-p):
12833         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12834         * mpc.el (mpc-string-prefix-p):
12835         Make all of these into obsolete aliases for string-prefix-p.
12836         Update callers.
12837         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12839         * textmodes/two-column.el: Move custom options to the start.
12840         (frame-width): Remove compat definition.
12841         (2C-associate-buffer, 2C-dissociate):
12842         Use with-current-buffer rather than save-excursion.
12843         (2C-dissociate): Force a mode-line update.
12844         (2C-autoscroll): Use ignore-errors.
12846         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12847         Autoload trivia.
12849         * emacs-lisp/cl-extra.el (*random-state*):
12850         Remove unnecessary declaration.
12852         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12854         * play/cookie1.el (cookie-snarf):
12855         Give an explicit error if input file cannot be read.
12857         * play/yow.el (yow-file): Use expand-file-name rather than concat.
12859         * progmodes/perl-mode.el (c-macro-expand):
12860         Remove unnecessary autoload (it is in loaddefs.el).
12862         * textmodes/picture.el (picture-desired-column)
12863         (picture-update-desired-column): Convert comments to doc-strings.
12864         (picture-substitute): Remove function.
12865         (picture-mode-map): Initialize in the defvar.
12867         * woman.el: Remove eval-after-load for tar-mode.
12868         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12869         (woman-tar-extract-file): Autoload it.
12871         * frame.el (automatic-hscrolling): Make this alias obsolete.
12873 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12875         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12876         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12877         (ispell-dictionary-base-alist): Revert to original XEmacs
12878         friendly version for default.  [:alpha:] will be added in
12879         `ispell-set-spellchecker-params' if needed.
12881 2012-04-16  Chong Yidong  <cyd@gnu.org>
12883         * image.el (imagemagick--file-regexp): New variable.
12884         (imagemagick-register-types): Use it.
12885         (imagemagick-types-inhibit): Add :set function.  Allow new value
12886         of t to inhibit all types.
12888         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12889         so we can preload it.
12891         * loadup.el (fboundp): Preload regexp-opt, needed by
12892         imagemagick-register-types.
12894 2012-04-15  Chong Yidong  <cyd@gnu.org>
12896         * frame.el (scrolling): Remove nearly unused customization group.
12898         * scroll-all.el (scroll-all-mode): Move to windows group.
12900 2012-04-15  Chong Yidong  <cyd@gnu.org>
12902         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12904 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12906         Avoid the use of ((lambda ...) ...) in lexical-binding code.
12907         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12909 2012-04-15  Glenn Morris  <rgm@gnu.org>
12911         * simple.el (process-file-side-effects): Doc fix.
12913 2012-04-15  Glenn Morris  <rgm@gnu.org>
12915         * international/mule-cmds.el (set-language-environment): Doc fix.
12917 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
12919         * server.el (server-auth-key, server-generate-key): Doc fixes.
12920         (server-get-auth-key): Doc fix.  Use `string-match-p'.
12921         (server-start): Reflow docstring.
12923 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
12925         * server.el (server-generate-key): `called-interactively-p'
12926         requires a parameter.
12928 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
12930         * server.el (server-auth-key): New variable.
12931         (server-generate-key, server-get-auth-key): New function.
12932         (server-start): Use the new variable and functions to allow
12933         setting a permanent server key (bug#9423).
12935 2012-04-14  Leo Liu  <sdl.web@gmail.com>
12937         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12939 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
12941         Spelling fixes.
12942         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12943         Emacs uses American spelling.
12945 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
12947         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12948         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
12949         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12950         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
12952 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12954         * progmodes/which-func.el (which-func-modes): Change default.
12956 2012-04-14  Kim F. Storm  <storm@cua.dk>
12958         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12959         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12961 2012-04-14  Chong Yidong  <cyd@gnu.org>
12963         * custom.el (custom-theme-set-variables): Doc fix.
12965 2012-04-14  Glenn Morris  <rgm@gnu.org>
12967         * international/mule.el (set-auto-coding-for-load): Doc fix.
12969 2012-04-14  Alan Mackenzie  <acm@muc.de>
12971         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12972         imenu work again for Objective C Mode.  Correct the *-index values,
12973         these having been disturbed by a previous change in 2011-08.
12975         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12976         Correct two search limits.
12978 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12980         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12982 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
12984         * international/characters.el: Fix sorting.
12986 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12988         * international/characters.el: Add more missing Latin case pairs.
12990 2012-04-14  Glenn Morris  <rgm@gnu.org>
12992         * files.el (dir-locals-set-class-variables): Doc fix.
12994 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12996         * international/characters.el: Add set-case-syntax-pair call for
12997         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12998         counterpart.  (Bug#11209)
13000         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
13002 2012-04-14  Glenn Morris  <rgm@gnu.org>
13004         * calendar/holidays.el (calendar-check-holidays): Doc fix.
13006 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13008         * textmodes/ispell.el (ispell-dictionary-base-alist):
13009         Add data for Hebrew.
13011 2012-04-14  Chong Yidong  <cyd@gnu.org>
13013         * net/rcirc.el (rcirc-cmd-quit):
13014         Revert 2012-03-18 change (Bug#11192).
13016 2012-04-14  Glenn Morris  <rgm@gnu.org>
13018         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13020 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13022         * minibuffer.el (completion-in-region-mode-map):
13023         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
13025 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
13027         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13029 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
13031         * minibuffer.el (minibuffer-local-filename-syntax): New variable
13032         to allow `C-M-f' and `C-M-b' to move to the nearest path
13033         separator (bug#9511).
13035 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
13037         * avoid.el: Require cl when compiling.  And also move the
13038         `provide' to the end.
13040 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13042         * avoid.el (mouse-avoidance-banish-position): New variable.
13043         (mouse-avoidance-banish-destination): Use it (bug#10165).
13045 2012-04-13  Leo Liu  <sdl.web@gmail.com>
13047         * progmodes/which-func.el (which-func-modes): Add objc-mode.
13049 2012-04-13  Ken Brown  <kbrown@cornell.edu>
13051         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13052         this is no longer needed now that cygstart understands file:// URLs.
13053         (browse-url-filename-alist): For the same reason, don't modify
13054         file:// URLs on Cygwin.
13056 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13058         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13059         the region on shift if the binding is already shifted (bug#11221).
13061 2012-04-12  Glenn Morris  <rgm@gnu.org>
13063         * mail/mailpost.el: Move to obsolete/.
13065 2012-04-12  Drew Adams  <drew.adams@oracle.com>
13067         * imenu.el (imenu--generic-function): Ignore invisible definitions
13068         (bug#10123).
13070 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
13072         * hexl.el (hexl-bits): New variable.
13073         (hexl-options): Mention the variable in the doc string.
13074         (hexl-rulerise, hexl-line-displen): New functions.
13075         (hexl-mode): Mention the new variable.
13076         (hexl-mode, hexl-current-address, hexl-current-address):
13077         Use the displen.
13078         (hexl-ascii-start-column): New function.
13079         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13080         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13082 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13084         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13085         '("-i" ENCODING), in 2 separate command-line arguments, to specify
13086         the encoding, as expected by hunspell.
13088 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13090         * battery.el (battery--linux-sysfs-regexp): New const.
13091         (battery-status-function): Use it.  Remove yeeloong special case.
13092         (battery-yeeloong-sysfs): Remove.
13093         (battery-echo-area-format): Remove yeeloong special case.
13095 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13097         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13098         Reported by Noah Friedman.
13100         * subr.el (read-passwd): Use read-string.
13102 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13104         * vcursor.el (vcursor-move): Increase the priority of the overlay
13105         (bug#9663).
13107 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13109         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13110         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13112 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
13114         * textmodes/artist.el (artist-mode): Convert artist-mode to use
13115         define-minor-mode (bug#10760).
13117 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
13119         * progmodes/grep.el (rgrep): Tweak the find command line so
13120         that directories matching `grep-find-ignored-files' won't be
13121         pruned (bug#10351).
13123 2012-04-11  Chong Yidong  <cyd@gnu.org>
13125         * startup.el (command-line): Remove support for long-obsolete
13126         variable font-lock-face-attributes.
13128 2012-04-11  Glenn Morris  <rgm@gnu.org>
13130         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13132 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13134         * window.el (window--state-get-1): Obey window-point-insertion-type.
13136 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
13138         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13139         to previous function when point is on the first character of a
13140         function.  Take care of that in `narrow-to-defun' (bug#6157).
13142 2012-04-11  Glenn Morris  <rgm@gnu.org>
13144         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13145         not just file-errors.
13147         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13148         (vc-bzr-sha1): Use internal sha1.
13150 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13152         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13154 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
13156         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13157         that start in the middle of the line (bug#10496).
13159 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
13161         * battery.el (battery-linux-proc-acpi): Only one battery is
13162         discharged at a time, but that seems to confuse battery.el when
13163         computing `rate-type' for the battery not being discharged
13164         (bug#10332).
13166 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13168         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13170         * international/quail.el: Use dolist and simplify.
13171         (quail-define-package, quail-update-keyboard-layout)
13172         (quail-define-rules): Use dolist.
13173         (quail-insert-kbd-layout, quail-get-translation): CSE.
13175         * tmm.el: Use dolist, remove left over hook.
13176         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13177         Use dolist.
13178         (calendar-load-hook): Don't mess with it.
13180         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13181         Use derived-mode-p.  Run the diff asynchronously.
13183 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13185         * obsolete/mouse-sel.el: Add an Obsolete-since header.
13187 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
13189         * misc.el: Display absolute path of loaded DLLs (bug#10424).
13190         (list-dynamic-libraries--loaded): New function.
13191         (list-dynamic-libraries--refresh): Use it.
13193 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
13195         * progmodes/python.el (python-fill-paragraph):
13196         Make python-fill-region in a multiline string work when font-lock is
13197         disabled (bug#7018).
13199 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
13201         * language/european.el (cp775): Add oem/legacy (en)coding on
13202         DOS/MS Windows for the Baltic languages.  There are still plenty
13203         of texts written in this encoding/codepage (bug#6519).
13205 2012-04-10  Glenn Morris  <rgm@gnu.org>
13207         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13208         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13210 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
13212         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13213         next-line "n" and previous-line "p" in order to make recentf more
13214         consistent with ibuffer, dired or org-mode (bug#9387).
13216 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13218         * image.el (put-image): Return the overlay created instead of the
13219         optional input string (bug#7834).  Note that this may break code
13220         that is (for some reason or other) depending on `put-image'
13221         returning the string.
13223         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13225         * simple.el (zap-to-char): Allow zapping using input methods
13226         (bug#1580).
13228         * textmodes/fill.el (fill-region): Leave point and mark where they
13229         were before filling (bug#5399).
13231 2012-04-09  Glenn Morris  <rgm@gnu.org>
13233         * version.el (emacs-bzr-get-version):
13234         Handle lightweight checkouts of local branches.
13236 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
13238         * international/characters.el: Recover lost case pairs.  (Bug#11209)
13240 2012-04-09  Chong Yidong  <cyd@gnu.org>
13242         * custom.el (custom-variable-p): Return nil for non-symbol
13243         arguments instead of signaling an error.
13244         (user-variable-p): Obsolete alias for custom-variable-p.
13246         * apropos.el (apropos-variable):
13247         * files-x.el (read-file-local-variable):
13248         * simple.el (set-variable):
13249         * woman.el (woman-mini-help):
13250         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13252 2012-04-09  Glenn Morris  <rgm@gnu.org>
13254         * startup.el (normal-top-level): Don't look for leim-list.el
13255         in places where it will not be found.  (Bug#910)
13257         * international/mule-cmds.el (set-default-coding-systems):
13258         * files.el (normal-mode):
13259         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
13260         This function was removed with ucs-tables.el in 2008.
13262 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
13264         * textmodes/ispell.el (ispell-check-version): For hunspell, set
13265         ispell-encoding8-command to "-i", without a trailing space.
13266         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13267         separate command-line arguments, to specify the encoding, since
13268         that's how hunspell expects it.
13270 2012-04-08  Glenn Morris  <rgm@gnu.org>
13272         * loadup.el: Load bindings before cus-start.
13273         This reduces somewhat the number of "rogue" settings in emacs -Q.
13275 2012-04-07  Glenn Morris  <rgm@gnu.org>
13277         * version.el (emacs-bzr-get-version): New function.
13278         (emacs-bzr-version): New variable.
13279         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
13280         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13282 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
13284         * international/uni-bidi.el, international/uni-category.el:
13285         * international/uni-combining.el, international/uni-decimal.el:
13286         * international/uni-decomposition.el, international/uni-digit.el:
13287         * international/uni-lowercase.el, international/uni-mirrored.el:
13288         * international/uni-name.el, international/uni-numeric.el:
13289         * international/uni-titlecase.el, international/uni-uppercase.el:
13290         Update for Unicode 6.1.
13292 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
13294         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13296 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13298         * window.el (shrink-window): Mention the `window-min-height'
13299         variable in the doc string.
13301 2012-04-05  Bastien Guerry  <bzg@altern.org>
13303         * color.el (color-lighten-name): Fix typo.
13305 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13307         * server.el (server--on-display-p): New function.
13308         (server--on-display-p): Use it.
13310 2012-04-04  Gábor Vida  <vidagabor@gmail.com>  (tiny change)
13312         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13313         (bug#11145).
13315 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13317         * comint.el (comint--common-quoted-suffix): Check string boundary
13318         before comparing (bug#11158).
13319         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13321 2012-04-04  Chong Yidong  <cyd@gnu.org>
13323         * minibuffer.el (completion-extra-properties): Doc fix.
13325         * subr.el (delayed-warnings-hook): Doc fix.
13327 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
13329         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13330         selection (Bug#11159).
13331         (epa-insert-keys): Inform that the default public key will be
13332         exported if no key is selected.
13334 2012-04-04  Richard Stallman  <rms@gnu.org>
13336         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13338 2012-04-03  Chong Yidong  <cyd@gnu.org>
13340         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13341         mail-insert-file, not its obsolete alias mail-attach-file.
13343 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
13345         * notifications.el (notifications-notify): Fix docstring.
13347 2012-04-02  Glenn Morris  <rgm@gnu.org>
13349         * emacs-lisp/authors.el (authors-aliases): Another addition.
13351 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
13353         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13354         `tramp-compat-call-process' instead of `tramp-local-call-process'.
13355         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13357 2012-04-01  Chong Yidong  <cyd@gnu.org>
13359         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13360         Handle root directory properly.
13361         (copy-directory): Caller changed.
13363         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13364         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13366 2012-03-31  Glenn Morris  <rgm@gnu.org>
13368         * term/xterm.el (xterm-extra-capabilities): Doc fix.
13370         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
13372         * calendar/calendar.el (calendar-window-list)
13373         (calendar-hide-window): Restore.  (Bug#11140)
13374         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13376         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13378 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13380         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13381         Check if file is a symlink (Bug#10489).
13383         * files.el (copy-directory): Likewise.
13385 2012-03-30  Chong Yidong  <cyd@gnu.org>
13387         * image.el (imagemagick-types-inhibit)
13388         (imagemagick-register-types): Doc fix.
13390 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13392         * textmodes/ispell.el (ispell-get-extended-character-mode):
13393         Disable extended-char-mode for hunspell.  hunspell does not support it
13394         and treats ~word as ordinary words in pipe mode.
13396 2012-03-30  Glenn Morris  <rgm@gnu.org>
13398         * tutorial.el (help-with-tutorial): Ensure local variables don't
13399         happen to make the buffer read-only.  (Bug#11127)
13401 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13403         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13404         (perl-calculate-indent): Return `noindent' in strings.
13406 2012-03-28  Sam Steingold  <sds@gnu.org>
13408         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13409         instead of the broken adhockery which does not prevent calendar
13410         buffers from being displayed at random after exit.
13411         (calendar-window-list, calendar-hide-window): Remove the broken
13412         adhockery.
13414 2012-03-28  Glenn Morris  <rgm@gnu.org>
13416         * replace.el (query-replace-map): Doc fix.
13418 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
13420         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13421         contents.  (Bug#11109)
13423 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13425         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13426         (bug#11077).
13427         (avl-tree--check, avl-tree--check-node): New funs.
13429 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
13431         * window.el (switch-to-visible-buffer): New option.
13432         (switch-to-prev-buffer, switch-to-next-buffer):
13433         Observe switch-to-visible-buffer.  Make sure that checking for a window
13434         showing a buffer already is done on the same frame.
13436 2012-03-27  Glenn Morris  <rgm@gnu.org>
13438         * startup.el (mail-host-address): Doc fix.
13440 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13442         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13443         than 197 variables.
13445 2012-03-26  Ami Fischman  <ami@fischman.org>
13447         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13449 2012-03-26  Glenn Morris  <rgm@gnu.org>
13451         * files.el (save-buffers-kill-emacs): Doc fix.
13453         * startup.el (normal-top-level, command-line, command-line-1):
13454         Give them doc strings.
13456 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
13458         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13459         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13461 2012-03-25  Chong Yidong  <cyd@gnu.org>
13463         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13464         theme if it was previously enabled before (Bug#11031).
13466         * cus-theme.el (custom-theme-write-faces): Retrieve current face
13467         spec with custom-face-get-current-spec if its :shown-value is not
13468         determined yet (Bug#9337).
13469         (customize-create-theme, custom-theme-revert): Doc fixes.
13471         * button.el (button-at): Minor addition to docstring.
13473 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
13475         * vc/vc.el (vc-merge): Fix a prompt.
13477 2012-03-24  Chong Yidong  <cyd@gnu.org>
13479         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13480         point (Bug#9623).
13482         * button.el (button-at): Minor addition to docstring.
13484 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13486         * newcomment.el (comment-choose-indent): No space after BOL.
13488 2012-03-22  Sam Steingold  <sds@gnu.org>
13490         * window.el (switch-to-prev-buffer): Revert last patch because the
13491         bug turned out to be an advertised feature (Elisp manual 28.14).
13493 2012-03-22  Glenn Morris  <rgm@gnu.org>
13495         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
13496         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13498 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13500         * net/network-stream.el (network-stream-open-starttls): Make error
13501         message under Windows be less misleading.
13503 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
13505         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13506         understands (bug#9942).
13508 2012-03-22  Chong Yidong  <cyd@gnu.org>
13510         * simple.el (end-of-visible-line): Handle return value of
13511         next-single-property-change properly (Bug#9371).
13513 2012-03-22  Kenichi Handa  <handa@m17n.org>
13515         * international/quail.el (quail-insert-kbd-layout): Fix previous
13516         change.  To avoid unwanted bidi reordering, use
13517         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13519 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
13521         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13522         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13523         (ruby-beginning-of-indent): Be more careful with the difference
13524         between word-boundary and symbol boundary.
13525         (ruby-mode-syntax-table): Make : a symbol constituent.
13527 2012-03-21  Andreas Politz  <politza@fh-trier.de>
13529         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13531 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13533         * progmodes/etags.el (tags-completion-at-point-function):
13534         Improve last fix.
13536         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13538 2012-03-21  Sam Steingold  <sds@gnu.org>
13540         * progmodes/etags.el (tags-completion-at-point-function):
13541         Avoid the error when point is inside the pattern.
13543 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
13545         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13546         line (Bug#10855).
13548 2012-03-21  Drew Adams  <drew.adams@oracle.com>
13550         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13552 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
13554         * ido.el (ido-set-current-directory, ido-read-internal)
13555         (ido-choose-completion-string, ido-completion-help): Handle nil
13556         value of ido-completion-buffer (Bug#11008).
13558 2012-03-21  Sam Steingold  <sds@gnu.org>
13560         * window.el (switch-to-prev-buffer): Do not switch to a visible
13561         window previous buffer, just like with the frame previous buffers.
13563 2012-03-21  Chong Yidong  <cyd@gnu.org>
13565         * faces.el (make-face, make-empty-face, copy-face):
13566         * face-remap.el (face-remap-add-relative, face-remap-set-base):
13567         Doc fixes.
13569 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13571         * wid-edit.el (widget-complete-field): Remove (bug#11051).
13572         (widget-complete): Remove broken use of it.
13574 2012-03-20  Chong Yidong  <cyd@gnu.org>
13576         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13577         Use string-width and truncate-string-width to handle arbitrary
13578         characters.
13580 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
13582         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13583         to draw rectangles, not squares.  (Regression introduced by revno
13584         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13586 2012-03-18  Chong Yidong  <cyd@gnu.org>
13588         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13589         it is not yet defined (for temacs).
13591 2012-03-18  Leo Liu  <sdl.web@gmail.com>
13593         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13594         prefix.
13596 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
13598         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13599         (ispell-choices-win-default-height, ispell-silently-savep)
13600         (ispell-dictionary-alist, ispell-encoding8-command)
13601         (ispell-check-version, ispell-aspell-find-dictionary)
13602         (ispell-valid-dictionary-list, ispell-words-keyword)
13603         (ispell-get-word, ispell-internal-change-dictionary)
13604         (ispell-region, ispell-skip-region-list)
13605         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13606         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13607         (ispell-message-text-end, ispell-message)
13608         (ispell-buffer-local-parsing): Doc fix.
13610 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
13612         * htmlfontify.el: Add support for code block fontification for ODT
13613         export (Bug #9914).
13614         (hfy-optimisations): Define new option
13615         `body-text-only'
13616         (hfy-fontify-buffer): Honor above setting.
13617         (hfy-begin-span, hfy-end-span): New routines factored out form
13618         `hfy-fontify-buffer'.
13619         (hfy-begin-span-handler, hfy-end-span-handler): New variables
13620         that permit insertion of custom tags.
13621         (hfy-fontify-buffer): Use above handlers.
13622         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13623         (hfy-face-to-css): Re-defined to be a variable.
13624         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
13625         over multiple runs.  This is made possible by having the caller let
13626         bind a special variable `hfy-user-sheet-assoc'.
13627         (htmlfontify-string): New defun.
13628         (hfy-compile-face-map): Make sure that the last char in the
13629         buffer is correctly fontified.
13630         (hfy-face-resolve-face): Whitespace only change.
13632 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
13634         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13635         message more clear.
13637 2012-03-16  Leo Liu  <sdl.web@gmail.com>
13639         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13641 2012-03-16  Alan Mackenzie  <acm@muc.de>
13643         Further optimize the handling of large macros.
13645         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13646         limit to a call of `c-literal-limits'.
13647         (c-determine-+ve-limit): New function.
13648         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13649         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13650         In CASE 5B, restrict a search limit to 500.
13651         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13653         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13654         Restrict macro bounds to +-500 from after-change's BEG END.
13656 2012-03-16  Leo Liu  <sdl.web@gmail.com>
13658         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13660 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
13662         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13663         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
13665 2012-03-16  Glenn Morris  <rgm@gnu.org>
13667         * view.el (view-buffer, view-buffer-other-window)
13668         (view-buffer-other-frame): Doc fixes re special mode-class.
13670         * subr.el (eval-after-load): If named feature is provided not from
13671         a file, run after-load forms.  (Bug#10946)
13673         * calendar/calendar.el (calendar-insert-at-column):
13674         Handle non-unit-width characters a bit better.  (Bug#10978)
13676 2012-03-15  Chong Yidong  <cyd@gnu.org>
13678         * emacs-lisp/ring.el (ring-extend): New function.
13679         (ring-insert+extend): Extend the ring correctly (Bug#11019).
13681         * comint.el (comint-read-input-ring)
13682         (comint-add-to-input-history): Grow comint-input-ring lazily.
13684 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13686         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13687         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13689         * imenu.el: Fix multiple inheritance breakage (bug#9199).
13690         (imenu-add-to-menubar): Don't add a redundant index.
13691         (imenu-update-menubar): Handle a dynamically composed keymap.
13693 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
13695         * mail/sendmail.el (mail-encode-header):
13696         Bind rfc2047-encode-encoded-words to nil.
13698 2012-03-13  Glenn Morris  <rgm@gnu.org>
13700         * calendar/calendar.el (calendar-string-spread):
13701         Handle non-unit-width characters a bit better.  (Bug#10978)
13703 2012-03-13  Leo Liu  <sdl.web@gmail.com>
13705         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13706         directory and file as argument (Bug#10822).
13708 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
13710         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13711         For dynamically generated code, follow $PC.
13712         (gdb-disassembly-handler-custom): Handle no function name case.
13714 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
13716         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13717         * emulation/ws-mode.el (ws-query-replace):
13718         * sort.el (sort-regexp-fields):
13719         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
13721 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13723         * dabbrev.el: Fix cycle completion order (bug#10963).
13724         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13725         (dabbrev-completion): Don't use an obarray; provide
13726         a cycle-sort-function.
13728 2012-03-12  Leo Liu  <sdl.web@gmail.com>
13730         * simple.el (kill-new): Use equal-including-properties for comparison.
13731         (kill-do-not-save-duplicates): Doc fix.
13733 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13735         * dabbrev.el: Fix cycle completion (bug#10963).
13736         Use lexical binding and wrap to 80 columns.
13737         (dabbrev-completion): Delay computing the list of completions.
13739 2012-03-12  Kenichi Handa  <handa@m17n.org>
13741         * international/quail.el (quail-insert-kbd-layout): Surround each
13742         row by LRO and PDF instead of inserting many LRMs.  Pad the left
13743         and right of each non-spacing marks.  Insert invisible space
13744         between lower and upper characters to prevent composition.
13746 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13748         * minibuffer.el (minibuffer-complete): Don't get confused when the
13749         function is run twice via different commands (bug#10958).
13750         (complete-with-action): Fix docstring.
13752 2012-03-12  Chong Yidong  <cyd@gnu.org>
13754         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13755         (nxml-completion-at-point-function): New function.
13756         (nxml-mode): Use it.
13757         (nxml-bind-meta-tab-to-complete-flag): Default to t.
13759         * emacs-lisp/package.el (package-unpack, package-unpack-single):
13760         Load generated autoloads file before byte compiling (Bug#10970).
13761         (package--make-autoloads-and-compile): New helper fun.
13763 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
13765         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13767 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
13769         * autorevert.el (auto-revert-handler): Ensure, that
13770         file-readable-p is applied only for local files or in
13771         auto-revert-tail-mode.
13773 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
13775         * server.el (server-eval-at): Handle non-tcp connections.
13776         Decode result string.
13778         * server.el (server-msg-size): New constant.
13779         (server-reply-print): New function.
13780         (server-eval-and-print): Use it.
13781         (server-eval-at): Use server-quote-arg and server-unquote-arg.
13782         Handle -print-nonl.
13784 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
13786         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13787         (Bug#10987).
13789 2012-03-11  Chong Yidong  <cyd@gnu.org>
13791         * simple.el (goto-line): Doc fix (Bug#9938).
13793         * subr.el (save-window-excursion): Doc fix (Bug#9979).
13795         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13796         when finished (Bug#10963).
13798 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
13800         * window.el (split-window-below): Fix bug in case where
13801         split-window-keep-point is nil (Bug#10971).
13803 2012-03-11  Juri Linkov  <juri@jurta.org>
13805         * replace.el (replace-highlight): Set isearch-word to nil
13806         unconditionally.  (Bug#10887)
13808 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
13810         * net/mairix.el (mairix-replace-invalid-chars): Rename from
13811         mairix-replace-illegal-chars; all callers changed.  Don't remove
13812         ^, ~, and = characters: they are meaningful in mairix search specs.
13813         (mairix-widget-create-query): Add usage information about mairix
13814         search forms: negating words, searching for substrings, etc.
13816 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
13818         * international/fontset.el (font-encoding-alist): Add an entry for
13819         ksx1001 (Bug#5667).
13821 2012-03-10  Richard Stallman  <rms@gnu.org>
13823         * mail/sendmail.el (mail-encode-header):
13824         Set rfc2047-encode-encoded-words.
13826         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13828         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13829         view buffer means not swapped.
13830         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13831         (rmail-write-region-annotate): Error if real text has disappeared.
13833         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13835 2012-03-10  Chong Yidong  <cyd@gnu.org>
13837         * emulation/cua-rect.el (cua--init-rectangles):
13838         * emulation/cua-base.el (cua--init-keymaps):
13839         Add delete-forward-char to remappings (Bug#9666).
13841 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
13843         * speedbar.el (speedbar-unhighlight-one-tag-line):
13844         Avoid unhighlighting due to frame switching (Bug#10275).
13846 2012-03-10  Chong Yidong  <cyd@gnu.org>
13848         * minibuffer.el (completion-in-region, completion-help-at-point):
13849         Give the completion field overlay a high priority (Bug#6830).
13851         * dired.el (dired-goto-file): Recognize absolute file name
13852         listings (Bug#7126).
13853         (dired-goto-file-1): New helper function.
13854         (dired-toggle-read-only): Inhibit warnings.
13856 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
13858         * net/dbus.el (dbus-property-handler): Return empty array if
13859         there are no properties.
13861 2012-03-09  Leo Liu  <sdl.web@gmail.com>
13863         * savehist.el (savehist-printable): Stricter check for string
13864         value (Bug#10937).
13866 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
13868         * mail/smtpmail.el (smtpmail-send-it):
13869         Bind coding-system-for-write to *-unix, so that FCC files are kept in
13870         valid mbox format.
13872 2012-03-09  Glenn Morris  <rgm@gnu.org>
13874         * files.el (dir-locals-find-file):
13875         Don't check result is regular, readable.
13876         (dir-locals-read-from-file): Demote errors.
13878 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
13880         * international/quail.el (quail-insert-kbd-layout):
13881         Insert invisible LRM characters before each character in a keyboard
13882         layout cell, to prevent their reordering by bidi display engine.
13883         For details, see the discussion in
13884         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13886 2012-03-08  Alan Mackenzie  <acm@muc.de>
13888         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13889         the starting position; make it extend the marked region when
13890         invoked repeatedly - all under appropriate circumstances.
13891         Fixes bugs #5525, #10906.
13893 2012-03-08  Glenn Morris  <rgm@gnu.org>
13895         * files.el (locate-dominating-file, dir-locals-find-file):
13896         Undo 2012-03-06 change.
13898 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
13900         * international/quail.el (quail-help):
13901         Force bidi-paragraph-direction be left-to-right.  See discussion in
13902         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13903         for the reason.
13905 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
13907         Avoid superfluous registering of signals.  (Bug#10807)
13909         * notifications.el (notifications-on-action-object)
13910         (notifications-on-close-object): New defvars.
13911         (notifications-on-action-signal, notifications-on-closed-signal):
13912         Unregister the signal if not needed any longer.
13913         (notifications-notify): Register `notifications-action-signal' or
13914         `notifications-closed-signal', if :on-action or :on-close has been
13915         passed as argument.
13917 2012-03-07  Chong Yidong  <cyd@gnu.org>
13919         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13920         non-X platforms.
13922 2012-03-06  Glenn Morris  <rgm@gnu.org>
13924         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13925         (x-disown-selection-internal, x-get-selection-internal):
13926         Doc fix (add arglist signatures).  (Bug#10783)
13928 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
13930         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13931         Handle breakpoints with no "type".
13933 2012-03-06  Glenn Morris  <rgm@gnu.org>
13935         * files.el (locate-dominating-file): Add optional predicate argument.
13936         (dir-locals-find-file): Make use of above change.
13938 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
13940         * info.el (Info-insert-dir): Also try "dir.gz".
13942 2012-03-06  Glenn Morris  <rgm@gnu.org>
13944         * files.el (dir-locals-find-file):
13945         Ignore non-readable or non-regular files.  (Bug#10928)
13947         * files.el (locate-dominating-file): Doc fix.
13949 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
13951         * calendar/calendar.el (calendar-set-mode-line):
13952         `getenv' returns a string.  (Bug#10951)
13954 2012-03-05  Leo Liu  <sdl.web@gmail.com>
13956         * simple.el (backward-delete-char-untabify): Constrain point to
13957         field (Bug#10939).
13959         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13961 2012-03-05  Chong Yidong  <cyd@gnu.org>
13963         * simple.el (count-words): If called from Lisp, return the word
13964         count, for symmetry with `count-lines'.  Arglist changed.
13965         (count-words--message): Args changed.  Consolidate counting code
13966         from count-words and count-words-region.
13967         (count-words-region): Caller changed.
13968         (count-lines-region): Make it an obsolete alias.
13970 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
13972         * saveplace.el (save-place-to-alist)
13973         (save-place-ignore-files-regexp): Allow value nil to disable this
13974         feature.
13976 2012-03-04  Chong Yidong  <cyd@gnu.org>
13978         * faces.el (face-spec-reset-face): For the default face, reset the
13979         attributes to default values (Bug#10748).
13981 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13983         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13984         previous patch: Check `message-send-mail-function', and not the
13985         default function (bug#10897).
13987 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
13989         * notifications.el (notifications-on-action-signal)
13990         (notifications-on-closed-signal): Check for unique service name of
13991         incoming event.  Fix error in removing entry.
13992         (top): Register for signals with wildcard service name.
13993         (notifications-notify): Use daemon unique service name for map entries.
13995 2012-03-04  Chong Yidong  <cyd@gnu.org>
13997         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13999 2012-03-04  Glenn Morris  <rgm@gnu.org>
14001         * abbrev.el (copy-abbrev-table, abbrev-table-p)
14002         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14003         (expand-abbrev, define-abbrev-table): Doc fixes.
14005 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14007         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14008         `message-default-send-mail-function' and not `send-mail-function'
14009         when doing the prompting for `sendmail-query-once' before sending
14010         in Message buffers (bug#10897).
14012         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14013         This is inconsistent with all the other stream functions, which leave
14014         the setting up to the higher levels (if so wanted) (bug#10931).
14016 2012-03-02  Alan Mackenzie  <acm@muc.de>
14018         Depessimize the handling of very large macros.
14020         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14021         (c-macro-cache-syntactic): New variables to implement a one
14022         element macro cache.
14023         (c-invalidate-macro-cache): New function.
14024         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14025         Adapt to use the new cache.
14026         (c-state-safe-place): Use better the cache of safe positions.
14027         (c-state-semi-nonlit-pos-cache)
14028         (c-state-semi-nonlit-pos-cache-limit):
14029         New variables for...
14030         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
14031         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14032         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14033         Use c-state-semi-safe-place.
14035         * progmodes/cc-langs.el (c-get-state-before-change-functions):
14036         Add c-invalidate-macro-cache to the C, C++, Obj entries.
14038 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
14040         * jka-compr.el (jka-compr-call-process):
14041         Apply `file-accessible-directory-p' only when the default directory is
14042         not remote.
14044 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
14046         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
14047         access of FILE2, if FILE1 does not exist.
14049         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14050         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14052         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14053         Add "PAGER=" to `process-environment'.
14055 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
14057         * progmodes/sql.el: Bug fix
14058         (sql-get-login-ext): Save login values in globals.
14059         (sql-get-login): Use new version of `sql-get-login-ext'.
14060         (sql-interactive-mode): Set global `sql-connection' to nil.
14061         (sql-connect): Set global values for connection.
14062         (sql-product-interactive): Save global values as buffer local.
14064 2012-02-29  Leo Liu  <sdl.web@gmail.com>
14066         * abbrev.el (define-abbrevs): Reset sys to nil.
14068 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14070         * files.el (file-equal-p): Rename from `files-equal-p'.
14071         Return nil when one or both files don't exist.
14072         (file-subdir-of-p): Now only top directory must exists,
14073         return nil if it doesn't.
14074         (copy-directory): No need to test with `file-subdir-of-p' after
14075         creating dir.
14076         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14077         to `file-equal-p'.
14079 2012-02-28  Glenn Morris  <rgm@gnu.org>
14081         * shell.el (shell-mode):
14082         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14083         * play/landmark.el (landmark-font-lock-face-O):
14084         * play/handwrite.el (handwrite):
14085         * play/gomoku.el (gomoku-O):
14086         * net/browse-url.el (browse-url-browser-display):
14087         * international/mule.el (define-charset):
14088         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14089         * filesets.el (filesets-find-file-delay):
14090         * eshell/em-xtra.el (eshell-xtra):
14091         * eshell/em-unix.el (eshell-grep):
14092         * emulation/viper.el (viper-mode):
14093         * emacs-lisp/regexp-opt.el (regexp-opt-group):
14094         * emacs-lisp/easymenu.el (easy-menu-define):
14095         * calendar/timeclock.el (timeclock-use-display-time):
14096         * bs.el (bs-mode):
14097         * bookmark.el (bookmark-save-flag):
14098         Doc fix (standardize possessive apostrophe usage).
14100 2012-02-27  Chong Yidong  <cyd@gnu.org>
14102         * emulation/viper-cmd.el (viper-intercept-ESC-key):
14103         Fix key-binding lookup for ESC key (Bug#9146).
14105         * font-lock.el (font-lock-specified-p): Rename from
14106         font-lock-spec-present.  Callers changed.
14108 2012-02-27  Daniel Hackney  <dan@haxney.org>
14110         * emacs-lisp/package.el (package-compute-transaction):
14111         Handle holding a package version to t in package-load-list.
14113 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
14115         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14116         (tramp-get-inode, tramp-get-device): Use cached values.
14118 2012-02-26  Alan Mackenzie  <acm@muc.de>
14120         Check there is a font-lock specification before doing initial
14121         fontification.
14123         * font-core.el (font-lock-mode): Move the conditional from
14124         :after-hook to font-lock-initial-fontify.
14125         (font-lock-default-function): Move the check for a specification
14126         to font-lock-spec-present.
14128         * font-lock.el (font-lock-initial-fontify): Call ...
14129         (font-lock-spec-present): New function.
14131 2012-02-26  Jim Blandy  <jimb@red-bean.com>
14133         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14134         (gdb-send): Apply it to the operand of the '-interpreter-exec
14135         console' command, so that we can pass arguments with (say) quotes
14136         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
14138 2012-02-26  Chong Yidong  <cyd@gnu.org>
14140         * help-fns.el (describe-function-1): Clarify description of
14141         remapping (Bug#10844).
14143         * files.el (files-equal-p): Doc fix.
14144         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
14145         and quit the loop once a mismatch is found.
14147 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
14149         * bs.el (bs--show-with-configuration): Don't throw an error
14150         if the window cannot be split; otherwise, subsequent calls to
14151         bs-show fail, restoring a stale window config.  (Bug#10882)
14153 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
14155         * term/ns-win.el (global-map): Bind ns-drag-file to
14156         ns-find-file (Bug#5855, Bug#10050).
14158 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
14160         * calendar/parse-time.el (parse-time-string): Allow extractor to
14161         return nil.
14163 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
14165         * net/tramp.el (tramp-file-name-for-operation):
14166         Add `files-equal-p' and `file-subdir-of-p'.
14168         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14169         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14170         Add COPY-CONTENTS argument.
14172 2012-02-25  Chong Yidong  <cyd@gnu.org>
14174         Add custom groups for VC backends, for consistency with vc-bzr.
14176         * vc/vc-arch.el (vc-arch):
14177         * vc/vc-cvs.el (vc-cvs):
14178         * vc/vc-git.el (vc-git):
14179         * vc/vc-hg.el (vc-hg):
14180         * vc/vc-mtn.el (vc-mtn):
14181         * vc/vc-rcs.el (vc-rcs):
14182         * vc/vc-sccs.el (vc-sccs):
14183         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14184         All relevant defcustoms reassigned.
14186 2012-02-25  Chong Yidong  <cyd@gnu.org>
14188         * newcomment.el (comment-styles): Add autoload (Bug#10868).
14190         * term/x-win.el (x-initialize-window-system): Reduce default for
14191         x-selection-timeout to 5 seconds (Bug#8869).
14193 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14195         * files.el (files-equal-p, file-subdir-of-p): New functions.
14196         (copy-directory): Error when trying to copy a directory on itself.
14197         Add missing copy-contents arg to tramp handler.
14198         * dired-aux.el (dired-copy-file-recursive): Same.
14199         (dired-create-files): Modify destination when source is equal to
14200         dest when copying files.
14201         Return also when dest is a subdir of source.  (Bug#10489)
14203 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
14205         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14206         (Bug#10874)
14208 2012-02-23  Alan Mackenzie  <acm@muc.de>
14210         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14211         parameter "after-hook:" to allow the expansion to run code after
14212         the execution of the mode hooks.
14214         * font-lock.el (font-lock-initial-fontify): New function extracted
14215         from font-lock-mode-internal.
14217         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14218         :after-hook.
14220 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14222         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14223         (completion--cache-all-sorted-completions): New function.
14224         (completion-all-sorted-completions): Use it.
14225         (completion--do-completion, minibuffer-force-complete):
14226         Use it to re-instate the flush hook.
14228         * icomplete.el (icomplete-completions): Replace last fix with a better
14229         one (bug#10850).
14231 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
14233         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14234         when it might call us back infinitely (bug#10797).
14236 2012-02-23  Glenn Morris  <rgm@gnu.org>
14238         * minibuffer.el (completion-category-overrides): Doc fix.
14240 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14242         * minibuffer.el (completion-table-with-context): Fix inf-loop.
14243         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14245 2012-02-23  Glenn Morris  <rgm@gnu.org>
14247         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14248         (authors-obsolete-files-regexps, authors-ignored-files)
14249         (authors-ambiguous-files, authors-renamed-files-alist):
14250         Add more entries.
14252 2012-02-23  Juri Linkov  <juri@jurta.org>
14254         * isearch.el (isearch-occur): Sync interactive spec with occur's
14255         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
14257         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14259 2012-02-22  Juri Linkov  <juri@jurta.org>
14261         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14262         (ucs-insert): Doc fix.  Check for hex digits in the string.
14263         Don't display `nil' in the error message.  (Bug#10857)
14265 2012-02-22  Alan Mackenzie  <acm@muc.de>
14267         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14269 2012-02-22  Glenn Morris  <rgm@gnu.org>
14271         * ffap.el (ffap-c-path):
14272         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
14274 2012-02-22  Chong Yidong  <cyd@gnu.org>
14276         * custom.el (load-theme): Doc fix.
14278 2012-02-22  Glenn Morris  <rgm@gnu.org>
14280         * dired-x.el (dired-guess-shell-alist-default):
14281         Remove escape sequences from nroff output.  (Bug#172)
14283 2012-02-21  Glenn Morris  <rgm@gnu.org>
14285         * vc/emerge.el (emerge-defvar-local):
14286         Set `permanent-local' property rather than unused `preserved'.
14288         * textmodes/picture.el (picture-delete-char): New alias.
14289         (picture-mode-map): Use it.  (Bug#10860)
14290         (picture-mode): Doc fix.
14292 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
14294         * newcomment.el (uncomment-region-default): Remove unused binding.
14296 2012-02-21  Glenn Morris  <rgm@gnu.org>
14298         * textmodes/picture.el (picture-motion, picture-motion-reverse)
14299         (picture-self-insert, picture-tab-chars): Doc fix.
14300         (picture-mode-map): Fix C-a, C-e.
14302 2012-02-20  Glenn Morris  <rgm@gnu.org>
14304         * emacs-lisp/authors.el (authors-aliases): Add another entry.
14306 2012-02-20  Leo Liu  <sdl.web@gmail.com>
14308         * icomplete.el (icomplete-completions): Check FROM arg before
14309         passing to substring (Bug#10850).
14311 2012-02-19  Chong Yidong  <cyd@gnu.org>
14313         * comint.el: Require ansi-color.
14314         (comint-output-filter-functions): Add ansi-color-process-output.
14316         * ansi-color.el: Don't set comint-output-filter-functions; it is
14317         now in the initial value defined in comint.el.
14318         (ansi-color-apply-face-function): New variable.
14319         (ansi-color-apply-on-region): Use it.
14320         (ansi-color-apply-overlay-face): New function.
14322         * shell.el (shell): No need to require ansi-color.
14323         (shell-mode): Use ansi-color-apply-face-function to highlight
14324         color escapes using font-lock-face property (Bug#10835).
14326 2012-02-19  Chong Yidong  <cyd@gnu.org>
14328         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14329         mode-line formats (Bug#10839).
14331 2012-02-18  Glenn Morris  <rgm@gnu.org>
14333         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14335         * mail/undigest.el (unforward-rmail-message): Doc fix.
14337         * saveplace.el (save-place-ignore-files-regexp): Add :version.
14339 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
14341         * international/characters.el (script-list): Sync with the latest
14342         Unicode Character Database.
14344 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
14346         * international/titdic-cnv.el: Remove duplicate coding tag.
14347         * language/cham.el: Likewise.
14348         * language/tai-viet.el: Likewise.
14350 2012-02-18  Glenn Morris  <rgm@gnu.org>
14352         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14353         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14354         (calendar-bahai-all-holidays-flag, calendar-other-dates):
14355         * calendar/diary-lib.el (diary-abbreviated-year-flag):
14356         * calendar/holidays.el (holiday-bahai-holidays)
14357         (calendar-holidays, list-holidays):
14358         Use utf-8 Bahá'í in doc-strings, menus, etc.
14360 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
14362         * saveplace.el (save-place-ignore-files-regexp): New variable
14363         allowing for excluding files from saving their location of point.
14364         The default value matches the temporary commit message editing
14365         files from Git, SVN, Bazaar, and Mercurial.
14366         (save-place-to-alist): Use it.
14368 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
14369             Stefan Monnier  <monnier@iro.umontreal.ca>
14371         * newcomment.el (uncomment-region-default): Don't leave extra space
14372         when an arg is provided (bug#8150).
14374 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
14376         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14378 2012-02-17  Glenn Morris  <rgm@gnu.org>
14380         * net/socks.el: Require network-stream.  (Bug#10599)
14382 2012-02-17  Kenichi Handa  <handa@m17n.org>
14384         * international/charprop.el:
14385         * international/uni-name.el:
14386         * international/uni-old-name.el:
14387         * international/uni-comment.el: Regenerate.
14389 2012-02-16  Glenn Morris  <rgm@gnu.org>
14391         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14392         Interactively in calendar buffer, give an error if not on a date.
14394 2012-02-15  Glenn Morris  <rgm@gnu.org>
14396         * shell.el (shell-delimiter-argument-list):
14397         Revert 2011-02-17 change.  (Bug#8027)
14399 2012-02-15  Chong Yidong  <cyd@gnu.org>
14401         * minibuffer.el (completion-at-point-functions): Doc fix.
14403         * custom.el (defcustom): Doc fix; note use of defvar.
14405 2012-02-15  Glenn Morris  <rgm@gnu.org>
14407         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14408         Doc fixes.
14410 2012-02-14  Glenn Morris  <rgm@gnu.org>
14412         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14414 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
14416         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14417         way the ports list is computed.
14418         (smtpmail-query-smtp-server): Prompt the user for a port number if
14419         we can't connect to any of the standard ports (bug#10810).
14421 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
14423         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14425 2012-02-13  Glenn Morris  <rgm@gnu.org>
14427         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
14429 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
14431         * net/gnutls.el (gnutls-trustfiles): New variable.
14432         (gnutls-negotiate): Use it.
14434 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
14436         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14437         does its stuff if Gnus is running.
14439 2012-02-13  Alan Mackenzie  <acm@muc.de>
14441         Fix a loop in c-set-fl-decl-start.
14443         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14444         c-backward-syntactic-ws actually moves backwards.
14446 2012-02-13  Leo Liu  <sdl.web@gmail.com>
14448         * net/rcirc.el (rcirc-markup-attributes): Move point to the
14449         beginning so that all \C-o chars are removed.
14451 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
14453         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14455 2012-02-12  Alan Mackenzie  <acm@muc.de>
14457         Fix infinite loop with long macros.
14458         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14460 2012-02-12  Chong Yidong  <cyd@gnu.org>
14462         * window.el (display-buffer): Doc fix (Bug#10785).
14464 2012-02-12  Glenn Morris  <rgm@gnu.org>
14466         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14467         (x-disown-selection-internal, x-get-selection-internal):
14468         Sync docs with the xselect.c versions.
14470         * allout-widgets.el: Add missing license notice.
14472 2012-02-11  Glenn Morris  <rgm@gnu.org>
14474         * select.el (x-get-selection-internal, x-own-selection-internal)
14475         (x-disown-selection-internal):
14476         * x-dnd.el (x-get-selection-internal): Update declarations.
14478         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14480         * window.el (window-sides-slots):
14481         * tool-bar.el (tool-bar-position):
14482         * term/xterm.el (xterm-extra-capabilities):
14483         * ses.el (ses-self-reference-early-detection):
14484         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14485         (verilog-auto-wire-type)
14486         (verilog-auto-delete-trailing-whitespace)
14487         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14488         (verilog-auto-tieoff-declaration):
14489         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14490         (sql-oracle-statement-starters, sql-oracle-scan-on):
14491         * progmodes/prolog.el (prolog-align-comments-flag)
14492         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14493         (prolog-left-indent-regexp, prolog-paren-indent-p)
14494         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14495         (prolog-types, prolog-mode-specificators)
14496         (prolog-determinism-specificators, prolog-directives)
14497         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14498         (prolog-electric-dot-flag)
14499         (prolog-electric-dot-full-predicate-template)
14500         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14501         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14502         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14503         (prolog-program-switches, prolog-prompt-regexp)
14504         (prolog-debug-on-string, prolog-debug-off-string)
14505         (prolog-trace-on-string, prolog-trace-off-string)
14506         (prolog-zip-on-string, prolog-zip-off-string)
14507         (prolog-use-standard-consult-compile-method-flag)
14508         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14509         (prolog-imenu-max-lines, prolog-info-predicate-index)
14510         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14511         (prolog-char-quote-workaround):
14512         * progmodes/cc-vars.el (c-defun-tactic):
14513         * net/tramp.el (tramp-encoding-command-interactive)
14514         (tramp-local-end-of-line):
14515         * net/soap-client.el (soap-client):
14516         * net/netrc.el (netrc-file):
14517         * net/gnutls.el (gnutls):
14518         * minibuffer.el (completion-category-overrides)
14519         (completion-cycle-threshold)
14520         (completion-pcm-complete-word-inserts-delimiters):
14521         * man.el (Man-name-local-regexp):
14522         * mail/feedmail.el (feedmail-display-full-frame):
14523         * international/characters.el (glyphless-char-display-control):
14524         * eshell/em-ls.el (eshell-ls-date-format):
14525         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14526         (lisp-lambda-list-keyword-parameter-indentation)
14527         (lisp-lambda-list-keyword-parameter-alignment):
14528         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14529         * dired-x.el (dired-omit-verbose):
14530         * cus-theme.el (custom-theme-allow-multiple-selections):
14531         * calc/calc.el (calc-highlight-selections-with-faces)
14532         (calc-lu-field-reference, calc-lu-power-reference)
14533         (calc-note-threshold):
14534         * battery.el (battery-mode-line-limit):
14535         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14536         (archive-7z-update):
14537         * allout.el (allout-prefixed-keybindings)
14538         (allout-unprefixed-keybindings)
14539         (allout-inhibit-auto-fill-on-headline)
14540         (allout-flattened-numbering-abbreviation):
14541         * allout-widgets.el (allout-widgets-auto-activation)
14542         (allout-widgets-icons-dark-subdir)
14543         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14544         (allout-widgets-theme-dark-background)
14545         (allout-widgets-theme-light-background)
14546         (allout-widgets-item-image-properties-emacs)
14547         (allout-widgets-item-image-properties-xemacs)
14548         (allout-widgets-run-unit-tests-on-load)
14549         (allout-widgets-time-decoration-activity)
14550         (allout-widgets-hook-error-post-time)
14551         (allout-widgets-track-decoration):
14552         Add missing :version tags to new defcustoms and defgroups.
14554         * progmodes/sql.el (sql-ansi-statement-starters)
14555         (sql-oracle-statement-starters): Add custom type.
14557         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14558         (prolog-system-version): Give it a type.
14560 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
14562         * term/pc-win.el (x-select-text, x-selection-owner-p)
14563         (x-own-selection-internal, x-disown-selection-internal)
14564         (x-get-selection-internal): Sync doc strings and argument lists
14565         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
14567 2012-02-11  Leo Liu  <sdl.web@gmail.com>
14569         * progmodes/python.el (python-end-of-statement): Fix infinite
14570         loop.  (Bug#10788)
14572 2012-02-10  Glenn Morris  <rgm@gnu.org>
14574         * international/mule-cmds.el (unify-8859-on-encoding-mode)
14575         (unify-8859-on-decoding-mode): Properly mark as obsolete.
14577 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
14579         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14580         about SMTP before checking the From header.
14582         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14583         into own function for reuse by emacsbug.el.
14585 2012-02-10  Leo Liu  <sdl.web@gmail.com>
14587         * subr.el (condition-case-unless-debug): Rename from
14588         condition-case-no-debug.  All callers changed.
14589         (with-demoted-errors): Fix caller.
14591         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14592         * nxml/rng-valid.el (rng-do-some-validation):
14593         * emacs-lisp/package.el (package-refresh-contents)
14594         (package-menu-execute):
14595         * desktop.el (desktop-create-buffer):
14596         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14598 2012-02-10  Glenn Morris  <rgm@gnu.org>
14600         * textmodes/bibtex.el:
14601         Add missing :version tags for new/changed defcustoms.
14603         * files.el (remote-file-name-inhibit-cache): Doc fixes.
14605 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
14607         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14608         (smtpmail-via-smtp): Use it, or fall back on the From address.
14609         (smtpmail-send-it): Ditto.
14611 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14613         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14614         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
14615         (byte-compile-tmp-var): New const.
14616         (byte-compile-defvar): Use it to minimize .elc size.
14617         Just use `defvar' rather than simulate it (bug#10761).
14619 2012-02-09  Glenn Morris  <rgm@gnu.org>
14621         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
14623         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14624         Add :version tags.
14626         * progmodes/compile.el (compilation-error-screen-columns)
14627         (compilation-first-column, compilation-filter-start): Doc fixes.
14629         * vc/log-view.el (log-view-toggle-entry-display):
14630         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14632         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14633         (report-emacs-bug-can-use-xdg-email):
14634         (report-emacs-bug-insert-to-mailer): Doc fixes.
14635         (report-emacs-bug): Message fix.
14637         * net/browse-url.el (browse-url-can-use-xdg-open)
14638         (browse-url-xdg-open): Doc fixes.
14640         * electric.el (electric-indent-mode, electric-pair-mode)
14641         (electric-layout-rules, electric-layout-mode): Doc fixes.
14642         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14644 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
14646         * server.el (server-unselect-display): Don't inadvertently kill
14647         the current buffer.  (Bug#10729)
14649 2012-02-08  Glenn Morris  <rgm@gnu.org>
14651         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14652         (sql-list-table): Doc fixes.
14654         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14655         Comment out (does nothing).
14657         * completion.el (dynamic-completion-mode):
14658         * dirtrack.el (dirtrack-debug-mode):
14659         * electric.el (electric-layout-mode):
14660         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14661         * face-remap.el (text-scale-mode, buffer-face-mode):
14662         * iimage.el (iimage-mode):
14663         * image-mode.el (image-transform-mode):
14664         * minibuffer.el (completion-in-region-mode):
14665         * scroll-lock.el (scroll-lock-mode):
14666         * simple.el (next-error-follow-minor-mode):
14667         * tar-mode.el (tar-subfile-mode):
14668         * tooltip.el (tooltip-mode):
14669         * vcursor.el (vcursor-use-vcursor-map):
14670         * wid-browse.el (widget-minor-mode):
14671         * emulation/tpu-edt.el (tpu-edt-mode):
14672         * emulation/tpu-extras.el (tpu-cursor-free-mode):
14673         * international/iso-ascii.el (iso-ascii-mode):
14674         * language/thai-util.el (thai-word-mode):
14675         * mail/supercite.el (sc-minor-mode):
14676         * net/goto-addr.el (goto-address-mode):
14677         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14678         * progmodes/cwarn.el (cwarn-mode):
14679         * progmodes/flymake.el (flymake-mode):
14680         * progmodes/glasses.el (glasses-mode):
14681         * progmodes/hideshow.el (hs-minor-mode):
14682         * progmodes/pascal.el (pascal-outline-mode):
14683         * textmodes/enriched.el (enriched-mode):
14684         * vc/smerge-mode.el (smerge-mode):
14685         Doc fixes (minor mode argument).
14687 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
14689         * ls-lisp.el (ls-lisp-sanitize): New function.
14690         (ls-lisp-insert-directory): Use it to fix or remove any elements
14691         in file-alist with missing attributes.  (Bug#4673)
14693 2012-02-07  Alan Mackenzie  <acm@muc.de>
14695         Fix spurious recognition of c-in-knr-argdecl.
14697         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14698         putative K&R region.
14700 2012-02-07  Alan Mackenzie  <acm@muc.de>
14702         * progmodes/cc-engine.el (c-forward-objc-directive):
14703         Prevent looping in "#pragma mark @implementation".
14705 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
14707         * notifications.el (notifications-on-closed-signal): Make `reason'
14708         optional.  (Bug#10744)
14710 2012-02-07  Glenn Morris  <rgm@gnu.org>
14712         * emacs-lisp/easy-mmode.el (define-minor-mode):
14713         Doc fixes for the macro and the mode it defines.
14715         * image.el (imagemagick-types-inhibit): Doc fix.
14717         * cus-start.el (imagemagick-render-type): Add it.
14719 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
14721         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14722         Set the default at load time, too, so that `font-lock-fontify-buffer'
14723         can be called without setting up the entire mode first.  This fixes
14724         a bug in `mm-inline-text' with C MIME parts.
14726 2012-02-06  Chong Yidong  <cyd@gnu.org>
14728         * simple.el (list-processes--refresh): Delete exited processes
14729         (Bug#8094).
14731         * comint.el (comint-next-prompt): next-single-char-property-change
14732         and prev-single-char-property-change never return nil (Bug#8657).
14734         * custom.el (defcustom): Doc fix (Bug#9711).
14736 2012-02-05  Chong Yidong  <cyd@gnu.org>
14738         * cus-edit.el (custom-variable-reset-backup): Quote the value
14739         before storing it in the customized-value property (Bug#6712).
14740         (custom-display): Add a customization type tag.
14741         (custom-buffer-create-internal): Improve tooltip message.
14743         * wid-edit.el (widget-field-value-get): New optional arg to
14744         suppress trailing whitespace truncation.
14745         (character): Use it (Bug#2689).
14747 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
14749         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14750         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14752 2012-02-05  Chong Yidong  <cyd@gnu.org>
14754         * cus-edit.el (custom-variable-value-create): For mismatched
14755         types, show the current value (Bug#7600).
14757         * custom.el (defcustom): Doc fix.
14759 2012-02-05  Glenn Morris  <rgm@gnu.org>
14761         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14763 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
14765         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14766         (pp-buffer): Use `ignore-errors', `looking-at-p'.
14767         (pp-last-sexp): Use `looking-at-p'.
14769 2012-02-04  Glenn Morris  <rgm@gnu.org>
14771         * files.el (revert-buffer):
14772         Doc fix (mention revert-buffer-in-progress-p).
14774         * emacs-lisp/ert-x.el (ert-simulate-command):
14775         Check deferred-action-list (which is obsolete) is bound.
14777         * subr.el (with-wrapper-hook): Doc fixes.
14779         * simple.el (filter-buffer-substring-functions)
14780         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14782 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
14784         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14785         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
14787 2012-02-04  Leo Liu  <sdl.web@gmail.com>
14789         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14791 2012-02-04  Glenn Morris  <rgm@gnu.org>
14793         * image.el (image-extension-data): Add obsolete alias.
14795         * isearch.el (isearch-update): Doc fix.
14797         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14799         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14801 2012-02-03  Glenn Morris  <rgm@gnu.org>
14803         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
14804         (image-animate-timeout): Doc fix.
14806         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14808 2012-02-02  Glenn Morris  <rgm@gnu.org>
14810         * server.el (server-auth-dir): Doc fix.
14811         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
14813         * subr.el (run-mode-hooks): Doc fix.
14815 2012-02-02  Juri Linkov  <juri@jurta.org>
14817         * image-mode.el (image-toggle-display-image): Remove tautological
14818         `major-mode' from the `derived-mode-p' test.
14820 2012-02-02  Kenichi Handa  <handa@m17n.org>
14822         * composite.el (compose-region): Cancel previous change.
14824 2012-02-02  Kenichi Handa  <handa@m17n.org>
14826         * composite.el (compose-region, compose-string): Signal error for
14827         a null string component (Bug#6988).
14829 2012-02-01  Chong Yidong  <cyd@gnu.org>
14831         * view.el (view-buffer-other-window, view-buffer-other-frame):
14832         Handle special modes like view-buffer (Bug#10650).
14833         (view-buffer): Simplify.
14835         * frame.el (set-frame-font): Tweak meaning of third argument.
14837         * dynamic-setting.el (font-setting-change-default-font):
14838         Use set-frame-font (Bug#9982).
14840 2012-02-01  Glenn Morris  <rgm@gnu.org>
14842         * progmodes/compile.el (compilation-internal-error-properties):
14843         Respect compilation-first-column in the "*compilation*" buffer.
14845         * emacs-lisp/easy-mmode.el (define-minor-mode):
14846         Relax :variable's test for a named function.
14848 2012-01-31  Alan Mackenzie  <acm@muc.de>
14850         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14851         off by one error.
14853 2012-01-31  Chong Yidong  <cyd@gnu.org>
14855         * frame.el (set-frame-font): New arg ALL-FRAMES.
14857         * menu-bar.el (menu-set-font): Use set-frame-font.
14859         * faces.el (face-spec-reset-face): Don't apply unspecified
14860         attribute values to the default face.
14862 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
14864         * progmodes/cwarn.el (cwarn): Remove dead link.
14865         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14866         Remove * from defcustom docstrings.
14867         (turn-on-cwarn-mode): Make obsolete.
14868         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14869         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14871 2012-01-31  Glenn Morris  <rgm@gnu.org>
14873         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14874         Fix :variable handling of mode a symbol not equal to modefun.
14875         Allow named functions to be used as the cdr of :variable.
14877 2012-01-30  Glenn Morris  <rgm@gnu.org>
14879         * emacs-lisp/authors.el (authors-fixed-entries):
14880         Remove reference to deleted file rnewspost.el.
14882 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
14884         * window.el (window-with-parameter): Remove unused variable `windows'.
14885         (window--side-check): Remove unused variable `code'.
14886         (window--resize-siblings): Remove unused variable `first'.
14887         (adjust-window-trailing-edge): Remove unused variable `failed'.
14888         (window-deletable-p, window--delete): Remove unused variable `buffer'.
14889         Use `let', not `let*'.
14890         (balance-windows-2): Remove unused variable `found'.
14891         (window--state-put-2): Remove unused variable `splits'.
14892         (window-state-put): Remove unused variable `selected'.
14893         (same-window-p): Use `string-match-p'.
14894         (display-buffer-assq-regexp): Remove unused variable `value'.
14895         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14896         Mark argument ALIST as ignored.
14897         (pop-to-buffer): Remove unused variable `old-window'.
14899 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
14901         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14902         and .lzma compressed files.
14904 2012-01-29  Chong Yidong  <cyd@gnu.org>
14906         * frame.el (window-system-default-frame-alist): Doc fix.
14908         * dynamic-setting.el (font-setting-change-default-font): Don't
14909         change the default face if SET-FONT argument is non-nil (Bug#9982).
14911 2012-01-29  Samuel Bronson  <naesten@gmail.com>
14913         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14915 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
14917         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14918         breakpoints in files outside current directory (Bug#6098).
14920 2012-01-29  Chong Yidong  <cyd@gnu.org>
14922         * progmodes/python.el: Require ansi-color at top-level.
14924         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14925         Define and use in Emacs Lisp mode (Bug#9360).
14926         (lisp-mode-abbrev-table): Add doc.
14927         (lisp-mode-variables): Don't set local-abbrev-table.
14928         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14930 2012-01-28  Roland Winkler  <winkler@gnu.org>
14932         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14934 2012-01-28  Roland Winkler  <winkler@gnu.org>
14936         * textmodes/bibtex.el (bibtex-entry-alist): New function.
14937         (bibtex-set-dialect): Use it.  Either set global values of
14938         dialect-dependent variables or bind these variables buffer-locally
14939         (Bug#10254).
14940         (bibtex-mode): Call bibtex-set-dialect via
14941         hack-local-variables-hook.
14942         (bibtex-dialect): Update docstring.
14943         Add safe-local-variable predicate.
14944         (bibtex-entry-alist, bibtex-field-alist): Initialize via
14945         bibtex-set-dialect.
14946         (bibtex-mode-map): Define menu for each dialect.
14947         (bibtex-entry): Fix docstring.
14949 2012-01-28  Chong Yidong  <cyd@gnu.org>
14951         * eshell/esh-arg.el (eshell-quote-argument): New function.
14953         * eshell/esh-ext.el (eshell-invoke-batch-file):
14954         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14955         first arg to eshell-parse-command (Bug#10523).
14957 2012-01-28  Drew Adams  <drew.adams@oracle.com>
14959         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14960         `default-directory' is non-nil.
14962 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
14964         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14965         line that displays system-configuration-options.  (Bug#9924)
14967 2012-01-28  Drew Adams  <drew.adams@oracle.com>
14969         * descr-text.el (describe-char): Show information about POS, in
14970         addition to information about the character at POS.  Improve and
14971         update the doc string.  Change "code point" to "code point in
14972         charset", to avoid confusion with the character's Unicode code
14973         point shown above that.  (Bug#10129)
14975 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
14977         * descr-text.el (describe-char): Show the raw character, not only
14978         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
14979         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14980         for the reasons.
14982 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
14984         * emacs-lisp/package.el (package-install):
14985         Run package-refresh-contents if there is no archive yet (Bug#9798).
14987 2012-01-28  Chong Yidong  <cyd@gnu.org>
14989         * emacs-lisp/package.el (package-maybe-load-descriptor):
14990         New function, split from package-maybe-load-descriptor.
14991         (package-maybe-load-descriptor): Use it.
14992         (package-download-transaction): Fully load required packages
14993         inside the loop, so that `require' calls work (Bug#10593).
14994         (package-install): No need to call package-initialize now.
14996 2012-01-28  Chong Yidong  <cyd@gnu.org>
14998         * simple.el (deactivate-mark): Doc fix (Bug#8614).
15000         * tooltip.el (tooltip-mode): Doc fix.
15001         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15003         * frame.el (set-cursor-color): Doc fix (Bug#352).
15005         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15006         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15008         * cus-edit.el (custom-buffer-create-internal): Fix search button
15009         action (Bug#10542).
15010         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15012 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
15014         * dired.el (dired-mark-files-regexp):
15015         Include any subdirectory components.  (Bug#10445)
15017 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
15019         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15020         Handle [host]:port syntax.  (Bug#10533)
15022 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
15024         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15026 2012-01-26  Glenn Morris  <rgm@gnu.org>
15028         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15029         * term.el (term-raw-escape-map): Use Control-X-prefix.
15030         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
15032 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
15034         * window.el (window-state-get, window--state-get-1): Don't deal
15035         with fixed-sizeness of windows.  Simplify code.
15037 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
15039         * window.el (window--state-get-1, window--state-put-2):
15040         Don't save and restore the mark.
15042 2012-01-25  Chong Yidong  <cyd@gnu.org>
15044         * custom.el (custom-variable-p): Doc fix.
15046 2012-01-25  Glenn Morris  <rgm@gnu.org>
15048         * dired.el (dired-goto-file): Handle some of the more common
15049         characters that `ls -b' escapes.  (Bug#10596)
15051         * progmodes/compile.el (compilation-next-error-function):
15052         Respect compilation-first-column in the "*compilation*" buffer.
15053         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
15055         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
15057 2012-01-24  Glenn Morris  <rgm@gnu.org>
15059         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
15061 2012-01-24  Julien Danjou  <julien@danjou.info>
15063         * color.el (color-rgb-to-hsl): Fix value computing.
15064         (color-hue-to-rgb): New function.
15065         (color-hsl-to-rgb): New function.
15066         (color-clamp, color-saturate-hsl, color-saturate-name)
15067         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15068         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15070 2012-01-24  Glenn Morris  <rgm@gnu.org>
15072         * vc/vc-rcs.el (vc-rcs-create-tag):
15073         * vc/vc-sccs.el (vc-sccs-create-tag):
15074         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
15076 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
15078         * eshell/esh-util.el (eshell-read-hosts-file):
15079         Skip comment lines.  (Bug#10549)
15081         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
15083 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
15085         * subr.el (display-delayed-warnings): Doc fix.
15086         (collapse-delayed-warnings): New function to collapse identical
15087         adjacent warnings.
15088         (delayed-warnings-hook): Add it.
15090 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
15092         * net/tramp.el (tramp-action-login): Set connection property "login-as".
15094         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15095         (tramp-default-user-alist): Don't add "pscp".
15096         (tramp-do-copy-or-rename-file-out-of-band): Use connection
15097         property "login-as", if set.  (Bug#10530)
15099 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
15101         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15102         "plink1" and "psftp".  (Bug#10530)
15104 2012-01-21  Kenichi Handa  <handa@m17n.org>
15106         * international/mule-cmds.el (prefer-coding-system): Show a
15107         warning message if the default value of file-name-coding-system
15108         was not changed.
15110 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
15112         * windmove.el (windmove-reference-loc):
15113         Fix windmove-reference-loc miscalculation.
15115 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
15117         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15118         default unit.
15120 2012-01-21  Glenn Morris  <rgm@gnu.org>
15122         * international/mule.el (auto-coding-alist): Add .tbz.
15124         * files.el (local-enable-local-variables): Doc fix.
15125         (inhibit-local-variables-regexps): Rename from
15126         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
15127         Doc fix.  Add some extensions from auto-coding-alist.
15128         (inhibit-local-variables-suffixes):
15129         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
15130         (inhibit-local-variables-p):
15131         New function, extracted from set-auto-mode-1.
15132         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
15133         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
15134         (hack-local-variables): Doc fix.  Make the mode-only case
15135         respect enable-local-variables and friends.
15136         Respect inhibit-local-variables-regexps for file-locals, but
15137         not for directory-locals.
15138         (set-visited-file-name):
15139         Take account of inhibit-local-variables-regexps.
15140         Whether it applies may change as the file name is changed.
15141         * jka-cmpr-hook.el (jka-compr-install):
15142         * jka-compr.el (jka-compr-uninstall):
15143         Update for inhibit-first-line-modes-suffixes name change.
15145 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
15147         * help-macro.el (make-help-screen): Temporarily restore original
15148         binding for minor-mode-map-alist (Bug#10454).
15150 2012-01-19  Julien Danjou  <julien@danjou.info>
15152         * color.el (color-name-to-rgb): Use the white color to find the max
15153         color component value and return correctly computed values.
15154         (color-name-to-rgb): Add missing float conversion for max value.
15156 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
15158         * window.el (window--state-get-1, window-state-get): Do not use
15159         special state value for window-persistent-parameters.
15160         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
15161         (window--state-put-2): Reset all window parameters to nil before
15162         assigning values of persistent parameters.
15164 2012-01-18  Alan Mackenzie  <acm@muc.de>
15166         Eliminate sluggishness and hangs in fontification of "semicolon
15167         deserts".
15169         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15170         Change value 10000 -> 3000.
15171         (c-state-safe-place): Reformulate so it doesn't stack up an
15172         infinite number of wrong entries in c-state-nonlit-pos-cache.
15173         (c-determine-limit-get-base, c-determine-limit): New functions to
15174         determine backward search limits disregarding literals.
15175         (c-find-decl-spots): Amend commenting.
15176         (c-cheap-inside-bracelist-p): New function which detects "={".
15178         * progmodes/cc-fonts.el
15179         (c-make-font-lock-BO-decl-search-function): Give a limit to a
15180         backward search.
15181         (c-font-lock-declarations): Fix an occurrence of point being
15182         undefined.  Check additionally for point being in a bracelist or
15183         near a macro invocation without a semicolon so as to avoid a
15184         fruitless time consuming search for a declarator.  Give a more
15185         precise search limit for declarators using the new
15186         c-determine-limit.
15188 2012-01-18  Glenn Morris  <rgm@gnu.org>
15190         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15191         (set-auto-mode): Doc fixes.
15193 2012-01-17  Glenn Morris  <rgm@gnu.org>
15195         * isearch.el (search-nonincremental-instead): Fix doc typo.
15197         * dired.el (dired-insert-directory): Handle newlines in directory name.
15198         (dired-build-subdir-alist): Unescape newlines in directory name.
15200 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
15202         * net/tramp.el (tramp-local-end-of-line): New defcustom.
15203         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15204         (tramp-action-terminal): Use it.  (Bug#10530)
15206 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15208         * minibuffer.el (completion--replace): Strip properties (bug#10062).
15210 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
15212         * window.el (window-state-ignored-parameters): Remove variable.
15213         (window--state-get-1): Rename argument MARKERS to IGNORE.
15214         Handle persistent window parameters.  Make copy of clone-of
15215         parameter only if requested.  (Bug#10348)
15216         (window--state-put-2): Install a window parameter only if it has
15217         a non-nil value or an existing parameter shall be overwritten.
15219 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
15221         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15223 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
15225         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15226         don't pass the (nil) value of `upnode' to string-match.
15228 2012-01-14  Chong Yidong  <cyd@gnu.org>
15230         * startup.el (command-line): Fix X resource class for cursorColor.
15231         Fix values recognized by the cursorBlink resource.
15233 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
15235         * epg.el (epg--make-temp-file): Avoid permission race condition
15236         when running on old Emacs versions (bug#10403).
15238 2012-01-14  Glenn Morris  <rgm@gnu.org>
15240         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15242 2012-01-13  Alan Mackenzie  <acm@muc.de>
15244         Fix filling for when filladapt mode is enabled.
15246         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15247         c-mask-paragraph, pass in `fill-paragraph' rather than
15248         `fill-region-as-paragraph'.  (This is a reversion of a previous
15249         change.)
15250         * progmodes/cc-mode.el (c-basic-common-init):
15251         Make fill-paragraph-handle-comment buffer local and set it to nil.
15253 2012-01-13  Glenn Morris  <rgm@gnu.org>
15255         * dired.el (dired-switches-escape-p): New function.
15256         (dired-insert-directory): Use dired-switches-escape-p.
15257         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
15259         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
15261 2012-01-12  Glenn Morris  <rgm@gnu.org>
15263         * mail/sendmail.el (mail-mode): Update paragraph-separate for
15264         changes in adaptive-fill-regexp.  (Bug#10276)
15266 2012-01-11  Alan Mackenzie  <acm@muc.de>
15268         Fix Emacs bug #10463 - put `widen's around the critical spots.
15270         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15271         widen around each invocation of c-state-pp-to-literal.  Remove an
15272         unused let variable.
15274 2012-01-11  Glenn Morris  <rgm@gnu.org>
15276         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
15277         Doc fix.
15279 2012-01-10  Chong Yidong  <cyd@gnu.org>
15281         * net/network-stream.el (network-stream-open-starttls):
15282         Avoid emitting a confusing error message when the server gives a bad
15283         response to the capability command.
15285 2012-01-10  Glenn Morris  <rgm@gnu.org>
15287         * mail/unrmail.el (unrmail): Tweak previous change.
15289 2012-01-09  Chong Yidong  <cyd@gnu.org>
15291         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15293 2012-01-08  Alan Mackenzie  <acm@muc.de>
15295         Optimize font locking in long enum definitions.
15297         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15298         arm to a cond form to handle enums.
15299         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15300         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15302 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
15304         * files.el (move-file-to-trash): Preserve default file modes on error.
15305         (Bug#10401)
15307 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15309         * faces.el (set-face-attribute): Clarify the meaning of the nil
15310         frame (bug#10294).
15312         * subr.el (with-selected-frame): Mention that the selected frame
15313         is restored (bug#9980).
15315         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15316         (bug#9759).
15318         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15319         (password-read): Don't autoload unused function.
15321 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
15323         * progmodes/which-func.el (which-func-mode): Turn into a
15324         non-interactive function and mark as obsolete (bug#10428).
15326 2012-01-06  Chong Yidong  <cyd@gnu.org>
15328         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15329         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15330         functions, along with 1 and -1.
15332 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
15334         * time.el (display-time-load-average)
15335         (display-time-default-load-average): Doc fixes.  See the thread
15336         starting at
15337         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15338         for the details.
15340 2012-01-06  Glenn Morris  <rgm@gnu.org>
15342         * mail/unrmail.el (unrmail): Give an explicit error if the input file
15343         has no messages.  (Bug#10377)
15345         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15346         than Info-edit.  (Bug#10385)
15348         * time.el (display-time-load-average, display-time-next-load-average):
15349         Doc fixes.
15351         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15352         local setting of buffer-read-only to the input buffer.  (Bug#10419)
15354         * calendar/calendar.el (calendar-mode):
15355         Locally set scroll-margin to 0.  (Bug#10379)
15357 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
15359         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
15361 2012-01-05  Glenn Morris  <rgm@gnu.org>
15363         * eshell/em-unix.el (diff-no-select): Autoload it.
15364         (eshell/diff): Use diff-no-select.  (Bug#10420)
15366 2012-01-05  Chong Yidong  <cyd@gnu.org>
15368         * shell.el (shell-dynamic-complete-functions): Revert last change.
15369         (shell-command-completion-function): New function.
15370         (shell-completion-vars): Use it to implement
15371         shell-completion-execonly (Bug#10417).
15373         * custom.el (enable-theme): Don't set custom-safe-themes.
15375         * cus-theme.el (custom-theme-merge-theme):
15376         Ignore custom-enabled-themes and custom-safe-themes.
15378 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
15380         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15381         first prompt in `sql-interacive-mode'.
15382         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15383         keywords.
15384         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15385         (sql-product-interactive): Bug fix: Set `sql-buffer' in
15386         context of original buffer.  Invoke `sql-login-hook'.
15388 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
15390         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15391         letters in cite-prefix.
15393 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15395         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15397 2012-01-03  Chong Yidong  <cyd@gnu.org>
15399         * shell.el (shell-dynamic-complete-functions):
15400         Put pcomplete-completions-at-point, so as to try
15401         comint-filename-completion first (Bug#10417).
15403 2012-01-02  Richard Stallman  <rms@gnu.org>
15405         * battery.el (battery-status-function):
15406         Detect when to use battery-yeeloong-sysfs.
15407         (battery-echo-area-format): Add string for Yeeloong.
15408         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15409         (battery-yeeloong-sysfs): New function.
15411 2012-01-02  Chong Yidong  <cyd@gnu.org>
15413         * dirtrack.el (dirtrack-list): Eliminate unused third element.
15414         (dirtrack): Merge code for handling relative filenames in prompt
15415         from shell-dir-cookie-watcher.
15416         (dirtrack-debug-message): New arg to avoid excess format calls.
15418         * shell.el (shell-dir-cookie-re): Variable deleted.
15419         (shell-dir-cookie-watcher): Function deleted.
15420         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15421         with dirtrack-mode.
15423 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
15425         * term/w32-win.el (dynamic-library-alist) <gnutls>:
15426         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15427         libgnutls-26.dll.
15429 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
15431         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15433 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
15435         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15436         headers of non-MIME messages, when rmail-enable-mime is non-nil.
15438 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
15440         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15441         also for alternative shells.
15442         (tramp-open-connection-setup-interactive-shell): Check, whether
15443         the shell is a busybox.
15444         (tramp-send-command): Don't suppress multiple prompts for
15445         busyboxes, it hurts.
15447 2011-12-28  Chong Yidong  <cyd@gnu.org>
15449         * progmodes/gdb-mi.el (gdb-get-source-file-list)
15450         (gdb-get-source-file): Move mode line update to
15451         gdb-get-source-file (Bug#10087).
15453 2011-12-25  Chong Yidong  <cyd@gnu.org>
15455         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15456         gud-gdb-marker-filter without taking it as an argument.
15457         (gud-gdb-run-command-fetch-lines): Caller changed.
15458         (gud-gdb-completion-function): New variable.
15459         (gud-gdb-completion-at-point): Use it.
15460         (gud-gdb-completions-1): Split from gud-gdb-completions.
15462         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15463         function as separate arguments.
15464         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15465         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15466         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15467         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15468         (gdb-stopped, def-gdb-auto-update-trigger)
15469         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15470         (gdb-get-changed-registers, gdb-get-main-selected-frame):
15471         Callers changed.
15472         (gud-gdbmi-completions): New function.
15473         (gdb): Use it for generating the completion table.
15475 2011-12-24  Alan Mackenzie  <acm@muc.de>
15477         Introduce a mechanism to widen the region used in context font
15478         locking.  Use this to protect declarations from losing their contexts.
15480         * progmodes/cc-langs.el (c-before-font-lock-functions):
15481         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15482         (c-before-context-fontification-functions): New defvar, a list of
15483         functions to be run just before context (etc.) font locking.
15485         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15486         New, functionality extracted from
15487         c-neutralize-syntax-in-and-mark-CPP.
15488         (c-in-after-change-fontification): New variable.
15489         (c-after-change): Set c-in-after-change-fontification.
15490         (c-set-fl-decl-start): Rejig its interface, so it can be called
15491         from both after-change and context fontifying.
15492         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15493         New functions.
15494         (c-standard-font-lock-fontify-region-function): New variable.
15495         (c-font-lock-fontify-region): New function.
15497 2011-12-24  Juri Linkov  <juri@jurta.org>
15499         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15500         (Bug#10348)
15502 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
15504         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15505         existence of source file.  (Bug#10325)
15507 2011-12-23  Alan Mackenzie  <acm@muc.de>
15509         Fix unstable fontification inside templates.
15511         * progmodes/cc-langs.el (c-before-font-lock-functions):
15512         Newly created from the singular version.  The (c c++ objc) entry now
15513         additionally has c-set-fl-decl-start.  The other languages (apart
15514         from AWK) have that as a single entry.
15516         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15517         The functionality for "local" declarations has been extracted to
15518         c-set-fl-decl-start.
15520         * progmodes/cc-mode.el (c-common-init, c-after-change):
15521         Changes due to pluralisation of c-before-font-lock-functions.
15522         (c-set-fl-decl-start): New function, extracted from
15523         c-font-lock-enclosing-decls and enhanced.
15525 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
15527         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15529 2011-12-22  Juri Linkov  <juri@jurta.org>
15531         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
15533 2011-12-22  Chong Yidong  <cyd@gnu.org>
15535         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15537 2011-12-21  Drew Adams  <drew.adams@oracle.com>
15539         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
15541 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
15543         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15545 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
15547         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
15548         highlighting and support.  Fix up comments for capitalization.
15549         (cfengine-mode-debug): New var.
15550         (cfengine3-mode): Change the modeline indicator to "CFE3".
15551         (cfengine3-font-lock-keywords): Improve defun highlighting.
15552         (cfengine2-actions): Rename from `cfengine-actions'.
15553         (cfengine2-font-lock-keywords): Rename from
15554         `cfengine-font-lock-keywords'.
15555         (cfengine2-imenu-expression): Rename from
15556         `cfengine-imenu-expression'.
15557         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15558         (cfengine2-beginning-of-defun): Rename from
15559         `cfengine-beginning-of-defun'.
15560         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15561         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15562         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
15563         modeline indicator to "CFE2".
15564         (cfengine-mode): Defalias to `cfengine-auto-mode'.
15565         (cfengine-mode-abbrevs): Mark obsolete.
15567 2011-12-21  Chong Yidong  <cyd@gnu.org>
15569         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15570         filename argument.
15572 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
15574         * window.el (window-normalize-buffer-to-display): Remove.
15575         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15577 2011-12-19  Chong Yidong  <cyd@gnu.org>
15579         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15580         Don't signal an error in a predicate function; return non-nil.
15581         (vc-dir-mark-file): Move the error here.
15582         (vc-dir-mark-unmark): If acting on the region, keep going if one
15583         of the entries cannot be marked/unmarked.
15584         (vc-dir-mark-all-files): If current entry is a directory, mark
15585         only child files, as documented.
15587 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15589         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15590         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15591         addition.
15593 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
15595         * term/ns-win.el (ns-get-selection-internal)
15596         (ns-store-selection-internal): Declare.
15597         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15598         Declare as obsolete.
15599         (ns-get-pasteboard, ns-paste-secondary):
15600         Use ns-get-selection-internal.
15601         (ns-set-pasteboard, ns-copy-including-secondary):
15602         Use ns-store-selection-internal.
15604 2011-12-17  Chong Yidong  <cyd@gnu.org>
15606         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15607         (vc-deduce-fileset): Doc fix.
15609 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
15611         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15613 2011-12-13  Sam Steingold  <sds@gnu.org>
15615         * man.el (Man-getpage-in-background): When running under a
15616         window-system, ignore $MANWIDTH and $COLUMNS.
15618 2011-12-15  Kenichi Handa  <handa@m17n.org>
15620         * language/ethio-util.el: Change coding tag to utf-8-emacs.
15621         (setup-ethiopic-environment-internal): Comment out key-binding for
15622         ethio-toggle-punctuation.
15624 2011-12-13  Alan Mackenzie  <acm@muc.de>
15626         Add the switch statement to AWK Mode.
15628         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15629         "default" to the keywords regexp.
15631         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15632         expression as the rest.
15633         (c-nonlabel-token-key): Allow string literals for AWK.
15634         Refactor for the other modes.
15636         Large brace-block initialisation makes CC Mode slow: Fix.
15637         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15638         routines.  Limit backward searching in c-font-lock-enclosing.decl.
15640         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15641         pp-state and literal type in addition to the limits.
15642         (c-state-safe-place): New defun, extracted from c-state-literal-at.
15643         (c-state-literal-at): Use the above new defun.
15644         (c-slow-in-literal, c-fast-in-literal): Remove.
15645         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15647         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15648         being in a literal.  Add a limit for backward searching.
15650         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15651         c-slow-in-literal.
15653 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15655         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15657 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
15659         * window.el (delete-other-windows): Use correct frame in call to
15660         window-with-parameter.
15662 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
15664         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15665         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15666         (makefile-gmake-statements, makefile-makepp-statements):
15667         Use it and add new makepp keywords.
15668         (makefile-makepp-font-lock-keywords): Add new patterns.
15669         (makefile-match-function-end): Match new [...] and [[...]].
15671 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
15673         * ses.el (ses-call-printer-return, ses-cell-property-get)
15674         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15675         (ses-create-cell-variable, ses-reset-header-string)
15676         (ses-cell-set-formula, ses-repair-cell-reference-all)
15677         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15678         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15679         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15680         (ses-aset-with-undo, ses-load, ses-truncate-cell)
15681         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15682         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15683         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15684         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15685         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15686         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15687         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15688         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15690 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15692         * ses.el: The overall change is to add cell renaming, that is
15693         setting fancy names for cell symbols other than name matching
15694         "\\`[A-Z]+[0-9]+\\'" regexp .
15695         (ses-create-cell-variable): New defun.
15696         (ses-relocate-formula): Relocate formulas only for cells the
15697         symbols of which are not renamed, i.e. symbols whose names do not
15698         match regexp "\\`[A-Z]+[0-9]+\\'".
15699         (ses-relocate-all): Relocate values only for cells the symbols of
15700         which are not renamed.
15701         (ses-load): Create cells variables as the (ses-cell ...) are read,
15702         in order to check row col consistency with cell symbol name only
15703         for cells that are not renamed.
15704         (ses-replace-name-in-formula): New defun.
15705         (ses-rename-cell): New defun.
15707 2011-12-11  Chong Yidong  <cyd@gnu.org>
15709         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15710         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15712 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
15714         * window.el (other-window): Fix docstring.
15716 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
15718         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15719         `from' or `to' address before taking its substring.
15720         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15721         encoded name is chopped in the middle of the encoded string, and
15722         thus displayed encoded.
15724 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
15726         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15728 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
15730         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
15731         to use texinfo-update-node and commands that call it if the
15732         Texinfo file uses @node lines without next/prev/up pointers.
15733         Correct outdated description about texinfo-master-menu.
15734         (texinfo-all-menus-update, texinfo-master-menu)
15735         (texinfo-update-node, texinfo-every-node-update)
15736         (texinfo-multiple-files-update): Doc fix.  Warn against updating
15737         all the @node lines.
15738         (texinfo-master-menu): Only call texinfo-update-node if the prefix
15739         argument is numeric.  Explain better in the doc string what the
15740         function really does.
15741         (texinfo-insert-master-menu-list): Improve the error message
15742         displayed if there's no menu in the Top node.
15743         (Bug#2975)  See also this thread:
15744         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15746 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
15748         * speedbar.el (speedbar-supported-extension-expressions):
15749         Add .adb and .ads, commonly used for Ada source code (bug#10256).
15751 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
15753         * printing.el (pr-mode-alist):
15754         * simple.el (filter-buffer-substring-functions)
15755         (completion-list-insert-choice-function):
15756         * window.el (window-with-parameter, window-atom-root)
15757         (window-sides-slots, window-size-fixed, window-min-delta)
15758         (window-max-delta, window--resize-mini-window)
15759         (window--resize-child-windows-normal, window-tree)
15760         (delete-other-windows, quit-window, split-window)
15761         (display-buffer-record-window, special-display-buffer-names)
15762         (special-display-regexps, special-display-popup-frame)
15763         (same-window-p, split-window-sensibly)
15764         (display-buffer-overriding-action, display-buffer-alist)
15765         (display-buffer-base-action, display-buffer, switch-to-buffer)
15766         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15767         (fit-window-to-buffer, recenter-positions)
15768         (mouse-autoselect-window-state, mouse-autoselect-window-select):
15769         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15770         and remove unneeded backslashes in docstrings.
15772 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15774         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15776         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15777         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15778         end in ".mk".
15779         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15780         when reading the makefile (bug#10116).
15782 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15784         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15785         (bug#10116).
15787 2011-12-06  Glenn Morris  <rgm@gnu.org>
15789         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15791 2011-12-06  Chong Yidong  <cyd@gnu.org>
15793         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15795 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
15797         * textmodes/table.el (table-shorten-cell): Fix typo.
15799 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
15801         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15803 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
15805         * descr-text.el (describe-char): Fix display of strong
15806         right-to-left characters and directional embeddings and overrides.
15808         * simple.el (what-cursor-position): Fix display of codepoints of
15809         strong right-to-left characters.
15811 2011-12-05  Chong Yidong  <cyd@gnu.org>
15813         * faces.el (read-color): Doc fix.
15815 2011-12-05  Glenn Morris  <rgm@gnu.org>
15817         * align.el (align--set-marker): Add doc-string.
15818         Don't try to move something that is not a marker.  (Bug#10216)
15820 2011-12-04  Glenn Morris  <rgm@gnu.org>
15822         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15823         overly zealous deletion of trailing whitespace.
15825 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
15827         * server.el (server-delete-client): On Windows, do not try to delete
15828         the only terminal.
15829         (server-process-filter): On Windows, treat requests for a tty frame as
15830         if they were for a GUI frame if the running server is in GUI mode.
15832 2011-12-03  Glenn Morris  <rgm@gnu.org>
15834         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
15836 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15838         * electric.el: Streamline electric-indent's hook.
15839         (electric-indent-chars): Revert to simple list.
15840         (electric-indent-functions): New var.
15841         (electric-indent-post-self-insert-function): Use it.
15843         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15844         there's no inferior buffer (bug#10196).
15845         (prolog-consult-compile): Don't use toggle-read-only.
15847 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
15849         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15850         interrupt.  (Bug#10187)
15852 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15854         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15855         (bug#9160).
15857         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15858         (bug#10191).
15860 2011-12-02  Juri Linkov  <juri@jurta.org>
15862         * info.el (Info-search): Display "end of manual" when Isearch
15863         reaches the end of single-file Info manual.  (Bug#9918)
15865 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
15867         * isearch.el (isearch-message-prefix): Run the input method part
15868         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
15870 2011-12-02  Juri Linkov  <juri@jurta.org>
15872         * isearch.el (isearch-occur): Use `word-search-regexp' for
15873         `isearch-word'.
15874         (isearch-search-and-update): Add condition for `isearch-word' and
15875         call `word-search-regexp'.  (Bug#10145)
15877 2011-12-01  Glenn Morris  <rgm@gnu.org>
15879         * eshell/em-hist.el (eshell-hist-initialize):
15880         Handle eshell-history-size nil and HISTSIZE set or unset.
15881         (eshell-history-file-name, eshell-history-size): Fix custom type.
15883 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15885         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15887 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
15889         * progmodes/verilog-mode.el (verilog-pretty-expr):
15890         Rework verilog-pretty-expr to handle new assignment operators in system
15891         verilog, such as += *= and the like.
15892         (verilog-assignment-operator-re): Regular expression to find the
15893         assigment operator in a verilog assignment.
15894         (verilog-assignment-operation-re): Regular expression to find an
15895         assignment statement for pretty-expr.
15896         (verilog-in-attribute-p): Query returns true if point is in an
15897         attribute context; used to skip these for expression line up from
15898         pretty-expr.
15899         (verilog-in-parameter-p): Query returns true if point is in an
15900         parameter definition context; used to skip these for expression
15901         line up from pretty-expr.
15902         (verilog-in-parenthesis-p): Query returns true if point is in a
15903         parenthetical expression, specifically ( ) but not [ ] or { };
15904         used by pretty-expr.
15905         (verilog-just-one-space): If there is no space, don't add one.
15906         (verilog-get-lineup-indent-2): Specifically skip just attribute
15907         contexts for expression lineup, rather than skipping all
15908         parenthetical expressions.
15909         (verilog-calculate-indent): Fix comment, and fix indent.
15910         (verilog-do-indent): Indent declarations in lists (suggested by
15911         Joachim Lechner).
15912         (verilog-mode-abbrev-table): Populate abbrev mode with the various
15913         skeleton items.
15914         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15915         by Alain Mellan).
15917 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
15919         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15920         parameters with embedded comments.  Reported by Ray Stevens.
15921         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15922         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15923         Reported by Tim Holt.
15924         (verilog-auto): Fix AUTOing a upper module then AUTOing module
15925         instantiated by upper module causing wrong expansion until AUTOed a
15926         second time.  Reported by K C Buckenmaier.
15927         (verilog-diff-auto): Fix showing .* as a difference when
15928         `verilog-auto-star-save' off.  Reported by Dan Dever.
15929         (verilog-auto-reset, verilog-read-always-signals)
15930         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15931         temporary signals in reset list if
15932         verilog-auto-reset-blocking-in-non is nil, and match assignment
15933         style to each signal's assignment type, bug381.
15934         Reported by Thomas Esposito.
15935         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15936         (verilog-uvm-statement-re): Support UVM indentation and
15937         highlighting, with old OVM keywords only.
15938         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15939         Support AUTOTIEOFF creating non-wire data types.
15940         Suggested by Jonathan Greenlaw.
15941         (verilog-auto-insert-lisp, verilog-delete-to-paren)
15942         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15943         (verilog-inject-sense, verilog-read-inst-pins)
15944         (verilog-read-sub-decls, verilog-read-sub-decls-line):
15945         Fix mismatching parenthesis inside commented out code when deleting
15946         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
15947         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15948         non-numeric vector width.  Reported by Alex Reed.
15949         (verilog-auto-ascii-enum): Add "onehot" option to work around not
15950         detecting signals with parameter widths.  Reported by Alex Reed.
15951         (verilog-auto-delete-trailing-whitespace):
15952         With `verilog-auto-delete-trailing-whitespace' remove trailing
15953         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
15954         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15955         Fix verilog-scan-cache corruption when running user AUTO expansion
15956         hooks that call indentation routines.
15957         (verilog-simplify-range-expression): Fix typo ignoring lower case
15958         identifiers.
15959         (verilog-delete-auto): Fix delete-autos to also remove user created
15960         automatics, as long as they start with AUTO.
15961         (verilog-batch-diff-auto, verilog-diff-auto)
15962         (verilog-diff-function): Add `verilog-diff-auto' and bind to
15963         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
15964         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15965         (verilog-in-paren-quick, verilog-re-search-backward-quick)
15966         (verilog-re-search-forward-quick, verilog-syntax-ppss):
15967         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15968         is disabled and its cache will get corrupt, causing AUTOS not to
15969         expand.  Instead use only -quick functions.
15970         (verilog-scan-region): Fix scanning over escaped quotes.
15971         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15972         (verilog-re-search-backward-quick)
15973         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15974         related functions now ignore strings, to fix misparsing of strings
15975         with magic comments embedded in them.
15976         (verilog-read-auto-template):
15977         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15978         Reported by Brad Dobbie.
15979         (verilog-read-auto-template):
15980         Fix 'verilog-auto-inst-template-numbers' with comments.
15981         Reported by Brad Dobbie.
15982         (verilog-auto-inst, verilog-auto-inst-param)
15983         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15984         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
15985         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15986         debugging templates without merge conflicts, bug357.
15987         Reported by Brad Dobbie.
15988         (verilog-read-auto-template):
15989         Fix verilog-auto-inst-template-numbers with multiple templates.
15990         Reported by Brad Dobbie.
15991         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15992         abbrevs so user won't be asked to save.
15993         (verilog-read-auto-lisp-present): Fix to start at beginning of
15994         buffer in case called outside of verilog-auto.
15995         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15996         to "X-2".  Reported by Matthew Myers.
15997         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15998         all inputs from module templates.  Reported by Leith Johnson.
15999         (verilog-module-inside-filename-p): Fix locating programs as with
16000         modules.
16001         (verilog-auto-inst-port): Fix vl-width expressions when using
16002         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
16003         (verilog-decls-get-regs, verilog-decls-get-signals,
16004         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16005         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16006         verilog-read-decls): Combine reg and wire structures into one var
16007         structure to represent SystemVerilog concepts.
16008         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16009         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16010         (verilog-auto-wire-type, verilog-insert-definition):
16011         Add verilog-auto-wire-type and AUTOLOGIC to support using
16012         SystemVerilog "logic" keyword instead of "wire"/"reg".
16013         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16014         to declares outputs that also have assignments (presumably in an
16015         ifdef or generate if so there's not a driver conflict).
16016         Reported by Matthew Myers.
16017         (verilog-auto-declare-nettype, verilog-insert-definition):
16018         Add verilog-auto-declare-nettype to fix declarations using
16019         `default_nettype none.  Reported by Julian Gorfajn.
16020         (verilog-read-always-signals-recurse, verilog-read-decls)
16021         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16022         malformed end statement, bug325.  Reported by Joshua Wise and
16023         Andrew Drake.
16024         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16025         (verilog-inst-comment-re): Fix not deleting Interfaced comment
16026         when expanding .* in interfaces, bug320.
16027         Reported by Pierre-David Pfister.
16028         (verilog-read-module-name): Fix import statements between module
16029         name and open parenthesis, bug317.
16030         Reported by Pierre-David Pfister.
16031         (verilog-simplify-range-expression): Fix simplification of
16032         multiplications inside AUTOWIRE connections, bug303.
16033         (verilog-auto-inst-port): Support parameter expansion in
16034         multidimensional arrays.
16035         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16036         after "assert property".  Reported by Julian Gorfajn.
16037         (verilog-simplify-range-expression): Fix "couldn't merge" errors
16038         with multiplication, bug303.
16039         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16040         Reported by Jan Frode Lonnum.
16042 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
16044         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16045         (hfy-shell-file-name, hfy-shell):
16046         * international/fontset.el (x-decompose-font-name): Fix typos.
16048 2011-11-29  Ken Brown  <kbrown@cornell.edu>
16050         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16051         (gdb-version): Remove defvar.
16052         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16053         (gdb-gud-context-command, gdb-non-stop-handler)
16054         (gdb-current-context-command, gdb-stopped): Use it.
16055         (gdb-init-1): Enable pretty printing here.
16056         (gdb-non-stop-handler): Don't enable pretty-printing here.
16057         Check to see if the target supports non-stop mode; if not, turn off
16058         non-stop mode.  Use the following.
16059         (gdb-check-target-async): New defun.
16060         (gud-watch, gdb-stopped): Fix whitespace.
16061         (gdb-get-source-file): Don't try to display the source file if
16062         `gdb-main-file' is nil.
16064 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16066         * align.el: Try to generate fewer markers (bug#10047).
16067         (align--set-marker): New macro.
16068         (align-region): Use it.
16070 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16072         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16074 2011-11-29  Chong Yidong  <cyd@gnu.org>
16076         * indent.el (indent-for-tab-command, indent-according-to-mode):
16077         Doc fix.
16078         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
16080 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
16082         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16083         aware of remote file names.  (Bug#10124)
16085 2011-11-29  Chong Yidong  <cyd@gnu.org>
16087         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16089 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16091         * files.el (find-file): Don't use force-same-window (bug#10144).
16092         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16093         use pop-to-buffer if the selected window can't be used.
16094         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16096 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
16098         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16099         special-mode-map.
16101 2011-11-28  Chong Yidong  <cyd@gnu.org>
16103         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16105 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
16107         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16108           gdb-get-source-file-list on gdb-create-source-file-list.
16110 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
16112         * whitespace.el (whitespace-newline): Use a different foreground
16113         color for 16-color light-background displays.
16115 2011-11-24  Chong Yidong  <cyd@gnu.org>
16117         * window.el (display-buffer--special-action): Doc fix.
16119 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
16121         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16122         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16123         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16124         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16125         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16126         (avl-tree-stack-first):
16127         * emacs-lisp/cconv.el (cconv--analyse-use):
16128         * net/gnutls.el (gnutls-negotiate): Fix typos.
16130 2011-11-24  Glenn Morris  <rgm@gnu.org>
16132         * lpr.el (lpr-windows-system, lpr-lp-system):
16133         * mail/binhex.el (binhex-begin-line):
16134         * progmodes/grep.el (grep-history, grep-find-history):
16135         * textmodes/flyspell.el:
16136         * vc/pcvs-defs.el (cvs-global-menu):
16137         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16138         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16139         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16141         * net/tls.el: Fix case of "GnuTLS".
16143         * paths.el (rmail-file-name): Format doc-string for make-docfile.
16145         * version.el (emacs-build-system): Give it a doc-string.
16147 2011-11-24  Juri Linkov  <juri@jurta.org>
16149         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16151 2011-11-24  Glenn Morris  <rgm@gnu.org>
16153         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16154         if called on a non-mime message just toggle the headers.  (Bug#8006)
16156 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
16158         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16159         (allout-lead-with-comment-string, allout-structure-deleted-hook)
16160         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16161         (allout-rebullet-heading, allout-open-sibtopic)
16162         (allout-toggle-current-subtree-encryption)
16163         (allout-toggle-subtree-encryption, allout-encrypt-string)
16164         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16165         (allout-distinctive-bullets-string, allout-auto-activation):
16166         * window.el (window-normalize-buffer-to-display):
16167         * progmodes/verilog-mode.el (verilog-batch-indent):
16168         * textmodes/bibtex.el (bibtex-field-braces-opt)
16169         (bibtex-field-strings-opt):
16170         * vc/cvs-status.el (cvs-tree-merge):
16171         Fix typos.
16173 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
16175         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16176         `non-essential' to t, in order to avoid remote connections.
16178 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
16180         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16181         On MS-DOS and MS-Windows, compare with loaddefs.el
16182         case-insensitively.
16184 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16186         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
16188 2011-11-23  Glenn Morris  <rgm@gnu.org>
16190         * paths.el (rmail-file-name): Reformat the doc-string so that it
16191         is picked up.
16193         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16194         (rmail-auto-file): Ignore case in the "special" field names,
16195         as mail-fetch-field does for all others.
16197         * mail/rmail.el (rmail-forward):
16198         * mail/rmailkwd.el (rmail-set-label):
16199         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16200         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
16202         * mail/rmail.el (rmail-current-message): Doc fix.
16204         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
16206 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16208         * server.el (server-eval-and-print): Allow C-g (bug#6585).
16210 2011-11-22  Glenn Morris  <rgm@gnu.org>
16212         * mail/rmailmm.el (test-rmail-mime-handler)
16213         (test-rmail-mime-bulk-handler)
16214         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16216 2011-11-21  Juri Linkov  <juri@jurta.org>
16218         * calc/calc.el (calc-read-key-sequence):
16219         Let-bind `input-method-function' to nil.  (Bug#10018)
16221 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16223         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16224         Tell the caller that the next line needs recomputation, even
16225         though it doesn't start a sexp (bug#10094).
16227 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16229         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16231 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16233         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16234         Use force-same-window.
16236 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
16238         * descr-text.el (describe-char-unicode-data):
16239         * json.el (json-string-escape):
16240         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16241         (Footnote-unicode, Footnote-style-p):
16242         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16244 2011-11-20  Chong Yidong  <cyd@gnu.org>
16246         * window.el (replace-buffer-in-windows): Restore interactive spec.
16248 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16250         * electric.el (electric-indent-mode): Fix last change (too optimistic).
16252         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16253         (byte-compile-global-not-obsolete-vars): New var.
16254         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16255         Use it.
16256         (byte-compile-warn-obsolete): Align text with the one in *Help*.
16258 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
16260         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16261         * progmodes/pascal.el (electric-pascal-equal):
16262         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16263         * xml.el (xml-substitute-special): Fix typos.
16265 2011-11-20  Glenn Morris  <rgm@gnu.org>
16267         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16268         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16269         Doc fixes.
16270         (rmail-decode-mime-charset): Mark as obsolete.
16272         * mail/rmailsum.el (rmail-message-regexp-p-1):
16273         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16274         Before using mime functions, check they are set.  (Bug#10077)
16276 2011-11-19  Juri Linkov  <juri@jurta.org>
16278         * info.el (Info-finder-find-node): Use `package--builtins' instead
16279         of `package-alist'.  Use node names formed by the pattern "Keyword "
16280         and the keyword name.
16282 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
16284         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16286 2011-11-19  Juri Linkov  <juri@jurta.org>
16288         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16289         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
16290         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16291         `old-history', `old-history-forward'.  Add let-binding
16292         `window-selected'.  Remove calls to `kill-buffer',
16293         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
16294         before calling `Info-find-node', so `Info-find-node-2' will reread
16295         the Info file.  Restore window positions only when `window-selected'
16296         is non-nil.
16298 2011-11-19  Juri Linkov  <juri@jurta.org>
16300         * isearch.el (isearch-lazy-highlight-new-loop):
16301         Remove condition `(not isearch-error)'.  (Bug#9918)
16303         * misearch.el (multi-isearch-search-fun): Add condition
16304         `(not bound)' to ignore lazy-highlighting search.
16305         Add the search-failed message "end of multi" when the end of
16306         multi-sequence is reached.  Uncapitalize the search-failed
16307         message "Repeat for next buffer".
16309         * info.el (Info-search): Add the search-failed message
16310         "end of the manual" when the end of the manual is reached
16311         in Isearch mode.
16313 2011-11-19  Juri Linkov  <juri@jurta.org>
16315         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16316         Use non-destructive `remove' instead of `delete' because
16317         `Info-history-list' stored to `Info-isearch-initial-history-list' in
16318         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16320 2011-11-19  Juri Linkov  <juri@jurta.org>
16322         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16323         to nil instead of binding `search-ring' and `regexp-search-ring'.
16324         (Bug#9185)
16326 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
16328         * simple.el (line-move): Force movement by logical lines for any
16329         hscrolled window, not only when auto-hscroll-mode is on.
16330         (line-move-visual): Update doc string to that effect.  (Bug#10076)
16332 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
16334         * language/european.el (macintosh): Define as alias for mac-roman.
16336 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
16338         * mail/rmailmm.el (rmail-mime-display-header)
16339         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16340         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16341         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16342         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16343         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16344         of a raw aref.
16345         (rmail-mime-entity-segment): To get past the tagline, move forward
16346         2 more lines, to account for the 2 empty lines that precede and
16347         follow the line with the buttons.
16348         (rmail-mime-update-tagline): Move one more line, to get past the
16349         empty line that follows the buttons in the tagline.  (Bug#9520)
16351 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
16353         * window.el (window-max-delta-1, window-min-delta-1)
16354         (window-min-size-1, window-state-get-1, window-state-put-1)
16355         (window-state-put-2): Use "window--" prefix.
16357 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16359         * emacs-lisp/smie.el: Improve warnings and conflict detection.
16360         (smie-warning-count): New var.
16361         (smie-set-prec2tab): Use it.
16362         (smie-bnf->prec2): Improve warnings.  Add docstring.
16363         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16364         (smie-bnf--set-class): New function.
16365         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
16366         corner case.
16368         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16369         (compilation-error-properties, compilation-move-to-column):
16370         Handle compilation-first-column while in the target buffer.
16372         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16373         Don't hardcode point-min==1.
16375         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16376         (eshell-rewrite-for-command): Remove workaround.
16377         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16378         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16379         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16381         * files-x.el (modify-file-local-variable): Obey commenting conventions.
16383 2011-11-17  Glenn Morris  <rgm@gnu.org>
16385         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16386         Ignore buffer-local generated-autoload-file if it is the same
16387         as the global value.  (Bug#10049)
16389 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
16391         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16392         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16393         (reftex-toc-previous-heading, reftex-toc-max-level)
16394         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16395         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16396         (reftex-toc-do-promote, reftex-toc-promote-prepare)
16397         (reftex-toc-promote-action, reftex-toc-extract-section-number)
16398         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16399         (reftex-toc-rename-label, reftex-toc-visit-location)
16400         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16401         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16402         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16403         leaving "*toc*" only for references to the buffer.
16405 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
16407         * window.el (window-resize, delete-window, split-window):
16408         Replace window-splits by window-combination-resize.
16409         * cus-start.el (window-splits): Replace by window-combination-resize.
16411 2011-11-17  Glenn Morris  <rgm@gnu.org>
16413         * progmodes/sh-script.el (sh-font-lock-keywords-var):
16414         Make bash entry derive from sh entry, not shell entry.
16416 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
16418         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16419         local file name.
16421 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
16423         * menu-bar.el (menu-bar-file-menu):
16424         * printing.el (pr-ps-utility):
16425         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16426         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16427         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16428         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16429         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16430         (icalendar--convert-cyclic-to-ical)
16431         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16432         (icalendar--convert-ical-to-diary)
16433         (icalendar--convert-recurring-to-diary)
16434         (icalendar--convert-non-recurring-all-day-to-diary)
16435         (icalendar-import-format-sample):
16436         * progmodes/idlw-shell.el (idlwave-shell-mode):
16437         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16438         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16439         (vhdl-ps-print-init): Fix typos.
16441 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
16443         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16444         FSF and collapse date sequence, obscure author/maintainer email address
16445         better, remove extra version line, track relocation of author's webpage.
16447         * progmodes/python.el (python-pdbtrack-input-prompt)
16448         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16449         regular python pdb prompts.  Adjustments shamelessly taken exactly as
16450         suggested in EmacsWiki page (tiny change):
16451         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16453 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
16455         * expand.el (expand-pos, expand-index, expand-point):
16456         Remove redundant info from docstring.
16457         (expand-add-abbrevs): Doc fix.
16458         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16459         (expand-sample-perl-mode-expand-list): Fix typos.
16461         * net/dbus.el (dbus-event-member-name):
16462         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16463         * term/pc-win.el (msdos-create-frame-with-faces):
16464         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16466 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
16468         * window.el (split-window, window-state-get-1)
16469         (window-state-put-1, window-state-put-2): Rename occurrences of
16470         window-nest to window-combination-limit.
16471         * cus-start.el (window-nest): Rename to window-combination-limit.
16473 2011-11-16  Chong Yidong  <cyd@gnu.org>
16475         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16476         regexp (Bug#10033).
16478 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16480         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16481         `completing-read' will remove *Completions* and will preserve
16482         current-buffer for us.
16483         (tmm-add-prompt): Users of *Completions* will always (re)set its
16484         major mode.
16485         (tmm-old-comp-map): Remove.
16487 2011-11-16  Glenn Morris  <rgm@gnu.org>
16489         * mail/rmailedit.el: Require rmailmm when compiling.
16490         (rmail-old-mime-state): New declaration.
16491         (rmail-edit-current-message): If editing a mime message,
16492         edit the "raw" message from the mbox buffer.
16493         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
16495 2011-11-15  Glenn Morris  <rgm@gnu.org>
16497         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16498         which wasn't being used.  Add optional arg to force given state.
16499         (rmail-mime): Add optional arg to force given state.
16501 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
16503         * allout.el (allout-encryption-plaintext-sanitization-regexps):
16504         * frame.el (display-mm-dimensions-alist):
16505         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16506         (outline-move-subtree-down):
16507         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16508         (newsticker--treeview-do-get-node):
16509         * net/quickurl.el (quickurl-list-buffer-name):
16510         * progmodes/dcl-mode.el (dcl-mode):
16511         * progmodes/gdb-mi.el (gdb-mapcar*):
16512         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16514 2011-11-15  Glenn Morris  <rgm@gnu.org>
16516         * mail/rmail.el (rmail-file-coding-system): It's only ever used
16517         in a boolean sense, so just make it a boolean, and fix the doc.
16518         (rmail-show-mime-function, rmail-mime-feature)
16519         (rmail-require-mime-maybe): Doc fixes.
16520         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16522         * mail/rmailmm.el (rmail-show-mime): Doc fix.
16524 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
16526         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16527         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16528         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16529         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16531 2011-11-15  Glenn Morris  <rgm@gnu.org>
16533         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16534         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16535         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16536         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16537         (rmail-mime, rmail-show-mime): Doc fixes.
16539         * term/ns-win.el (mode-line-frame-identification):
16540         Leave it alone.  (Bug#10051)
16542         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
16544         * mail/rmailout.el (rmail-output-to-rmail-buffer):
16545         Handle empty buffers.  (Bug#9978)
16547 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
16549         * international/mule.el (define-charset):
16550         * mail/rmailmm.el (rmail-mime-find-header-encoding):
16551         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16552         * progmodes/verilog-mode.el (verilog-backward-token):
16553         * textmodes/ispell.el (lookup-words):
16554         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16556 2011-11-14  Glenn Morris  <rgm@gnu.org>
16558         * progmodes/executable.el
16559         (executable-make-buffer-file-executable-if-script-p):
16560         Handle file-modes returning nil.
16562         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16563         message - not necessary, and causes problems.  (Bug#9831)
16565         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16567         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16569         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16570         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
16571         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16573 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
16575         * window.el (window-resize, delete-window): Use window-splits
16576         variable instead of function.
16577         (window-state-get-1, window-state-put-2, window-state-put):
16578         Don't deal with windows' splits status.
16580 2011-11-12  Glenn Morris  <rgm@gnu.org>
16582         * apropos.el (apropos-do-all, apropos-library, apropos-value)
16583         (apropos-documentation): Doc fixes.
16585 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
16587         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16588         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16590 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16592         * electric.el (electric-indent-post-self-insert-function): Make it
16593         possible for a char to only indent in some circumstances.
16594         (electric-indent-mode): Simplify.
16596 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
16598         * window.el (windows-with-parameter): Remove unused function.
16599         (windows-at-side): Rename to window-at-side-list.
16600         (window-check, window-atom-check, window-atom-check-1)
16601         (window-side-check, window-size-ignore, window-size-fixed-1)
16602         (window-in-direction-2): Prefix with "window--".
16603         (window-tree-1): Rename to window--subtree, fix doc-string.
16605 2011-11-11  Glenn Morris  <rgm@gnu.org>
16607         * subr.el (eval-after-load): If FILE is already loaded,
16608         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
16610 2011-11-10  Glenn Morris  <rgm@gnu.org>
16612         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16613         Call svn via vc-svn-command rather than vc-do-command.
16614         (vc-svn-command): Add --non-interactive.  (Bug#9993)
16615         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16617         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16618         Add toggle-read-only.  (Bug#7292)
16619         * files.el (toggle-read-only): Mention that it should only
16620         be used interactively.  (Bug#10006)
16622 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16624         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16625         Adjust regexp for OCaml warnings.
16627         * electric.el (electric-pair-post-self-insert-function): Let user
16628         turn it off buffer-locally (bug#9932).
16630         * progmodes/python.el (python-beginning-of-statement):
16631         Rewrite (bug#2703).
16633         * progmodes/compile.el: Better handle TABs (bug#9749).
16634         (compilation-internal-error-properties)
16635         (compilation-next-error-function): Obey the target buffer's
16636         compilation-error-screen-columns.
16638 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
16640         * progmodes/meta-mode.el: Remove obsolete comments.
16641         (meta-right-comment-regexp, meta-ignore-comment-regexp):
16642         Fix typos in docstrings.
16644 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
16646         * window.el (window-size-fixed-p): Rewrite doc-string.
16647         (window-resizable-p): Rename to window--resizable-p.  Update callers.
16648         (window--resizable): New function.  Make all callers of
16649         window-resizable call window--resizable instead.
16650         (window-resizable): Rewrite in terms of window--resizable.
16652 2011-11-08  Glenn Morris  <rgm@gnu.org>
16654         * progmodes/delphi.el (delphi-mode-syntax-table):
16655         Let define-derived-mode define a proper syntax table.  (Bug#9994)
16657 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16659         * window.el: Stay away from defsubst.
16660         (window-list-no-nils): Remove.
16661         (window-state-get-1, window-state-get): Use backquote instead.
16663 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16665         * emacs-lisp/find-func.el (find-function-read):
16666         Fix incorrect use of default argument in `completing-read'.
16668 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
16670         * window.el (display-buffer-function, special-display-function):
16671         Mention display-buffer-record-window but do not mention
16672         help-setup parameter in doc-strings.
16673         (window-min-delta): Fix doc-string typo.
16675 2011-11-08  Chong Yidong  <cyd@gnu.org>
16677         * window.el (window-total-height, window-total-width): Doc fix.
16678         (window-body-size): Move from C.
16679         (window-body-height, window-body-width): Move to C.
16681 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16683         * window.el: Make special-display like display-buffer-alist (bug#9532).
16684         (display-buffer--special-action): New function, morphed
16685         from display-buffer--special.
16686         (display-buffer): Use it to handle special-display-buffers at higher
16687         priority (just after display-buffer-alist).
16688         (display-buffer-fallback-action, display-buffer--other-frame-action)
16689         (pop-to-buffer-same-window): Remove display-buffer--special.
16691 2011-11-07  Glenn Morris  <rgm@gnu.org>
16693         * calendar/cal-menu.el (cal-menu-set-date-title):
16694         Do nothing if not in a calendar.  (Bug#9976)
16696 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16698         * files.el (find-file): Always use selected-window.
16700 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
16702         * window.el (window-combinations): Make WINDOW argument
16703         mandatory.  Rewrite doc-string.
16704         (walk-window-subtree, window-atom-check, window-min-delta)
16705         (window-max-delta, window--resize-this-window)
16706         (window--resize-root-window-vertically, window-tree)
16707         (balance-windows, window-state-put): Rewrite doc-strings as to
16708         not mention the term "subwindow".
16709         (window--resize-subwindows-skip-p): Rename to
16710         window--resize-child-windows-skip-p.
16711         (window--resize-subwindows-normal): Rename to
16712         window--resize-child-windows-normal.
16713         (window--resize-subwindows): Rename to
16714         window--resize-child-windows.
16715         (window-or-subwindow-p): Rename to window--in-subtree-p.
16717 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16719         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16720         Ensure that mbox format messages end in two newlines (Bug#9974).
16722 2011-11-06  Chong Yidong  <cyd@gnu.org>
16724         * window.el (window-combination-p): Function deleted; its
16725         side-effect is not used in any existing code.
16726         (window-combinations, window-combined-p): Call window-*-child
16727         directly.
16729 2011-11-05  Chong Yidong  <cyd@gnu.org>
16731         * window.el (window-valid-p): Rename from window-any-p.
16732         (window-size-ignore, window-state-get): Callers changed.
16733         (window-normalize-window): Rename from window-normalize-any-window.
16734         New arg LIVE-ONLY, replacing window-normalize-live-window.
16735         (window-normalize-live-window): Delete.
16736         (window-combination-p, window-combined-p, window-combinations)
16737         (walk-window-subtree, window-atom-root, window-min-size)
16738         (window-sizable, window-sizable-p, window-size-fixed-p)
16739         (window-min-delta, window-max-delta, window-resizable)
16740         (window-resizable-p, window-full-height-p, window-full-width-p)
16741         (window-current-scroll-bars, window-point-1, set-window-point-1)
16742         (window-at-side-p, window-in-direction, window-resize)
16743         (adjust-window-trailing-edge, maximize-window, minimize-window)
16744         (window-deletable-p, delete-window, delete-other-windows)
16745         (record-window-buffer, unrecord-window-buffer)
16746         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16747         (quit-window, split-window, window-state-put)
16748         (set-window-text-height, fit-window-to-buffer)
16749         (shrink-window-if-larger-than-buffer): Callers changed.
16751 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
16753         * mail/rmail.el (rmail-simplified-subject): Decode subject with
16754         rfc2047-decode-string.
16755         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16756         warnings.
16758         * window.el (window-body-height, window-body-width): Mention in
16759         the doc string that the return values are in frame's canonical
16760         units.  (Bug#9949)
16762 2011-11-03  Alan Mackenzie  <acm@muc.de>
16764         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16765         change in cc-engine.el.
16767 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16769         * window.el (switch-to-buffer): Use `force-same-window' interactively.
16771 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
16773         * window.el (quit-window): Call unrecord-window-buffer after
16774         showing another buffer in the window.  (Bug#9937)
16775         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16777 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
16779         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16780         Accept status with more than 9 shelves.  (Bug#9935)
16781         Reported by Colin D Bennett <colin@gibibit.com>.
16783 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
16785         * help.el (with-help-window): Don't reference
16786         temp-buffer-show-specifiers in doc-string.
16788 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16790         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16791         menu-item.
16793 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16795         * whitespace.el: New version 13.2.2.
16796         (whitespace-newline-mode): Disable properly.  Reported by Sarah
16797         <EmacsWiki>.
16799 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
16801         * net/newst-treeview.el: Remove "Time-stamp".
16802         (newsticker--group-manage-orphan-feeds): Do not call
16803         newsticker--treeview-tree-update.
16804         (newsticker-treeview-update, newsticker-treeview):
16805         Call newsticker--treeview-tree-update if necessary.
16807 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
16809         * window.el (window-iso-combination-p, window-iso-combined-p)
16810         (window-iso-combinations): Remove "iso-" infix.
16811         Suggested by Chong Yidong.
16812         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16813         (window-max-delta-1, window-resize, window--resize-siblings)
16814         (window--resize-this-window, adjust-window-trailing-edge)
16815         (split-window, balance-windows-1)
16816         (shrink-window-if-larger-than-buffer):
16817         * calendar/calendar.el (calendar-generate-window):
16818         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16820 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16822         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16823         in place (bug#9907).
16824         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16825         (eshell-rewrite-if-command, eshell-rewrite-for-command)
16826         (eshell-structure-basic-command, eshell-rewrite-while-command)
16827         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16828         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16829         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16830         (eshell-do-pipelines-synchronously, eshell-eval-command):
16831         Use backquotes and prefer setq to set.
16832         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16833         (eshell-macrop): Use functionp.
16834         (eshell-do-eval): Handle multiple expressions in `while' body.
16836 2011-10-30  Chong Yidong  <cyd@gnu.org>
16838         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16839         instead of set-mark (Bug#9810).
16841 2011-10-30  Chong Yidong  <cyd@gnu.org>
16843         * window.el (split-window-below, split-window-right): Rename from
16844         split-window-above-each-other and split-window-side-by-side
16845         respectively.  All callers changed.
16846         (split-window-sensibly, split-window-sensibly): Use them.
16847         (split-window-keep-point): Doc fix.
16849         * isearch.el: Add isearch-scroll property to split-window-below
16850         and split-window-right.
16852         * follow.el (follow-mode):
16853         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16854         * progmodes/ada-xref.el (ada-gdb-application):
16855         * emulation/vip.el (vip-buffer-in-two-windows):
16856         * image-dired.el (image-dired-dired-with-window-configuration):
16857         * dired-x.el (dired-do-find-marked-files):
16858         * dired.el (dired-pop-to-buffer):
16859         * bs.el (bs--show-with-configuration):
16860         * vc/emerge.el (emerge-setup-windows):
16861         * textmodes/two-column.el (2C-two-columns):
16862         * textmodes/reftex-toc.el (reftex-toc):
16863         * progmodes/gdb-mi.el (gdb-setup-windows):
16864         * progmodes/fortran.el (fortran-window-create):
16865         * net/newst-treeview.el (newsticker--treeview-window-init):
16866         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16867         * emulation/tpu-edt.el (tpu-gold-map):
16868         * emulation/crisp.el (crisp-mode-map):
16869         * calendar/calendar.el (calendar-basic-setup): Callers changed.
16871 2011-10-29  Chong Yidong  <cyd@gnu.org>
16873         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16875         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16877         * textmodes/flyspell.el (flyspell-word): Fix char offset for
16878         forged Ispell output (Bug#7904).
16880         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16882 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16884         * doc-view.el: Avoid ugly errors about not finding nil.
16885         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16886         (doc-view-dvipdf-program, doc-view-unoconv-program)
16887         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16888         Avoid nil or absolute file name as default value.
16889         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16891 2011-10-28  Alan Mackenzie  <acm@muc.de>
16893         * progmodes/cc-defs.el (c-version): -> 5.32.2.
16895 2011-10-28  Alan Mackenzie  <acm@muc.de>
16897         Amend the handling of c-beginning/end-of-defun in nested declaration
16898         scopes.
16900         * progmodes/cc-vars.el (c-defun-tactic): Move here from
16901         cc-langs.el.  Change it to a defcustom.
16903         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16904         cc-vars.el.
16906         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16907         Prevent "class foo : bar" being spuriously recognized as a label.
16909         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16910         Add parameter `inclusive' (to include enclosing braces in the region).
16911         (c-widen-to-enclosing-decl-scope): New function.
16912         (c-while-widening-to-decl-block): New macro.
16913         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16914         outward for defun boundaries, and correspondingly change symbol
16915         `respect-enclosure' to `go-outward'.
16916         (c-declaration-limits): Change algorithm to report only the "innermost"
16917         defun's boundaries.
16919 2011-10-28  Deniz Dogan  <deniz@dogan.se>
16921         * net/rcirc.el (rcirc-mode): Use hard newlines.
16923 2011-10-28  Alan Mackenzie  <acm@muc.de>
16925         Amend to indent and fontify macros "which include their own semicolon"
16926         correctly, using the "virtual semicolon" mechanism.
16928         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16930         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16931         Recode to scan one line at a time rather than having \n and \r
16932         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16933         (c-forward-label): Amend for virtual semicolons.
16934         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16936         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16937         of the new C macros.
16939         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16940         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16941         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16942         (c-opt-cpp-macro-define): Make into a full language variable.
16943         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16944         AWK Mode (including \n, \r) removed, no longer needed.
16946         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16947         Invoke c-make-macro-with-semi-re.
16949         * progmodes/cc-vars.el (c-macro-with-semi-re):
16950         (c-macro-names-with-semicolon): New variables.
16951         (c-make-macro-with-semi-re): New function.
16953 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16955         * vc/log-edit.el: Fill empty field rather than adding new one.
16956         (log-edit-add-field): New function.
16957         (log-edit-insert-changelog): Use it.
16959 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16961         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16963 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16965         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16966         (gdb--check-interpreter): New function.
16967         (gdb): Use it.
16969 2011-10-27  Glenn Morris  <rgm@gnu.org>
16971         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16972         (least-positive-float, least-negative-float)
16973         (least-positive-normalized-float, least-negative-normalized-float)
16974         (float-epsilon, float-negative-epsilon):
16975         Remove unnecessary declarations.
16977         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16978         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16979         (least-positive-float, least-negative-float)
16980         (least-positive-normalized-float, least-negative-normalized-float)
16981         (float-epsilon, float-negative-epsilon): Add doc-strings,
16982         based on those in cl.texi.
16984         * files.el (set-visited-file-name): If the major-mode changed,
16985         reload the local variables.  (Bug#9796)
16987 2011-10-27  Chong Yidong  <cyd@gnu.org>
16989         * subr.el (change-major-mode-after-body-hook): New hook.
16990         (run-mode-hooks): Run it.
16992         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16993         Use change-major-mode-before-body-hook.
16995         * simple.el (fundamental-mode):
16996         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16997         change introducing fundamental-mode-hook.
16999 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
17001         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17003 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
17005         * ido.el (ido-file-name-all-completions-1): Do not require
17006         tramp.el explicitly.  (Bug#7583)
17008 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17010         * progmodes/octave-mod.el:
17011         * progmodes/octave-inf.el: Update maintainer.
17013 2011-10-26  Chong Yidong  <cyd@gnu.org>
17015         * subr.el (with-wrapper-hook): Rewrite doc.
17017 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
17019         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17020         filenames "/method:foo:".  (Bug#9793)
17022 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17024         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17025         (bug#9865).
17027 2011-10-24  Glenn Morris  <rgm@gnu.org>
17029         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
17031 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
17033         * notifications.el: Add the requirement of a running D-Bus session
17034         bus to the Commentary.
17036 2011-10-24  Juri Linkov  <juri@jurta.org>
17038         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17039         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17040         (Bug#9364)
17042 2011-10-24  Juri Linkov  <juri@jurta.org>
17044         * info.el (Info-following-node-name-re): Add newline to the list
17045         of allowed characters for leading space.  (Bug#9824)
17047 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17049         * progmodes/octave-inf.el (inferior-octave-mode-map):
17050         Fix C-c C-h binding.
17051         * progmodes/octave-mod.el (octave-help): Remove.
17053 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
17055         Sync with Tramp 2.2.3.
17057         * net/tramp-cache.el (top): Pacify byte-compiler using
17058         `init-file-user' and `site-run-file'.
17060         * net/trampver.el: Update release number.
17062 2011-10-23  Chong Yidong  <cyd@gnu.org>
17064         * files.el (toggle-read-only): Remove obsolete comment about
17065         version control.
17067         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17068         for toggle-read-only.  Note that this hasn't called vc-next-action
17069         since 2008-05-02, though it wasn't documented at the time.
17071         * vc/ediff-init.el (ediff-toggle-read-only-function):
17072         Use toggle-read-only.
17074 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
17076         Fix bug #9560, sporadic wrong indentation; improve instrumentation
17077         of c-parse-state.
17079         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17080         correct faulty logical expression.
17081         (c-parse-state-state, c-record-parse-state-state):
17082         (c-replay-parse-state-state): New defvar/defuns.
17083         (c-debug-parse-state): Use new functions.
17085 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
17087         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17088         last fix.  Use window-in-direction correctly.
17090 2011-10-21  Chong Yidong  <cyd@gnu.org>
17092         * progmodes/idlwave.el (idlwave-mode):
17093         * progmodes/vera-mode.el (vera-mode): No need to set
17094         require-final-newline; that's done in prog-mode.
17095         Suggested by Stefan Monnier.
17097 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
17099         * mouse.el (mouse-drag-window-above)
17100         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17101         (mouse-drag-mode-line-1, mouse-drag-header-line)
17102         (mouse-drag-vertical-line-rightward-window): Remove.
17103         (mouse-drag-line): New function.
17104         (mouse-drag-mode-line, mouse-drag-header-line)
17105         (mouse-drag-vertical-line): Call mouse-drag-line.
17106         * window.el (window-at-side-p, windows-at-side): New functions.
17108 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
17110         * tar-mode.el (tar-grind-file-mode):
17111         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
17113 2011-10-21  Chong Yidong  <cyd@gnu.org>
17115         * progmodes/idlwave.el (idlwave-mode):
17116         * progmodes/vera-mode.el (vera-mode):
17117         Use mode-require-final-newline.
17119 2011-10-20  Glenn Morris  <rgm@gnu.org>
17121         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
17123 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
17125         * emulation/cua-base.el (cua-set-mark): Fix case of string.
17127 2011-10-20  Chong Yidong  <cyd@gnu.org>
17129         * emulation/cua-base.el (cua-mode):
17130         * mail/footnote.el (footnote-mode):
17131         * mail/mailabbrev.el (mail-abbrevs-mode):
17132         * net/xesam.el (xesam-minor-mode):
17133         * progmodes/bug-reference.el (bug-reference-mode):
17134         * progmodes/cap-words.el (capitalized-words-mode):
17135         * progmodes/compile.el (compilation-minor-mode)
17136         (compilation-shell-minor-mode):
17137         * progmodes/gud.el (gud-tooltip-mode):
17138         * progmodes/hideif.el (hide-ifdef-mode):
17139         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17140         * progmodes/subword.el (subword-mode):
17141         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17142         * progmodes/which-func.el (which-function-mode):
17143         * term/tvi970.el (tvi970-set-keypad-mode):
17144         * term/vt100.el (vt100-wide-mode):
17145         * textmodes/flyspell.el (flyspell-mode):
17146         * textmodes/ispell.el (ispell-minor-mode):
17147         * textmodes/nroff-mode.el (nroff-electric-mode):
17148         * textmodes/paragraphs.el (use-hard-newlines):
17149         * textmodes/refill.el (refill-mode):
17150         * textmodes/reftex.el (reftex-mode):
17151         * textmodes/rst.el (rst-minor-mode):
17152         * textmodes/sgml-mode.el (html-autoview-mode)
17153         (sgml-electric-tag-pair-mode):
17154         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17155         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17156         * emulation/crisp.el (crisp-mode):
17157         * emacs-lisp/eldoc.el (eldoc-mode):
17158         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17159         minor mode behavior.
17161 2011-10-19  Juri Linkov  <juri@jurta.org>
17163         * descr-text.el (describe-char): Add #x2010 and #x2011 to
17164         the list of hard-coded chars with escape-glyph face.
17166 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17168         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17170 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
17172         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17173         running process.
17175 2011-10-19  Glenn Morris  <rgm@gnu.org>
17177         * vc/vc-bzr.el (vc-bzr-after-dir-status):
17178         Ignore ignored files.  (Bug#9726)
17180 2011-10-19  Chong Yidong  <cyd@gnu.org>
17182         Doc fix for minor modes, stating that an omitted argument enables
17183         the mode unconditionally when called from Lisp.
17185         * abbrev.el (abbrev-mode):
17186         * allout.el (allout-mode):
17187         * autoinsert.el (auto-insert-mode):
17188         * autoarg.el (autoarg-mode, autoarg-kp-mode):
17189         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17190         (global-auto-revert-mode):
17191         * battery.el (display-battery-mode):
17192         * composite.el (global-auto-composition-mode)
17193         (auto-composition-mode):
17194         * delsel.el (delete-selection-mode):
17195         * desktop.el (desktop-save-mode):
17196         * dired-x.el (dired-omit-mode):
17197         * dirtrack.el (dirtrack-mode):
17198         * doc-view.el (doc-view-minor-mode):
17199         * double.el (double-mode):
17200         * electric.el (electric-indent-mode, electric-pair-mode):
17201         * emacs-lock.el (emacs-lock-mode):
17202         * epa-hook.el (auto-encryption-mode):
17203         * follow.el (follow-mode):
17204         * font-core.el (font-lock-mode):
17205         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17206         * help.el (temp-buffer-resize-mode):
17207         * hilit-chg.el (highlight-changes-mode)
17208         (highlight-changes-visible-mode):
17209         * hi-lock.el (hi-lock-mode):
17210         * hl-line.el (hl-line-mode, global-hl-line-mode):
17211         * icomplete.el (icomplete-mode):
17212         * ido.el (ido-everywhere):
17213         * image-file.el (auto-image-file-mode):
17214         * image-mode.el (image-minor-mode):
17215         * iswitchb.el (iswitchb-mode):
17216         * jka-cmpr-hook.el (auto-compression-mode):
17217         * linum.el (linum-mode):
17218         * longlines.el (longlines-mode):
17219         * master.el (master-mode):
17220         * mb-depth.el (minibuffer-depth-indicate-mode):
17221         * menu-bar.el (menu-bar-mode):
17222         * minibuf-eldef.el (minibuffer-electric-default-mode):
17223         * mouse-sel.el (mouse-sel-mode):
17224         * msb.el (msb-mode):
17225         * mwheel.el (mouse-wheel-mode):
17226         * outline.el (outline-minor-mode):
17227         * paren.el (show-paren-mode):
17228         * recentf.el (recentf-mode):
17229         * reveal.el (reveal-mode, global-reveal-mode):
17230         * rfn-eshadow.el (file-name-shadow-mode):
17231         * ruler-mode.el (ruler-mode):
17232         * savehist.el (savehist-mode):
17233         * scroll-all.el (scroll-all-mode):
17234         * scroll-bar.el (scroll-bar-mode):
17235         * server.el (server-mode):
17236         * shell.el (shell-dirtrack-mode):
17237         * simple.el (auto-fill-mode, transient-mark-mode)
17238         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17239         (line-number-mode, column-number-mode, size-indication-mode)
17240         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17241         * strokes.el (strokes-mode):
17242         * time.el (display-time-mode):
17243         * t-mouse.el (gpm-mouse-mode):
17244         * tool-bar.el (tool-bar-mode):
17245         * tooltip.el (tooltip-mode):
17246         * type-break.el (type-break-mode-line-message-mode)
17247         (type-break-query-mode):
17248         * view.el (view-mode):
17249         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17250         (global-whitespace-mode, global-whitespace-newline-mode):
17251         * xt-mouse.el (xterm-mouse-mode): Doc fix.
17253         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17254         Fix autogenerated docstring.
17256 2011-10-19  Juri Linkov  <juri@jurta.org>
17258         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17259         by checking environment variables "DESKTOP_SESSION" and
17260         "XDG_CURRENT_DESKTOP".  (Bug#9779)
17262 2011-10-19  Juri Linkov  <juri@jurta.org>
17264         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17265         (browse-url-chromium-program, browse-url-chromium-arguments):
17266         New defcustoms.
17267         (browse-url-default-browser): Check for `browse-url-chromium' and
17268         call `browse-url-chromium-program'.
17269         (browse-url-chromium): New command.  (Bug#9779)
17271 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
17273         * facemenu.el (list-colors-duplicates): On Windows, detect more
17274         duplicates by assuming that only colors matching "^System" are
17275         special "system colors".  (Bug#9722)
17277 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17279         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17280         to distinguish the author from the committer.
17282 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
17284         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17286 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
17288         * international/mule.el (sgml-html-meta-auto-coding-function):
17289         Add support for detecting encoding in HTML5 specified only as
17290         <meta charset="UTF-8">.  Implementation just makes http-equiv and
17291         content-type parts from HTML4 encoding string optional.  (Bug#9716)
17293 2011-10-18  Glenn Morris  <rgm@gnu.org>
17295         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
17297 2011-10-18  Chong Yidong  <cyd@gnu.org>
17299         * faces.el (cursor): Doc fix.
17301 2011-10-17  Chong Yidong  <cyd@gnu.org>
17303         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17305 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
17307         * dirtrack.el (dirtrack): Support shell buffers with path
17308         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
17310 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
17312         * json.el: Bump version to 1.3 and note change in History.
17313         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17315 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17317         * comint.el (comint-insert-input, comint-send-input)
17318         (comint-get-old-input-default, comint-backward-matching-input)
17319         (comint-next-prompt): Use nil instead of `input' for field property of
17320         past user input (bug#114).
17322         * minibuffer.el (completion--replace): Inherit surrounding properties
17323         (bug#114).
17324         (minibuffer-complete-and-exit): Use it.
17326         * comint.el (comint--table-subvert): Quote the all-completions output
17327         (bug#9160).
17329 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
17331         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17333         * menu-bar.el (menu-bar-file-menu): Add entry for making new
17334         window on right of selected.  (Bug#9350) Reword other window
17335         entries and separate them from frame entries.
17337 2011-10-15  Glenn Morris  <rgm@gnu.org>
17339         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17340         Doc fixes.
17342 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
17344         * net/network-stream.el (network-stream-open-starttls):
17345         Improve detection of failure due to lack of TLS support.
17347         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17348         putting the input text in front and in bold.
17350 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17352         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17354         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17355         empty buffer.
17357         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17358         unread-command-events rather than pushing yet-another event.
17360 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
17362         * mail/sendmail.el (sendmail-query-once): Improve the wording of
17363         the explanation of the possible choices.  Make the options passed
17364         to completing-read shorter.
17366 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17368         * textmodes/flyspell.el (flyspell-large-region): Make sure
17369         extended character mode is used if defined (Bug#1339).
17371 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
17373         * simple.el (what-cursor-position): Fix the display of the
17374         character info for LRE, LRO, RLE, and RLO characters by appending
17375         an invisible PDF.
17377 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17379         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17380         even in case of error; add debug spec; simplify data flow.
17381         (with-timeout-handler): Remove.
17383 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
17385         Fix Bug#6019, Bug#9315.
17387         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17388         complete `buffer-file-name', the local file name part could look
17389         remotely (for example on VMS).
17391         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17392         `tramp-run-real-handler'.
17393         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17394         already quoted by '"'.
17396         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17397         Let `file-name-handler-alist' be nil, the local file name part
17398         could look remotely (for example on VMS).
17400 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17402         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17403         from here...
17404         (flyspell-post-command-hook): ...to here.
17406 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17408         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17409         if not needed.
17410         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
17411         using completion.  Protect against "slow" callers.
17412         Remove the "message hack".
17414 2011-10-11  Juri Linkov  <juri@jurta.org>
17416         * isearch.el (isearch-lazy-highlight-word): New variable.
17417         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17418         Use it.  (Bug#9727)
17420 2011-10-11  Glenn Morris  <rgm@gnu.org>
17422         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17423         like f90-previous-statement does.
17425 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17427         * eshell/eshell.el (eshell-command): History should be saved
17428         only in interactive use, to avoid error.
17430 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17432         * minibuffer.el (completion-file-name-table): Fix last change,
17433         i.e. ignore normal errors but not the other ones.
17435 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
17437         * window.el (special-display-buffer-names)
17438         (special-display-regexps): Remove some remnants of earlier
17439         changes from doc-strings.
17440         (quit-windows-on): New function.
17442         * vc/vc.el (vc-revert, vc-rollback):
17443         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17444         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
17445         (Bug#6183) (Bug#7074) (Bug#7447)
17447 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
17449         * window.el (frame-auto-hide-function): Add version tag.
17450         (Bug#9699)
17452 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
17454         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17455         condition.
17457 2011-10-09  Leo Liu  <sdl.web@gmail.com>
17459         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17460         (Bug#9701)
17462 2011-10-08  Glenn Morris  <rgm@gnu.org>
17464         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17465         before the first code statement zero indent.  (Bug#9690)
17467 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
17469         * simple.el (count-words-region): Always count in the region.
17470         Report the number of lines and characters too.
17471         (count-words): New command, which counts in the buffer if the
17472         region is inactive, as count-words-region used to.
17473         (count-words--message): New function.  Handle plurals.
17474         (count-lines-region): Make it an alias for count-words-region.
17476         * bindings.el (esc-map): Replace count-lines-region with
17477         count-words-region.
17479 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
17481         * window.el (window--delete): Delete dedicated frame
17482         unconditionally when argument KILL is non-nil.  (Bug#9699)
17483         (switch-to-buffer): Fix doc-string typo.
17485 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17487         * eshell/eshell.el (eshell-command): Avoid using hooks.
17489 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
17491         * bindings.el ([M-left],[M-right]): Bind to left-word and
17492         right-word respectively.
17494 2011-10-07  Glenn Morris  <rgm@gnu.org>
17496         * cus-start.el (debug-on-quit): Fix custom type.
17498 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17500         * subr.el (define-key-after): Clarify that the function is not
17501         useful for non-menu keymaps.
17503         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17505 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17507         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17508         in current minibuffer (Fix bug with recursive minibuffers).
17510 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
17512         * progmodes/gdb-mi.el (gdb): Doc fix.
17514 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
17516         * window.el (frame-auto-hide-function): New option replacing
17517         frame-auto-delete.  Suggested by Stefan Monnier.
17518         (window--delete): Call frame-auto-hide-function instead of
17519         investigating frame-auto-delete.
17520         (window-point-1, set-window-point-1): New functions.
17521         (window-in-direction, record-window-buffer, window-state-get-1)
17522         (display-buffer-record-window): Use window-point-1 instead of
17523         window-point.
17524         (set-window-buffer-start-and-point): Use set-window-point-1.
17526 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17528         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17530 2011-10-05  Glenn Morris  <rgm@gnu.org>
17532         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17533         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
17535 2011-10-05  Leo Liu  <sdl.web@gmail.com>
17537         * subr.el (read-char-choice): Fix argument to buffer-live-p which
17538         works with buffer object.
17540 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17542         * mpc.el (mpc-tool-bar-map): Add labels.
17544 2011-10-04  Glenn Morris  <rgm@gnu.org>
17546         * calendar/holidays.el (calendar-check-holidays): Doc fix.
17548 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
17550         * window.el (window--delete): New function.
17551         (frame-auto-delete): Resuscitate option.
17552         (bury-buffer, replace-buffer-in-windows)
17553         (quit-window): Rewrite using window--delete.
17554         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17555         Pass display-buffer-mark-dedicated to window--display-buffer-2
17556         (Bug#9639).
17558 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17560         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17561         returns a list (bug#9554).  Add remote file name completion.
17562         * comint.el (comint--table-subvert): Curry and get quote&unquote
17563         functions as arguments.
17564         (comint--complete-file-name-data): Adjust call accordingly.
17565         * pcomplete.el (pcomplete--table-subvert): Remove.
17566         (pcomplete-completions-at-point): Use comint--table-subvert instead.
17568         * minibuffer.el (completion-table-case-fold): Use currying.
17569         (completion--styles-type, completion--cycling-threshold-type):
17570         New constants.
17571         (completion-styles, completion-category-overrides)
17572         (completion-cycle-threshold): Use them.
17573         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17574         completion-table-case-fold.
17576 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
17578         * minibuffer.el (completion-category-overrides): Fix type of styles
17579         and add more user friendly tags (bug#9660).
17581 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17583         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17584         (mule-input-method-string): New widget.
17585         (default-input-method, language-info-custom-alist): Use it.
17587 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17589         * pcomplete.el: Require comint.
17590         (pcomplete--common-suffix): Remove.
17591         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17592         (pcomplete--table-subvert): Sync with comint--table-subvert.
17593         (pcomplete--entries): Use comint-completion-file-name-table.
17594         * comint.el (comint-unquote-filename): Simplify.
17595         (comint-completion-file-name-table): New function (bug#9616).
17596         (comint--complete-file-name-data): Use it.
17598         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17599         (pcmpl-gnu-tar-buffer): Remove.
17600         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17601         around.  Make sure pcomplete-suffix-list is only changed temporarily.
17602         Don't look inside the tar's file if it's too large.
17604 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
17606         * cus-edit.el (custom-mode-map):
17607         * epa.el (epa-key-list-mode-map):
17608         * man.el (Man-mode-map):
17609         * startup.el (splash-screen-keymap):
17610         * simple.el (special-mode-map): Use scroll-up-command and
17611         scroll-down-command.
17613         * progmodes/idlw-help.el (idlwave-help-mode-map):
17614         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17615         * net/newst-plainview.el (newsticker-mode-map):
17616         * emulation/ws-mode.el (wordstar-mode-map):
17617         * emulation/vi.el (vi-com-map):
17618         * calc/calc-graph.el (calc-graph-show-dumb):
17619         * term/sun.el (terminal-init-sun):
17620         * term/ns-win.el (global-map):
17621         * progmodes/grep.el (grep-mode-map):
17622         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17623         * mail/rmail.el (rmail-mode-map):
17624         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17626         * custom.el (custom-safe-themes, load-theme): Treat value of t for
17627         custom-safe-themes as special.
17629 2011-10-01  Julien Danjou  <julien@danjou.info>
17631         * notifications.el (notifications-notify): Fix docstring.
17633 2011-10-01  Per Starbäck  <per@starback.se>
17635         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
17637 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
17639         * startup.el (command-line-1): Fix last fix by inserting
17640         initial-scratch-message into *scratch* before displaying it.
17641         (Bug#9605) and (Bug#9636)
17643 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
17645         * simple.el (line-move): If auto-hscroll-mode is disabled and the
17646         window is hscrolled, move by logical lines.  (Bug#9607)
17647         (line-move-visual): Update the doc string to the above effect.
17649 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
17651         * window.el (display-buffer-record-window): When WINDOW is the
17652         selected window use `point' instead of `window-point'.  (Bug#9626)
17654         * startup.el (command-line-1): Use insert-before-markers when
17655         inserting initial-scratch-message.  (Bug#9605)
17657         * help.el (help-window): Remove variable.
17659 2011-09-29  Glenn Morris  <rgm@gnu.org>
17661         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17663 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
17665         * descr-text.el (describe-char-categories): Accept category
17666         descriptions more than one line long.
17668 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17670         * simple.el (delete-trailing-whitespace): Fix last change.
17672         * progmodes/perl-mode.el (perl-syntax-propertize-function):
17673         Don't confuse "y => 3" as the beginning of a `y' operation.
17675         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17676         object has more than 4 slots (bug#9613).
17678 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
17680         * subr.el (with-output-to-temp-buffer):
17681         * net/quickurl.el (quickurl, quickurl-browse-url):
17682         Fix typos in docstrings.
17684 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
17686         * minibuffer.el (completion-styles)
17687         (completion-category-overrides): Cross reference each other in doc
17688         strings.
17690 2011-09-27  Glenn Morris  <rgm@gnu.org>
17692         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17693         to split-string.  (Bug#9606)
17695 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17697         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17698         (bug#9615).
17700 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
17702         * emacs-lisp/package.el (list-packages): Fix echo area message.
17704 2011-09-27  Leo Liu  <sdl.web@gmail.com>
17706         * ido.el (ido-read-internal): Accept cons cell HIST arg.
17708 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
17710         * net/dbus.el (dbus-unregister-object): Don't release services for
17711         registered signals.  (Bug#9581)
17713 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
17715         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17716         function that picks between cfengine 2 and 3 support
17717         automatically.  Update docs accordingly.
17719 2011-09-22  Kenichi Handa  <handa@m17n.org>
17721         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17722         ZERO.
17723         (indian-itrans-v5-table-for-tamil): New variable.
17724         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17726 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
17728         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17729         that's true if the current command involved collapsing of text.
17730         It's reset to false at the beginning of the next command.
17731         (allout-post-command-business): Move the cursor to the beginning
17732         of entry if the cursor is hidden and collapsing activity just
17733         happened.
17735 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
17737         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17738         tracking (Bug#9541).
17740 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
17742         * net/newst-reader.el (newsticker-html-renderer)
17743         (newsticker-show-news): Automatically load html rendering package
17744         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
17745         because w3m-fill-column is let-bound" and the error "Symbol's value
17746         as variable is void: w3m-fill-column".
17748 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
17750         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17751         Release services only if they are defined.  (Bug#9581)
17753 2011-09-23  Richard Stallman  <rms@gnu.org>
17755         * textmodes/paragraphs.el (forward-sentence): For backwards case,
17756         distinguish start of paragraph from start of its text.
17758         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17760         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17761         (rmail-generate-viewer-buffer): Put that hook on view buffer.
17762         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17764 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
17766         * international/mule-diag.el (mule-diag): Insert a newline after
17767         each fontset description.
17769 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17771         * simple.el (delete-trailing-whitespace):
17772         Document last change; simplify.
17774 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
17776         * simple.el (delete-trailing-whitespace): Also delete
17777         extra newlines at the end of the buffer.
17779         * textmodes/picture.el: Make motion commands obey shift-select-mode.
17780         (picture-newline): Use forward-line so as to ignore fields.
17782 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17784         * subr.el (with-wrapper-hook): Fix edebug spec.
17786 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17788         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17789         (bug#4538).
17791 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
17793         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17794         Fix nasty bug using wrong cached values.
17796 2011-09-23  Alan Mackenzie  <acm@muc.de>
17798         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17800 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
17802         * window.el (pop-to-buffer): Ensure right window is selected if we
17803         chose another frame.
17805 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
17807         * simple.el (what-cursor-position): Use get-char-property-change
17808         and next-single-char-property-change, to be able to show display
17809         properties that come from overlays as well as text properties.
17811 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
17813         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17815         * cmuscheme.el (run-scheme, switch-to-scheme):
17816         * cus-edit.el (customize-group, custom-buffer-create)
17817         (customize-browse):
17818         * info.el (info):
17819         * shell.el (shell):
17820         * mail/sendmail.el (mail):
17821         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17823 2011-09-22  Richard Stallman  <rms@gnu.org>
17825         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17826         move back only to line beg, don't move back over blank lines.
17828 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
17830         * files.el (copy-directory): Set directory attributes only in case
17831         they could be retrieved from the source directory.  (Bug#9565)
17833 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
17835         * progmodes/hideshow.el (hs-looking-at-block-start-p)
17836         (hs-find-block-beginning, hs-hide-level-recursive):
17837         Ignore strings as well as comments.  (Bug#9502)
17839 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
17841         * progmodes/sql.el (sql-comint-postgres):
17842         Convert port number to a string.  (Bug#9566)
17844 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
17846         * window.el (quit-window): Undedicate window when switching to
17847         previous buffer.  Reported by Thierry Volpiatto
17848         <thierry.volpiatto@gmail.com>.
17849         (special-display-popup-frame): When popping up a new frame reset
17850         its previous buffers to nil.  Simplify code.
17852 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
17854         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17855         and process filter, as done also in `shell-command'.
17857 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
17859         * window.el (set-window-buffer-start-and-point):
17860         Call set-window-start with NOFORCE argument t.
17861         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17862         (quit-window): Reword doc-string.  Handle new format of
17863         quit-restore parameter.  Don't delete window if it has a
17864         previous buffer we can show instead of the present one.
17865         (display-buffer-record-window): Rewrite using a new format for
17866         the quit-restore window parameter
17867         (special-display-popup-frame, display-buffer-same-window)
17868         (display-buffer-reuse-window, display-buffer-pop-up-frame)
17869         (display-buffer-pop-up-window, display-buffer-use-some-window):
17870         Adapt symbol passed to display-buffer-record-window.
17871         * help.el (help-window-setup): Handle new format of quit-restore
17872         parameter.
17874 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17876         * faces.el (face-list): Fix docstring (bug#9564).
17878         * window.el (display-buffer--action-function-custom-type):
17879         Don't include internal functions in the Custom interface.
17881 2011-09-20  Juri Linkov  <juri@jurta.org>
17883         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17884         (Info-forward-node, Info-backward-node, Info-next-preorder)
17885         (Info-last-preorder): Use it.  (Bug#9528)
17887 2011-09-20  Juri Linkov  <juri@jurta.org>
17889         * info.el (Info-last-preorder): Visit last menu item only when
17890         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17892 2011-09-20  Julien Danjou  <julien@danjou.info>
17894         * password-cache.el (password-cache-remove): Remove entries even if the
17895         value is nil, so that password with a nil value (negative caching) is
17896         possible to invalidate.
17898 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
17900         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17901         all whitespace around breakpoint.  (Bug#9553)
17902         (f90-find-breakpoint): Only break at whitespace inside a comment.
17904 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17906         * minibuffer.el (completion-file-name-table): Keep track of errors.
17907         (completion-table-with-predicate): Handle the case where pred1 is nil.
17908         * pcomplete.el (pcomplete-completions-at-point): Simplify.
17910 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17912         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17913         (debugger-return-value): Signal an error if the debugging context does
17914         not await any return value.
17916         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17917         * image-mode.el (image-toggle-display-text)
17918         (image-toggle-display-image): Stay away from evil `intangible'.
17920 2011-09-19  Leo Liu  <sdl.web@gmail.com>
17922         * replace.el (occur-revert-arguments): Make it permanent-local.
17923         (occur-mode): Don't call font-lock-defontify.
17925 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
17927         * net/ldap.el (ldap-search-internal): Don't push empty search
17928         result (Bug#9508).
17930 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17932         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17934 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
17936         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17937         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17939 2011-09-18  Juri Linkov  <juri@jurta.org>
17941         * buff-menu.el (Buffer-menu-mode-map):
17942         * dired.el (dired-mode-map):
17943         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17944         (lisp-interaction-mode-map):
17945         * emacs-lisp/package.el (package-menu-mode-map):
17946         * epa.el (epa-key-list-mode-map):
17947         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17948         (menu-bar-options-menu):
17949         * outline.el (outline-mode-menu-bar-map):
17950         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17951         * vc/vc-dir.el (vc-dir-menu-map):
17952         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17953         Capitalize non-function content words in menu item strings.
17955         * dired.el (dired-mode-map): Add menu item for
17956         `image-dired-dired-toggle-marked-thumbs'.
17958 2011-09-18  Juri Linkov  <juri@jurta.org>
17960         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17961         to `isearch-case-fold-search' and restore its original value
17962         after the `isearch-mode' call.
17964 2011-09-18  Juri Linkov  <juri@jurta.org>
17966         * progmodes/grep.el (grep-process-setup): Don't check code for 1
17967         because `zgrep' returns 1 for successful matches (bug#9226).
17969 2011-09-18  Juri Linkov  <juri@jurta.org>
17971         * info.el (Info-extract-menu-node-name): Check the second match
17972         for empty string (second test-case of bug#9528).
17973         (Info-last-preorder): Let-bind `Info-history' to nil to not add
17974         intermediate nodes to the history (first test-case of bug#9528).
17976 2011-09-18  Juri Linkov  <juri@jurta.org>
17978         * info.el (Info-mode-syntax-table): New variable.
17979         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17981 2011-09-18  Juri Linkov  <juri@jurta.org>
17983         * info.el (Info-file-supports-index-cookies):
17984         Increment line-beginning-position's arg from 3 to 4 because makeinfo
17985         outputs one more line for long file names (bug#4142).
17987 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
17989         * newcomment.el (comment-normalize-vars): If prompting for
17990         comment-start, set comment-start-skip too (Bug#8424).
17992 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
17994         * icomplete.el: Fix previous fix of Bug#5849.
17995         (icomplete-mode): Don't set completion-show-inline-help.
17996         (icomplete-minibuffer-setup): Set completion-show-inline-help
17997         locally during icompletion.
17999 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
18001         * woman.el (woman2-process-escapes): Don't delete unrecognized
18002         escapes (Bug#7843).
18004         * files.el (inhibit-first-line-modes-regexps): Add image files.
18005         (hack-local-variables-prop-line): Return nil for malformed
18006         prop-lines (Bug#9044).
18008 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
18010         * net/tramp.el (top): Don't require 'shell.
18011         (tramp-methods): Fix docstring.
18012         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18013         Return complete remote file name.  Handle "smb" case.
18014         Use `tramp-tmpdir', if defined for the respective method.
18015         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18017         * net/tramp-compat.el (top): Require 'shell.
18019         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18020         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18021         `tramp-current-host'.
18022         (tramp-get-remote-tmpdir): Remove.
18024         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18025         `tramp-tmpdir' entries.
18026         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18027         (tramp-smb-handle-file-attributes): Ignore errors.
18028         (tramp-smb-wait-for-output): Check also for process end.
18030 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18032         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18033         when sending QUIT (bug#9312).
18035 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
18037         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18038         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18039         occur-mode-display-occurrence.
18040         (occur-edit-mode): Add usage message.
18041         (occur-cease-edit): New command.
18042         (occur-after-change-function): Use text properties to find the
18043         position of the prefix text.
18044         (occur-engine): Set stickiness of prefix text properties.
18046 2011-09-17  Glenn Morris  <rgm@gnu.org>
18048         * progmodes/etags.el (complete-tag):
18049         Fix call to completion-in-region.  (Bug#9526)
18051 2011-09-17  Juri Linkov  <juri@jurta.org>
18053         * textmodes/ispell.el (ispell-word): Add to the error message
18054         the word, ispell program name and current dictionary (bug#9121).
18055         (ispell-tex-arg-end): Capitalize "error" in the error message.
18057 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
18059         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18060         check.  (Bug#4251)
18062 2011-09-17  Juri Linkov  <juri@jurta.org>
18064         * window.el (window-safe-min-height, window-safe-min-width):
18065         Fix typos (followup to bug#9522).
18067 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
18069         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18071 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
18073         * simple.el (line-move): If goal-column is set, move by logical
18074         lines, not by display lines.  (Bug#971)
18075         (next-line, previous-line, goal-column, line-move-visual): Doc fix
18076         to reflect the above change.
18078 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18080         * image.el (imagemagick-register-types): Use regexp-opt.
18082 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
18084         * window.el (display-buffer-base-action): Rename from
18085         display-buffer-default-action.  Make default value empty.
18086         (display-buffer-overriding-action): Convert to defvar.
18087         (display-buffer-fallback-action): New var.
18089 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
18091         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18092         declaration.
18093         (package--add-to-archive-contents): If there is a duplicate entry
18094         with an older version, remove it.
18095         (package-menu-mark-delete, package-menu-mark-install)
18096         (package-menu-mark-unmark): Make unused args optional.
18097         (package-menu-mark-obsolete-for-deletion):
18098         Use package-menu-get-status instead of a regexp search.
18099         (package-menu-get-status): Use tabulated-list-entry.
18100         (package-menu-mark-upgrades): New command.
18101         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
18102         (package-menu-execute): Do installation before deletion.
18103         (package-menu-refresh, package-menu-execute): Use derived-mode-p
18104         instead of checking major-mode.
18105         (package-menu--find-upgrades): New function.
18107 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18109         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18110         passwords in the log buffer.
18111         (smtpmail-process-filter): Update the process marker so that the
18112         "broken by peer" status message is inserted in the right place.
18114 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18116         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18117         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18118         bibtex-completion-at-point-function.
18119         (bibtex-completion-at-point-function): Use them.
18121         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18123         * mpc.el (mpc-constraints-tag-lookup): New function.
18124         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18125         also to browser "album|playlist".
18127 2011-09-14  Juri Linkov  <juri@jurta.org>
18129         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
18130         (isearch-edit-string): Use length of `isearch-string' when
18131         `isearch-fail-pos' returns nil.
18132         (isearch-message): Remove duplicate code and call
18133         `isearch-fail-pos' with arg `t'.
18135 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
18137         * replace.el (occur-mode-goto-occurrence): Don't force using other
18138         window (Bug#9499).
18140         * dired-aux.el (dired-do-chmod): Don't provide initial input.
18142 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
18144         * window.el (display-buffer-window): Remove.
18145         (display-buffer-record-window): Use help-setup window parameter
18146         instead of variable display-buffer-window.
18147         (display-buffer-function, special-display-buffer-names)
18148         (special-display-function): Mention help-setup parameter instead
18149         of display-buffer-window in doc-string.
18150         * help.el (help-window-setup): New argument help-window.
18151         Use help-window-setup parameter instead of display-buffer-window.
18152         Reword some messages.
18153         (with-help-window): Pass window used for displaying the buffer
18154         to help-window-setup.  Don't set display-buffer-window.
18156 2011-09-13  Glenn Morris  <rgm@gnu.org>
18158         * emacs-lisp/debug.el (debugger-make-xrefs):
18159         Preserve point.  (Bug#9462)
18161 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
18163         * window.el (window-deletable-p): Use next-frame.
18165 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
18167         * window.el (window-auto-delete): Remove.
18168         (window-deletable-p): Remove argument FORCE.  Don't deal with
18169         dedication and previous buffers.
18170         (switch-to-prev-buffer): Don't delete window.
18171         (delete-windows-on): Delete a window's frame if and only if the
18172         window is dedicated.
18173         (replace-buffer-in-windows): Delete buffer's window or frame if
18174         and only if window is dedicated.
18175         (quit-window): Handle quit-restore as before last change.
18176         (bury-buffer): Delete window only if window-deletable-p returns t.
18178 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
18180         * window.el (window-deletable-p): Never delete the last frame on a
18181         given terminal.
18183 2011-09-13  Glenn Morris  <rgm@gnu.org>
18185         * help.el (describe-key-briefly): Copy previous standard-output change.
18187 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
18189         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
18191 2011-09-13  Glenn Morris  <rgm@gnu.org>
18193         * emacs-lisp/lisp-mode.el (lisp-indent-function):
18194         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18196 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
18198         * dired-aux.el (dired-mark-read-string): Don't return default
18199         value on empty input (Bug#9361).
18200         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18201         Omit initial minibuffer contents.
18202         (dired-do-chmod): Signal an error on empty input.
18203         (dired-mark-read-string): Don't return default on empty input.
18205         * files.el (file-modes-symbolic-to-number): Doc fix.
18207 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18209         * international/mule-cmds.el (ucs-completions): Remove.
18210         (read-char-by-name): Use complete-with-action instead; add metadata.
18212 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
18214         * window.el (display-buffer--action-function-custom-type)
18215         (display-buffer--action-custom-type): New vars.
18216         (display-buffer-alist, display-buffer-default-action)
18217         (display-buffer-overriding-action): Add defcustom types.
18219         * frame.el (delete-other-frames): Doc fix (Bug#276).
18221 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18223         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18225 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
18227         Change modes that used same-window-* vars to use switch-to-buffer.
18229         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18230         Use switch-to-buffer.
18232         * cus-edit.el (customize-group, custom-buffer-create)
18233         (customize-browse, custom-buffer-create-other-window):
18234         Use switch-to-buffer or switch-to-buffer-other-window.
18236         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18237         (Info-prev, Info-up, Info-speedbar-goto-node)
18238         (info-display-manual): Use switch-to-buffer.
18239         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18241         * mail/sendmail.el (mail): Use switch-to-buffer.
18242         (mail-recover): Use switch-to-buffer-other-window.
18244         * cmuscheme.el (run-scheme, switch-to-scheme):
18245         * ielm.el (ielm):
18246         * shell.el (shell):
18247         * net/rlogin.el (rlogin):
18248         * net/telnet.el (telnet, rsh):
18249         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18251 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18253         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18255 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18257         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18258         so don't mention it (bug#9301).
18259         (dired-sort-toggle-or-edit): Clarify string further.
18261         * faces.el (face-spec-set-match-display): Make `(type graphic)'
18262         match `x', `w32' and `ns', like the manual says (bug#9029).
18264         * subr.el (eval-after-load): Doc string clarification (bug#9125).
18265         (process-kill-buffer-query-function): Mention the buffer name in
18266         the query.
18268         * image-mode.el (image-next-line): The line parameter is mandatory
18269         (bug#9258).
18271         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18272         which can be useful (bug#9301).
18274         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18276         * subr.el (match-string): Mention that the current buffer should
18277         be the same as the search was done in (bug#9282).
18279         * facemenu.el: Disable the remove-* commands if the mark isn't
18280         active (bug#9162).
18282 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
18284         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18285         of display-buffer.
18286         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18288         * replace.el (occur-mode-goto-occurrence)
18289         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18290         and display-buffer.
18292         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18293         display-buffer.
18295         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18296         special-display and same-window variables.
18297         (mail-other-window): Use switch-to-buffer-other-window.
18298         (mail-other-frame): USe switch-to-buffer-other-frame.
18300         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18301         Use display-buffer-other-frame.
18302         (gdb-display-gdb-buffer): Use pop-to-buffer.
18304         * progmodes/gud.el (gud-goto-info): Use info-other-window.
18306         * progmodes/python.el: Don't set same-window-buffer-names.
18308         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18310         * window.el (display-buffer-alist): Add *Python*.
18312 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
18314         * window.el (display-buffer-alist): Add entry for buffers
18315         previously handled same-window-*.
18316         (display-buffer-alist, display-buffer-default-action)
18317         (display-buffer-overriding-action): Mark as risky.
18318         (display-buffer-alist): Document action function changes.
18319         (display-buffer--same-window-action)
18320         (display-buffer--other-frame-action): New variables.
18321         (switch-to-buffer, display-buffer-other-frame): Use them.
18322         (display-buffer): Rename reuse-frame entry to reusable-frames.
18323         (display-buffer-reuse-selected-window): Function deleted.
18324         (display-buffer-reuse-window): Handle reusable-frames alist entry.
18325         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18326         (display-buffer-special): New function.
18327         (display-buffer--maybe-pop-up-frame-or-window): Rename from
18328         display-buffer-reuse-or-pop-window.  Split off special-display
18329         part into display-buffer-special.
18330         (display-buffer-use-some-window): Don't perform any special
18331         pop-up-frames handling.
18332         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18333         (display-buffer--maybe-same-window): Rename from
18334         display-buffer-maybe-same-window.
18336         * info.el: Don't set same-window-regexps.
18337         (info-setup): New function.
18338         (info-other-window, info): Call it.
18340         * cus-edit.el: Don't set same-window-regexps.
18341         (customize-group): New argument.
18342         (customize-group-other-window): Use it.
18343         (customize-face, customize-face-other-window): Likewise.
18344         (custom-buffer-create-other-window): Use pop-to-buffer directly.
18346         * net/rlogin.el:
18347         * net/telnet.el:
18348         * progmodes/gud.el: Don't set same-window-regexps.
18350         * cmuscheme.el:
18351         * ielm.el:
18352         * shell.el:
18353         * mail/sendmail.el:
18354         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18356 2011-09-10  Juri Linkov  <juri@jurta.org>
18358         * isearch.el (isearch-edit-string): Remove obsolete mention of
18359         `C-w' (`isearch-yank-word-or-char') from docstring.
18360         (isearch-query-replace): Fix typo in docstring (bug#9466).
18362 2011-09-10  Juri Linkov  <juri@jurta.org>
18364         * paren.el (show-paren-function): Don't show escaped parens.
18365         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
18367 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
18369         * mail/sendmail.el (mml-to-mime, mml-attach-file)
18370         (mm-default-file-encoding): Remove autoload forms, they are
18371         replaced with autoload cookies in mml.el and mm-encode.el.
18372         (mail-add-attachment): New command.
18373         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18374         (mail-mode): Mention mail-insert-file and mail-add-attachment in
18375         the doc string.
18376         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18378 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
18380         * simple.el (count-words-region): Use buffer if there's no region
18381         (bug#9429).
18383 2011-09-09  Juri Linkov  <juri@jurta.org>
18385         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18386         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18387         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
18389 2011-09-09  Alan Mackenzie  <acm@muc.de>
18391         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18392         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
18394 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
18396         Fix for Savannah bug#9392.
18397         * simple.el (mail-encode-mml): New defvar.
18399         * mail/rmail.el (mail-encode-mml): Add a defvar.
18400         (rmail-enable-mime-composing): Default to t.
18401         (rmail-forward): Use MIME method of forwarding only if both
18402         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18403         Set mail-encode-mml non-nil if the MIME method was used.
18405         * mail/sendmail.el (mml-to-mime): Add autoload form.
18406         (mail-encode-mml): Add a defvar.
18407         (mail-mode): Make mail-encode-mml buffer-local and initialize it
18408         to nil.
18409         (mail-send): If mail-encode-mml is non-nil, run the outgoing
18410         message through mml-to-mime, and reset mail-encode-mml to nil.
18412 2011-09-09  Glenn Morris  <rgm@gnu.org>
18414         * woman.el (woman-if-body): When processing an .el block,
18415         do not delete the next .el block as well.  (Bug#9447)
18416         (woman-special-characters): Add oq, cq, and hy characters.
18418 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
18420         * window.el (window-deletable-p): Make sure window is live before
18421         invoking window-prev-buffers.
18423 2011-09-08  Leo Liu  <sdl.web@gmail.com>
18425         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
18427 2011-09-08  Juri Linkov  <juri@jurta.org>
18429         * progmodes/compile.el (compilation-environment): Make it
18430         a defcustom (bug#8340).
18432 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
18434         * window.el (frame-auto-delete): Rename to window-auto-delete.
18435         Make it control auto-deletion of windows and/or frames.
18436         (window-deletable-p): New argument FORCE.  Rewrite conditions
18437         for deleting window/frame.  (Bug#9419)
18438         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18439         Rewrite handling of case when window/frame can be deleted.
18440         (delete-windows-on): Call window-deletable-p with new FORCE
18441         argument t.  (Bug#9456)
18443 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
18445         * help-mode.el (help-mode): Restore autoload.
18447 2011-09-07  Juri Linkov  <juri@jurta.org>
18449         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18450         `compilation-environment'.  Set buffer-local
18451         `compilation-environment' to `thisenv' later after (funcall mode).
18452         (Bug#8340)
18454         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
18455         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18456         instead of replacing its value.  (Bug#8340)
18458 2011-09-07  Juri Linkov  <juri@jurta.org>
18460         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18461         based on text properties put by `grep-filter' instead of matching
18462         escape sequences.
18463         (grep-mode): Set buffer-local `compilation-error-screen-columns'
18464         to the value of `grep-error-screen-columns' (bug#9438).
18466 2011-09-07  Juri Linkov  <juri@jurta.org>
18468         * simple.el (next-error-highlight, next-error-highlight-no-select):
18469         Doc fix (bug#9432).
18471 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
18473         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18474         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
18476 2011-09-07  Leo Liu  <sdl.web@gmail.com>
18478         * net/rcirc.el (rcirc-mode): Conditionally initialize
18479         rcirc-input-ring.
18481 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18483         * emacs-lisp/find-func.el (find-function-C-source): Only set
18484         find-function-C-source-directory after checking that we found a source
18485         file there (bug#9440).
18487 2011-09-06  Alan Mackenzie  <acm@muc.de>
18489         * isearch.el (isearch-other-meta-char): Wherever a key list is
18490         unread, "unread" the prefix arg, too.  This fixes bug #8901.
18492 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
18494         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18496 2011-09-05  Juri Linkov  <juri@jurta.org>
18498         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18500 2011-09-05  Juri Linkov  <juri@jurta.org>
18502         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18503         keeping point where processing of grep matches begins, and
18504         continue to delete remaining escape sequences from the same point.
18505         (grep-filter): Make leading zero optional in "0?1;31m" because
18506         git-grep emits "\033[1;31m" escape sequences unlike expected
18507         "\033[01;31m" as GNU Grep does (bug#9408).
18508         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18510 2011-09-05  Juri Linkov  <juri@jurta.org>
18512         * subr.el (y-or-n-p): Capitalize "yes".
18514 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
18516         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
18517         `tramp-cache-unload-hook' where appropriate.
18518         (tramp-methods): Rename `tramp-remote-sh' to
18519         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
18520         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18522         * net/tramp-sh.el (top): Don't require 'shell.
18523         (tramp-methods): Add `tramp-remote-shell' and
18524         `tramp-remote-shell-args' entries.
18525         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18526         (tramp-sh-handle-shell-command): Remove.
18527         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18528         Use `tramp-remote-shell'.
18530 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
18532         * mail/sendmail.el (sendmail-query-once-function): Delete.
18533         (sendmail-query-once): Save directly to send-mail-function.
18534         Update message-send-mail-function too.
18536         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18538 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
18540         * progmodes/python.el (python-mode-map): Use correct function to
18541         start python interpreter from menu-bar (as reported by Geert
18542         Kloosterman).
18543         (inferior-python-mode-map): Fix typo.
18544         (python-shell-map): Remove.
18546 2011-09-03  Deniz Dogan  <deniz@dogan.se>
18548         * net/rcirc.el (rcirc-print): Simplify code for
18549         rcirc-scroll-show-maximum-output.  There is no need to walk
18550         through all windows to find the right one.
18552 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
18554         * help.el (help-return-method): Doc fix.
18556 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
18558         * window.el (window-deletable-p): Don't return a non-nil value
18559         when there's a buffer that was shown in the window before.
18560         (Bug#9419)
18561         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18562         Set window's previous buffers to nil.
18564 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
18566         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18567         newline before and after the tag line, so it doesn't interfere
18568         with determining the paragraph direction of bidirectional text.
18570 2011-09-03  Leo Liu  <sdl.web@gmail.com>
18572         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
18574 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
18576         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18577         (pop-to-buffer): Change interactive spec.  Pass second argument
18578         directly to display-buffer.
18579         (display-buffer): Fix interactive spec.  Use functionp to
18580         distinguish between a function and a list of functions.
18582         * abbrev.el (edit-abbrevs):
18583         * arc-mode.el (archive-extract):
18584         * autoinsert.el (auto-insert):
18585         * bookmark.el (bookmark-bmenu-list):
18586         * files.el (find-file):
18587         * view.el (view-buffer):
18588         * progmodes/compile.el (compilation-goto-locus):
18589         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18591 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
18593         * window.el (display-buffer-alist): Doc fix.
18594         (display-buffer): Add docstring.  Don't treat
18595         display-buffer-default specially.
18596         (display-buffer-reuse-selected-window)
18597         (display-buffer-same-window, display-buffer-maybe-same-window)
18598         (display-buffer-reuse-window, display-buffer-pop-up-frame)
18599         (display-buffer-pop-up-window)
18600         (display-buffer-reuse-or-pop-window)
18601         (display-buffer-use-some-window): New functions.
18602         (display-buffer-default-action): Use them.
18603         (display-buffer-default): Delete.
18604         (pop-to-buffer-1): Fix choice of actions.
18606 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18608         * minibuffer.el (completion--insert-strings): Don't get confused by
18609         completion entries that end with an LF char.
18611 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
18613         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18615 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
18617         * window.el (display-buffer): Restore interactive spec.
18618         (display-buffer-same-window, display-buffer-other-window):
18619         New functions.
18620         (pop-to-buffer-1): New function.  Use the above.
18621         (pop-to-buffer, pop-to-buffer-same-window): Use it.
18622         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18624         * view.el (view-buffer-other-window, view-buffer-other-frame):
18625         Just use pop-to-buffer.
18627 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18629         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
18631 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
18633         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
18635 2011-08-31  Richard Stallman  <rms@gnu.org>
18637         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18638         of the separation of rmail-view-buffer from rmail-buffer.
18639         If you say no to "replace original", the decrypt is in the
18640         view buffer.  If you say yes, the decrypt goes into the
18641         rmail buffer also.
18643 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
18645         * window.el (display-buffer-window): Rewrite doc-string.
18646         (display-buffer-record-window): New function.
18647         (display-buffer-macro-specifiers)
18648         (display-buffer-even-window-sizes, display-buffer-set-height)
18649         (display-buffer-set-width, display-buffer-in-window)
18650         (display-buffer-reuse-window, display-buffer-split-specifiers)
18651         (display-buffer-side-specifiers, display-buffer-split-window-1)
18652         (display-buffer-split-window, display-buffer-split-atom-window)
18653         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18654         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18655         (display-buffer-other-window-means-other-frame)
18656         (display-buffer-normalize-special)
18657         (display-buffer-normalize-default)
18658         (display-buffer-normalize-argument)
18659         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18660         (display-buffer-normalize-specifiers, display-buffer-frame)
18661         (display-buffer-same-window, display-buffer-same-frame)
18662         (display-buffer-other-window)
18663         (display-buffer-same-frame-other-window)
18664         (display-buffer-other-frame, pop-to-buffer-same-window)
18665         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18666         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18667         (switch-to-buffer-same-frame)
18668         (switch-to-buffer-other-window-same-frame)
18669         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18670         (display-buffer-alist-set-1, display-buffer-alist-set-2)
18671         (display-buffer-alist-set): Remove.
18672         (display-buffer-function, special-display-buffer-names)
18673         (special-display-regexps, special-display-function):
18674         In doc-string refer to display-buffer-window and quit-restore
18675         parameter.
18676         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18677         (special-display-frame-alist, special-display-popup-frame)
18678         (same-window-buffer-names, same-window-regexps, same-window-p)
18679         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18680         (split-window-preferred-function, split-height-threshold)
18681         (split-width-threshold, window-splittable-p)
18682         (split-window-sensibly, window--try-to-split-window)
18683         (window--frame-usable-p, even-window-heights)
18684         (window--even-window-heights, window--display-buffer-1)
18685         (window--display-buffer-2, display-buffer-other-frame):
18686         Restore old Emacs 23 code, order and doc-strings where applicable.
18687         (display-buffer-default, display-buffer-assq-regexp): New functions.
18688         (display-buffer-alist): Rewrite doc-string.
18689         (display-buffer-default-action)
18690         (display-buffer-overriding-action): New variables.
18691         (display-buffer, switch-to-buffer): Rewrite.
18692         (pop-to-buffer): Restore Emacs 23 behavior but use
18693         window-normalize-buffer-to-display.
18694         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18695         Restore Emacs 23 behavior but use
18696         window-normalize-buffer-to-switch-to.
18697         (pop-to-buffer-same-window): Rewrite.
18698         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18699         Rewrite using Emacs 23 options.
18701 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
18703         * net/tramp.el (tramp-root-regexp): Remove.
18704         (tramp-completion-file-name-regexp-unified)
18705         (tramp-completion-file-name-regexp-separate)
18706         (tramp-completion-file-name-regexp-url): Don't use leading volume
18707         letter on w32 systems.  (Bug#5303, Bug#9311)
18708         (tramp-drop-volume-letter): Simplify definition.
18709         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18711 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18713         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18714         (bug#9356).
18716 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
18718         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18720 2011-08-29  Juri Linkov  <juri@jurta.org>
18722         * isearch.el (isearch-done): Don't display message "Mark saved"
18723         when arg `edit' is non-nil to prevent its flicker in the echo area.
18725 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
18727         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18728         obsolete packages for deletion.
18730 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
18732         * help-mode.el (help-mode-map): Add special-mode-map to parent.
18733         (help-mode): Derive help-mode from special-mode.  Don't invoke
18734         view-mode from help-mode.
18735         (help-xref-override-view-map): Remove.
18736         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18737         view-mode is not used anymore.
18739 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
18741         * server.el (server-port): Doc fix.
18743         * cus-theme.el (custom-theme-choose-mode): Inherit from
18744         special-mode (Bug#9124).
18745         (custom-theme-choose-mode-map): Add special-mode to parent.
18747 2011-08-28  Alan Mackenzie  <acm@muc.de>
18749         * progmodes/cc-fonts.el
18750         (c-make-font-lock-BO-decl-search-function): New function.
18751         (c-basic-matchers-after - "Fontify the clauses after various
18752         keywords"): Extract the three keyword lists for the 3 erroneous
18753         constructs from the list of four, and use the new function above
18754         in place of an old one.
18756 2011-08-28  Deniz Dogan  <deniz@dogan.se>
18758         * net/rcirc.el (rcirc-insert-prev-input)
18759         (rcirc-insert-next-input): Remove unused argument.
18761 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18763         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18765 2011-08-27  Alan Mackenzie  <acm@muc.de>
18767         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18768         handle function pointer parameters properly.
18770 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
18772         * window.el (display-buffer-reuse-window): Fix case where
18773         selected window was reused with non-nil OTHER-WINDOW argument.
18774         (Bug#9381)
18776 2011-08-27  Deniz Dogan  <deniz@dogan.se>
18778         * net/rcirc.el (rcirc-check-auth-status): Adding support for
18779         oftc's NickServ messages.
18781 2011-08-27  Glenn Morris  <rgm@gnu.org>
18783         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
18785 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
18787         * emacs-lisp/package.el (package-install): Call package-initialize
18788         if called interactively.
18790 2011-08-26  Leo Liu  <sdl.web@gmail.com>
18792         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
18794 2011-08-25  Juri Linkov  <juri@jurta.org>
18796         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18797         `search-whitespace-regexp' (bug#9364).
18799 2011-08-25  Juri Linkov  <juri@jurta.org>
18801         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18802         `regexp-search-ring' to their global values to protect from
18803         updating by `read-from-minibuffer' (bug#9185).
18805 2011-08-25  Juri Linkov  <juri@jurta.org>
18807         * textmodes/ispell.el (ispell-command-loop): Add newline
18808         at the end of the "Use option `i'..." line.
18810 2011-08-25  Juri Linkov  <juri@jurta.org>
18812         * battery.el (display-battery-mode): If `battery-status-function'
18813         or `battery-mode-line-format' is nil, display the message and set
18814         `display-battery-mode' to nil (bug#9363).
18816 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
18818         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18819         bidi-string-mark-left-to-right; they are unnecessary now.
18821 2011-08-25  Deniz Dogan  <deniz@dogan.se>
18823         * net/quickurl.el: Documentation typo fixes.
18825 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
18827         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18829 2011-08-25  Glenn Morris  <rgm@gnu.org>
18831         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18833         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18834         (smtpmail-via-smtp): Handle nil response from smtp.
18836 2011-08-24  Juri Linkov  <juri@jurta.org>
18838         * proced.el (proced-marked): Inherit from `error' instead of
18839         `font-lock-warning-face'.
18841         * ibuffer.el (ibuffer-marked-face): Change default face from
18842         `font-lock-warning-face' to `warning'.
18843         (ibuffer-deletion-face): Change default face from
18844         `font-lock-type-face' to `error'.
18846         * battery.el (battery-update): Use the face `error' instead of
18847         `font-lock-warning-face' (bug#6117).
18849 2011-08-24  Juri Linkov  <juri@jurta.org>
18851         * faces.el (success): Change face color from "Green3" to
18852         "ForestGreen" on light background (bug#9353).
18854 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
18856         * window.el (quit-window): Rename from quit-restore-window.
18857         Use same arglist as old quit-window.
18858         (frame-auto-delete): Doc fix.
18860         * view.el (view-mode-exit): Use quit-window.
18862 2011-08-24  Juri Linkov  <juri@jurta.org>
18864         * isearch.el (isearch-ring-adjust1): Start visiting previous
18865         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18866         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18867         for empty search string (when the last search string is reused
18868         automatically) to adjust the isearch ring to the last element and
18869         prepare the correct index for further M-p commands (bug#9185).
18871 2011-08-24  Kenichi Handa  <handa@m17n.org>
18873         * international/ucs-normalize.el: If decomposition property of
18874         CHAR is the default one (i.e. a list of CHAR itself), treat it as
18875         nil.
18876         (nfd, nfkd): Likewise.
18878 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18880         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18881         from process filters aren't reliably transmitted to the surrounding
18882         accept-process-output.
18883         (mpc-proc-check): New function.
18884         (mpc-proc-sync): Use it (bug#8293)
18886 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18889         Add compatibility functions (bug#9313).
18891 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
18893         * cus-start.el (all): Add entry for bidi-paragraph-direction.
18895         * international/uni-bidi.el: Regenerate.
18897 2011-08-23  Kenichi Handa  <handa@m17n.org>
18899         * international/charprop.el:
18900         * international/uni-bidi.el:
18901         * international/uni-category.el:
18902         * international/uni-combining.el:
18903         * international/uni-comment.el:
18904         * international/uni-decimal.el:
18905         * international/uni-decomposition.el:
18906         * international/uni-digit.el:
18907         * international/uni-lowercase.el:
18908         * international/uni-mirrored.el:
18909         * international/uni-name.el:
18910         * international/uni-numeric.el:
18911         * international/uni-old-name.el:
18912         * international/uni-titlecase.el:
18913         * international/uni-uppercase.el: Regenerate.
18915 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
18917         * help.el (help-window-setup): Fix message displayed when other
18918         window is reused.  (Bug#9341)
18920 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18922         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18923         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18925         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18926         Mark obsolete.
18927         * shell.el (shell-parse-pcomplete-arguments): New function.
18928         (shell-completion-vars): Use it instead (bug#9160).
18930 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18932         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18933         strings and comments (bug#9333).
18935         * emacs-lisp/debug.el (debug-arglist): New function.
18936         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
18937         (debug-on-entry-1): Handle interpreted closures (bug#9120).
18939 2011-08-22  Juri Linkov  <juri@jurta.org>
18941         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18942         Revert regexp that highlights output switches to its old
18943         pre-2010-10-28 value and remove one `?' from it (bug#9319).
18945         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18946         to check for empty output (bug#9226).
18948 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
18950         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18951         symbol-constituent as the default, as that stops font-lock from
18952         working properly (Bug#8843).
18954 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18956         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18957         `coding-system-for-*' around the process open call to avoid
18958         auth-source side effects.
18959         (smtpmail-try-auth-methods): Expand the secret password.
18960         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18961         probe hangs.
18963 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
18965         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18967         * emacs-lisp/find-func.el (find-function-noselect): New arg
18968         lisp-only.
18970         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18971         signal an error for built-in functions (Bug#6664).
18973 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18975         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18976         (smtpmail-try-auth-methods): Use it.
18978 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
18980         * font-lock.el (font-lock-fontify-region)
18981         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18982         (font-lock-default-unfontify-buffer)
18983         (font-lock-default-fontify-region)
18984         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18986         * progmodes/compile.el (compilation-error-properties):
18987         Fix confusion between file struct and message struct (Bug#9319).
18988         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18989         `ant' regexp.
18991         * net/browse-url.el (browse-url-firefox): Don't call
18992         browse-url-firefox-sentinel unless using -remote (Bug#9328).
18994 2011-08-20  Glenn Morris  <rgm@gnu.org>
18996         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18998         * tutorial.el (tutorial--default-keys): Update some default bindings.
19000         * files.el (hack-local-variables): Fully ignore case for "mode:".
19002 2011-08-20  Alan Mackenzie  <acm@muc.de>
19004         Resolve invalid use of a regexp in regexp-opt.
19006         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19007         detection for a java annotation.
19009         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19010         detection for a java annotation.
19012         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19013         handling for java.
19014         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19016 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
19018         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19019         (Bug#9274).
19021 2011-08-20  Alan Mackenzie  <acm@muc.de>
19023         Fontify CPP expressions correctly when starting in the middle of
19024         such a construct.  Mainly for when jit-lock etc. starts a chunk
19025         here.
19027         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19028         variable.
19029         (c-make-font-lock-search-form): New function, extracted from
19030         c-make-font-lock-search-function.
19031         (c-make-font-lock-search-function): Use the above function.
19032         (c-make-font-lock-context-search-function): New function.
19033         (c-cpp-matchers): Enhance the preprocessor expression case with
19034         the above function
19035         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19036         which takes an expression.
19038         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19040 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
19042         * window.el (display-buffer-reuse-window)
19043         (display-buffer-pop-up-window): Don't reuse or split a side
19044         window.
19046 2011-08-19  Glenn Morris  <rgm@gnu.org>
19048         * files.el (hack-local-variables-prop-line, hack-local-variables):
19049         Downcase "Mode:".  (Bug#9331)
19051 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
19053         * international/characters.el: Add L and R categories.
19055         * subr.el (bidi-string-mark-left-to-right): Rename from
19056         string-mark-left-to-right.  Use category search.
19058         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19060 2011-08-18  Juri Linkov  <juri@jurta.org>
19062         * faces.el (error, warning, success): New faces with definitions
19063         copied from old default values of `font-lock-warning-face',
19064         `compilation-warning', `compilation-info' (bug#6117).
19066         * font-lock.el (font-lock-warning-face): Inherit from `error'.
19068         * progmodes/compile.el (compilation-error): Inherit from `error'.
19069         (compilation-warning): Inherit from `warning'.
19070         (compilation-info): Inherit from `success'.
19072         * dired.el (dired-marked): Inherit from `warning'.
19073         (dired-flagged): Inherit from `error'.
19075 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19077         * mail/smtpmail.el (auth-source): Require to avoid problems with
19078         binding variables (bug#9298).  Also clean up some unused
19079         autoloads.
19081         * net/network-stream.el (network-stream-open-starttls):
19082         Support using starttls.el without using gnutls-cli.
19084 2011-08-17  Juri Linkov  <juri@jurta.org>
19086         * progmodes/grep.el (rgrep): Handle the case when
19087         `grep-find-command' is a cons cell (bug#9278).
19089 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
19091         * window.el (display-buffer-pop-up-frame): Run frame creation
19092         function with BUFFER current (as special-display-popup-frame
19093         does).  Reported by Drew Adams.
19095 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
19097         * epa-mail.el: Simplify GnuPG group expansion using
19098         epg-expand-group.
19099         (epa-mail-group-alist, epa-mail-group-modtime)
19100         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19101         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19102         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19103         Remove.
19105 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
19107         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19109 2011-08-16  Alan Mackenzie  <acm@muc.de>
19111         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19112         Correct, to avoid the inside of macros.
19114 2011-08-16  Richard Stallman  <rms@gnu.org>
19116         * epa-mail.el: Handle GnuPG group definitions.
19117         (epa-mail-group-alist, epa-mail-group-modtime)
19118         (epa-mail-gnupg-conf-file): New variables.
19119         (epa-mail-parse-groups, epa-mail-sync-groups)
19120         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19121         (epa-mail-expand-recipients): New functions.
19122         (epa-mail-encrypt): Call epa-mail-expand-recipients.
19124         * mail/rmail.el (rmail-epa-decrypt): New command.
19126         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19127         Don't bind buffer-read-only, just inhibit-read-only.
19128         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19129         (epa-decrypt-armor-in-region): Make error message clearer.
19131 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19133         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19134         and "a2b" to "ab" for `prefix'.
19136 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
19138         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19139         filter groups.
19140         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
19141         Fourquet (Bug#8804).
19143 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
19145         * startup.el (argi): Declare as global variable (bug#9275).
19147 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
19149         * subr.el (string-mark-left-to-right): Search the entire string
19150         for RTL script, not just the terminating character.  Doc fix.
19152 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19154         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19155         New function.
19156         (js--regexp-literal, js-syntax-propertize-function): Remove.
19157         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19158         (js-mode-map): Don't rebind electric keys.
19159         (js-insert-and-indent): Remove.
19160         (js-mode): Setup electric-layout and electric-indent instead.
19162         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19164 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
19166         * epa.el (epa-progress-callback-function): Fix the logic of
19167         displaying progress.
19168         * epa-file.el (epa-file-insert-file-contents): Make progress
19169         display more user-friendly.
19170         (epa-file-write-region): Ditto.
19172 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
19174         * subr.el (string-mark-left-to-right): New function.
19176         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19177         Use string-mark-left-to-right.
19178         (list-buffers-noselect): Caller changed.
19180         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19181         Use string-mark-left-to-right.
19182         (tabulated-list-print): Recenter after moving point.
19184 2011-08-10  Juri Linkov  <juri@jurta.org>
19186         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19187         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19188         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19190 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
19192         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19193         (Bug#7554).
19195 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19197         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19198         character.  (Bug#6594)
19200 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
19202         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19203         (image-dired--with-db-file): New macro.
19204         (image-dired-write-tags, image-dired-remove-tag)
19205         (image-dired-create-gallery-lists, image-dired-write-comments)
19206         (image-dired-get-comment, image-dired-mark-tagged-files)
19207         (image-dired-list-tags, image-dired-gallery-generate): Use it.
19208         (image-dired-gallery-generate): Use insert-file-contents.
19210         * time.el (display-time-world-list, display-time-world-display):
19211         * time-stamp.el (time-stamp-string):
19212         * vc/add-log.el (add-change-log-entry): Use setenv instead of
19213         set-time-zone-rule (Bug#7337).
19215 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
19217         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19218         (epg-error-to-string, epg-errors-to-string): New function.
19219         (epg-wait-for-completion): Reverse errors list.
19220         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19221         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19222         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19223         (epg-sign-keys, epg-generate-key-from-file)
19224         (epg-generate-key-from-string): Format errors by using
19225         epg-errors-to-string (bug#9255).
19226         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19228 2011-08-07  Juri Linkov  <juri@jurta.org>
19230         * faces.el (list-faces-display): Remove extra angle bracket
19231         from `help-mode-map'.
19233         * info.el (Info-history-toc-nodes): Doc fix.
19235         * longlines.el (longlines-mode): Doc fix.
19237 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19239         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19240         of statements and in a few more cases (bug#9183).
19242         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19243         New functions.
19244         (cl-transform-lambda): Use them (bug#9239).
19246 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
19248         * window.el (display-buffer-same-window)
19249         (display-buffer-same-frame, display-buffer-other-window)
19250         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19251         (pop-to-buffer-other-window)
19252         (pop-to-buffer-same-frame-other-window)
19253         (pop-to-buffer-other-frame): Make them defuns.
19254         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19256 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19258         * subr.el (make-composed-keymap): Move from C.  Change calling
19259         convention, and improve docstring to bring attention to a subtle point.
19260         * minibuffer.el (completing-read-default): Adjust accordingly.
19262 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
19264         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19265         (tramp-open-shell): Use `tramp-shell-quote-argument'.
19267         * net/trampver.el: Update release number.
19269 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19271         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19272         "in" (bug#9190).
19274 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19276         * mail/sendmail.el (sendmail-query-once): Restore the current
19277         buffer after querying (bug#9074).
19279         * dired.el (dired-flagged): Use different faces for marked and
19280         flagged files (bug#6117).
19282         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19283         (bug#4433).
19285         * ido.el (ido-mode): Switch off the message if called
19286         non-interactively.
19288         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19289         before 587, since it appears that that's more likely to work for
19290         more people.
19292         * cus-edit.el (custom-file): When running under emacs -q, always
19293         refuse to save the customizations, even if the .emacs file doesn't
19294         exist.
19296         * info.el: Remove the `Info-beginning-of-buffer' function
19297         (bug#8325).
19299         * net/network-stream.el (network-stream-open-starttls):
19300         Use `starttls-available-p' to see whether starttls.el can be used.
19302 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
19304         * window.el (display-buffer-in-window): Don't set dedicated status
19305         of window here (Bug#9215).
19306         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19307         (display-buffer-pop-up-side-window)
19308         (display-buffer-in-side-window): Set dedicated status of window here.
19310 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19312         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19313         before binding generated-autoload-file.
19315 2011-08-01  Deniz Dogan  <deniz@dogan.se>
19317         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19319 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
19321         Sync with Tramp 2.2.2.
19323         * net/trampver.el: Update release number.
19325 2011-07-30  Juri Linkov  <juri@jurta.org>
19327         * dired-aux.el (dired-touch-initial): Remove function.
19328         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19329         current time, and `default' to the last modification time of the
19330         current marked file (bug#6887).
19332 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
19334         * simple.el (goto-line): Use string-to-number to provide a
19335         numeric argument to read-number (bug#9163).
19337 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
19339         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19340         connection process, it could be nil.
19342 2011-07-27  Leo Liu  <sdl.web@gmail.com>
19344         Simplify url handling in rcirc-mode.
19346         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19347         (rcirc-browse-url-at-mouse): Remove.
19348         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19350 2011-07-26  Alan Mackenzie  <acm@muc.de>
19352         Fontify bitfield declarations properly.
19354         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19355         (c-symbol-chars): Now exported as a lang variable.
19356         (c-not-primitive-type-keywords): New lang variable.
19358         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19359         QT keyword "more" to prevent "more slots: ...." being spuriously
19360         parsed as a bitfield declaration.
19362         * progmodes/cc-engine.el (c-beginning-of-statement-1):
19363         Refactor and enhance to handle bitfield declarations.
19364         (c-punctuation-in): New function.
19365         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19366         declarations properly.
19368 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
19370         * calendar/icalendar.el (icalendar--all-events): Take care of
19371         multiple vcalendars in a single file.
19372         (icalendar--convert-float-to-ical): Checkdoc fixes.
19374 2011-07-25  Deniz Dogan  <deniz@dogan.se>
19376         * image.el (insert-image): Clarifying docstring.
19378 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
19380         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19381         `tramp-send-command-and-check' if there is no error.
19382         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19384 2011-07-22  Alan Mackenzie  <acm@muc.de>
19386         Prevent cc-langs.elc being loaded at run time.
19388         * progmodes/cc-mode.el: Remove two autoload forms which loaded
19389         cc-langs.
19391         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19392         "(require 'cc-langs)".  Quote a form so it will evaluate at
19393         (cc-mode's) compilation time.
19395 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
19397         * net/tramp.el (tramp-file-name-handler): Avoid recursive
19398         loading.  (Bug#9114)
19400 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
19402         * window.el (display-buffer-pop-up-window)
19403         (display-buffer-pop-up-side-window)
19404         (display-buffer-in-side-window): Call display-buffer-set-height
19405         and display-buffer-set-width after setting the new window's
19406         buffer so `fit-window-to-buffer' and friends work on the right buffer.
19408 2011-07-20  Sam Steingold  <sds@gnu.org>
19410         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19411         (etags-tags-included-tables): Call `convert-standard-filename' on
19412         the file names contained in TAGS so that windows Emacs can handle
19413         TAGS files created by cygwin ctags.
19415 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19417         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19418         which apparently didn't work.
19420 2011-07-19  Roland Winkler  <winkler@gnu.org>
19422         * proced.el (proced-send-signal): For *Marked Processes* buffer
19423         put point at beginning of buffer.
19425 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
19427         * proced.el (proced-format): Make header lines align with the text
19428         (bug#1779).
19430 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19432         * view.el (view-buffer): Allow running in `special' modes if we're
19433         visiting a file (bug#8615).
19435 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
19437         * window.el (display-buffer-alist-of-strings-p)
19438         (display-buffer-alist-set-1, display-buffer-alist-set-2):
19439         New functions.
19440         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19441         more accurately.
19443 2011-07-18  Alan Mackenzie  <acm@muc.de>
19445         Fontify declarators properly when, e.g., a jit-lock chunk begins
19446         inside a declaration.
19448         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19450         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19451         New function.
19452         (c-complex-decl-matchers): Insert reference to
19453         c-font-lock-enclosing-decls.
19455         * progmodes/cc-engine.el (c-backward-single-comment):
19456         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19457         to nil around calls to (forward-comment -1).
19459 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19461         * image.el (put-image): Doc typo fix.
19463         * progmodes/etags.el (tags-search): Doc typo fix.
19465         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19466         password if we get errors 550 to 554.
19468 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19470         * net/gnutls.el (gnutls-log-level): Remove.
19472         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19473         indentation character (bug#6380).
19475         * files.el (buffer-offer-save): Made permanently local (bug#6241).
19477         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19478         to clarify what the problem is (bug#4291).
19480         * simple.el (current-kill): Clarify what
19481         `interprogram-paste-function' does (bug#7500).
19482         (auto-fill-mode): Document `auto-fill-function' in relation to
19483         `auto-fill-mode' (bug#2470).
19485 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
19487         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19488         method if slot is read-only (bug#9035).
19490 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
19492         * frame.el (select-frame-set-input-focus): New argument NORECORD.
19493         * window.el (pop-to-buffer): Select window used even if it was
19494         selected before, see discussion of (Bug#8615), (Bug#6954).
19495         Pass argument NORECORD on to select-frame-set-input-focus.
19497 2011-07-15  Glenn Morris  <rgm@gnu.org>
19499         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
19500         Respect help-form.
19502 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
19504         * net/gnutls.el (gnutls-min-prime-bits): New variable.
19505         (gnutls-negotiate): Use it.
19507 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19509         * net/gnutls.el (gnutls-negotiate):
19510         Upcase `gnutls-algorithm-priority'.
19512 2011-07-15  Glenn Morris  <rgm@gnu.org>
19514         * jka-compr.el (jka-compr-verbose): Move from here...
19515         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
19516         Add missing :version tag.
19517         * info.el: No need to require jka-compr when compiling.
19519 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19521         * net/gnutls.el (gnutls-algorithm-priority): New variable.
19522         (gnutls-negotiate): Use it.
19524         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19526         * info.el (Info-beginning-of-buffer): New command.
19527         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19528         announcing `b' as the key (bug#8325).
19529         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19531         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19533         * international/mule-cmds.el
19534         (describe-specified-language-support): Make the error message
19535         clearer (bug#8905).
19537         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19539         * isearch.el (isearch-barrier): Add a doc string, since it's
19540         mentioned in a function doc string (bug#8678).
19542 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
19544         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19545         buffer argument (Bug#9083) and self-identifying label argument.
19547 2011-07-15  Glenn Morris  <rgm@gnu.org>
19549         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
19551 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19553         * man.el (Man-fontify-manpage): Fix message when formatting the
19554         man page (bug#7929).
19556 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
19558         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19559         argument LRM; if non-nil, append an invisible LRM character to the
19560         buffer name.
19561         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19562         last argument non-nil, when formatting buffer names.
19563         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19564         paragraph direction.
19566 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19568         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19569         the man page name (bug#7929).
19571         * image.el (put-image): Mention the `put-image' overlay property
19572         (bug#7834).
19574         * scroll-bar.el (set-scroll-bar-mode): Mention that
19575         `scroll-bar-mode' lists the values (bug#7772).
19577         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19578         command (bug#7729).
19580         * rect.el (apply-on-rectangle): Return the point after the last
19581         operation.
19582         (string-rectangle): Go to the point after the last operation
19583         (bug#7522).
19585         * printing.el (pr-toggle-region): Clarify the documentation
19586         slightly (bug#7493).
19588         * time.el (display-time-update):
19589         Allow `display-time-mail-function' to return nil (bug#7158).
19590         Fix suggested by Detlev Zundel.
19592         * vc/diff.el (diff): Clarify the order the file names are read
19593         (bug#7111).
19595         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19596         the doc string (bug#7015).
19598         * font-lock.el (font-lock-maximum-decoration): Mention what
19599         numeric levels mean (bug#6935).
19601         * startup.el (initial-buffer-choice): Don't mention the `none'
19602         selection, which is against policy.
19604 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
19606         * window.el (display-buffer-normalize-special):
19607         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19609 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
19611         * subr.el (version<, version<=, version=): Mention "-CVS" and
19612         "-12345" alpha version numbers.
19614 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
19616         * bindings.el: Add advertised binding for set-mark-command
19617         (Bug#5772).
19619 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
19621         * bindings.el (mode-line-other-buffer):
19622         * bookmark.el (bookmark-bmenu-2-window):
19623         * bs.el (bs-cycle-next, bs-cycle-previous):
19624         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19625         switch-to-buffer.
19627         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19628         Delete.
19630 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
19632         * follow.el (follow-debug-message, follow-redisplay):
19633         * jka-cmpr-hook.el (with-auto-compression-mode):
19634         Fix typos in docstrings.
19636 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19638         * subr.el (with-silent-modifications): Clarify somewhat what the
19639         macro inhibits (bug#6525).
19641         * simple.el (eval-expression): Note what it does if called
19642         interactively (bug#6495).
19644 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
19646         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19647         Use pop-to-buffer buffer-or-name if it is nil.
19649         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19650         Remove switch-to-buffer.
19652 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19654         * files.el (make-directory): Clarify that an error will be raised
19655         if there's an error (bug#6397).
19657         * startup.el (initial-buffer-choice): Add `none' as a choice
19658         (bug#6234).
19660         * subr.el (add-hook): Clarify section about buffer-local hooks
19661         (bug#6218).
19663         * dired.el (dired-flagged): Clarify doc string (bug#6117).
19665 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
19667         * tabify.el (untabify): Preserve the current column so that point
19668         doesn't move (bug#6032).
19670 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19672         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19673         Rewrite to avoid awkward possessive "s" (bug#5986).
19675 2011-07-13  Glenn Morris  <rgm@gnu.org>
19677         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
19678         (dired-insert-directory): Give a message the first time
19679         if ls is found not to support --dired.
19681 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19683         * simple.el (toggle-truncate-lines): Clarify what is toggled
19684         (bug#5580).  Text by Drew Adams.
19686 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
19688         * simple.el (blink-matching-open): Make the error message from the
19689         last change less verbose.
19691 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
19693         * font-lock.el (font-lock-comment-face): Use the high contrast
19694         "yellow" color for font-lock-comment-face on low color terminals
19695         using a dark background color (bug#4221).
19697 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19699         * dired.el (dired-insert-set-properties): Make the doc string
19700         reflect what it does now (bug#5325).
19702         * simple.el (blink-matching-open): Say that we were unable to find
19703         the match within the limit, if we're limited (bug#5122).
19705         * international/mule-cmds.el (prefer-coding-system): Add an
19706         example (bug#4869).
19708         * progmodes/etags.el (tags-search): Document `file-list-form'
19709         (bug#4731).
19711 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
19713         * net/browse-url.el (browse-url-default-browser)
19714         (browse-url-browser-function): Make the default browser choice a
19715         bit more logical (bug#4300).  Also clean up the doc string.
19717 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
19719         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19720         binary endings (bug#4440).
19722 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19724         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19725         which can be pretty annoying (bug#8971).
19727         * jka-compr.el (jka-compr-verbose): New variable, and use
19728         throughout (bug#8971).
19730         * info.el (Info-find-file): Fall back on the installation
19731         directory if we can't find the info node anywhere else.
19733 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
19735         * vc/vc.el (vc-revert-file):
19736         Don't set file time-stamp in the past.  (Bug#5181)
19738 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19740         * files.el (after-find-file): Give a better error message when
19741         trying to find a symlink that points to a file that doesn't exist
19742         (bug#4398).
19744         * progmodes/cc-vars.el: Remove (probably) misleading comment
19745         (bug#4396).
19747 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
19749         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19751 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
19753         * mouse-sel.el: Hack restoring functionality, while keeping
19754         compatibility with 2010-07-03 changes to mouse selection.
19755         (mouse-sel-primary-overlay): New var.
19756         (mouse-sel-selection-alist): Use it.
19757         (mouse-sel-mode): Doc fix; remove points that are default features
19758         of mouse.el.
19760 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
19762         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19763         Fix previous fix (bug#2490).
19765 2011-07-12  Roland Winkler  <winkler@gnu.org>
19767         * textmodes/bibtex.el (bibtex-initialize):
19768         Use pop-to-buffer-same-window.
19769         (bibtex-search-entries): Fix interactive call.
19771 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19773         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19774         Fontise bytecomp Error lines more correctly (bug#2490).
19775         Fix suggested by Johan BockgÃ¥rd.
19777         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19779         * dired-x.el (dired-guess-default): Use `delete-dups'.
19781 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
19783         * dired.el (dired-mark-prompt):
19784         * dired-aux.el (dired-read-shell-command): Doc fix.
19786 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19788         * mail/sendmail.el (sendmail-query-once):
19789         Use `customize-save-variable' unconditionally, now that it works under
19790         emacs -Q.
19792         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19794         * cus-edit.el (custom-file): Take an optional no-error variable.
19795         (customize-save-variable): Set the variable, and give a warning if
19796         running under "emacs -q".
19798 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
19800         * loadhist.el (unload-feature-special-hooks):
19801         Add `auto-coding-functions', `fill-nobreak-predicate' and
19802         `find-directory-functions' (bug#5327).
19804 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19806         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19808         * cus-edit.el (custom-guess-name-alist): -alist variables should
19809         use the `alist' type (bug#3120).  Suggested by Drew Adams.
19811         * printing.el: Add documentation to all the `pr-toggle-' commands.
19813 2011-07-11  Leo Liu  <sdl.web@gmail.com>
19815         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19816         backends where it makes sense (bug#2623).
19818 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19820         * dired-x.el (dired-guess-default): Remove duplicate shell command
19821         entries (bug#2028).
19822         (dired-guess-default): Fix grammar in doc string (bug#2028).
19823         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19825         * subr.el (remove-duplicates): New conveniency function.
19827 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19829         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19830         (bug#1526).
19832 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
19834         * window.el (display-buffer-normalize-default): Don't invert
19835         meaning of even-window-heights.  Reported by Eli Zaretskii
19836         <eliz@gnu.org>.
19838 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
19840         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19842 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
19844         * window.el (display-buffer): Fix arguments to
19845         display-buffer-reuse-window in last change.
19847         * faces.el (link): Use a less saturated blue on light backgrounds.
19849         * startup.el (fancy-startup-text, fancy-about-text)
19850         (fancy-startup-tail): Use font-lock faces, for background safety.
19852 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
19854         * emulation/viper-cmd.el (viper-change-state-to-vi):
19855         Limit triggering of abbrev expansion (Bug#9038).
19857 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
19859         * window.el (display-buffer-default-specifiers): Remove.
19860         (display-buffer-macro-specifiers): Remove default specifiers.
19861         (display-buffer-alist): Default to nil.
19862         (display-buffer-reuse-window): New optional argument other-window.
19863         (display-buffer-pop-up-window): Allow splitting internal
19864         windows.  Check whether a live window was created.
19865         (display-buffer-other-window-means-other-frame)
19866         (display-buffer-normalize-arguments): Rename to
19867         display-buffer-normalize-argument and rewrite.  Set the
19868         other-window specifier.
19869         (display-buffer-normalize-special): New function.
19870         (display-buffer-normalize-options): Rename to
19871         display-buffer-normalize-default and rewrite.
19872         (display-buffer-normalize-options-inhibit): Remove.
19873         (display-buffer-normalize-specifiers): Rewrite.
19874         (display-buffer): Process other-window specifier and call
19875         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
19876         more faithfully.
19877         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19878         (display-buffer-alist-set): Don't handle 'unset default values.
19879         (display-buffer-in-window, display-buffer-alist-set):
19880         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
19881         <tassilo@member.fsf.org>.
19883 2011-07-09  Leo Liu  <sdl.web@gmail.com>
19885         * register.el (insert-register): Restore accidental change on
19886         2011-06-26.  (Bug#9028)
19888 2011-07-09  Glenn Morris  <rgm@gnu.org>
19890         * subr.el (remq): Handle the empty list.  (Bug#9024)
19892 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
19894         * mail/sendmail.el (send-mail-function): No longer delay custom
19895         initialization.
19896         * custom.el (custom-initialize-delay): Doc fix.
19898 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19900         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19902 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
19904         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19905         human-friendly prompt.
19907 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19909         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19910         provided by a particular plugin.
19912 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19914         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19915         save customizations (with "emacs -Q"), just set the variable
19916         instead of erroring out.
19918         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19920 2011-07-08  Juri Linkov  <juri@jurta.org>
19922         * arc-mode.el (archive-zip-expunge, archive-zip-update)
19923         (archive-zip-update-case): Use 7z if found by `executable-find'.
19924         The order of searching the available programs is the same as in
19925         `archive-zip-extract' (bug#8968).
19927 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
19929         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19930         (menu-bar-options-menu): Tweak descriptions.
19932 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19934         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19935         menu items into verb phrases (bug#1421).  Also refill to fit under
19936         80 columns.
19938 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
19940         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19941         (Info-read-node-name): Doc fix (Bug#1084).
19943         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19944         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19945         (end-of-sexp, beginning-of-sexp)
19946         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19947         (forward-symbol, forward-same-syntax, word-at-point)
19948         (sentence-at-point): Doc fix (Bug#1144).
19950 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19952         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19953         should cover it (bug#1281).
19955         * cus-edit.el (custom-show): Mark as obsolete.
19957         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19958         negotiation fails, then possibly try again with a non-encrypted
19959         connection (bug#9017).
19961         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19962         be used.
19964 2011-07-07  Richard Stallman  <rms@gnu.org>
19966         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19967         property, and handle its changed format.
19968         Look for the correct line number.
19969         Use file's line contents (but not past first =) to find
19970         correct line in message.
19972 2011-07-07  Kenichi Handa  <handa@m17n.org>
19974         * international/characters.el (build-unicode-category-table):
19975         Delete it.
19976         (unicode-category-table): Set it by unicode-property-table-internal.
19978         * international/mule-cmds.el (char-code-property-alist): Move to
19979         to src/chartab.c.
19980         (get-char-code-property): Call unicode-property-table-internal to
19981         load a file.  Call get-unicode-property-internal where necessary.
19982         (put-char-code-property): Call unicode-property-table-internal to
19983         load a file.  Call put-unicode-property-internal where necessary.
19984         put-unicode-property-internal where necessary.
19985         (char-code-property-description):
19986         Call unicode-property-table-internal to load a file.
19988         * international/charprop.el:
19989         * international/uni-bidi.el:
19990         * international/uni-category.el:
19991         * international/uni-combining.el:
19992         * international/uni-comment.el:
19993         * international/uni-decimal.el:
19994         * international/uni-decomposition.el:
19995         * international/uni-digit.el:
19996         * international/uni-lowercase.el:
19997         * international/uni-mirrored.el:
19998         * international/uni-name.el:
19999         * international/uni-numeric.el:
20000         * international/uni-old-name.el:
20001         * international/uni-titlecase.el:
20002         * international/uni-uppercase.el: Regenerate.
20004         * loadup.el: Load international/charprop.el before
20005         international/characters.
20007 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
20009         * window.el (next-buffer, previous-buffer): Signal an error if
20010         called from a minibuffer window.
20012         * bindings.el: Revert 2011-07-04 change.
20014 2011-07-06  Richard Stallman  <rms@gnu.org>
20016         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20017         (rmail-mime-insert-bulk, rmail-mime-insert-text):
20018         Treat markers like ints.
20019         (rmail-mime-entity): Doc fix.
20021 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20023         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20024         defcustom again for backwards compatibility.
20026         * simple.el (shell-command-on-region): Fill.
20028         * dired-aux.el (dired-kill-line): Add a doc string.
20030         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20031         to "\\sw\\|\\s_" (bug#358).
20033         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20034         (dired-unmark-backward): Ditto.
20035         (dired-flag-backup-files): Ditto.
20037         * dired-x.el (dired-mark-sexp): Ditto.
20039 2011-07-06  Richard Stallman  <rms@gnu.org>
20041         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20042         (rmail-mime-entity): New arg TRUNCATED.
20043         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20044         New functions.
20045         (rmail-mime-save): Warn if entity is truncated.
20046         (rmail-mime-toggle-hidden): Likewise, for showing.
20047         (rmail-mime-process-multipart): Record when an entity is truncated.
20049         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20050         if ENTITY is a string.
20052 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20054         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20055         of faces when `M-C-x'-ing their definitions (bug#8378).
20056         Also clean up the code slightly.
20058         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20059         because that makes the colors go away.
20061         * mail/sendmail.el (send-mail-function): Change the default to
20062         `sendmail-query-once'.
20063         (sendmail-query-once): Add an autoload cookie.
20065         * net/network-stream.el (network-stream-open-starttls): Try using
20066         a plain connection even if the server offered STARTTLS, and we
20067         kinda wanted to use it, if Emacs doesn't have any STARTTLS
20068         capability.  This should make smtpmail.el work in slightly more
20069         configurations.
20071 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
20073         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20074         New defun.
20075         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20077 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
20079         * progmodes/sql.el: Version 3.0
20080         (sql-product-alist): Add product :completion-object,
20081         :completion-column, and :statement attributes.
20082         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20083         (sql-mode-syntax-table): Mark all punctuation.
20084         (sql-font-lock-keywords-builder): Temporarily remove fallback on
20085         ansi keywords.
20086         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20087         (sql-mode-oracle-font-lock-keywords): Improve.
20088         (sql-oracle-show-reserved-words): New function for development.
20089         (sql-product-font-lock): Simplify for source code buffers.
20090         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20091         New functions.
20092         (sql-highlight-product): Set product specific syntax table.
20093         (sql-mode-map): Add statement movement functions.
20094         (sql-ansi-statement-starters, sql-oracle-statement-starters):
20095         New variable.
20096         (sql-statement-regexp, sql-beginning-of-statement)
20097         (sql-end-of-statement, sql-signum): New functions.
20098         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20099         (sql-show-sqli-buffer): Bug fix.
20100         (sql-interactive-mode): Store connection data as buffer local.
20101         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
20102         with sql-interactive-mode.
20103         (sql-save-connection): Save buffer local settings.
20104         (sql-connection-menu-filter): Change menu entry name.
20105         (sql-product-interactive): Bug fix.
20106         (sql-preoutput-hold): New variable.
20107         (sql-interactive-remove-continuation-prompt): Bug fixes.
20108         (sql-debug-redirect): New variable.
20109         (sql-str-literal): New function.
20110         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20111         Redesign.
20112         (sql-oracle-save-settings, sql-oracle-restore-settings)
20113         (sql-oracle-list-all, sql-oracle-list-table): New functions.
20114         (sql-completion-object, sql-completion-column)
20115         (sql-completion-sqlbuf): New variables.
20116         (sql-build-completions-1, sql-build-completions)
20117         (sql-try-completion): New functions.
20118         (sql-read-table-name): Use them.
20119         (sql-contains-names): New buffer local variable.
20120         (sql-list-all, sql-list-table): Use it.
20121         (sql-oracle-completion-types): New variable.
20122         (sql-oracle-completion-object, sql-sqlite-completion-object)
20123         (sql-postgres-completion-object): New functions.
20125 2011-07-06  Glenn Morris  <rgm@gnu.org>
20127         * window.el (pop-to-buffer): Doc fix.
20129 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
20131         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20133 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
20135         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20137         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20139 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
20141         * button.el (button): Inherit from link face.  Suggested by Dan
20142         Nicolaescu.
20144 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20146         * progmodes/gdb-mi.el: Fit in 80 columns.
20147         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20148         switch-to-buffer.
20150         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20151         if imenu is simply not configured (bug#8941).
20153 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
20155         * allout.el (allout-post-undo-hook): New allout outline-change
20156         event hook to signal undo activity.
20157         (allout-post-command-business): Run allout-post-undo-hook if an
20158         undo just occurred.
20159         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20160         * allout-widgets.el (allout-widgets-after-undo-function):
20161         Ensure the integrity of the current item's decoration after it has been
20162         in the vicinity of an undo.
20163         (allout-widgets-mode): Include allout-widgets-after-undo-function
20164         on the new allout-post-undo-hook.
20166 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20168         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20169         Let define-derived-mode define it.
20170         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20171         cycles of abbrev-table inheritance (bug#8998).
20173 2011-07-05  Roland Winkler  <winkler@gnu.org>
20175         * textmodes/bibtex.el: Add support for biblatex.
20176         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20177         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20178         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20179         (bibtex-entry-alist, bibtex-field-alist): New variables.
20180         (bibtex-entry-field-alist): Obsolete alias for
20181         bibtex-BibTeX-entry-alist.
20182         (bibtex-entry-alist, bibtex-field-alist): New widgets.
20183         (bibtex-set-dialect): New command.
20184         (bibtex-entry-type, bibtex-entry-head)
20185         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20186         Bind via bibtex-set-dialect.
20187         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20188         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20189         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20190         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20191         Define via bibtex-set-dialect.
20192         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20193         Obey bibtex-no-opt-remove-re.
20194         (bibtex-vec-push, bibtex-vec-incr): New functions.
20195         (bibtex-format-entry, bibtex-field-list)
20196         (bibtex-print-help-message, bibtex-validate)
20197         (bibtex-search-entries): Use new format of bibtex-entry-alist.
20199 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20201         * progmodes/compile.el (compilation-goto-locus):
20202         * net/tramp-cmds.el (tramp-append-tramp-buffers):
20203         * bs.el (bs-cycle-next, bs-cycle-previous):
20204         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20205         * bindings.el (mode-line-other-buffer):
20206         * autoinsert.el (auto-insert):
20207         * arc-mode.el (archive-extract):
20208         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20210 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20212         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20213         Fix check of `emacs-lock-unlockable-modes'.
20214         Coerce true values of `emacs-lock--try-unlocking' to t.
20216 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20218         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20219         * emacs-lock.el: New file.
20221 2011-07-05  Julien Danjou  <julien@danjou.info>
20223         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20224         than `boundp' to check if face is set.
20226 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20228         * register.el (registerv-make):
20229         * window.el (window-min-height): Fix typos in docstrings.
20231 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
20233         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20234         Update doc string.
20236 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
20238         * server.el (server-execute): Catch quit and call
20239         `server-return-error' to pass the error back to emacsclient and
20240         close the connection (bug#8942).
20242 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
20244         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20245         insecure exception for current topic.  Also note that auto-saves
20246         are handled differently.
20248         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20249         State variables for tracking auto-save inhibition situation.
20251         (allout-write-contents-hook-handler): Rename from
20252         'allout-write-file-hook-handler', and describe how it depends on
20253         write-contents-functions sensitivity to non-nil value to prevent
20254         file write.
20256         (allout-auto-save-hook-handler): Remove.  auto-save does not check
20257         this in individual buffers, only in the starting buffer, so this
20258         is not the right way for us to inhibit auto-save in a buffer
20259         according to its condition.
20261         (allout-mode): Use new allout-write-contents-hook-handler, and
20262         only with write-contents-functions.  Remove auto-save provisions -
20263         they're implemented elsewhere.
20265         (allout-before-change-handler): If undo is in progress, note that
20266         for attention of allout-post-command-business.
20268         (allout-post-command-business): If the command we're following was
20269         an undo, check for change in the status of encrypted items and
20270         adjust auto-save inhibitions accordingly.
20272         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20273         according to whether there are or aren't any plain-text topics
20274         pending encryption.
20276         (allout-inhibit-auto-save-info-for-decryption):
20277         Adjust buffer-saved-size and some allout state to inhibit auto-saves
20278         if there are plain-text topics pending encryption.
20280         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20281         buffer-saved-size and some allout state to not inhibit auto-saves
20282         if there are no longer any plain-text topics pending encryption.
20284         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20285         No longer provide for exemption of the current topic.
20287 2011-07-04  Juri Linkov  <juri@jurta.org>
20289         Add 7z operations to delete and save changed members (bug#8968).
20290         * arc-mode.el (archive-7z-expunge, archive-7z-update):
20291         New defcustoms.
20292         (archive-7z-write-file-member): New function.
20293         (archive-7z-summarize): Fix the number of dashes in the
20294         listing output.
20296 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20298         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20299         (bug#8958).
20301 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
20303         * bindings.el: Ignore next-buffer and previous-buffer in
20304         minibuffer-local-map.
20306         * font-lock.el (font-lock-builtin-face): Change light background
20307         color to dark slate blue (Bug#6693).
20309 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
20311         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20313 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20315         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20316         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20317         Add switch-to-buffer.
20319 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20321         * isearch.el (isearch-search-fun-function): Clarify further the
20322         meaning of the function returned.
20324 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
20326         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20328         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20329         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20330         Use it.
20331         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
20332         `tramp-default-remote-path' does not exist.
20333         (tramp-send-command-and-read): New optional argument NOERROR.
20334         (tramp-open-connection-setup-interactive-shell)
20335         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20336         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20337         (tramp-process-sentinel): Flush also process' connection property.
20338         (tramp-sh-handle-start-file-process): Do not set process
20339         sentinel.  It is done now ...
20340         (tramp-maybe-open-connection): ... here.  (Bug#8929)
20342 2011-07-04  MON KEY  <monkey@sandpframing.com>
20344         * play/animate.el (animate-string): Doc fixes and allow changing
20345         the buffer name (bug#5417).
20347 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20349         * play/animate.el (animation-buffer-name): Rename from *animate*.
20351 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
20353         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20354         This is simpler and helps future-proof the code.
20355         (timer-until): Use time-subtract and float-time.
20356         (timer--time-less-p): Use time-less-p.
20358 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
20360         * type-break.el (timep): Use the value of `float-time' to avoid a
20361         byte-compiler warning.
20363         * server.el (server-eval-and-print): Return any result, even nil.
20365 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
20367         * type-break.el: Accept time formats that the builtins accept.
20368         (timep, type-break-time-difference): Accept any format that
20369         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20370         This is simpler and helps future-proof the code.
20371         (type-break-time-difference): Round rather than ignoring
20372         subseconds components.
20374 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20376         * info.el (Info-apropos-matches): Make non-interactive, since it
20377         doesn't seem to do anything useful as a command (bug#8829).
20379 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
20381         * frame.el (frame-background-mode, frame-set-background-mode):
20382         Move from faces.el.
20383         (frame-default-terminal-background): New function.
20385         * custom.el (custom-push-theme): Don't record faces in `changed'
20386         theme; this doesn't work correctly for per-frame face settings.
20387         (disable-theme): Use face-set-after-frame-default to reset faces.
20388         (custom--frame-color-default): New function.
20390 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20392         * dired.el (dired-flagging-regexp): Remove unused variable
20393         (bug#8769).
20395 2011-03-29  Kevin Ryde  <user42@zip.com.au>
20397         * progmodes/compile.el (compilation-error-regexp-alist-alist):
20398         `perl-Test2' extend to match possible "fail #N" rep count
20399         (bug#8377).
20401 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20403         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20404         `smtpmail-via-smtp' now returns the error instead of nil.
20406         * isearch.el (isearch-search-fun-function): Clarify the doc string
20407         (bug#8101).
20409 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
20411         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20412         unnecessary spaces (bug#8987).
20414 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20416         * net/network-stream.el (open-network-stream): Use the
20417         :end-of-capability command thoughout.
20419 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
20421         * net/network-stream.el (open-network-stream): Add the
20422         :end-of-capability command parameter, used by pop3.el.
20424 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20426         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20428         * fringe.el (fringe-query-style): Remove redundant text " (type ?
20429         for list)" (bug#6475).
20431         * files.el (file-expand-wildcards): Ignore non-readable
20432         sub-directories while trying to find matches instead of signaling
20433         an error (bug#6297).
20435         * man.el (Man-reference-regexp): Allow matching possible
20436         word-wrapped references (bug#6289).
20438         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20439         for consistency with the other vc buffers (bug#6197).
20440         (vc-checkin): Ditto.
20442         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20444         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20446 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20448         * custom.el (defcustom): Clarify that :set is only used in the
20449         Customize user interface (bug#6089).
20451         * progmodes/flymake.el (flymake-mode): If the buffer isn't
20452         associated with a file, refuse to run instead of erroring out
20453         (bug#6084).
20455         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20456         the doc string, since it appears that using `fill-column' always
20457         controls the width (bug#7845).
20459         * simple.el (shell-command-on-region): Say where the error output
20460         went if `shell-command-default-error-buffer' is set (bug#6857).
20462 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
20464         * allout.el (allout-yank-processing): Adjust cursor position for
20465         backwards-deleted space.
20467         (allout-rebullet-heading): Register changes with
20468         allout-exposure-changed-hook, so the modified topic is properly
20469         decorated.
20471 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20473         * minibuffer.el (completion-in-region): Document PREDICATE
20474         (bug#7136).
20476         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20477         of keyword/argument pairs (bug#6904).
20479         * replace.el (multi-occur):
20480         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20482 2011-07-02  Drew Adams  <drew.adams@oracle.com>
20484         * dired.el (dired-mark-if): Make the message about whether it's
20485         marking or unmarking clearer (bug#8523).
20487 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20489         * disp-table.el (display-table-print-array): New function.
20490         (describe-display-table): Use it to print the vectors more pretty
20491         (Bug#8859).
20493 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
20495         * window.el (window-state-get-1): Don't assign clone numbers.
20496         Add clone-of item to list of window parameters.
20497         (window-state-put-2): Don't process clone numbers.
20498         (display-buffer-alist): Fix doc-string.
20500 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20502         * subr.el (remq): Don't allocate if it's not needed.
20503         (keymap--menu-item-binding, keymap--menu-item-with-binding)
20504         (keymap--merge-bindings): New functions.
20505         (keymap-canonicalize): Use them to refine the canonicalization.
20506         * minibuffer.el (minibuffer-local-completion-map)
20507         (minibuffer-local-must-match-map): Move initialization from C.
20508         (minibuffer-local-filename-completion-map): Move initialization from C;
20509         don't inherit from anything here.
20510         (minibuffer-local-filename-must-match-map): Make obsolete.
20511         (completing-read-default): Use make-composed-keymap to combine
20512         minibuffer-local-filename-completion-map with either
20513         minibuffer-local-must-match-map or
20514         minibuffer-local-filename-completion-map.
20516 2011-07-01  Glenn Morris  <rgm@gnu.org>
20518         * type-break.el (type-break-time-sum): Use dolist.
20520         * textmodes/flyspell.el (flyspell-word-search-backward):
20521         Replace CL function.
20523 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20525         * mouse.el (mouse--strip-first-event): New function.
20526         (function-key-map): Use it to map fringe clicks to normal clicks
20527         by default.
20529         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20530         (vc-bzr-revision-completion-table): Add support for annotate and date.
20532         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20533         inherit from parent.
20535 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20537         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20538         (dired-show-file-type): Doc fixup (bug#8818).
20540         * dired.el (dired-mode): Fix up the doc string as suggested by
20541         Drew Adams (bug#8817).
20543         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20544         cookie, since the manual says that it should be possible to add
20545         this function to `find-file-hook' (bug#8709).
20547 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
20549         * progmodes/cfengine.el: Moved all cfengine3.el functionality
20550         here.  Noted Ted Zlatanov as the maintainer.
20551         (cfengine-common-settings, cfengine-common-syntax): New functions
20552         to set up common things between `cfengine-mode' and
20553         `cfengine3-mode'.
20554         (cfengine3-mode): New mode.
20555         (cfengine3-defuns cfengine3-defuns-regex
20556         (cfengine3-class-selector-regex cfengine3-category-regex)
20557         (cfengine3-vartypes cfengine3-font-lock-keywords)
20558         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20559         (cfengine3-indent-line): Add from cfengine3.el.
20561 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
20563         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20565         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20567 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
20569         * window.el (same-window-buffer-names, same-window-regexps)
20570         (same-window-p, special-display-frame-alist)
20571         (special-display-popup-frame, special-display-function)
20572         (special-display-buffer-names, special-display-regexps)
20573         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20574         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20575         (split-window-preferred-function, split-height-threshold)
20576         (split-width-threshold, even-window-heights)
20577         (display-buffer-mark-dedicated, window-splittable-p)
20578         (split-window-sensibly, window-safely-shrinkable-p):
20579         Un-obsolete.
20580         (display-buffer): Don't spread args with function specifier
20581         because special-display-popup-frame won't like it.
20583 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
20585         Time-stamp simplifications and fixes.
20586         These improve accuracy slightly, and future-proof the code
20587         against some potential changes to current-time format.
20589         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20590         by using time-since and float-time.
20592         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20593         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
20594         + NNN microseconds".
20596         * type-break.el (type-break-time-sum): Rewrite using time-add.
20598         * play/hanoi.el (hanoi-current-time-float): Remove.
20599         All uses replaced by float-time.
20601         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20602         This yields a more-accurate answer.
20603         (rng-time-to-float): Remove; no longer needed.
20605         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20607         * calendar/timeclock.el (timeclock-seconds-to-time):
20608         Defalias to seconds-to-time, since they're the same thing.
20610         * emacs-lisp/elp.el (elp-elapsed-time):
20611         * emacs-lisp/benchmark.el (benchmark-elapse):
20612         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20614 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20616         * window.el (bury-buffer): Don't iconify the only frame.
20617         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20618         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
20620 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
20622         * eshell/em-smart.el (eshell-smart-display-navigate-list):
20623         Add mouse-yank-primary.
20625 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
20627         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20629 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20631         * emacs-lisp/find-func.el (find-library--load-name): New fun.
20632         (find-library-name): Use it to find relative load names when provided
20633         absolute file name (bug#8803).
20635 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20637         * textmodes/flyspell.el (flyspell-word): Consider words that
20638         differ only in case as potential doublons (bug#5687).
20640         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20641         Remove two rather uninteresting debugging-like messages to make
20642         debbugs.el more silent.
20644         * comint.el (comint-password-prompt-regexp): Accept "Response" as
20645         a password-like phrase.
20647 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
20649         * progmodes/cc-guess.el: New file.
20651         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20653         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20654         derived from `c-basic-common-init'.
20656         * progmodes/cc-mode.el (top-level): Require cc-guess.
20657         (c-basic-common-init): Use `cc-choose-style-for-mode'.
20659 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
20661         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20663 2011-06-30  Alan Mackenzie  <acm@muc.de>
20665         * progmodes/cc-engine.el (c-guess-continued-construct):
20666         Correct the handling of template-args-cont, particularly for when font
20667         lock is disabled.  Name this case as "CASE G".
20669 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
20671         * allout.el (allout-yank-processing): Fix injection of extra space
20672         between bullet and non-whitespace character in first topic when
20673         pasting, ensuring that the actual spacing in the pasted topic
20674         following the bullet char is preserved.  This extra space was
20675         causing pasted encrypted topics to get a decrypted status even
20676         when the content was actually still encrypted.  Now the decryption
20677         status from before the paste is preserved.
20679         (allout-flag-region): Set all allout overlays so they evaporate
20680         when reduced to zero length (evanescent), to prevent overlay
20681         leakage.
20683 2011-06-30  Glenn Morris  <rgm@gnu.org>
20685         * w32-fns.el (w32-charset-info-alist): Declare.
20687         * find-dired.el (find-grep-options): Simplify.
20689         * term/ns-win.el (ns-set-resource): Declare.
20691         * ses.el (row, col): Declare dynamic variables honestly.
20693         * textmodes/reftex-parse.el (index-tags): Declare.
20695 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
20697         * cus-edit.el (customize-push-and-save): New function.
20699         * files.el (hack-local-variables-confirm): Use it.
20701         * custom.el (load-theme): New arg NO-CONFIRM.
20702         Use customize-push-and-save (Bug#8720).
20703         (custom-enabled-themes): Doc fix.
20705         * cus-theme.el (customize-create-theme)
20706         (custom-theme-merge-theme): Callers to load-theme changed.
20708 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20710         * thingatpt.el (thing-at-point-short-url-regexp): Require that
20711         short URLs have at least one dot in them (bug #7614).
20713         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20714         nil, because using a pty is apparently too slow (bug #895).
20716 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20718         * mail/sendmail.el (sendmail-query-once): New function.
20719         (sendmail-query-once-function): New variable.
20721 2011-06-29  Glenn Morris  <rgm@gnu.org>
20723         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20725         * ses.el (top-level): Require cl when compiling.
20726         (ses-set-localvars): Fix error statement.
20727         Call it at compile time to silence a storm of warnings.
20729 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
20731         * window.el (normalize-live-buffer): Rename to
20732         window-normalize-buffer.
20733         (normalize-live-frame): Rename to window-normalize-frame.
20734         (normalize-any-window): Rename to window-normalize-any-window.
20735         (normalize-live-window): Rename to window-normalize-live-window.
20736         (make-window-atom): Rename to window-make-atom.
20737         (window-resize-reset): Rename to window--resize-reset.
20738         (window-resize-reset-1): Rename to window--resize-reset-1.
20739         (resize-mini-window): Rename to window--resize-mini-window.
20740         (resize-subwindows-skip-p): Rename to
20741         window--resize-subwindows-skip-p.
20742         (resize-subwindows-normal): Rename to
20743         window--resize-subwindows-normal.
20744         (resize-subwindows): Rename to window--resize-subwindows.
20745         (resize-other-windows): Rename to window--resize-siblings.
20746         (resize-this-window): Rename to window--resize-this-window.
20747         (resize-root-window): Rename to window--resize-root-window.
20748         (resize-root-window-vertically): Rename to
20749         window--resize-root-window-vertically.
20750         (normalize-buffer-to-display): Rename to
20751         window-normalize-buffer-to-display.
20752         (normalize-buffer-to-switch-to): Rename to
20753         window-normalize-buffer-to-switch-to.
20754         Correspondingly update all callers of the functions listed
20755         above.
20756         (display-buffer-alist, display-buffer-normalize-arguments)
20757         (display-buffer-normalize-options, display-buffer)
20758         (display-buffer-alist-set): Use "function" instead of
20759         "fun-with-args".
20761 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
20763         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20764         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
20765         debbugs.gnu.org.  Mention acknowledgment email.
20767 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20769         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20770         buffer multibyteness, since it shouldn't matter.
20772 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
20774         * window.el (display-buffer-in-side-window): Handle dedicated
20775         windows as in display-buffer-reuse-window.
20776         (display-buffer-normalize-alist): Use value of override
20777         specifier.
20778         (display-buffer-normalize-specifiers): Use value of
20779         other-window-means-other-frame specifier.
20780         (display-buffer-alist): Rewrite some texts in widgets.
20781         (display-buffer): Spread arguments when calling function
20782         specified by fun-with-args.
20784 2011-06-28  Deniz Dogan  <deniz@dogan.se>
20786         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20787         Unnest `let'.
20789         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20790         selectors (Bug#5732).
20791         (css-proprietary-nmstart-re): Use `regexp-opt'.
20793 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
20795         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20796         (eshell-ls-date-format): New defcustom.
20797         (eshell-ls-file): Use it.
20799 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20801         * help-fns.el (describe-variable): Fix message for terminal-local vars.
20803 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
20805         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20806         (ange-ftp-make-tmp-name): New arg.
20807         (ange-ftp-file-local-copy): Use it.
20809 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
20811         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20812         no-conversion (Bug#8870).
20814 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
20816         * window.el (window-right, window-left, window-child)
20817         (window-child-count, window-last-child)
20818         (window-iso-combination-p, walk-window-tree-1)
20819         (window-atom-check-1, window-tree-1, delete-window)
20820         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20821         new naming conventions - window-vchild, window-hchild,
20822         window-next and window-prev are now called window-top-child,
20823         window-left-child, window-next-sibling and window-prev-sibling
20824         respectively.
20825         (resize-window-reset): Rename to window-resize-reset.
20826         (resize-window-reset-1): Rename to window-resize-reset-1.
20827         (resize-window): Rename to window-resize.
20828         (window-min-height, window-min-width)
20829         (resize-mini-window, resize-this-window, resize-root-window)
20830         (resize-root-window-vertically, adjust-window-trailing-edge)
20831         (enlarge-window, shrink-window, maximize-window)
20832         (minimize-window, delete-window, quit-restore-window)
20833         (split-window, balance-windows, balance-windows-area-adjust)
20834         (balance-windows-area, window-state-put-2)
20835         (display-buffer-even-window-sizes, display-buffer-set-height)
20836         (display-buffer-set-width, set-window-text-height)
20837         (fit-window-to-buffer): Rename all "resize-window" prefixed
20838         calls to use the "window-resize" prefix convention.
20839         (display-buffer-alist): Fix symbol for label specifier.
20840         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20841         corresponding specifier.
20842         Reported by Juanma Barranquero <lekktu@gmail.com>.
20844 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20846         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20847         convention.
20848         (ses-call-printer): Does not pass an empty string to formatter when the
20849         cell is empty to keep from barking printer Calc math-format-value.
20851 2011-06-27  Richard Stallman  <rms@gnu.org>
20853         * battery.el (battery-mode-line-limit): New variable.
20854         (battery-update): Handle it.
20856         * mail/rmailmm.el (rmail-mime-process-multipart):
20857         Handle truncated messages.
20859 2011-06-27  Glenn Morris  <rgm@gnu.org>
20861         * progmodes/flymake.el (flymake-err-line-patterns):
20862         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
20864 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20866         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20867         (ses--clean-!, ses--clean-_): New functions.
20868         (ses-range): Add configurability of readout order, and conversion
20869         to Calc vector.
20871         * ses.el (ses-repair-cell-reference-all): New function.
20872         (ses-cell-symbol): Set macro as safe, so that it can be used in
20873         formulas.
20875         * ses.el: Update cycle detection algorithm.
20876         (ses-localvars): Add ses--Dijkstra-attempt-nb and
20877         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20878         (ses-set-localvars): New function.
20879         (ses-make-cell): Add property-list as a cell element.
20880         (ses-cell-property-get-fun, ses-cell-property-get)
20881         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20882         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20883         New functions.
20884         (ses-cell-property-set, ses-cell-property-pop)
20885         (ses-cell-property-get-handle): New macro.
20886         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20887         New aliases, used for code readability.
20888         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20889         cycle detection.
20890         (ses-self-reference-early-detection): New defcustom.
20891         (ses-formula-references): Robustify against self-referring cells.
20892         (ses-mode): Use ses-set-localvars.
20893         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20894         before lauching the update processing.
20895         (ses-initialize-Dijkstra-attempt): New function.
20896         (ses-recalculate-cell): Update for cycle detection based on
20897         Dijkstra algorithm.
20899         * ses.el: Fix commenting and indenting convention.
20901 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20903         * bs.el (bs-cycle-next): Complete last change.
20905 2011-06-27  Drew Adams  <drew.adams@oracle.com>
20907         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20909 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20911         * net/network-stream.el (network-stream-open-starttls):
20912         Don't re-get capabilities unless we've reestablished connection.
20913         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20915         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20916         to binary to possibly avoid line encoding issues on Windows (among
20917         other things).
20919 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20921         * net/network-stream.el (open-network-stream): Return an :error
20922         saying what the problem was, if possible.
20924         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20925         server.
20927         * net/network-stream.el (network-stream-open-starttls): If we
20928         wanted to use STARTTLS, and the server offered it, but we weren't
20929         able to because we had no STARTTLS support, then close the connection.
20930         (open-network-stream): Return an :error element, if present.
20932 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
20934         * hl-line.el (hl-line-sticky-flag): Doc fix.
20935         (global-hl-line-sticky-flag): New option (Bug#8323).
20936         (global-hl-line-highlight): Obey it.
20938         * vc/vc.el (vc-revert-show-diff): Default to t.
20940 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
20942         * allout-widgets.el (allout-widgets-post-command-business):
20943         Stop decorating intermediate isearch matches.  They're not being
20944         undecorated when an isearch is continued past, and isearch
20945         automatically collapses them.  This leads to "widget leaks", where
20946         decorated items accumulate in collapsed areas.  Lines with lots of
20947         hidden widgets can slow down cursor travel, substantially.
20948         Too much complicated machinery would be needed to ensure undecoration,
20949         so we're doing without this nicety.
20951         (allout-widgets-tally-string): Don't try to do a hash-table-count
20952         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
20953         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20954         *Messages* when allout-widgets-maintain-tally is t.
20956 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
20958         * window.el (display-buffer-normalize-argument): Rename to
20959         display-buffer-normalize-arguments.  Handle special meaning of
20960         LABEL argument.  Respect special-display-function when popping up
20961         a new frame.  Fix code searching for a window showing the buffer
20962         on another frame.
20963         (display-buffer-normalize-specifiers):
20964         Call display-buffer-normalize-arguments.
20965         (display-buffer-in-window): Don't undedicate the window if its
20966         buffer remains the same.
20967         Reported by Drew Adams <drew.adams@oracle.com>.
20968         (display-buffer-alist): Add choice for same-window macro
20969         specfier.
20970         (display-buffer): Mention special meaning of LABEL argument in
20971         doc-string.  Fix quoting.  Don't pop up a new frame even as
20972         fallback.
20974 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
20976         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20977         avoid deleting the current window in some cases (bug#8911).
20979 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
20981         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20982         (Bug#8934)
20984 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20986         * net/network-stream.el (network-stream-open-starttls):
20987         Use built-in TLS support if `gnutls-available-p' is true.
20988         (network-stream-open-tls): Ditto.
20990 2011-06-26  Leo Liu  <sdl.web@gmail.com>
20992         * register.el (registerv): New struct.
20993         (registerv-make): New function.
20994         (jump-to-register, describe-register-1, insert-register):
20995         Support the jump-func, print-func and insert-func slot of a registerv
20996         struct.  (Bug#8415)
20998 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
21000         * vc/vc.el (vc-revert-show-diff): New defcustom.
21001         (vc-diff-internal): New arg specifying diff buffer.
21002         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
21003         reuse an existing *vc-diff* buffer (Bug#8927).
21005         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21007 2011-06-26  Glenn Morris  <rgm@gnu.org>
21009         * progmodes/f90.el (f90-critical-indent): New option.
21010         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21011         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21012         (f90-mode): Doc fix.
21013         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21014         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21015         (f90-beginning-of-block, f90-next-block, f90-indent-region)
21016         (f90-match-end): Handle block, critical.
21018 2011-06-25  Glenn Morris  <rgm@gnu.org>
21020         * calendar/diary-lib.el (diary-included-files): Doc fix.
21021         (diary-include-files): New function, extracted from
21022         diary-include-other-diary-files and diary-mark-included-diary-files.
21023         (diary-include-other-diary-files, diary-mark-included-diary-files):
21024         Just call diary-include-files.
21025         (diary-mark-entries): Reset diary-included-files on first call.
21027         * calendar/diary-lib.el (diary-mark-entries)
21028         (diary-mark-included-diary-files):
21029         Visit included diary-files in temp buffers.
21031         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21032         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21033         (f90-start-block-re, f90-imenu-generic-expression)
21034         (f90-looking-at-program-block-start, f90-no-block-limit):
21035         Add support for submodules.
21037         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21038         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21040 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
21042         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21043         buffer-file-type before setting its value, to avoid disastrous
21044         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
21046 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
21048         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21050         * ses.el (ses-unload-function):
21051         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21053         * proced.el (proced-unload-function):
21054         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21056 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
21058         * server.el (server-create-window-system-frame): Add parameters arg.
21059         (server-process-filter): Doc fix.  Handle frame-parameters.
21061 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
21063         Fix bug#8730, bug#8781.
21065         * loadhist.el (unload--set-major-mode): New function.
21066         (unload-feature): Use it.
21068         * progmodes/python.el (python-after-info-look): Add autoload cookie.
21069         (python-unload-function): New function.
21071 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21073         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21075 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
21077         * net/browse-url.el (browse-url-firefox-program): Add icecat to
21078         the candidates list.
21080 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
21082         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21084 2011-06-23  Richard Stallman  <rms@gnu.org>
21086         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21087         (rmail-variables): Set next-error-move-function.
21088         (rmail-what-message): Take argument POS.
21089         (rmail-next-error-move): New function.
21091 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21093         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21094         messages for adjacent non-terminals.
21096 2011-06-23  Richard Stallman  <rms@gnu.org>
21098         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21099         (rmail-show-message-1): Preserve buffer modified flag.
21100         (rmail-start-mail): Don't specify use of rmail-mail-return;
21101         that's done by mail-bury now.
21102         (rmail-mail-return): Handle arg NEWBUF.
21104 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
21106         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21107         SIZE is a number.
21109 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
21111         * window.el (get-lru-window, get-mru-window)
21112         (get-largest-window): Never return a minibuffer window.
21113         (display-buffer-pop-up-window): Fix a bug that could lead to
21114         reusing the minibuffer window.
21115         (display-buffer): Pass original specifier argument to
21116         display-buffer-function instead of the normalized one.
21117         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21119 2011-06-22  Leo Liu  <sdl.web@gmail.com>
21121         * minibuffer.el (completing-read-function)
21122         (completing-read-default): Move from minibuf.c.
21124 2011-06-22  Richard Stallman  <rms@gnu.org>
21126         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21127         to Rmail even if not started by a special Rmail command.
21129         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21130         Copy the buffer currently showing just one message.
21132 2011-06-22  Roland Winkler  <winkler@gnu.org>
21134         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21135         (bibtex-clean-entry): First delete the old key so that a
21136         customized algorithm for generating the new key does not get
21137         confused by the old key.
21138         (bibtex-url): Obey regexp of first step.
21139         (bibtex-search-entries): Do not use add-to-list with local
21140         list-var.
21142 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21144         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21145         stored a user name, then query for the password first, instead of
21146         waiting for SMTP to give an error message and the trying again.
21148 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
21150         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21151         BUFFER in call-process.
21153 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21155         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21156         QUIT twice.
21157         (smtpmail-try-auth-methods): Require user name and password from
21158         auth-source.
21160 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
21162         * window.el (display-buffer-default-specifiers)
21163         (display-buffer-alist): Remove entries for pop-up-frame-alist.
21164         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21165         (split-window): Normalize SIDE argument (Bug#8916).
21167         * frame.el (pop-up-frame-alist, pop-up-frame-function)
21168         (special-display-frame-alist, special-display-popup-frame):
21169         Remove duplicate declarations.  These are now in window.el.
21171 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21173         * mail/smtpmail.el (smtpmail-via-smtp):
21174         Set :use-starttls-if-possible so that we always use STARTTLS if the
21175         server supports it.  SMTP servers that support STARTTLS commonly
21176         require it.
21178         * net/network-stream.el (network-stream-open-starttls): Support
21179         upgrading to STARTTLS always, even if we don't have built-in support.
21180         (open-network-stream): Add the :always-query-capabilities keyword.
21182         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21183         upgrades with `open-network-stream', and rely solely on
21184         auth-source for all credentials.  Big changes throughout the file,
21185         but in particular:
21186         (smtpmail-auth-credentials): Remove.
21187         (smtpmail-starttls-credentials): Remove.
21188         (smtpmail-via-smtp): Check for servers saying they want AUTH after
21189         MAIL FROM, too.
21191         * net/network-stream.el (network-stream-open-starttls):
21192         Provide support for client certificates both for external and built-in
21193         STARTTLS.
21194         (auth-source): Require.
21195         (open-network-stream): Document the :client-certificate keyword.
21196         (network-stream-certificate): Change cert-cert to cert and
21197         cert-key to key.
21199 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
21201         * net/tramp-cache.el (top): Don't load the persistency file when
21202         "emacs -Q" has been called.
21204 2011-06-21  Tim Harper  <timcharper@gmail.com>
21206         * term/ns-win.el (ns-initialize-window-system):
21207         Set application-specific `ApplePressAndHoldEnabled' system
21208         resource to NO as it is not yet supported by the NS port.
21210 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
21212         * misc.el (list-dynamic-libraries--refresh): Compute header here...
21213         (list-dynamic-libraries): ...not here.
21215 2011-06-21  Leo Liu  <sdl.web@gmail.com>
21217         * subr.el (sha1): Implement sha1 using secure-hash.
21219 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
21221         * window.el (display-buffer-alist): In default value do not
21222         enforce searching a window on any but the selected frame.
21223         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21224         (display-buffer-select-window): Remove function.
21225         (display-buffer-in-window): When a window on another frame gets
21226         reused, do not select it any more but just raise its frame if
21227         necessary (Bug#8851) and (Bug#8856).
21228         (display-buffer-normalize-options): Handle pop-up-frames related
21229         options more faithfully.
21230         (pop-to-buffer): Don't rely on `display-buffer' selecting the
21231         window if it is on another frame.
21232         (display-buffer-alist, display-buffer-default-specifiers):
21233         Don't make new frame unsplittable by default.
21234         (display-buffer-normalize-argument): Fix doc-string typo and use
21235         'same-frame-other-window instead of 'other-window when associating
21236         with display-buffer-macro-specifiers.
21238 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
21240         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21241         New functions.
21242         (5x5-mode-map, 5x5-mode-menu): Bind them.
21243         (5x5-draw-grid): Tweak the solver's rendering.
21245 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21247         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21248         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21250 2011-06-21  Drew Adams  <drew.adams@oracle.com>
21252         * menu-bar.el: Use function variable instead of switch-to-buffer.
21253         (menu-bar-select-buffer-function): New variable.
21254         (menu-bar-update-buffers): Use it (bug#8876).
21256 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21258         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21259         variable's status.
21261 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
21263         * x-dnd.el (x-dnd-version-from-flags)
21264         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21265         and long as number (Bug#8899).
21266         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21268 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21270         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21271         (completion-try-completion, completion-all-completions): Compute the
21272         metadata argument if it's missing; make it optional (bug#8795).
21274         * wid-edit.el: Use lex-bind and move towards completion-at-point.
21275         (widget-complete): Use new :completion-function property.
21276         (widget-completions-at-point): New function.
21277         (default): Use :completion-function instead of :complete.
21278         (widget-default-completions): Rename from widget-default-complete;
21279         Rewrite.
21280         (widget-string-complete, widget-file-complete, widget-color-complete):
21281         Remove functions.
21282         (file, symbol, function, variable, coding-system, color):
21283         * international/mule-cmds.el (default-input-method, charset)
21284         (language-info-custom-alist):
21285         * cus-edit.el (face): Use new property :completions.
21287         * progmodes/pascal.el (pascal-completions-at-point): New function.
21288         (pascal-mode): Use it.
21289         (pascal-mode-map): Use completion-at-point.
21290         (pascal-toggle-completions): Make obsolete.
21291         (pascal-complete-word, pascal-show-completions):
21292         * progmodes/octave-mod.el (octave-complete-symbol):
21293         Redefine as obsolete alias.
21294         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21295         Signal absence of completion info for old Octave,
21296         (inferior-octave-complete): Redefine as obsolete alias.
21297         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21298         (meta-completions-at-point): Rename from meta-complete-symbol and
21299         adapt it for use on completion-at-point-functions.
21300         (meta-common-mode): Use it.
21301         (meta-looking-at-backward, meta-match-buffer): Remove.
21302         (meta-complete-symbol): Redefine as obsolete alias.
21303         (meta-common-mode-map): Use completion-at-point.
21304         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21305         (makefile-mode-map): Use completion-at-point.
21306         (makefile-completions-at-point): Rename from makefile-complete and
21307         adapt it for use on completion-at-point-functions.
21308         (makefile-mode): Use it.
21309         (makefile-complete): Redefine as obsolete alias.
21311 2011-06-20  Deniz Dogan  <deniz@dogan.se>
21313         * net/rcirc.el: Delete trailing whitespaces once and for all.
21315 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
21317         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21319 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
21321         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21323         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21325 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
21327         * window.el (display-buffer-other-window-means-other-frame):
21328         Call display-buffer-normalize-alist.
21329         (display-buffer-normalize-specifiers-1): Rename to
21330         display-buffer-normalize-argument.  New argument other-frame.
21331         Rewrite.
21332         (display-buffer-normalize-specifiers-2): Rename to
21333         display-buffer-normalize-options.
21334         (display-buffer-normalize-alist-1): New function.
21335         (display-buffer-normalize-specifiers-3): Rename to
21336         display-buffer-normalize-alist.
21337         Call display-buffer-normalize-alist-1.
21338         (display-buffer-normalize-options-inhibit): New variable.
21339         (display-buffer-normalize-specifiers): Rewrite calling
21340         display-buffer-normalize-alist,
21341         display-buffer-normalize-argument, and
21342         display-buffer-normalize-options.  Don't call the latter if
21343         display-buffer-normalize-options-inhibit is non-nil.
21344         (frame-auto-delete): New option.
21345         (window-deletable-p): Use frame-auto-delete.
21346         (window-list-no-nils, window-state-ignored-parameters)
21347         (window-state-get-1, window-state-get, window-state-put-list)
21348         (window-state-put-1, window-state-put-2, window-state-put):
21349         New functions.
21350         (display-buffer-normalize-options): Move special-display-p group
21351         after pop-up-frame group (Bug#8851) and (Bug#8856).
21353 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
21355         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21356         groups (Bug#8776).
21357         (rx-submatch-n): New function.
21358         (rx): Document it.
21360         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21361         (Bug#8768).
21363         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21365         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21367         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21368         anytime existing face settings are present (Bug#8889).
21370         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21371         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21372         Remove unused argument.
21374 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
21376         * window.el (display-buffer-default-specifiers):
21377         Remove pop-up-frame.  Add pop-up-window-min-height,
21378         pop-up-window-min-width, and another reuse-window specifier
21379         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
21380         (display-buffer-normalize-specifiers-2):
21381         Handle split-height-threshold and split-width-threshold also when
21382         pop-up-windows is unset.  Add a reuse-window specifier for the
21383         case popping up a new window fails.
21384         (special-display-popup-frame): Remove double quoting.
21385         (display-buffer-normalize-specifiers-1): Fix thinko.
21387 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21389         * shell.el (shell-completion-vars): Set pcomplete-termination-string
21390         according to comint-completion-addsuffix.
21392         * pcomplete.el: Convert to lexical binding and fix bug#8819.
21393         (pcomplete-suffix-list): Mark as obsolete.
21394         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21395         pcomplete-seen in the closure.
21396         (pcomplete-comint-setup): Setup completion-at-point as well.
21397         (pcomplete--entries): New function.
21398         (pcomplete--env-regexp): New var.
21399         (pcomplete-entries): Rewrite to work with partial-completion and
21400         without relying on pcomplete-suffix-list.
21401         (pcomplete-pare-list): Remove, unused.
21403 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
21405         * window.el (display-buffer-alist): Set pop-up-window-min-height
21406         and pop-up-window-min-width in default value.  Reported by
21407         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
21408         other-window-means-other-frame.
21409         (display-buffer-macro-specifiers): Comment out entry for
21410         other-window specifier.
21411         (display-buffer-other-window-means-other-frame): New function.
21412         (display-buffer-normalize-specifiers-1): New arguments
21413         buffer-name and label.  Treat other-window case specially.
21414         (display-buffer-normalize-specifiers-2): Treat other-window case
21415         specially.
21416         (display-buffer-normalize-specifiers-3): New function.
21417         (display-buffer-normalize-specifiers):
21418         Call display-buffer-normalize-specifiers-3.
21420 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
21422         * window.el (same-window-p): Fix two typos introduced when
21423         adding with-no-warnings.
21424         (display-buffer-normalize-specifiers-1): Don't check
21425         pop-up-frames for 'unset initialization.
21426         (display-buffer-normalize-specifiers-2): Major rewrite using
21427         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21428         (pop-up-frames, display-buffer-reuse-frames)
21429         (display-buffer-mark-dedicated): Don't initialize to 'unset.
21430         Suggested by David Engster <deng@randomsample.de>.
21431         (even-window-heights): Initialize to 'unset.
21432         (display-buffer-alist-set): Handle new 'unset initializations.
21433         (display-buffer-macro-specifiers): Don't pop up a new frame in the
21434         other window case.
21436 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
21438         * window.el (display-buffer-normalize-specifiers-1):
21439         Respect current value of pop-up-frames for most reasonable values of
21440         second argument of display-buffer (Bug#8865).
21441         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21442         (switch-to-buffer-other-window-same-frame)
21443         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
21444         Adams (Bug#8875).
21445         (display-buffer): Don't check noninteractive when calling
21446         display-buffer-pop-up-frame.
21447         (display-buffer-pop-up-frame): Never pop up a frame in
21448         noninteractive mode (Bug#8857).
21449         (enlarge-window, shrink-window): Don't report an error when the
21450         window can't be resized as requested (Bug#8862).
21452 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21454         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21456         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21458         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21460 2011-06-15  Alan Mackenzie  <acm@muc.de>
21462         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21463         for declarators, disable knr checking to speed up for normal files.
21464         2: Refactor, replacing a sequence of nested if forms by a cond form.
21466 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21468         * net/network-stream.el (open-network-stream): Add the keyword
21469         :always-query-capabilities for the case where you want to force a
21470         `plain' network connection, but the protocol still requires the
21471         capabilitiy command (i.e., SMTP and EHLO).
21473         * subr.el (process-live-p): Rename from `process-alive-p' for
21474         consistency with other `-live-p' functions.
21476 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21478         * window.el (same-window-buffer-names, same-window-regexps)
21479         (special-display-frame-alist, special-display-popup-frame)
21480         (special-display-function, special-display-buffer-names)
21481         (special-display-regexps, pop-up-frame-alist)
21482         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21483         (pop-up-windows, split-window-preferred-function)
21484         (split-height-threshold, split-width-threshold, even-window-heights)
21485         (display-buffer-mark-dedicated): Don't encourage the use of
21486         display-buffer-alist from Elisp code.
21488 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
21490         * progmodes/python.el (python-mode): Derive from prog-mode.
21491         * progmodes/ps-mode.el (ps-mode):
21492         * progmodes/mixal-mode.el (mixal-mode):
21493         * progmodes/cfengine.el (cfengine-mode):
21494         * progmodes/ld-script.el (ld-script-mode): Likewise.
21496 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
21498         * window.el (display-buffer-alist): Trim default value to avoid
21499         popping up a new frame (Bug#8857) or reusing an arbitrary window
21500         on another frame.
21501         (display-buffer): Do not fall back on popping up a new frame in
21502         batch mode (Bug#8857).
21504 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
21506         * cus-theme.el (describe-theme-1): Use custom-theme-p.
21507         (custom-theme-summary): New function.
21508         (customize-themes): Use it.
21510 2011-06-13  Glenn Morris  <rgm@gnu.org>
21512         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21514 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
21516         * help.el (help-window): Remove variable.
21517         (help-window-point-marker, temp-buffer-max-height)
21518         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21519         (help-print-return-message): Don't set help-window.
21520         (resize-temp-buffer-window): Rewrite cod eand doc-string.
21521         (help-window-setup-finish): Remove.
21522         (help-window-display-message, help-window-setup)
21523         (with-help-window): Major rewrite based on new
21524         display-buffer-window variable.
21526         * help-mode.el (help-mode-finish): Remove help-window related
21527         code.
21529         * view.el (view-exits-all-viewing-windows): Remove reference to
21530         view-return-to-alist in doc-string.
21531         (view-return-to-alist): Make obsolete.
21532         (view-buffer): Call pop-to-buffer-same-window and remove
21533         undo-window code.
21534         (view-buffer-other-window): Call pop-to-buffer-other-window and
21535         simplify code.  Ignore second argument.
21536         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21537         simplify code.  Ignore second argument.
21538         (view-return-to-alist-update): Make obsolete.
21539         (view-mode-enter): Rename second argument to QUIT-RESTORE.
21540         Rewrite using quit-restore window parameters.
21541         (view-mode-exit): Rename second argument to EXIT-ONLY.
21542         Rewrite using quit-restore-window.
21543         (View-exit, View-exit-and-edit, View-leave, View-quit)
21544         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21545         appropriate arguments.
21546         (view-end-message): Use quit-restore window parameter.
21548         * window.el (display-buffer-function): Rewrite doc-string.
21549         (display-buffer-window, display-buffer-alist): New variables.
21550         (display-buffer-split-specifiers)
21551         (display-buffer-side-specifiers)
21552         (display-buffer-macro-specifiers): New constants.
21553         (display-buffer-even-window-sizes, display-buffer-set-height)
21554         (display-buffer-set-width, display-buffer-select-window)
21555         (display-buffer-in-window, display-buffer-reuse-window)
21556         (display-buffer-split-window-1, display-buffer-split-window)
21557         (display-buffer-split-atom-window, display-buffer-pop-up-window)
21558         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21559         (display-buffer-in-side-window, normalize-buffer-to-display)
21560         (display-buffer-normalize-specifiers-1)
21561         (display-buffer-normalize-specifiers-2)
21562         (display-buffer-normalize-specifiers, display-buffer-frame):
21563         New functions.
21564         (display-buffer): Major rewrite.
21565         (display-buffer-other-window, display-buffer-other-frame)
21566         (pop-to-buffer, switch-to-buffer-other-window)
21567         (switch-to-buffer-other-frame): Rewrite.
21568         (display-buffer-same-window, display-buffer-same-frame)
21569         (display-buffer-same-frame-other-window)
21570         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21571         (pop-to-buffer-other-window)
21572         (pop-to-buffer-same-frame-other-window)
21573         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21574         (switch-to-buffer-other-window-same-frame): New functions.
21575         (same-window-p, special-display-p): Rewrite disabling warnings.
21576         Make obsolete.
21577         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21578         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21579         Make obsolete
21580         (same-window-buffer-names, same-window-regexps)
21581         (special-display-frame-alist, special-display-popup-frame)
21582         (special-display-function, special-display-buffer-names)
21583         (special-display-regexps, pop-up-frame-alist)
21584         (pop-up-frame-function, split-window-preferred-function)
21585         (split-height-threshold, split-width-threshold)
21586         (even-window-heights): Make obsolete.
21588 2011-06-12  Glenn Morris  <rgm@gnu.org>
21590         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
21591         Misc simplifications.
21593 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
21595         * window.el (window-safely-shrinkable-p): Restore function which
21596         was inadvertently removed in change from 2011-06-11.  Declare as
21597         obsolete.
21599         * calendar/calendar.el (calendar-generate-window):
21600         Use window-iso-combined-p instead of combination of one-window-p and
21601         window-safely-shrinkable-p.
21603 2011-06-12  Glenn Morris  <rgm@gnu.org>
21605         * progmodes/fortran.el (fortran-mode-syntax-table):
21606         * progmodes/f90.el (f90-mode-syntax-table):
21607         Set % to punctuation.  (Bug#8820)
21608         (f90-find-tag-default): Remove, no longer needed.
21610 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
21612         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21614 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
21616         * image.el (image-animated-p): Return animation delay in seconds.
21617         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21618         (image-animate-timeout): Remove DELAY argument.  Don't assume
21619         every subimage has the same delay; get it from image-animated-p.
21620         (image-animate): Caller changed.
21622 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
21624         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21625         to ignored backtrace functions.
21627 2011-06-11  Glenn Morris  <rgm@gnu.org>
21629         * calendar/appt.el (appt-disp-window-function): Doc fix.
21630         (appt-check): Handle overlapping appointments.  (Bug#8337)
21632 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
21634         * window.el (window-tree-1, window-tree): New functions, moving
21635         the latter to window.el.
21636         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21637         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21638         (bw-refresh-edges): Remove.
21639         (balance-windows-1, balance-windows-2): New functions.
21640         (balance-windows): Rewrite in terms of window tree functions,
21641         balance-windows-1 and balance-windows-2.
21642         (bw-adjust-window): Remove.
21643         (balance-windows-area-adjust): New function with functionality of
21644         bw-adjust-window but using resize-window.
21645         (set-window-text-height): Rewrite doc-string.
21646         Use normalize-live-window and resize-window.
21647         (enlarge-window-horizontally, shrink-window-horizontally):
21648         Rename argument to DELTA.
21649         (window-buffer-height): New function.
21650         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21651         Rewrite using new window resize routines.
21652         (kill-buffer-and-window, mouse-autoselect-window-select):
21653         Use ignore-errors instead of condition-case.
21654         (quit-window): Call delete-frame instead of delete-windows-on
21655         for the only buffer on frame.
21657 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
21659         * loadup.el (top-level): Load window before files for the sake
21660         of replace-buffer-in-windows.
21662         * files.el (read-buffer-to-switch)
21663         (switch-to-buffer-other-window)
21664         (switch-to-buffer-other-frame, display-buffer-other-frame):
21665         Move to window.el.
21667         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21668         (previous-buffer): Move to window.el.
21670         * bindings.el (unbury-buffer): Move to window.el.
21672         * window.el (delete-other-windows-vertically): Move after
21673         definition of delete-other-windows.
21674         (other-window, delete-windows-on, replace-buffer-in-windows):
21675         Move here from window.c.
21676         (record-window-buffer, unrecord-window-buffer)
21677         (set-window-buffer-start-and-point, switch-to-prev-buffer)
21678         (switch-to-next-buffer): New functions.
21679         (get-next-valid-buffer, last-buffer, next-buffer): Move here
21680         from simple.el.  Call switch-to-next-buffer.
21681         (previous-buffer): Move here from simple.el.
21682         Call switch-to-prev-buffer.
21683         (bury-buffer): Move here from buffer.c.  Switch to previous
21684         buffer when window cannot be deleted.
21685         (unbury-buffer): Move here from bindings.el.
21686         (ctl-x-map): Move binding for other-window from window.c to
21687         here.
21688         (read-buffer-to-switch, switch-to-buffer-other-window)
21689         (switch-to-buffer-other-frame): Move here from files.el.
21690         (normalize-buffer-to-switch-to): New functions.
21691         (switch-to-buffer): Move here from buffer.c.
21692         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21694 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
21696         * window.el (window-min-height, window-min-width): Move here
21697         from window.c.  Add defcustoms and rewrite doc-strings.
21698         (resize-mini-window, resize-window): New functions.
21699         (adjust-window-trailing-edge, enlarge-window, shrink-window):
21700         Move here from window.c.
21701         (maximize-window, minimize-window): New functions.
21702         (delete-window, delete-other-windows, split-window): Move here
21703         from window.c.
21704         (window-split-min-size): New function.
21705         (split-window-keep-point): Mention split-window-above-each-other
21706         instead of split-window-vertically.
21707         (split-window-above-each-other, split-window-vertically):
21708         Rename split-window-vertically to split-window-above-each-other
21709         and provide defalias for old definition.
21710         (split-window-side-by-side, split-window-horizontally):
21711         Rename split-window-horizontally to split-window-side-by-side
21712         and provide defalias for the old definition.
21713         (ctl-x-map): Move bindings for delete-window,
21714         delete-other-windows and enlarge-window here from window.c.
21715         Replace bindings for split-window-vertically and
21716         split-window-horizontally by bindings for
21717         split-window-above-each-other and split-window-side-by-side.
21719         * cus-start.el (all): Remove entries for window-min-height and
21720         window-min-width.  Add entries for window-splits and
21721         window-nest.
21723 2011-06-09  Glenn Morris  <rgm@gnu.org>
21725         * calendar/appt.el (appt-mode-line): New function.
21726         (appt-check, appt-disp-window): Use it.
21728         * files.el (hack-one-local-variable-eval-safep):
21729         Allow minor-modes with explicit +/-1 arguments.
21731 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
21733         * term/xterm.el (xterm): Add defgroup.
21734         (xterm-extra-capabilities): Add defcustom to supply known xterm
21735         capabilities, skip querying them, or query them (default).
21736         (terminal-init-xterm): Use it.
21737         (terminal-init-xterm-modify-other-keys): New function to set up
21738         modifyOtherKeys support to simplify `terminal-init-xterm'.
21740 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
21742         * window.el (resize-window-reset, resize-window-reset-1)
21743         (resize-subwindows-skip-p, resize-subwindows-normal)
21744         (resize-subwindows, resize-other-windows, resize-this-window)
21745         (resize-root-window, resize-root-window-vertically)
21746         (window-deletable-p, window-or-subwindow-p)
21747         (frame-root-window-p): New functions.
21749 2011-06-09  Glenn Morris  <rgm@gnu.org>
21751         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21752         (ange-ftp-get-files): Use it.
21754 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
21756         * mail/sendmail.el (mail-recover-1, mail-recover):
21757         * files.el (recover-file, recover-session):
21758         Handle dired-listing-switches not being just a single short option.
21760 2011-06-09  Glenn Morris  <rgm@gnu.org>
21762         * calendar/appt.el (appt-display-message, appt-disp-window):
21763         Handle lists of appointments.
21765 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
21767         * window.el (one-window-p): Move down in code.
21768         Rewrite doc-string.
21769         (window-current-scroll-bars): Rewrite doc-string.
21770         Normalize live window argument.
21771         (walk-windows, get-window-with-predicate, count-windows):
21772         Rewrite doc-string.  Use window-list-1.
21773         (window-in-direction-2, window-in-direction, get-mru-window):
21774         New functions.
21776 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
21778         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21779         Doc fix (Bug#8713).
21781 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
21783         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21785 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
21787         * loadhist.el (unload-feature-special-hooks):
21788         Add `comint-output-filter-functions'.
21790 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
21792         * calendar/appt.el (appt-check): Move some initializations into the let.
21794 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
21796         * window.el (window-height): Defalias to window-total-height.
21797         (window-width): Defalias to window-body-width.
21799 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
21801         * image-mode.el (image-toggle-animation): New command.
21802         (image-mode-map): Bind it to RET.
21803         (image-mode): Update message.
21804         (image-toggle-display-image): Avoid a spurious cache flush.
21805         (image-transform-rotation): Doc fix.
21806         (image-transform-properties): Return quickly in the normal case.
21807         (image-animate-loop): Rename from image-animate-max-time.
21809         * image.el (image-animate-max-time): Move to image-mode.el.
21810         (create-animated-image): Remove unnecessary function.
21811         (image-animate): Rename from image-animate-start.  New arg.
21812         (image-animate-stop): Remove; just use image-animate-timer.
21813         (image-animate-timer): Use car-safe.
21814         (image-animate-timeout): Rename argument.
21816 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
21818         * window.el (get-lru-window, get-largest-window): Move here from
21819         window.c.  Rename first argument to ALL-FRAMES.
21820         Rephrase doc-strings.
21821         (get-buffer-window-list): Rewrite using window-list-1.
21822         Rephrase doc-string.
21823         (window-safe-min-height, window-safe-min-width): New constants.
21824         (window-size-ignore, window-min-size, window-min-size-1)
21825         (window-sizable, window-sizable-p, window-size-fixed-1)
21826         (window-size-fixed-p, window-min-delta-1, window-min-delta)
21827         (window-max-delta-1, window-max-delta, window-resizable)
21828         (window-resizable-p, window-total-height, window-total-width)
21829         (window-body-width): New functions.
21830         (window-full-height-p, window-full-width-p): Rewrite using
21831         window-total-size.
21832         (window-body-height): Rewrite using window-body-size.
21834 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
21836         * window.el (window-right, window-left, window-child)
21837         (window-child-count, window-last-child, window-any-p)
21838         (normalize-live-buffer, normalize-live-frame)
21839         (normalize-any-window, normalize-live-window)
21840         (window-iso-combination-p, window-iso-combined-p)
21841         (window-iso-combinations)
21842         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21843         (windows-with-parameter, window-with-parameter)
21844         (window-atom-root, make-window-atom, window-atom-check-1)
21845         (window-atom-check, window-side-check, window-check):
21846         New functions.
21847         (ignore-window-parameters, window-sides, window-sides-vertical)
21848         (window-sides-slots): New variables.
21849         (window-size-fixed): Move down in code.  Minor doc-string fix.
21851 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
21853         * comint.el (comint-dynamic-complete-as-filename)
21854         (comint-dynamic-complete-filename): Correctly call
21855         completion-in-region.
21857 2011-06-05  Deniz Dogan  <deniz@dogan.se>
21859         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21860         in last change.
21862 2011-06-05  Deniz Dogan  <deniz@dogan.se>
21864         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21865         (rcirc): Use it to prompt for encryption.
21867 2011-06-05  Roland Winkler  <winkler@gnu.org>
21869         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21870         (bibtex-search-entries): New command bound to C-c C-a.
21871         (bibtex-display-entries): New function.
21873 2011-06-05  Roland Winkler  <winkler@gnu.org>
21875         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21876         (bibtex-insert-kill): After yanking insert newline if necessary.
21877         (bibtex-initialize): Call bibtex-string-files-init only once.
21878         (bibtex-mode): Do not call easy-menu-add.
21879         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21880         (bibtex-yank): Set arg properly if nil.
21882 2011-06-05  Roland Winkler  <winkler@gnu.org>
21884         * textmodes/bibtex.el (bibtex-search-entry-globally):
21885         New variable.
21886         (bibtex-search-entry): Use it.
21888 2011-06-05  Roland Winkler  <winkler@gnu.org>
21890         * textmodes/bibtex.el (bibtex-entry-format): New option
21891         sort-fields.
21892         (bibtex-format-entry, bibtex-reformat): Honor this option.
21893         (bibtex-parse-entry): Return fields in proper order.
21895 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
21897         * doc-view.el (doc-view-remove-if): Move computation of result out
21898         of `dolist' to silence misleading lexical-binding warning.
21900 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
21902         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21903         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21905 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
21907         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21908         "SunOS 5.10".
21910 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
21912         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21913         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21914         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21915         (tramp-parse-putty):
21916         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21917         (tramp-completion-function-alist-ssh)
21918         (tramp-completion-function-alist-telnet)
21919         (tramp-completion-function-alist-su)
21920         (tramp-completion-function-alist-putty): Set `tramp-autoload'
21921         cookie.
21923         * net/tramp-ftp.el:
21924         * net/tramp-sh.el:
21925         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21926         load "tramp.el" `tramp-set-completion-function'.
21928 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21930         * shell.el: Require and use pcomplete.
21931         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21932         (shell-completion-vars): Set pcomplete-default-completion-function.
21934 2011-06-04  Deniz Dogan  <deniz@dogan.se>
21936         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21937         `memq' (Bug#8799).
21939 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21941         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21943 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
21945         * bs.el (bs--mark-unmark, bs--nth-wrapper):
21946         * mpc.el (mpc-select-extend, mpc-songpointer-context):
21947         * vc/log-view.el (log-view-beginning-of-defun):
21948         * vc/smerge-mode.el (smerge-apply-resolution-patch)
21949         (smerge-refine-forward, smerge-refine-chopup-region):
21950         Silence warning for unused `dotimes' counter variables.
21952 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21954         * net/tramp.el (tramp-with-progress-reporter): Rename from
21955         with-progress-reporter.  Use `declare'.
21956         * net/tramp-smb.el:
21957         * net/tramp-sh.el:
21958         * net/tramp-gvfs.el: Update all uses.
21960 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
21962         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21963         buffer isn't killed before making it current.
21965 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21967         Silence various byte-compiler warnings.
21968         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21969         `access-type' and new obsolescence format.
21970         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21971         new format.
21972         (byte-compile-check-variable): New `access-type' argument.
21973         Only warn if the access-type is obsolete.
21974         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21975         (byte-compile-variable-set): Adjust callers.
21976         * help-fns.el (describe-variable): Adjust to new obsolescence format.
21977         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21978         setting it as obsolete.
21979         * simple.el (minibuffer-completing-symbol):
21980         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21981         access as obsolete.
21982         * minibuffer.el (minibuffer-completing-file-name): Don't make it
21983         obsolete yet.
21984         * international/quail.el (quail-mouse-choose-completion): Remove unused
21985         code referring to obsolete var.
21986         (quail-choose-completion-string): Remove.
21987         * server.el (server-clients-with, server-kill-buffer-query-function)
21988         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21989         * proced.el (proced-send-signal):
21990         * emacs-lisp/lisp.el (lisp-complete-symbol):
21991         Replace completion-annotate-function with completion-extra-properties.
21993 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21995         * simple.el (goto-line): Use read-number.
21996         (overriding-map-is-bound): Remove.
21997         (saved-overriding-map): Change default.
21998         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21999         Take the map as argument.
22000         (universal-argument, negative-argument, digit-argument): Use it.
22001         (restore-overriding-map): Adjust.
22002         (do-auto-fill): Use fill-forward-paragraph.
22003         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22005         * minibuffer.el (minibuffer-inactive-mode-map): New var.
22006         (minibuffer-inactive-mode): New major mode.
22007         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22008         the *Messages* buffer" hack.
22009         (mouse-popup-menubar): Don't burp if the event is a normal key.
22011         Miscellaneous tweaks.
22012         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22013         lexical scoping as in subr.el's dolist and dotimes.
22014         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22015         Silence compiler warning.
22016         * thingatpt.el (forward-whitespace): Trivial coding style fix.
22017         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22018         * international/ccl.el (ccl-compile): Trivial simplification.
22019         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22020         * emacs-lisp/testcover.el (testcover-end): Remove spurious
22021         `printflag' argument.
22022         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22023         Purecopy the whole obsolescence data.
22025 2011-06-01  Leo Liu  <sdl.web@gmail.com>
22027         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22028         improve doc-string as suggested by Marco Pessotto
22029         <melmothx@gmail.com>.
22030         (rcirc-print): Fix last change.
22032 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22034         * minibuffer.el (complete-with-action): Return nil for the metadata and
22035         boundaries of non-functional tables.
22036         (completion-table-dynamic): Return nil for the metadata.
22037         (completion-table-with-terminator): Add default case, using
22038         complete-with-action.
22039         (completion--metadata): New function.
22040         (completion-all-sorted-completions, minibuffer-completion-help): Use it
22041         to try and avoid pathological performance problems.
22042         (completion--embedded-envvar-table): Return `category' metadata.
22044 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22046         * subr.el (process-alive-p): New tiny convenience function.
22048 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22050         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22051         content but also its previous major mode.
22053 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
22055         * emacs-lisp/debug.el (debug): Restore the previous content of the
22056         *Backtrace* buffer when we exit with C-M-c.
22058 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22060         * minibuffer.el: Add metadata method to completion tables.
22061         (completion-category-overrides): New defcustom.
22062         (completion-metadata, completion--field-metadata)
22063         (completion-metadata-get, completion--styles)
22064         (completion--cycle-threshold): New functions.
22065         (completion-try-completion, completion-all-completions):
22066         Add `metadata' argument to choose completion-styles.
22067         (completion--do-completion): Use metadata to choose cycling.
22068         (completion-all-sorted-completions): Use metadata for sorting.
22069         Remove :completion-cycle-penalty which is not needed any more.
22070         (completion--try-word-completion): Add `metadata' argument.
22071         (minibuffer-completion-help): Check metadata for annotation function
22072         and sorting.
22073         (completion-file-name-table): Return `category' metadata.
22074         (minibuffer-completing-file-name): Make obsolete.
22075         * simple.el (minibuffer-completing-symbol): Make obsolete.
22076         * icomplete.el (icomplete-completions): Pass new `metadata' param to
22077         completion-try-completion.
22079 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
22081         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22083 2011-05-30  Leo Liu  <sdl.web@gmail.com>
22085         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22086         (rcirc-print): Decode all incoming messages (bug#8744).
22087         (rcirc-decode-coding-system): Allow value nil for automatic coding
22088         system detection.
22090 2011-06-01  Glenn Morris  <rgm@gnu.org>
22092         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22094 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22096         * image.el (image-animate-max-time): Allow nil and t values.
22097         Default to nil.
22098         (create-animated-image): Doc fix.
22099         (image-animate-start): Remove second arg; just use
22100         image-animate-max-time.
22101         (image-animate-timeout): Doc fix.  Args changed.
22103         * image-mode.el (image-toggle-display-image): Ensure that the
22104         image spec passed to the animate timer is the same object as in
22105         the buffer's display property (Bug#6981).
22106         (image-transform-properties): Doc fix.
22108         * image.el (image-animate-max-time): Default to nil.
22110 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
22112         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22113         entire buffer list (Bug#8184).
22115 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22117         * image.el (imagemagick-types-inhibit)
22118         (imagemagick-register-types): Doc fix.
22120 2011-05-29  Deniz Dogan  <deniz@dogan.se>
22122         * net/rcirc.el (rcirc): Use the user's stored encryption method by
22123         default.
22125 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22127         * select.el: Don't perform clipboard-manager saving in hooks;
22128         leave the hooks empty.
22130 2011-05-28  Leo Liu  <sdl.web@gmail.com>
22132         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22133         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
22134         (occur-edit-mode): New major mode (Bug#8463).
22135         (occur-after-change-function): New function.
22136         (occur-engine): Give Occur tags a read-only property.
22138 2011-05-28  Kevin Ryde  <user42@zip.com.au>
22140         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22142 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22144         * bindings.el (help-echo): Make the initial non-indicator dash
22145         empty on graphical terminals (Bug#7295).
22147         * files.el (auto-mode-alist): Move config rule after the
22148         in-stripping one (Bug#8547).
22150         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22152         * startup.el (normal-splash-screen): Remove gratuitous mode-line
22153         setting (Bug#8740).
22155 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
22157         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22158         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22159         (Bug#8539).
22161 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22163         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22165 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
22167         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22168         (hs-hide-block-at-point, hs-find-block-beginning)
22169         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22170         (Bug#8279).
22172 2011-05-28  Glenn Morris  <rgm@gnu.org>
22174         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
22176 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22178         * help-fns.el (describe-function-1): If the function is a derived
22179         major mode, print the parent mode.
22181         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22182         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22184 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22186         * minibuffer.el (completion--capf-wrapper): Check applicability before
22187         returning non-nil for non-exclusive completion data.
22188         * progmodes/etags.el (tags-completion-at-point-function):
22189         * info-look.el (info-lookup-completions-at-point): Mark as
22190         non-exclusive.
22191         (info-complete): Adjust accordingly.
22193         * info-look.el: Convert to lexical-binding and completion-at-point.
22194         (info-lookup-completions-at-point): New function.
22195         (info-complete): Use it and completion-in-region.
22197 2011-05-28  Drew Adams  <drew.adams@oracle.com>
22199         * isearch.el: Let M-e start with point at the first mismatched char.
22200         (isearch-fail-pos): New function.
22201         (isearch-edit-string): Use it.
22203 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
22205         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22207 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
22209         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
22210         traversal functions for avl-trees.
22211         (avl-tree--stack): New struct.
22212         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22213         (avl-tree-enter): Add optional `updatefun' arg.
22214         (avl-tree--do-enter): Add optional `updatefun' arg.
22215         Change return value.
22216         (avl-tree-delete): Add optional `test' and `nilflag' args.
22217         (avl-tree--do-delete): Add `test' and `nilflag' args.
22218         Change return value.
22219         (avl-tree-member): Add optional `nilflag'
22220         (avl-tree-member-p): New function.
22221         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22222         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22223         (avl-tree-stack-empty-p): New functions.
22225         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22226         avl-tree--del-balance1 and make it work both ways.
22227         (avl-tree--del-balance2): Remove.
22228         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22229         make it work both ways.
22230         (avl-tree--enter-balance2): Remove.
22231         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22232         New macros.
22233         (avl-tree--mapc, avl-tree-map): Add direction argument.
22235 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
22237         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22239 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
22241         * select.el: Support clipboard managers with built-in function
22242         x-clipboard-manager-save, via delete-frame-functions and
22243         kill-emacs-hook.
22244         (xselect-convert-to-targets): Add MULTIPLE target to list.
22245         (xselect-convert-to-save-targets): New function.
22247 2011-05-27  Kenichi Handa  <handa@m17n.org>
22249         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22250         let-binding rfc2047-encode-encoded-words to nil.
22252 2011-05-27  Glenn Morris  <rgm@gnu.org>
22254         * mail/emacsbug.el: Don't require url-util.
22256         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
22258         * files.el (set-auto-mode):
22259         Also respect mode: entries at the end of the file.  (Bug#8586)
22261 2011-05-26  Glenn Morris  <rgm@gnu.org>
22263         * files.el (hack-local-variables-prop-line, hack-local-variables):
22264         Downcase mode names, as seems to be traditional.
22265         (hack-local-variables, hack-local-variables-apply): Doc fixes.
22267         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22268         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
22270 2011-05-25  Julien Danjou  <julien@danjou.info>
22272         * textmodes/rst.el (rst-define-level-faces): Do not define face
22273         symbol if it is already defined.
22275 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22277         * play/5x5.el (5x5-new-game, 5x5-randomize):
22278         Reset 5x5-solver-output to nil when a new grid is cast.
22279         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22280         these debugging traces, as defmacro breaks the compiled code.
22282 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
22284         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22286 2011-05-24  Leo Liu  <sdl.web@gmail.com>
22288         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22289         (vc-bzr-sha1): Adapt.
22291         * sha1.el: Remove.  Function `sha1' is now builtin.
22293         * bindings.el: Provide sha1 feature.
22295 2011-05-24  Kenichi Handa  <handa@m17n.org>
22297         * mail/sendmail.el: Require `rfc2047'.
22298         (mail-insert-from-field): Do not perform RFC2047 encoding.
22299         (mail-encode-header): New function.
22300         (sendmail-send-it): Set buffer-file-coding-system of the work
22301         buffer to the return value of select-message-coding-system.
22302         Call mail-encode-header.
22304         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22306 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
22308         * mail/supercite.el (sc-default-cite-frame):
22309         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22311 2011-05-24  Glenn Morris  <rgm@gnu.org>
22313         * progmodes/python.el (brm-menu): Declare.
22315         * emulation/viper.el (viper-set-hooks): Declare.
22317         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22318         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22319         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22320         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22321         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22322         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22324 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
22326         Add an :exit-function for completion-at-point.
22328         * minibuffer.el (completion--done): New fun.
22329         (completion--do-completion): Use it.  New arg `expect-exact'.
22330         (minibuffer-complete, minibuffer-complete-word): Don't output message,
22331         since completion--do-completion does it for us now.
22332         (minibuffer-force-complete): Use completion--done and
22333         completion--replace.  Handle sole-completion case with more care.
22334         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22335         (completion-extra-properties): New var.
22336         (completion-annotate-function): Make obsolete.
22337         (minibuffer-completion-help): Adjust accordingly.
22338         Use completion-list-insert-choice-function.
22339         (completion-at-point, completion-help-at-point):
22340         Bind completion-extra-properties.
22341         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22342         * simple.el (completion-list-insert-choice-function): New var.
22343         (completion-setup-function): Preserve it.
22344         (choose-completion): Pay attention to it, shuffle the code a bit.
22345         (choose-completion-string): New arg `insert-function'.
22347         * textmodes/bibtex.el: Convert to lexical binding.
22348         (bibtex-mode-map): Use completion-at-point.
22349         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22350         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22351         (bibtex-complete): Define as obsolete alias.
22352         (bibtex-complete-internal): Remove.
22353         (bibtex-format-entry): Remove unused sub-group in regexp.
22354         * shell.el (shell--command-completion-data)
22355         (shell-environment-variable-completion):
22356         * pcomplete.el (pcomplete-completions-at-point):
22357         * comint.el (comint--complete-file-name-data): Use :exit-function
22358         instead of completion-table-with-terminator so it also works for
22359         choose-completion.
22361 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22363         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22365         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22366         (bug#8710).
22368         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22370 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
22372         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22373         customization variable and implement: If non-nil, auto-fill will
22374         be inhibited while on topic's header line.
22376 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22378         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22379         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
22380         always have a solution in grid size = 5 cases.
22381         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22382         (5x5-solver-output, 5x5-log-buffer): New vars.
22383         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22384         Make these variables buffer local to achieve 5x5 multi-session-ness.
22385         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22386         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22387         (5x5-solve-suggest): New funs.
22388         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22389         randomize a grid so that we ensure that there is always a solution.
22390         (5x5-make-random-grid): Allow other movement than flipping.
22392 2011-05-23  Kevin Ryde  <user42@zip.com.au>
22394         * emacs-lisp/advice.el (ad-read-advised-function):
22395         Use `function-called-at-point' as the default, if it has
22396         advice and passes PREDICATE.
22398 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22400         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22401         byte-compile-lambda if it's actually a lambda.
22403         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22404         Fix function quoting.  Use backquote better.
22406 2011-05-22  Yuanle Song  <sylecn@gmail.com>
22408         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22409         matching (Bug#8516).
22411 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
22413         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22414         different face (Bug#8178).
22416 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
22418         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22419         defface (Bug#8144).
22421 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
22423         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22424         funcall as well (bug#8712).  Warn when performing those conversions.
22425         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22427         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22429 2011-05-22  Glenn Morris  <rgm@gnu.org>
22431         * files.el (hack-local-variables-prop-line): Small simplifications.
22432         (hack-local-variables, hack-local-variables-prop-line):
22433         If MODE-ONLY, return the mode, rather than just `t'.
22435 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22437         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22439 2011-05-21  Glenn Morris  <rgm@gnu.org>
22441         * files.el (hack-local-variables-prop-line, hack-local-variables):
22442         If only interested in the mode, don't bother doing the other stuff.
22444         * image-mode.el (image-after-revert-hook):
22445         Redraw all frames on which the image is visible.  (Bug#8567)
22447         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
22449         * wid-edit.el (widget-checklist-match-inline):
22450         Fix 2011-04-19 change.  (Bug#8649)
22452 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22454         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22455         Also allow singlespace after single-letter capitals followed by a dot.
22457         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22458         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22460 2011-05-20  Nix  <nix@esperi.org.uk>
22462         * files.el (basic-save-buffer-2):
22463         Fix handling of break-hardlink-on-save with non-existent files.
22465 2011-05-19  Deniz Dogan  <deniz@dogan.se>
22467         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22468         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22470 2011-05-19  Glenn Morris  <rgm@gnu.org>
22472         * progmodes/f90.el (f90-type-def-re):
22473         Handle "type, bind(c)".  (Bug#8691)
22475         * emacs-lisp/autoload.el (batch-update-autoloads):
22476         Set autoload-excludes by parsing loadup.el rather than Makefiles.
22478 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
22480         * net/tramp.el (tramp-process-actions): Set "first-password-request"
22481         property for the correct connection in case of multihops.
22483 2011-05-18  Glenn Morris  <rgm@gnu.org>
22485         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22486         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22488         Rationalize calendar handling of day and month abbrev-arrays.
22489         * calendar/calendar.el (calendar-customized-p): New function.
22490         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22491         (calendar-day-name-array, calendar-month-name-array): Doc fix.
22492         Add :set function.
22493         (calendar-abbrev-length, calendar-day-abbrev-array)
22494         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22495         (calendar-day-abbrev-array, calendar-month-abbrev-array):
22496         Elements may no longer be nil.
22497         (calendar-day-name, calendar-month-name):
22498         Update for changed nature of abbrev arrays.
22499         * calendar/diary-lib.el (diary-name-pattern):
22500         Update for changed nature of abbrev arrays.
22501         (diary-mark-entries-1): Update calendar-make-alist calls.
22502         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22503         * calendar/cal-html.el (cal-html-day-abbrev-array):
22504         Simply inherit from calendar-day-abbrev-array.
22506 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22508         * progmodes/grep.el (grep-mode): Disable default
22509         compilation-directory-matcher setting (bug#8684).
22511 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
22513         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22514         instead of "head" and "tail".  There were problems with SunOS 5.9,
22515         and it performs better.
22517 2011-05-17  Glenn Morris  <rgm@gnu.org>
22519         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22521         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22522         Replace obsolete function.
22524         * shell.el (pcomplete-parse-arguments-function): Declare.
22526         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22527         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22528         (appt-check): Doc fixes.
22529         (appt-disp-window-function, appt-delete-window-function):
22530         Remove needless special case in custom :type.
22531         (appt-display-count): Default to 0, not nil.
22532         (appt-check): Reset appt-display-count to 0, not nil.
22534 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
22536         * progmodes/python.el (python-font-lock-keywords):
22537         Add the Python 3.X keyword "nonlocal" (bug#8639).
22539 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
22541         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22543 2011-05-16  Kevin Ryde  <user42@zip.com.au>
22545         * info-look.el (makefile-automake-mode): New setups, looking in
22546         automake manual, then makefile-mode.
22547         (makefile-mode): Remove automake manual, have it just in
22548         makefile-automake-mode since there's various things different or
22549         not relevant to plain make.
22550         (makefile-mode): Remove "other-modes" non-existent automake-mode,
22551         believe a hypothetical automake-mode would go to makefile-mode,
22552         not the other way around.
22554 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
22556         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22557         hunk-end tags (Bug#8672).
22559         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22560         vc-annotate-show-diff-revision-at-line (Bug#8671).
22562 2011-05-14  Glenn Morris  <rgm@gnu.org>
22564         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22565         in the middle of an existing one with multiple authors.  (Bug#8645)
22566         (change-log-font-lock-keywords): Also handle multiple author lines
22567         with leading tabs.  (Bug#8644)
22569         * calendar/appt.el (appt-check): Rename some local variables.
22570         Some simplification/reordering.
22572         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22573         (feedmail-sendmail-f-doesnt-sell-me-out)
22574         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22575         (feedmail-debug-sit-for, feedmail-queue-express-hook)
22576         (feedmail-queue-runner-message-sender): Set :version.
22577         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22578         (bbdb-dwim-net-address, vm-mail): Declare.
22579         (feedmail-binmail-gnulinuxish-template):
22580         Rename from feedmail-binmail-linuxish-template.
22581         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22582         Use insert-buffer-substring.
22584 2011-05-14  Bill Carpenter  <bill@carpenter.org>
22586         * mail/feedmail.el (feedmail-patch-level): Increase.
22587         (feedmail-debug): New custom group.
22588         (feedmail-confirm-outgoing-timeout)
22589         (feedmail-sendmail-f-doesnt-sell-me-out)
22590         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22591         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22592         (feedmail-sender-line, feedmail-from-line)
22593         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22594         (feedmail-spray-this-address)
22595         (feedmail-spray-address-fiddle-plex-list)
22596         (feedmail-queue-use-send-time-for-date)
22597         (feedmail-queue-use-send-time-for-message-id)
22598         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22599         (feedmail-buffer-eating-function):
22600         Doc fixes.
22601         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22602         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22603         (feedmail-message-action-scroll-down): New functions.
22604         (feedmail-queue-directory, feedmail-queue-draft-directory):
22605         Use expand-file-name.
22606         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22607         Remove C-v help entry.
22608         (feedmail-queue-buffer-file-name): New variable.
22609         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22610         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22611         (feedmail-message-action-send-strong, feedmail-message-action-edit)
22612         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22613         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22614         (feedmail-message-action-toggle-spray)
22615         (feedmail-run-the-queue-no-prompts)
22616         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22617         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22618         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22619         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22620         (feedmail-envelope-deducer, feedmail-fiddle-from)
22621         (feedmail-fiddle-sender, feedmail-default-date-generator)
22622         (feedmail-fiddle-date, feedmail-fiddle-message-id)
22623         (feedmail-fiddle-spray-address)
22624         (feedmail-fiddle-list-of-spray-fiddle-plexes)
22625         (feedmail-fiddle-list-of-fiddle-plexes)
22626         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22627         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22628         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22629         Change default.  Doc fix.
22630         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22631         (feedmail-binmail-linuxish-template): New constant.
22632         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
22633         Respect feedmail-sendmail-f-doesnt-sell-me-out.
22634         (feedmail-send-it): Add debug call.
22635         Use feedmail-queue-buffer-file-name, and
22636         feedmail-send-it-immediately-wrapper.
22637         (feedmail-message-action-send): Add debug call.
22638         Use feedmail-send-it-immediately-wrapper.
22639         (feedmail-queue-express-to-queue): Add debug call.
22640         Run feedmail-queue-express-hook.
22641         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
22642         (feedmail-message-action-help-blat):
22643         Rename from feedmail-queue-send-edit-prompt-help-first.
22644         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
22645         Check line-endings.  Handle errors better.
22646         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22647         Doc fix.  Add debug call.
22648         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
22649         Use feedmail-queue-send-edit-prompt-inner.
22650         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22651         (feedmail-queue-send-edit-prompt-inner): New function, extracted
22652         from feedmail-queue-send-edit-prompt.
22653         (feedmail-queue-send-edit-prompt-help)
22654         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22655         (feedmail-tidy-up-slug): Add debug call.
22656         Respect feedmail-queue-slug-suspect-regexp.
22657         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22658         (feedmail-dump-message-to-queue): Add debug call.
22659         Expand queue-directory.
22660         (feedmail-dump-message-to-queue): Change message slightly.
22661         Use feedmail-say-chatter.
22662         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
22663         (feedmail-send-it-immediately-wrapper): New function.
22664         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
22665         Insert empty string rather than newline.  Handle full-frame case.
22666         Use catch/throw.  Use feedmail-say-chatter.
22667         (feedmail-fiddle-from): Try mail-host-address.
22668         (feedmail-default-message-id-generator): Doc fix.
22669         Bind system-time-locale.  Handle missing end.
22670         (feedmail-fiddle-x-mailer): Add debug call.
22671         Handle feedmail-x-mailer-line being nil.
22672         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22673         Add debug call.  Use buffer-substring-no-properties.
22674         (feedmail-say-debug, feedmail-say-chatter): New functions.
22675         (feedmail-find-eoh): Give an explicit error.
22677 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
22679         * net/newst-treeview.el (newsticker-treeview-face): Change default
22680         family from helvetica to sans.
22681         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22682         etc/images/newsticker.
22684         * net/newst-reader.el (newsticker-feed-face): Change default
22685         family from helvetica to sans.
22687         * net/newst-plainview.el (newsticker-new-item-face)
22688         (newsticker-old-item-face, newsticker-immortal-item-face)
22689         (newsticker-obsolete-item-face, newsticker-date-face)
22690         (newsticker-statistics-face): Change default family from
22691         helvetica to sans.
22692         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22693         etc/images/newsticker.
22695         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22696         (newsticker--process-auto-mark-filter-match): Tell user about
22697         auto-marking.
22699 2011-05-13  Didier Verna  <didier@xemacs.org>
22701         Common Lisp indentation improvements on defmethod and lambda-lists.
22702         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22703         TODO entries.
22704         (lisp-lambda-list-keyword-parameter-indentation)
22705         (lisp-lambda-list-keyword-parameter-alignment)
22706         (lisp-lambda-list-keyword-alignment): New customizable user options.
22707         (lisp-indent-defun-method): Improve docstring.
22708         (extended-loop-p): Fix comment.
22709         (lisp-indent-lambda-list-keywords-regexp): New variable.
22710         (lisp-indent-lambda-list): New function.
22711         (lisp-indent-259): Use it.
22712         (lisp-indent-defmethod): Support for more than one
22713         method qualifier and properly indent methods lambda-lists.
22714         (defgeneric): Provide a missing common-lisp-indent-function property.
22716 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22718         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22719         bounds for the empty string (bug#8667).
22721 2011-05-13  Glenn Morris  <rgm@gnu.org>
22723         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22725         * mail/sendmail.el (sendmail-program): Try executable-find first.
22726         (sendmail-send-it): `sendmail-program' cannot be unbound.
22728         * calendar/appt.el (appt-make-list): Simplify.
22729         (appt-time-msg-list): Doc fix.
22730         (appt-check): Change mode-line message at the time of the appointment.
22732 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22734         * progmodes/ld-script.el (ld-script-keywords)
22735         (ld-script-builtins): Update keywords list.
22737 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22739         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22741         * shell.el (shell-completion-vars): New function.
22742         (shell-mode):
22743         * simple.el (read-shell-command): Use it.
22744         (blink-matching-open): No need for " [...]" in minibuffer-message.
22746 2011-05-12  Glenn Morris  <rgm@gnu.org>
22748         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22749         (appt-check): Simplify.
22751 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
22753         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22754         literal "/dev/null".
22756 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22758         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22759         Fix typo.
22761 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
22763         * progmodes/which-func.el (which-function):
22764         Use add-log-current-defun instead of add-log-current-defun-function,
22765         which might not be defined (Bug#8260).
22767 2011-05-12  Glenn Morris  <rgm@gnu.org>
22769         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22770         Let byte-compile-initial-macro-environment always take precedence.
22772 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22774         * net/rcirc.el: Add support for SSL/TLS connections.
22775         (rcirc-server-alist): New field `encryption'.
22776         (rcirc): Check `encryption' settings.
22777         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
22778         Merge make-local-variable into `set'.
22779         (rcirc--connection-open-p): New function.
22780         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22781         the process is not a network process (e.g. running gnutls-cli).
22782         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22783         Make rcirc-(en|de)code-coding-system local here.
22784         (rcirc-mode): Merge make-local-variable into `set'.
22785         (rcirc-parent-buffer): Make permanent buffer-local.
22786         (rcirc-multiline-minor-mode): Don't do it here.
22787         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22788         there's no server buffer.
22790 2011-05-11  Glenn Morris  <rgm@gnu.org>
22792         * newcomment.el (comment-kill): Prefix "unused" local.
22794         * term/w32console.el (get-screen-color): Declare.
22796         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22797         Handle symbol elements of byte-compile-initial-macro-environment.
22799 2011-05-10  Leo Liu  <sdl.web@gmail.com>
22801         * bookmark.el (bookmark-bmenu-mode-map):
22802         Bind bookmark-bmenu-search to `/'.
22804         * mail/footnote.el: Convert to utf-8 encoding.
22805         (footnote-unicode-string, footnote-unicode-regexp): New variable.
22806         (Footnote-unicode): New function.
22807         (footnote-style-alist): Add unicode style to the list.
22808         (footnote-style): Doc fix.
22810 2011-05-10  Jim Meyering  <meyering@redhat.com>
22812         Fix doubled-word typos.
22813         * international/quail.el (quail-insert-kbd-layout): and and -> and
22814         * kermit.el: and and -> and
22815         * net/ldap.el (ldap-search-internal): to to -> to
22816         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22817         * progmodes/js.el (js-mode): and and -> and
22818         * textmodes/artist.el (artist-move-to-xy): at at -> at
22819         (artist-draw-region-trim-line-endings): if if -> if
22820         And Safetyc -> Safety.
22821         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22823 2011-05-10  Glenn Morris  <rgm@gnu.org>
22824             Stefan Monnier  <monnier@iro.umontreal.ca>
22826         * files.el (hack-one-local-variable-eval-safep):
22827         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
22829 2011-05-10  Glenn Morris  <rgm@gnu.org>
22831         * calendar/diary-lib.el (diary-list-entries-hook)
22832         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22833         (diary-nongregorian-marking-hook, diary-list-entries)
22834         (diary-include-other-diary-files, diary-mark-entries)
22835         (diary-mark-included-diary-files): Doc fixes.
22837 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
22839         * misc.el: Require tabulated-list.el during compilation.
22841 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
22843         * progmodes/compile.el (compilation-start):
22844         Run compilation-filter-hook for the async case too.
22845         (compilation-filter-hook): Doc fix.
22847 2011-05-09  Deniz Dogan  <deniz@dogan.se>
22849         * wdired.el: Remove outdated installation comment.  Fix usage
22850         comment.
22852 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
22854         * misc.el: Implement new command `list-dynamic-libraries'.
22855         (list-dynamic-libraries--loaded-only-p): New variable.
22856         (list-dynamic-libraries--refresh): New function.
22857         (list-dynamic-libraries): New command.
22859 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
22861         * progmodes/compile.el (compilation-error-regexp-alist-alist):
22862         Fix the ant regexp to handle end-line and end-column info from jikes.
22863         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
22864         higher priority to avoid clobbering by gnu.
22866 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
22868         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22869         if the face has existing theme settings (Bug#8454).
22871 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
22873         * progmodes/perl-mode.el (perl-imenu-generic-expression):
22874         Only match variables declared via `my' or `our' (Bug#8261).
22876         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22877         special file names `.' and `..' (Bug#8259).
22879 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
22881         * progmodes/grep.el (grep-mode-font-lock-keywords):
22882         Remove buffer-changing entries.
22883         (grep-filter): New function.
22884         (grep-mode): Add it to compilation-filter-hook.
22886         * progmodes/compile.el (compilation-filter-hook)
22887         (compilation-filter-start): New defvars.
22888         (compilation-filter): Call compilation-filter-hook prior to
22889         updating the process mark.
22891 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22893         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22895 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
22897         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22898         mailclient-send-it even if window-system is nil.  (Bug#8595)
22900         * term/w32console.el (terminal-init-w32console):
22901         Call get-screen-color and use its output to set the frame
22902         background-mode.  (Bug#8597)
22904 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22906         Make bytecomp.el understand that defmethod defines funs (bug#8631).
22907         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22908         New functions.
22909         (defgeneric, eieio--defmethod): Use them.
22910         (eieio-defgeneric): Remove.
22911         (defmethod): Call defgeneric in a way visible to the byte-compiler.
22913 2011-05-07  Glenn Morris  <rgm@gnu.org>
22915         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22916         Use let rather than let*.
22917         (timeclock-find-discrep): Remove unused local.
22919         * calendar/diary-lib.el (diary-comment-start): Doc fix.
22921         * calendar/appt.el (appt-time-msg-list): Doc fix.
22923 2011-05-06  Noah Friedman  <friedman@splode.com>
22925         * apropos.el (apropos-print-doc): Only use
22926         emacs-lisp-docstring-fill-column when it is bound to an integer,
22927         per that variable's documentation.
22929 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
22931         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22932         and warnings are not silently discarded (e.g. use -d instead of -P).
22934 2011-05-06  Glenn Morris  <rgm@gnu.org>
22936         * calendar/appt.el (appt-message-warning-time): Doc fix.
22937         (appt-warning-time-regexp): New option.
22938         (appt-make-list): Respect appt-message-warning-time.
22940         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22941         New options.
22942         (diary-add-to-list): Strip comments from the displayed string.
22943         (diary-mode): Set comment-start and comment-end.
22945         * vc/diff-mode.el (smerge-refine-subst): Declare.
22946         (diff-refine-hunk): Don't require smerge-mode when compiling.
22948 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
22950         * simple.el (list-processes): Return nil as the docstring says.
22952 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
22954         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22955         to "".
22956         (ange-ftp-write-region, ange-ftp-insert-file-contents)
22957         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22958         determining of binary transfer.  (Bug#7383)
22960 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
22962         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22963         Fix port computation bug.  (Bug#8618)
22965 2011-05-05  Glenn Morris  <rgm@gnu.org>
22967         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22969         * simple.el (shell-dynamic-complete-functions)
22970         (comint-dynamic-complete-functions): Declare.
22972         * net/network-stream.el (gnutls-negotiate):
22973         * simple.el (tabulated-list-print): Fix declarations.
22975         * progmodes/gud.el (syntax-symbol, syntax-point):
22976         Remove unnecessary and incorrect declarations.
22978         * emacs-lisp/check-declare.el (check-declare-scan):
22979         Handle byte-compile-initial-macro-environment in bytecomp.el.
22981 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22983         Fix earlier half-done eieio-defmethod change (bug#8338).
22984         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22985         Streamline and change calling convention.
22986         (defmethod): Adjust accordingly and simplify.
22987         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22988         new eieio--defmethod.
22989         (slot-boundp): Minor CSE simplification.
22991 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
22993         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22994         (glasses-make-readable): Use glasses-separate-capital-groups.
22996 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
22998         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22999         (warning-series): Doc fix.
23000         (display-warning): Don't try to create the buffer if we just found it.
23002 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
23004         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23005         (autoload-find-generated-file): New function.
23006         (generate-file-autoloads): Bind generated-autoload-file to
23007         buffer-file-name.
23008         (update-file-autoloads, update-directory-autoloads):
23009         Use autoload-find-generated-file.  If called interactively, prompt for
23010         output file (Bug#7989).
23011         (batch-update-autoloads): Doc fix.
23013 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
23015         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23017 2011-05-04  Glenn Morris  <rgm@gnu.org>
23019         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23020         function, so it follows changes in calendar-date-style.
23021         (diary-fancy-date-matcher): New function.
23022         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23023         (diary-fancy-font-lock-fontify-region-function):
23024         Use diary-fancy-date-pattern as a function.
23026         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23027         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
23029 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
23031         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23032         instead of positional arguments.  Allow :keylist and :crlfiles
23033         arguments.
23034         (open-gnutls-stream): Call it.
23036         * net/network-stream.el (network-stream-open-starttls): Adjust to
23037         call `gnutls-negotiate' with :process and :hostname arguments.
23039 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23041         * minibuffer.el (completion--message): New function.
23042         (completion--do-completion, minibuffer-complete)
23043         (minibuffer-force-complete, minibuffer-complete-word): Use it.
23044         (completion--do-completion): Don't ignore completion-auto-help when in
23045         icomplete-mode.
23047         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23048         internal encoding (e.g. tibetan zero is not whitespace).
23049         (global-whitespace-mode): Prefer save-current-buffer.
23050         (whitespace-trailing-regexp): Remove useless save-match-data.
23051         (whitespace-empty-at-bob-regexp): Minor simplification.
23053 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
23055         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23057 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
23059         * textmodes/ispell.el (ispell-add-per-file-word-list):
23060         Use `concat' to create string for insertion.
23062 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23064         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23065         Avoid open-line which runs post-self-insert-hook.
23066         (bibtex-fill-entry): Remove unused `end' var.
23068 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
23070         * textmodes/ispell.el (ispell-add-per-file-word-list):
23071         Protect against `nil' value of `comment-start' (Bug#8579).
23073 2011-05-03  Leo Liu  <sdl.web@gmail.com>
23075         * isearch.el (isearch-yank-pop): New command.
23076         (isearch-mode-map): Bind it to `M-y'.
23077         (isearch-forward): Mention it.
23079 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23081         * simple.el (minibuffer-complete-shell-command): Remove.
23082         (minibuffer-local-shell-command-map): Use completion-at-point.
23083         (read-shell-command): Setup completion vars here instead.
23084         (read-expression-map): Bind TAB to symbol completion.
23086         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23087         error directly rather via storing it into `results'.
23089 2011-05-02  Leo Liu  <sdl.web@gmail.com>
23091         * vc/diff.el: Fix description.
23093 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23095         * server.el (server-eval-at): New function.
23097 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23099         * net/network-stream.el (open-network-stream): Take a :nowait
23100         parameter and pass it on to `make-network-process'.
23101         (network-stream-open-plain): Ditto.
23103 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
23105         * faces.el (face-spec-set-match-display): Don't match toolkit
23106         options on terminal frames.
23108 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23110         * progmodes/pascal.el: Use lexical binding.
23111         (pascal-mode-map): Remove author preferences.
23113         * pcomplete.el (pcomplete-std-complete): Don't abuse
23114         completion-at-point.
23116 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
23118         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23119         removing code that has been dead since 1991 or so.
23121         * startup.el (command-line): When warning about "_emacs", use a
23122         delayed warning to allow the user to filter it out.
23124 2011-04-28  Deniz Dogan  <deniz@dogan.se>
23126         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23127         user has not joined.
23129 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23131         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23132         aren't any completions at point.
23134 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
23136         * subr.el (display-delayed-warnings): New function.
23137         (delayed-warnings-hook): New variable.
23139 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23141         * minibuffer.el (completion-at-point, completion-help-at-point):
23142         Don't presume that a given completion-at-point-function will always
23143         use the same calling convention.
23145         * pcomplete.el (pcomplete-completions-at-point):
23146         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
23147         pcomplete-seen is non-nil.
23148         (pcomplete-comint-setup): Also recognize the new comint/shell
23149         completion functions.
23150         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23151         pcomplete-seen is non-nil.
23153 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
23155         * calendar/icalendar.el (diary-lib): Add require statement.
23156         (icalendar--create-uid): Read out a uid from a text-property on
23157         the first character in the entry.  This allows for code to add its
23158         own uid to the entry.
23159         (icalendar--convert-float-to-ical): Add export of
23160         `diary-float'-entries save for those with the optional DAY
23161         argument.
23163 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
23165         * subr.el (shell-quote-argument): Use alternate escaping strategy
23166         when we spot a variable reference in a string.
23168 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
23170         * cus-start.el (all): Define customization for debug-on-event.
23172 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
23174         * subr.el (shell-quote-argument): Escape correctly under Windows.
23176 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23178         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23180 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
23182         * net/tramp.el (tramp-process-actions): Add POS argument.
23183         Delete region between POS and (pos).
23185         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23186         Use `nil' position in `tramp-process-actions' call.
23187         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23189         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23190         position in `tramp-process-actions' call.
23192         * net/trampver.el: Update release number.
23194 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23196         * custom.el (defcustom): Obey lexical-binding.
23198         Fix octave-inf completion problems reported by Alexander Klimov.
23199         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23200         Inherit from octave-mode-syntax-table.
23201         (inferior-octave-mode): Set info-lookup-mode.
23202         (inferior-octave-completion-at-point): New function.
23203         (inferior-octave-complete): Use it and completion-in-region.
23204         (inferior-octave-dynamic-complete-functions): Use it as well, and use
23205         comint-filename-completion.
23206         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23207         symbol elements which shouldn't be word elements.
23208         (octave-font-lock-keywords, octave-beginning-of-defun)
23209         (octave-function-header-regexp): Adjust regexps accordingly.
23210         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23212 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
23214         * net/gnutls.el (gnutls-errorp): Declare before first use.
23216 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
23218         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23219         verify-error, and verify-hostname-error parameters.  Check whether
23220         default trustfile exists before going to use it.  Add missing
23221         argument to gnutls-message-maybe call.  Return value.
23222         Reported by Claudio Bley <claudio.bley@gmail.com>.
23223         (open-gnutls-stream): Add usage example.
23225         * net/network-stream.el (network-stream-open-starttls): Give host
23226         parameter to `gnutls-negotiate'.
23227         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23228         * subr.el (shell-quote-argument): Escape correctly under Windows.
23230 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
23232         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23233         Use correct match group (bug#8438).
23235 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
23237         * emacs-lisp/package.el (package-built-in-p): Fix typo.
23238         (package-menu--generate): New arg specifying packages to show.
23239         (package-menu-refresh, package-menu-execute, list-packages):
23240         Callers changed.
23241         (package-show-package-list): New function, replacing deleted
23242         package--list-packages (renamed because it is non-internal).
23244         * finder.el (finder-list-matches): Use package-show-package-list
23245         instead of deleted package--list-packages.
23247         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23248         Based on a previous implementation by Juanma Barranquero (Bug#8366).
23249         (vc-annotate-mode-map): Bind it to RET.
23251 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
23253         * progmodes/etags.el (next-file): Don't use set-buffer to change
23254         buffers (Bug#8478).
23256 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
23258         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23260         * apropos.el (apropos-label-face): Avoid variable-pitch face.
23261         (apropos-accumulator): Doc fix.
23262         (apropos-function, apropos-macro, apropos-command)
23263         (apropos-variable, apropos-face, apropos-group, apropos-widget)
23264         (apropos-plist): Add face property.
23265         (apropos-symbols-internal): Fix indentation.
23266         (apropos-print): Simplify help, and recognize apropos-multi-type.
23267         (apropos-print-doc): Use button-type-get to extract the button's
23268         face property.  Fill docstring (Bug#8352).
23270 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
23272         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23274         * play/mpuz.el (mpuz-silent): Doc fix.
23275         (mpuz-mode-map): Use mapc.
23276         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23277         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23278         Fix typos in docstrings.
23280         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23281         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23283         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23285 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
23287         * minibuffer.el (completion--do-completion): Avoid the "Next char
23288         not unique" prompt if icomplete-mode is enabled (Bug#5849).
23290         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23291         mouse-2 into unread-command-events, it is interpreted correctly.
23293         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23294         (image-toggle-display): Doc fix.
23296 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
23298         * textmodes/page.el (what-page): Use line-number-at-pos to
23299         calculate line number (Bug#6825).
23301 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
23303         * eshell/esh-mode.el (find-tag-interactive): Declare function.
23304         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23305         Pass argument NO-DEFAULT to `find-tag-interactive'.
23307 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
23309         Lexical-binding cleanup.
23311         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23312         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23313         * progmodes/ada-prj.el (ada-prj-initialize-values)
23314         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23315         (ada-prj-show-value):
23316         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23317         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23318         (antlr-invalidate-context-cache, antlr-options-menu-filter)
23319         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23320         * progmodes/bug-reference.el (bug-reference-push-button):
23321         * progmodes/fortran.el (fortran-line-length):
23322         * progmodes/glasses.el (glasses-change):
23323         * progmodes/octave-mod.el (octave-fill-paragraph):
23324         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23325         (python-pdbtrack-grub-for-buffer, python-sentinel):
23326         * progmodes/sql.el (sql-save-connection):
23327         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23328         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23329         Mark unused parameters.
23331         * progmodes/compile.el (compilation--flush-directory-cache)
23332         (compilation--flush-parse, compile-internal): Mark unused parameters.
23333         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23334         (compilation-next-error-function): Remove unused variable `timestamp'.
23336         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23337         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23339         * progmodes/dcl-mode.el (dcl-end-of-command):
23340         Remove unused variable `start'.
23341         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23342         (dcl-option-value-basic, dcl-option-value-offset)
23343         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23344         Mark unused parameters.
23345         (dcl-save-local-variable): Remove unused variable `val'.
23346         (mode): Declare.
23348         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23349         Mark unused parameters.
23350         (delphi-ignore-changes): Move before first use.
23351         (delphi-charset-token-at): Remove unused variable `start'.
23352         (delphi-else-start): Remove unused variable `if-count'.
23353         (delphi-comment-block-start, delphi-comment-block-end):
23354         Remove unused variable `kind'.
23355         (delphi-indent-line): Remove unused variable `new-point'.
23357         * progmodes/ebrowse.el (ebrowse-files-list)
23358         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23359         Mark unused parameters.  Don't quote `lambda'.
23360         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23361         Don't quote `lambda'.
23362         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23363         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23364         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23365         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23366         Use `ignore-errors'.
23367         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23368         (ebrowse-view/find-file-and-search-pattern)
23369         (ebrowse-view/find-member-declaration/definition):
23370         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23371         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23372         Rename parameter PREFIX-ARG to PREFIX.
23373         (ebrowse-tags-read-name): Remove unused variables `start' and
23374         `member-info'.
23375         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23376         to `tags-file'.
23378         * progmodes/etags.el (local-find-tag-hook): Declare.
23379         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23380         Mark unused parameters.
23382         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23383         (executable-interpret): Mark unused parameter.
23385         * progmodes/flymake.el (flymake-process-sentinel)
23386         (flymake-after-change-function)
23387         (flymake-create-temp-with-folder-structure)
23388         (flymake-get-include-dirs-dot): Mark unused parameters.
23389         (flymake-safe-delete-directory): Remove unused variable `err'.
23391         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23392         (speedbar-timer-fn, speedbar-line-text)
23393         (speedbar-change-expand-button-char, speedbar-delete-subblock)
23394         (speedbar-center-buffer-smartly): Declare functions.
23395         (gdb-find-watch-expression): Remove unused variable `array'.
23396         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23397         (gdb-starting): Mark unused parameters.
23398         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23399         (gdb-table-string): Remove unused variable `res'.
23400         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23401         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23402         (gdb-display-buffer): Remove unused variable `cur-size'.
23404         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23405         allow lexical-binding compilation.
23406         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23407         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23408         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23409         Mark unused parameters.
23410         (gud-gdb-marker-filter): Remove unused variable `match'.
23411         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23412         lambda expressions and funcall them, instead of using `fset'.
23414         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23415         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23417         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23418         variable `header-beg'; use `let'.
23420         * progmodes/icon.el (indent-icon-exp): Remove unused variables
23421         `restart', `last-sexp' and `at-do'.
23423         * progmodes/js.el (js--debug): Mark unused parameter.
23424         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23425         (js--splice-into-items): Remove unused variable `item'.
23426         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23428         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23429         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23430         (makefile-complete): Remove unused variable `try'.
23431         (makefile-fill-paragraph, makefile-match-function-end):
23432         Mark unused parameters.
23434         * progmodes/octave-inf.el (inferior-octave-complete):
23435         Remove unused variable `proc'.
23436         (inferior-octave-output-digest): Mark unused parameter.
23438         * progmodes/perl-mode.el (perl-calculate-indent):
23439         Remove unused variable `err'.
23441         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23442         (prolog-indent-line): Mark unused parameters.
23443         (prolog-indent-line): Remove unused variable `beg'.
23445         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23446         (reporter-dont-compact-list): Declare.
23448         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23449         Remove unused variable `char'.
23450         (sh-debug): Mark unused parameter.
23451         (sh-get-indent-info): Remove unused variable `start'.
23452         (sh-calculate-indent): Remove unused variable `var'.
23454         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23455         (simula-electric-keyword): Remove unused variable `null'.
23456         (simula-search-backward, simula-search-forward): Remove unused
23457         variables `begin' and `end'.
23459         * progmodes/vera-mode.el (vera-guess-basic-syntax):
23460         Remove unused variable `pos'.
23461         (vera-electric-tab, vera-comment-uncomment-region):
23462         Mark unused parameters.
23463         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23465 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
23467         * emacs-lisp/package.el (package--builtins, package-alist)
23468         (package-load-descriptor, package-built-in-p, package-activate)
23469         (define-package, package-installed-p)
23470         (package-compute-transaction, package-buffer-info)
23471         (package--push): Doc fix.  Distinguish more clearly between
23472         version strings and version lists.
23474 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
23476         Lexical-binding cleanup.
23478         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23479         (5x5-make-mutate-best):
23480         * play/fortune.el (fortune-in-buffer):
23481         * play/gomoku.el (gomoku-init-display):
23482         * play/solitaire.el (solitaire, solitaire-do-check):
23483         * play/tetris.el (tetris-default-update-speed-function):
23484         Mark unused parameters.
23486         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23487         (bubbles--shift): Remove unused variable `char-org'.
23488         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
23489         (bubbles--show-images): Remove unused variable `char'.
23491         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23492         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23493         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23494         (decipher-analyze-buffer): Use ?\s.
23495         (decipher-make-checkpoint): Remove unused variable `mapping'.
23497         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23499         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23500         Remove unused variable `result'; use `let'.
23502         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23503         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23504         (gametree-children-shown-p, gametree-compute-reduced-score):
23505         Use `ignore-errors'.
23507         * play/handwrite.el (ps-lpr-switches): Declare.
23508         (handwrite): Remove unused variables `pmin' and `lastp'.
23510         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23512         * play/landmark.el (landmark-init-display)
23513         (landmark-update-naught-weights): Mark unused parameters.
23514         (landmark-y): Remove unused variable `noise'.  Simplify.
23515         (landmark-human-plays): Remove unused variable `score'.
23517         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23518         (mpuz-try-proposal): Remove unused variable `game'.
23520         * play/zone.el (life-patterns): Declare.
23522 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
23524         * vc/vc.el (ediff-vc-internal): Declare function.
23526 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23528         * shell.el: Use lexical-binding and std completion UI.
23529         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23530         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23531         comint-preoutput-filter-functions rather than on
23532         comint-output-filter-functions.
23533         (shell-command-completion, shell--command-completion-data)
23534         (shell-filename-completion, shell-environment-variable-completion)
23535         (shell-c-a-p-replace-by-expanded-directory): New functions.
23536         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23537         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23538         (shell-dynamic-complete-environment-variable): Use them.
23539         (shell-dynamic-complete-as-environment-variable)
23540         (shell-dynamic-complete-as-command): Remove.
23541         (shell-match-partial-variable): Match past point.
23542         * comint.el: Clean up use of completion-at-point-functions.
23543         (comint-completion-at-point): New function.
23544         (comint-mode): Use it completion-at-point-functions.
23545         (comint-dynamic-complete): Make it obsolete.
23546         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23547         (comint-c-a-p-replace-by-expanded-history): New function.
23548         (comint-dynamic-complete-functions)
23549         (comint-replace-by-expanded-history): Use it.
23550         * minibuffer.el (completion-table-with-terminator): Allow dynamic
23551         termination strings.  Try harder to avoid second try-completion.
23552         (completion-in-region-mode-map): Disable bindings that don't work yet.
23554         * comint.el: Use lexical-binding.  Require CL.
23555         (comint-dynamic-complete-functions): Use comint-filename-completion.
23556         (comint-completion-addsuffix): Tweak custom type.
23557         (comint-filename-completion, comint--common-suffix)
23558         (comint--common-quoted-suffix, comint--table-subvert)
23559         (comint--complete-file-name-data): New functions.
23560         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23561         (comint-dynamic-list-filename-completions): Use them.
23562         (comint-dynamic-simple-complete): Make obsolete.
23564         * minibuffer.el (completion-in-region-mode):
23565         Keep completion-in-region-mode--predicate global.
23566         (completion-in-region--postch):
23567         Assume completion-in-region-mode--predicate is not null.
23569         * progmodes/flymake.el (flymake-start-syntax-check-process):
23570         Obey `dir'.  Simplify.
23572         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23573         we're in VC after all.
23575 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
23577         * vc/vc.el (vc-diff-build-argument-list-internal)
23578         (vc-version-ediff, vc-ediff): New commands.
23579         (vc-version-diff): Use vc-diff-build-argument-list-internal.
23581 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23583         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23584         add sanity check.
23586         * obsolete/erc-hecomplete.el: Make obsolete.
23587         * obsolete/: Standardize obsolescence info in the header.
23589 2011-04-20  Glenn Morris  <rgm@gnu.org>
23591         * calendar/solar.el (solar-horizontal-coordinates):
23592         Use the longitude argument rather than `calendar-longitude'.
23593         (solar-date-next-longitude): Remove unused locals.
23595 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
23597         * whitespace.el: New version 13.2.1.
23599 2011-04-20  felix  <EmacsWiki>  (tiny change)
23601         * whitespace.el (global-whitespace-mode): Keep highlight when
23602         switching between major modes on a file.
23604 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
23606         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23607         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23608         multi-line comments as well.
23610 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
23612         Lexical-binding cleanup.
23614         * arc-mode.el (archive-mode-revert):
23615         * cmuscheme.el (scheme-interactively-start-process):
23616         * custom.el (custom-initialize-delay):
23617         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23618         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23619         * emacs-lock.el (emacs-lock-clear-sentinel):
23620         * ezimage.el (defezimage):
23621         * follow.el (follow-avoid-tail-recenter):
23622         * fringe.el (set-fringe-mode-1):
23623         * generic-x.el (bat-generic-mode-compile):
23624         * help-mode.el (help-info-variable, help-do-xref)
23625         (help-mode-revert-buffer):
23626         * help.el (view-emacs-todo):
23627         * iswitchb.el (iswitchb-completion-help):
23628         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23629         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23630         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23631         * locate.el (locate-update):
23632         * longlines.el (longlines-encode-region)
23633         (longlines-after-change-function):
23634         * outline.el (outline-isearch-open-invisible):
23635         * ps-def.el (declare-function, charset-dimension, char-width)
23636         (encode-char):
23637         * ps-mule.el (ps-mule-plot-string):
23638         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23639         (recentf-edit-list-select, recentf-edit-list-validate)
23640         (recentf-open-files-action):
23641         * rect.el (delete-whitespace-rectangle-line)
23642         (rectangle-number-line-callback):
23643         * register.el (window-configuration-to-register)
23644         (frame-configuration-to-register):
23645         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23646         * select.el (xselect-convert-to-string, xselect-convert-to-length)
23647         (xselect-convert-to-targets, xselect-convert-to-delete)
23648         (xselect-convert-to-filename, xselect-convert-to-charpos)
23649         (xselect-convert-to-lineno, xselect-convert-to-colno)
23650         (xselect-convert-to-os, xselect-convert-to-host)
23651         (xselect-convert-to-user, xselect-convert-to-class)
23652         (xselect-convert-to-name, xselect-convert-to-integer)
23653         (xselect-convert-to-atom, xselect-convert-to-identity):
23654         * subr.el (declare, ignore, process-kill-without-query)
23655         (text-clone-maintain):
23656         * terminal.el (te-get-char, te-tic-sentinel):
23657         * tool-bar.el (tool-bar-make-keymap):
23658         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23659         * type-break.el (type-break-mode, type-break-noninteractive-query):
23660         * view.el (View-back-to-mark):
23661         * wid-browse.el (widget-browse-action, widget-browse-widget)
23662         (widget-browse-widgets, widget-browse-sexp):
23663         * widget.el (define-widget-keywords):
23664         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23665         Mark unused parameters.
23667         * align.el (align-adjust-col-for-rule): Mark unused parameter.
23668         (align-areas): Remove unused variable `look'.
23669         (align-region): Remove unused variables `real-end' and `pos-list'.
23671         * apropos.el (apropos-score-doc): Remove unused variable `i'.
23673         * bindings.el (mode-line-modified, mode-line-remote):
23674         Mark unused parameters.
23675         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23677         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23678         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23680         * comint.el (comint-history-isearch-pop-state)
23681         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23682         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23683         (comint-substitute-in-file-name): Doc fix.
23685         * completion.el (cmpl-statistics-block): Mark unused parameter.
23686         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23687         (save-completions-to-file, load-completions-from-file):
23688         Remove unused local variable `e'.
23690         * composite.el (compose-chars): Remove unused variable `len'.
23691         (lgstring-insert-glyph): Remove unused variable `g'.
23692         (compose-glyph-string): Remove unused variables `ascent',
23693         `descent', `lbearing' and `rbearing'.
23694         (compose-glyph-string-relative): Remove unused variables
23695         `lbearing', `rbearing' and `wadjust'.
23696         (compose-gstring-for-graphic): Remove unused variables `header',
23697         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
23698         (compose-gstring-for-terminal): Remove unused variables `header'
23699         and `nchars'.  Use `let', not `let*'.
23701         * cus-edit.el (Custom-set, Custom-save, custom-reset)
23702         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23703         (Custom-buffer-done, custom-buffer-create-internal)
23704         (custom-browse-visibility-action, custom-browse-group-tag-action)
23705         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23706         (widget-magic-mouse-down-action, custom-toggle-parent)
23707         (custom-add-parent-links, custom-toggle-hide-variable)
23708         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23709         (custom-toggle-hide-face, face, hook, custom-group-link-action)
23710         (custom-face-menu-create, custom-variable-menu-create, get)
23711         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23712         (custom-reset-standard-save-and-update): Remove unused variable `value'.
23713         (customize-apropos): Remove unused variable `tests'.
23714         (custom-group-value-create): Remove unused variable `hidden-p'.
23715         (sort-fold-case): Declare.
23717         * cus-theme.el (custom-reset-standard-faces-list)
23718         (custom-reset-standard-variables-list): Declare.
23719         (customize-create-theme, custom-theme-revert, custom-theme-write)
23720         (custom-theme-choose-mode, customize-themes, custom-theme-save):
23721         Mark unused parameters.
23723         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23725         * delim-col.el (delimit-columns-max): Move defvar before first use.
23727         * descr-text.el (describe-char-categories): Don't quote `lambda'.
23728         (describe-char): Don't quote `lambda'.  Mark unused parameter.
23730         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23731         (auto-insert): Declare.
23732         (desktop-restore-file-buffer): Rename desktop-* parameters;
23733         mark unused ones.
23734         (desktop-create-buffer): Rename desktop-* parameters and bind them.
23735         (desktop-buffer): Rename desktop-* parameters.
23737         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23738         (dframe-reposition-frame-xemacs, dframe-help-echo)
23739         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23740         Mark unused parameters.
23742         * dired-aux.el (backup-extract-version-start, overwrite-query)
23743         (overwrite-backup-query, rename-regexp-query)
23744         (rename-non-directory-query): Declare.
23745         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23746         (dired-add-entry): Remove unused variable `orig-file-name'.
23747         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23748         Use parameter PRESERVE-TIME instead of accessing dynamic variable
23749         `dired-copy-preserve-time' directly.
23750         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23751         (dired-insert-subdir-newpos): Rename unused variable `pos'.
23753         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23754         (dired-virtual-revert, dired-make-relative-symlink):
23755         Mark unused parameters.
23756         (manual-program): Declare.
23757         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23758         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23759         wrapped in `with-no-warnings' to avoid replacing one warning by another.
23761         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23763         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23765         * echistory.el (electric-history-in-progress, Helper-return-blurb):
23766         Declare.
23768         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23770         * electric.el (Electric-command-loop): Rename parameter
23771         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23773         * expand.el (expand-in-literal): Remove unused variable `here'.
23775         * facemenu.el (facemenu-add-new-color):
23776         Remove unused variable `docstring'.
23778         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23779         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23780         (face-attr-construct): Mark unused parameter.  Doc fix.
23781         (read-color): Remove unused variable `hex-string'.
23783         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23784         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23785         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23786         (display-buffer-other-frame): Remove unused variable `old-window'.
23787         (kill-buffer-hook): Declare.
23788         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23789         Mark unused parameters.
23790         (after-find-file): Pass 1 to `auto-save-mode', not t.
23792         * files-x.el (auto-insert): Declare.
23793         (modify-file-local-variable-prop-line): Remove unused variable `val'.
23795         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23796         variable `buf'.  Mark unused parameter.
23797         (find-lisp-insert-directory): Mark unused parameter.
23799         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23800         (format-encode-region): Remove unused variables `cur-buf' and `result'.
23801         (format-common-tail): Remove, unused.
23802         (format-deannotate-region): Remove unused variable `loc'.
23803         (format-annotate-region): Remove unused variable `p'.
23804         (format-annotate-single-property-change): Remove unused variables
23805         `default' and `tail'.
23807         * forms.el (read-file-filter): Declare.
23808         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23810         * frame.el (frame-creation-function-alist): Mark unused parameter.
23811         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23813         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23814         Remove unused parameters.
23815         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23816         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23818         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23819         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23820         (hfy-prepare-tag-map): Mark unused parameters.
23821         (htmlfontify-buffer): Use `called-interactively-p'.
23823         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23824         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23825         (ibuffer-do-occur): Mark unused parameters.
23826         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23827         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23829         * ibuffer.el: Don't quote `lambda'.
23830         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23831         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23832         Mark unused parameters.
23834         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23835         (ido-completing-read): Mark unused parameters.
23836         (ido-copy-current-word): Mark unused parameters;
23837         remove unused variable `name'.
23838         (ido-sort-merged-list): Remove unused parameter `dirs'.
23840         * ielm.el (ielm-input-sender): Mark unused parameter.
23841         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23842         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23843         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23844         `ielm-string' as a dynamic variable accessible from the IELM prompt.
23845         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
23847         * image-dired.el (image-dired-display-thumbs): Remove unused
23848         variables `curr-file' and `count'.
23849         (image-dired-remove-tag): Remove unused variable `start'.
23850         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23851         variable `curr-file'
23852         (image-dired-rotate-original): Remove unused variable `temp-file'.
23853         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23854         Remove unused variable `file'.
23855         (image-dired-gallery-generate): Remove unused variable `curr'.
23856         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23858         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23860         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23862         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23864         * isearch.el (minibuffer-history-symbol): Declare.
23865         (isearch-edit-string): Remove unused variable `err'.
23866         (isearch-message-prefix, isearch-message-suffix):
23867         Mark unused parameters.
23869         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23871         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23873         * makesum.el (double-column): Remove unused variable `cnt'.
23875         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23876         (ido-ignore-item-temp-list): Declare.
23878         * mouse-drag.el (mouse-drag-throw): Remove unused variables
23879         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23880         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23881         (mouse-drag-drag): Remove unused variables `mouse-delta' and
23882         `mouse-col-delta'.
23884         * mouse-sel.el (mouse-extend-internal):
23885         Remove unused variable `orig-window-frame'.
23887         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23888         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23889         Move declarations before first use.
23890         (pcomplete-opt): Mark unused parameters; doc fix.
23892         * proced.el (proced-revert): Mark unused parameter.
23893         (proced-send-signal): Remove unused variable `err'.
23895         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23896         Rename parameter PREFIX-ARG to ARG.
23897         (ps-basic-plot-string, ps-basic-plot-whitespace):
23898         Mark unused parameters.
23900         * replace.el (replace-count): Define.
23901         (occur-revert-function): Mark unused parameters.
23902         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23903         (isearch-case-fold-search, isearch-string): Declare.
23904         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23905         bind `case-fold-search'.  Remove unused variables `beg' and `end',
23906         and simplify.
23907         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23908         COUNT and bind `replace-count'.
23909         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23910         to COUNT.
23912         * savehist.el (print-readably, print-string-length): Declare.
23914         * shadowfile.el (shadow-expand-cluster-in-file-name):
23915         Remove unused variable `cluster'.
23916         (shadow-copy-file): Remove unused variable `i'.
23917         (shadow-noquery, shadow-clusters, shadow-site-cluster)
23918         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23919         (shadow-define-literal-group, shadow-define-regexp-group)
23920         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23922         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23923         (shell): Use `called-interactively-p'.
23924         (shell-directory-tracker): Remove unused variable `chdir-failure'.
23926         * simple.el (compilation-context-lines, comint-file-name-quote-list)
23927         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23928         (delete-backward-char): Remove unused variable `ocol'.
23929         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23930         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23931         (event-apply-hyper-modifier, event-apply-shift-modifier)
23932         (event-apply-control-modifier, event-apply-meta-modifier):
23933         Mark unused parameters.
23934         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23935         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23937         * speedbar.el (speedbar-ignored-directory-expressions)
23938         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23939         (speedbar-find-file, speedbar-dir-follow)
23940         (speedbar-directory-buttons-follow, speedbar-tag-find)
23941         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23942         (speedbar-buffers-line-directory, speedbar-buffer-click):
23943         Mark unused parameters.
23944         (speedbar-tag-file): Remove unused variable `mode'.
23945         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23947         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23949         * talk.el (talk): Remove unused variable `display'.
23951         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23952         (tar-write-region-annotate): Mark unused parameter.
23954         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23955         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23956         Declare them, wrapped in `with-no-warnings' to avoid replacing one
23957         warning by another.
23959         * time-stamp.el (time-stamp-string-preprocess):
23960         Remove unused variable `require-padding'.
23962         * tree-widget.el (widget-glyph-enable): Declare.
23963         (tree-widget-action): Mark unused parameter.
23965         * w32-fns.el (x-get-selection): Mark unused parameter.
23966         (autoload-make-program, generated-autoload-file): Declare.
23968         * wdired.el (wdired-revert): Mark unused parameters.
23969         (wdired-xcase-word): Remove unused variable `err'.
23971         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23972         (whitespace-help-scroll): Remove unused variable `data-help'.
23974         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23975         (widget-image-insert, widget-after-change, default)
23976         (widget-default-format-handler, widget-default-notify)
23977         (widget-default-prompt-value, widget-info-link-action)
23978         (widget-url-link-action, widget-function-link-action)
23979         (widget-variable-link-action, widget-file-link-action)
23980         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23981         (widget-field-prompt-internal, widget-field-action, widget-field-match)
23982         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23983         (widget-insert-button-action, widget-delete-button-action, visibility)
23984         (widget-documentation-link-action, widget-documentation-string-action)
23985         (widget-const-prompt-value, widget-regexp-match, symbol)
23986         (widget-coding-system-prompt-value)
23987         (widget-key-sequence-value-to-external, sexp)
23988         (widget-sexp-value-to-internal, character, vector, cons)
23989         (widget-choice-prompt-value, widget-boolean-prompt-value)
23990         (widget-color--choose-action): Mark unused parameters.
23991         (widget-item-match-inline, widget-choice-match-inline)
23992         (widget-checklist-match, widget-checklist-match-inline)
23993         (widget-group-match): Rename parameter VALUES to VALS.
23994         (widget-field-value-set): Remove unused variable `size'.
23995         (widget-color-action): Remove unused variables `value' and `start'.
23997         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23998         variable `dir'.  Doc fix.
23999         (windmove-find-other-window): Don't pass it.
24001         * window.el (count-windows): Mark unused parameter.
24002         (bw-adjust-window): Remove unused variable `err'.
24004         * woman.el (woman-file-name): Remove unused variable `default'.
24005         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24006         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24007         (global-font-lock-mode): Declare.
24008         (woman-decode-region): Mark unused parameter.
24009         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24011         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24012         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24013         (x-dnd-handle-moz-url): Remove unused variable `title'.
24014         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24016         * xml.el (xml-parse-tag, xml-parse-attlist):
24017         Remove unused variable `pos'.
24019 2011-04-19  Glenn Morris  <rgm@gnu.org>
24021         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24022         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24023         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24024         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24025         * calendar/cal-html.el (cal-html-insert-minical):
24026         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24027         (calendar-mark-date-pattern):
24028         Prefix "unused" locals.
24030         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24031         optional argument `style'.
24033         * calendar/appt.el (appt-make-list):
24034         * calendar/cal-china.el (calendar-chinese-date-string):
24035         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24036         (diary-hebrew-yahrzeit):
24037         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24038         * calendar/calendar.el (calendar-generate-window):
24039         * calendar/time-date.el (time-to-days):
24040         Remove unused local variables.
24042 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
24044         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24045         glyphless-char-display table.
24046         (tabulated-list-glyphless-char-display): New var.
24048 2011-04-18  Sam Steingold  <sds@gnu.org>
24050         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24051         to acknowledgments.
24053 2011-04-17  Glenn Morris  <rgm@gnu.org>
24055         * calendar/diary-lib.el (diary-sexp-entry):
24056         * calendar/holidays.el (holiday-sexp):
24057         Set debug-on-error rather than the removed stack-trace-on-error.
24059 2011-04-16  Glenn Morris  <rgm@gnu.org>
24061         * progmodes/f90.el: Use lexical-binding.
24062         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24064 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24066         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24067         (mail-mode): Setup mailalias completion here instead.
24068         * mail/mailalias.el: Use lexical-binding.
24069         (pattern, mailalias-done): Declare dynamic.
24070         (mail-completion-at-point-function): New function, from mail-complete.
24071         (mail-complete): Use it.
24072         (mail-completion-expand): New function.
24073         (mail-get-names): Use it.
24074         (mail-directory, mail-directory-process, mail-directory-stream):
24075         Don't use `pattern' for lexically bound arg.
24077         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24079         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24080         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24081         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24083         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24084         (byte-save-window-excursion, byte-temp-output-buffer-setup)
24085         (byte-interactive-p): Define them again, for use when inlining
24086         old code.
24088 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
24090         * loadup.el: Use `string-to-number', not `string-to-int'.
24092 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24094         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24095         gud-gdb-complete-command.
24096         (gud-gdb-completions): New function, from gud-gdb-complete-command.
24097         (gud-gdb-completion-at-point): New function.
24098         (gud-gdb-completions): Remove.
24100 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
24102         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24103         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
24104         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24105         whether `executable-find' is bound.
24107         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24109 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
24111         * minibuffer.el (completion-in-region-mode-predicate)
24112         (completion-in-region-mode--predicate): New vars.
24113         (completion-in-region, completion-in-region--postch)
24114         (completion-in-region-mode): Use them.
24115         (completion--capf-wrapper): Also return the hook function.
24116         (completion-at-point, completion-help-at-point):
24117         Adjust and provide a predicate.
24119         Preserve arg names for advice of subr and lexical functions (bug#8457).
24120         * help-fns.el (help-function-arglist): Consolidate the subr and
24121         new-byte-code cases.  Add argument `preserve-names' to extract names
24122         from the docstring when needed.
24123         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24124         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24125         (ad-arglist): Use help-function-arglist's new arg.
24126         (ad-definition-type): Use cond.
24128 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
24130         * autorevert.el (auto-revert-handler):
24131         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24132         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24133         Don't quote lambda.
24135         * image-mode.el (image-transform-set-scale):
24136         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24138 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24140         * net/network-stream.el (network-stream-open-starttls): Only do
24141         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24142         Upgrades via gnutls-cli are too slow to be done opportunistically.
24144 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
24146         * dframe.el (dframe-current-frame): Remove spurious quote.
24148 2011-04-12  Glenn Morris  <rgm@gnu.org>
24150         * calendar/cal-tex.el (cal-tex-end-document):
24151         Try to automatically use latin1 input if needed.
24153         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24154         Don't try to cons a mark onto an empty element.
24156 2011-04-11  Leo Liu  <sdl.web@gmail.com>
24158         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24159         buffers.
24160         (ido-kill-buffer-at-head): Support killing virtual buffers.
24162 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
24164         * minibuffer.el (completion-show-inline-help): New var.
24165         (completion--do-completion, minibuffer-complete)
24166         (minibuffer-force-complete, minibuffer-complete-word):
24167         Inhibit minibuffer messages if completion-show-inline-help is nil.
24169         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24170         to avoid interference from inline help (Bug#5849).
24172 2011-04-10  Leo Liu  <sdl.web@gmail.com>
24174         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24175         Fix typo.
24177 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
24179         * image-mode.el (image-toggle-display-image): Signal an error if
24180         not in Image mode.
24181         (image-transform-mode, image-transform-resize)
24182         (image-transform-set-rotation): Doc fix.
24183         (image-transform-set-resize): Delete.
24184         (image-transform-set-scale, image-transform-fit-to-height)
24185         (image-transform-fit-to-width): Handle image-toggle-display-image
24186         and image-transform-resize directly.
24188 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
24190         * doc-view.el (doc-view-fit-width-to-window)
24191         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24192         New functions for fitting the shown image to the Emacs window size.
24193         (doc-view-mode-map): Add bindings for the new functions.
24195 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
24197         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24198         Fix typo in docstring.
24200 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
24202         * files.el (file-size-human-readable): Produce one digit after
24203         decimal, like "ls -lh" does.
24205         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24206         the file size representation.
24208         * simple.el (list-processes): If async subprocesses are not
24209         available, error out with a clear error message.
24211 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
24213         * help.el (help-form-show): New function, to be called from C.
24214         Put help-form output in a buffer named differently than *Help*.
24216 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
24218         * files.el (file-size-human-readable): New function.
24220         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24221         computing the representation inline.  Don't require `cl'.
24223 2011-04-08  Glenn Morris  <rgm@gnu.org>
24225         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24227         * net/browse-url.el (browse-url-firefox):
24228         Test system-type, not system-configuration.
24230         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24231         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24232         Use log-edit-empty-buffer-p.  (Bug#7598)
24234         * net/rlogin.el (rlogin-process-connection-type): Simplify.
24235         (rlogin-mode-map): Initialize in the defvar.
24236         (rlogin): Use ignore-errors.
24238         * replace.el (occur-mode-map): Some fixes for menu items.
24240 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
24242         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
24244 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
24246         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24247         issuing unused warnings.
24249         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24250         macro directly.
24252         * simple.el: Lisp reimplement of list-processes.  Based on an
24253         earlier reimplementation by Leo Liu, but using tabulated-list.el.
24254         (process-menu-mode): New major mode.
24255         (list-processes--refresh, list-processes):
24256         (process-menu-visit-buffer): New functions.
24258         * files.el (save-buffers-kill-emacs): Don't assume any return
24259         value of list-processes, which is undocumented anyway.
24261 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
24263         * emacs-lisp/tabulated-list.el: New file.
24265         * emacs-lisp/package.el: Use Tabulated List mode.
24266         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24267         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
24268         table format using Tabulated List mode variables.
24269         (package--push): New macro, replacing package-list-maybe-add.
24270         (package-menu--generate): Use package--push.  Renamed from
24271         package--generate-package-list.
24272         (package-menu-refresh, list-packages): Use it.
24273         (package-menu--print-info): Rename from package-print-package.
24274         Return insertion data instead of inserting it directly.
24275         (package-menu-describe-package, package-menu-execute):
24276         Use tabulated-list-get-id.
24277         (package-menu-mark-delete, package-menu-mark-install)
24278         (package-menu-mark-unmark, package-menu-backup-unmark)
24279         (package-menu-mark-obsolete-for-deletion):
24280         Use tabulated-list-put-tag.
24281         (package--list-packages, package-menu-revert)
24282         (package-menu-get-package, package-menu-get-version)
24283         (package-menu-sort-by-column): Functions deleted.
24284         (package-menu-package-list, package-menu-sort-key): Vars deleted.
24285         (package-menu--status-predicate, package-menu--version-predicate)
24286         (package-menu--name-predicate)
24287         (package-menu--description-predicate): Handle arguments in the
24288         Tabulated List format.
24289         (package-list-packages-no-fetch): Call list-packages.
24291 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
24293         * files.el (after-find-file-from-revert-buffer): Remove variable.
24294         (after-find-file): Don't bind it.
24295         (revert-buffer-in-progress-p): New variable.
24296         (revert-buffer): Bind it.
24297         Pass nil for `after-find-file-from-revert-buffer'.
24299         * saveplace.el (save-place-find-file-hook): Use new variable
24300         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24302 2011-04-06  Glenn Morris  <rgm@gnu.org>
24304         * Makefile.in (AUTOGEN_VCS): New variable.
24305         (autoloads): Use $AUTOGEN_VCS.
24307         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24308         * calendar/calendar.el (calendar-mode-map):
24309         Check for toolkit scroll bars.  (Bug#8305)
24311 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
24313         * minibuffer.el (completion-in-region--postch)
24314         (completion-in-region-mode): Remove unnecessary messages.
24316 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
24318         * font-lock.el (font-lock-refresh-defaults):
24319         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24320         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24322         * info.el (Info-directory-list, Info-read-node-name-2)
24323         (Info-split-parameter-string): Doc fixes.
24324         (Info-virtual-nodes): Reflow docstring.
24325         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24326         (Info-apropos-toc-nodes, info-finder, Info-get-token)
24327         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24328         Fix typos in docstrings.
24329         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24330         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24331         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24332         (Info-restore-desktop-buffer): Mark unused parameters.
24333         (Info-directory-find-file, Info-directory-find-node)
24334         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24335         (Info-virtual-index-find-node, Info-apropos-find-file)
24336         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24337         Mark unused parameters; fix typos in docstrings.
24338         (Info-virtual-index): Remove unused local variable `nodename'.
24340 2011-04-05  Deniz Dogan  <deniz@dogan.se>
24342         * net/rcirc.el: Update my e-mail address.
24343         (rcirc-mode-map): Remove M-o binding.
24345 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
24347         * startup.el (command-line): Save the cursor's theme-face
24348         directly, instead of using face-override-spec.
24350         * custom.el (load-theme): Minor optimization in assigning faces.
24352 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
24354         * help-fns.el (describe-variable): Complete all variables having
24355         documentation, including keywords.
24356         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24358 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
24360         Convert to lexical-binding.
24362         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24363         (bs--get-marked-string, bs--get-modified-string)
24364         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24365         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24366         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24368         * ehelp.el (electric-help-execute-extended)
24369         (electric-help-ctrl-x-prefix):
24370         * hexl.el (hexl-revert-buffer-function):
24371         * linum.el (linum-after-change, linum-after-scroll):
24372         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24374         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24376 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
24378         * epa-dired.el:
24379         * epa-mail.el:
24380         * epa-hook.el:
24381         * epa-file.el:
24382         * epa.el:
24383         * epg.el: Use lexical binding.
24385 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
24387         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24389         * textmodes/flyspell.el (flyspell-word): Recognize default
24390         dictionary case for flyspell-mark-duplications-exceptions.
24391         Use regexp matching for languages.
24392         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24393         default dictionary (Bug#7926).
24395 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
24397         * emacs-lisp/package.el (package--with-work-buffer):
24398         Recognize https URLs.
24400         * net/network-stream.el: Move from gnus/proto-stream.el.
24401         Change prefix to network-stream throughout.
24402         (open-protocol-stream): Merge into open-network-stream, leaving
24403         open-protocol-stream as an alias.  Handle nil BUFFER args.
24405         * subr.el (open-network-stream): Move to net/network-stream.el.
24407 2011-04-02  Glenn Morris  <rgm@gnu.org>
24409         * find-dired.el (find-exec-terminator): New option.
24410         (find-ls-option): Test for -ls support.
24411         (find-ls-subdir-switches): Test for -b in find-ls-option.
24412         (find-dired, find-grep-dired): Doc fixes.
24413         (find-dired): Use find-exec-terminator.
24415         * find-dired.el (find-ls-option, find-ls-subdir-switches)
24416         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24417         (find-name-arg): Remove purecopy.
24419         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24420         (grep-compute-defaults): Check for `-exec COMMAND +' support.
24421         Set grep-find-use-xargs, grep-find-command, and grep-find-template
24422         accordingly.  Don't add the null-device if not needed.
24424         * files.el (save-some-buffers): Doc fix.
24426 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
24428         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24430 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
24432         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24433         Use `dolist' rather than `mapcar'.
24435 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
24437         Add lexical binding.
24439         * subr.el (apply-partially): Use new closures rather than CL.
24440         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24441         (dolist, dotimes): Use slightly different expansion for lexical code.
24442         (functionp): Move to C.
24443         (letrec): New macro.
24444         (with-wrapper-hook): Use it and apply-partially instead of CL.
24445         (eval-after-load): Preserve lexical-binding.
24446         (save-window-excursion, with-output-to-temp-buffer): Turn them
24447         into macros.
24449         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24451         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24452         than the arglist.
24453         (help-add-fundoc-usage): Don't add `Not documented'.
24454         (help-function-arglist): Handle closures, subroutines, and new
24455         byte-code-functions.
24456         (help-make-usage): Remove leading underscores.
24457         (describe-function-1): Handle closures.
24458         (describe-variable): Use special-variable-p for completion.
24460         * files.el (lexical-binding): Declare safe.
24462         * emacs-lisp/pcase.el: Don't use destructuring-bind.
24463         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
24464         (pcase): Add `let' pattern.
24465         Change memoization so it actually works.
24466         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24467         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24468         <let>: New case.
24470         * emacs-lisp/macroexp.el: Use lexical binding.
24471         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
24472         Don't convert ' to #' without checking that it's indeed quoting
24473         a lambda.
24475         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24476         Use eval-sexp-add-defvars.
24477         (eval-sexp-add-defvars): New fun.
24479         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24481         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24482         Don't autoload.
24483         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24484         than the internal `byte-compile-lambda'.
24485         (defmethod): Don't hide code under quotes.
24486         (eieio-defmethod): New `code' argument.
24488         * emacs-lisp/eieio-comp.el: Remove.
24490         * emacs-lisp/edebug.el (edebug-eval-defun)
24491         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24492         (edebug-toggle): Avoid `eval'.
24494         * emacs-lisp/disass.el (disassemble-internal): Handle new
24495         `closure' objects.
24496         (disassemble-1): Handle new byte codes.
24498         * emacs-lisp/cl.el (pushnew): Silence warning.
24500         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24501         (cl-byte-compile-throw): Remove.
24502         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24504         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24505         closures.
24507         * emacs-lisp/cconv.el: New file.
24509         * emacs-lisp/bytecomp.el: Use lexical binding instead of
24510         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
24511         (byte-compile-initial-macro-environment):
24512         Handle declare-function here.
24513         (byte-compile--lexical-environment): New var.
24514         (byte-stack-ref, byte-stack-set, byte-discardN)
24515         (byte-discardN-preserve-tos): New lap codes.
24516         (byte-interactive-p): Don't use any more.
24517         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24518         New macros.
24519         (byte-compile-lapcode): Use them and handle new lap codes.
24520         (byte-compile-obsolete): Remove.
24521         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24522         (byte-compile-arglist-warn): Check late def of inlinable funs.
24523         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24524         since they should have been expanded by now.
24525         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24526         (byte-compile-from-buffer): Remove unused second arg.
24527         (byte-compile-preprocess): New function.
24528         (byte-compile-toplevel-file-form): New function to distinguish
24529         file-form calls from outside from file-form calls from hunk-handlers.
24530         (byte-compile-file-form): Simplify.
24531         (byte-compile-file-form-defsubst): Remove.
24532         (byte-compile-file-form-defmumble): Simplify now that
24533         byte-compile-lambda always returns a byte-code-function.
24534         (byte-compile): Preprocess.
24535         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24536         Remove, not used any more.
24537         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24538         (byte-compile-make-args-desc): New funs.
24539         (byte-compile-lambda): Handle lexical functions.  Always return
24540         a byte-code-function.
24541         (byte-compile-reserved-constants): New var, to make up room for
24542         closed-over variables.
24543         (byte-compile-constants-vector): Obey it.
24544         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24545         (byte-compile-macroexpand-declare-function): New function.
24546         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24547         byte-code-functions.
24548         (byte-compile-form): Check obsolescence here.
24549         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24550         (byte-compile-variable-ref): Remove.
24551         (byte-compile-dynamic-variable-op): New fun.
24552         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24553         (byte-compile-variable-set): New funs.
24554         (byte-compile-discard): Add 2 args.
24555         (byte-compile-stack-ref, byte-compile-stack-set)
24556         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24557         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24558         macroexpand-all instead.
24559         (byte-compile-quote-form): Remove.
24560         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24561         (byte-compile-bind, byte-compile-unbind): New funs.
24562         (byte-compile-let): Handle let* and lexical binding.
24563         (byte-compile-let*): Remove.
24564         (byte-compile-catch, byte-compile-unwind-protect)
24565         (byte-compile-track-mouse, byte-compile-condition-case):
24566         Handle a new :fun-body form, used for lexical scoping.
24567         (byte-compile-save-window-excursion)
24568         (byte-compile-with-output-to-temp-buffer): Remove.
24569         (byte-compile-defun): Simplify.
24570         (byte-compile-stack-adjustment): New fun.
24571         (byte-compile-out): Use it.
24572         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24574         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24575         handler any more.
24577         * emacs-lisp/byte-opt.el: Use lexical binding.
24578         (byte-inline-lapcode): Remove (to bytecomp).
24579         (byte-compile-inline-expand): Pay attention to inlining to/from
24580         lexically bound code.
24581         (byte-compile-unfold-lambda): Don't handle byte-code-functions
24582         any more.
24583         (byte-optimize-form-code-walker): Don't handle save-window-excursion
24584         any more and don't call compiler-macros.
24585         (byte-compile-splice-in-already-compiled-code): Remove.
24586         (byte-code): Don't inline any more.
24587         (disassemble-offset): Receive `bytes' as argument rather than via
24588         dynamic scoping.
24589         (byte-compile-tag-number): Declare before first use.
24590         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24591         `return' even if make-spliceable.
24592         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24593         obsolete interactive-p.
24594         (byte-optimize-lapcode): Optimize new lap-codes.
24595         Don't trip up on new form of `byte-constant' lap code.
24597         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24599         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24601         * custom.el (custom-initialize-default, custom-declare-variable):
24602         Use `defvar'.
24604         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24605         New variables.
24606         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24607         (COMPILE_FIRST): Add macroexp and cconv.
24608         * makefile.w32-in: Mirror changes in Makefile.in.
24610         * vc/cvs-status.el:
24611         * vc/diff-mode.el:
24612         * vc/log-edit.el:
24613         * vc/log-view.el:
24614         * vc/smerge-mode.el:
24615         * textmodes/bibtex-style.el:
24616         * textmodes/css-mode.el:
24617         * startup.el:
24618         * uniquify.el:
24619         * minibuffer.el:
24620         * newcomment.el:
24621         * reveal.el:
24622         * server.el:
24623         * mpc.el:
24624         * emacs-lisp/smie.el:
24625         * doc-view.el:
24626         * dired.el:
24627         * abbrev.el: Use lexical binding.
24629 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
24631         * info.el (info-display-manual): New function.
24633 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24635         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24637 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
24639         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24640         an entry for that server in rcirc-authinfo.  (Bug#8385)
24642 2011-03-31  Glenn Morris  <rgm@gnu.org>
24644         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24646         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24648 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
24650         * progmodes/python.el (python-default-interpreter)
24651         (python-python-command-args, python-jython-command-args)
24652         (python-which-shell, python-which-args, python-which-bufname)
24653         (python-file-queue, python-comint-output-filter-function)
24654         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24655         variables and functions.
24657 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
24659         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24660         (completion-in-region-mode): New minor mode.
24661         (completion-in-region): Use it.
24662         (completion-in-region--data, completion-in-region-mode-map): New vars.
24663         (completion-in-region--postch): New function.
24664         (completion--capf-misbehave-funs, completion--capf-safe-funs):
24665         New vars.
24666         (completion--capf-wrapper): New function.
24667         (completion-at-point): Use it to track well-behavedness of
24668         hook functions.
24669         (completion-help-at-point): New command.
24671 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
24673         * vc/add-log.el (add-change-log-entry): Don't use whitespace
24674         syntax class to search for whitespace on a single line
24675         (Message-ID: <4D938140.4030905@redhat.com>).
24677 2011-03-30  Leo Liu  <sdl.web@gmail.com>
24679         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24680         New commands.
24681         (edit-abbrevs-map): Bind them here.
24682         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
24684 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
24686         * allout.el (allout-hide-by-annotation, allout-flag-region):
24687         Reduce possibility of overlay leakage by making them volatile.
24689         * allout-widgets.el (allout-widgets-tally): Define as nil so the
24690         hash is not shared between buffers.  Mode initialization is
24691         responsible for giving it a useful starting value.
24692         (allout-item-span): Reduce possibility of overlay leakage by
24693         making them volatile.
24694         (allout-widgets-count-buttons-in-region): Add diagnostic function
24695         for tracking down button overlay leaks.
24697 2011-03-29  Leo Liu  <sdl.web@gmail.com>
24699         * ido.el (ido-read-internal): Use the default history var
24700         minibuffer-history if no HISTORY is specified.
24702 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
24704         * net/imap.el (imap-shell-open, imap-process-connection-type):
24705         Use imap-process-connection-type for 'shell' streams as well as
24706         Kerberos, SSL, other subprocesses.
24708 2011-03-28  Leo Liu  <sdl.web@gmail.com>
24710         * abbrev.el (abbrev-table-empty-p): New function.
24711         (prepare-abbrev-list-buffer): Place empty abbrev tables after
24712         nonempty ones.  (Bug#5937)
24714 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
24716         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24718 2011-03-27  Leo Liu  <sdl.web@gmail.com>
24720         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24721         for foreground and background colors.
24722         (ansi-color-make-color-map): Adapt.
24724 2011-03-25  Leo Liu  <sdl.web@gmail.com>
24726         * midnight.el (midnight-time-float): Remove.  Note it calculates
24727         the microsecond component incorrectly and seconds-to-time does the
24728         same job.
24729         Remove redundant (require 'timer).
24731         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24732         (ido-completions): Remove unused arguments.  (Bug#8329)
24734 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
24736         * minibuffer.el (completion--flush-all-sorted-completions):
24737         Remove itself from hook.
24738         (completion-at-point): Let the functions perform the completion
24739         immediately and return nil or t.
24740         * comint.el (comint-dynamic-complete-functions): Now identical to
24741         completion-at-point-functions.
24742         (comint-dynamic-list-input-ring): Remove unused var `index'.
24743         (comint--match-partial-filename, comint--unquote&expand-filename):
24744         New funs, split from comint-match-partial-filename.
24745         (comint-dynamic-complete): Use completion-at-point.
24746         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24748 2011-03-24  Drew Adams  <drew.adams@oracle.com>
24750         * thingatpt.el: Support `defun'.
24752 2011-03-23  Leo Liu  <sdl.web@gmail.com>
24754         * abbrevlist.el: Move to obsolete/abbrevlist.el.
24756         * help-mode.el (help-mode-finish): Tweak regexp.
24758 2011-03-23  Glenn Morris  <rgm@gnu.org>
24760         * eshell/esh-opt.el (eshell-eval-using-options):
24761         Do not bind unused local variable `eshell-option-stub'.
24763         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24765 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
24767         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24768         keymap variable in `with-no-warnings' to avoid a warning when the
24769         keymap has been already `defconst'ed.
24771 2011-03-22  Leo Liu  <sdl.web@gmail.com>
24773         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24774         encode all chars in abbrevs; otherwise use emacs-mule or
24775         utf-8-emacs.  (Bug#8308)
24777 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
24779         * simple.el (backward-delete-char-untabify):
24780         Avoid warning about using `delete-backward-char'.
24782         * image.el (image-type-file-name-regexps): Make it variable.
24783         `imagemagick-register-types' modifies it, and the user may want
24784         to add new extensions for known image types.
24785         (imagemagick-register-types): Throw error if not using ImageMagick.
24787 2011-03-22  Leo Liu  <sdl.web@gmail.com>
24789         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24790         located before rcirc-prompt-end-marker.
24791         (rcirc-complete): Error if point is not after rcirc prompt.
24792         Handle the case when table is nil.
24793         (rcirc-user-authenticated): Define to fix compiler warning.
24795 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
24797         * custom.el (custom--inhibit-theme-enable): Make it affect only
24798         custom-theme-set-variables and custom-theme-set-faces.
24799         (provide-theme): Ignore custom--inhibit-theme-enable.
24800         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24801         (custom-enabling-themes): Delete variable.
24802         (enable-theme): Accept only loaded themes as arguments.
24803         Ignore the special custom-enabled-themes variable.
24804         (custom-enabled-themes): Forbid themes from setting this.
24805         Eliminate use of custom-enabling-themes.
24806         (custom-push-theme): Quote "changed" custom var entry.
24808 2011-03-21  Leo Liu  <sdl.web@gmail.com>
24810         * ido.el (ido-read-internal): Add ido-selected to history instead
24811         of user input.
24813 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
24815         * subr.el (deferred-action-list, deferred-action-function):
24816         Mark obsolete.
24818 2011-03-21  Leo Liu  <sdl.web@gmail.com>
24820         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24821         change on 2011-02-13 (bug#8309).
24823         * minibuffer.el (read-file-name-function): Change default value.
24824         (read-file-name--defaults): Rename from read-file-name-defaults.
24825         (read-file-name-default): Rename from read-file-name.
24826         (read-file-name): Call read-file-name-function.
24828 2011-03-21  Glenn Morris  <rgm@gnu.org>
24830         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24831         Doc fixes.
24833 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
24835         * cus-theme.el: Add missing provide statement.
24836         (customize-create-theme): Extract theme value correctly.
24837         (custom-theme-visit-theme): Autoload.
24838         (customize-create-theme): Prompt before inserting default faces.
24840 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
24842         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24843         units and musical notes.
24845 2011-03-20  Leo Liu  <sdl.web@gmail.com>
24847         * ido.el (ido-read-internal): Use completing-read-default.
24848         (ido-completing-read): Fix compatibility with completing-read.
24850 2011-03-20  Christian Ohler  <ohler@gnu.org>
24852         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24853         (ert-delete-all-tests): Use `called-interactively-p' rather than
24854         `interactive-p'.
24855         (ert--make-xrefs-region): Respect END.
24857 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
24859         * dired-aux.el (dired-create-directory): Signal an error if the
24860         directory already exists (Bug#8246).
24862         * facemenu.el (list-colors-display): Call list-faces-display
24863         inside with-help-window.
24864         (list-colors-print): Use display property to align the final
24865         column, instead of checking window-width.
24867 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
24869         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24870         windows-nt systems.
24871         (emerge-protect-metachars): Quote correctly for ms-dos and
24872         windows-nt systems.
24874 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
24876         * info.el (info-initialize): Replace all uses of `:' with
24877         path-separator for compatibility with non-Unix systems.
24878         Cache quoting of path-separator.  (Bug#8258)
24880 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
24882         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24883         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24884         (mouse-avoidance-mode): Fix typos in docstrings.
24886 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
24888         * startup.el (package-subdirectory-regexp): Move from package.el.
24889         Omit \\` and \\', and let callers add them.
24891         * emacs-lisp/package.el (package-strip-version)
24892         (package-load-all-descriptors): Add \\` and \\' to
24893         package-subdirectory-regexp before using it.
24894         (package-untar-buffer): New arg DIR; ensure that file untars only
24895         into this expected directory.  Remove superfluous delete-region.
24896         (package-unpack): Caller changed.
24897         (package-tar-file-info): Use package-subdirectory-regexp.
24899 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
24901         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24902         diff-mode-shared-map (bug#8284).
24903         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24905 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24907         * calendar/time-date.el (format-seconds): Use assoc instead of
24908         assoc-string, since assoc-string doesn't exist in XEmacs.
24910 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
24912         * custom.el (custom-known-themes): Reflow docstring.
24913         (custom-theme-load-path): Fix typo in docstring.
24914         (load-theme): Fix typo in error message.
24915         (custom-available-themes, custom-variable-theme-value):
24916         Use `let', not `let*'.
24918 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
24920         * calc/README: Mention inclusion of musical notes.
24922         * calc/calc-units.el (calc-lu-quant): Rename from
24923         `calc-logunits-quantity'.
24924         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24925         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24926         (calc-db): Rename from `calc-dblevel'.
24927         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24928         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24929         (calc-np): Rename from `calc-nplevel'.
24930         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24931         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24932         (calc-lu-plus): Rename from `calc-logunits-add'.
24933         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24934         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24935         (calc-lu-minus): Rename from `calc-logunits-sub'.
24936         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24937         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24938         (calc-lu-times): Rename from `calc-logunits-mul'.
24939         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24940         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24941         (calc-lu-divide): Rename from `calc-logunits-div'.
24942         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24943         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24945         * calc/calc-ext.el (calc-init-extensions): Update the names of the
24946         functions being autoloaded.
24948         * calc/calc.el (calc-lu-power-reference): Rename from
24949         `calc-logunits-power-reference'.
24950         (calc-lu-field-reference): Rename from
24951         `calc-logunits-field-reference'.
24953         * calc/calc-help.el (calc-l-prefix-help):
24954         Mention musical note functions.
24956 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24958         * minibuffer.el (completion-all-sorted-completions):
24959         Use :completion-cycle-penalty text property if present.
24961 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
24963         * allout.el (allout-yank-processing): Adjust for new rebulleting
24964         regime so bullet being yanked is used without prompting the user
24965         for a choice.
24967 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
24969         * startup.el (command-line): Warn the user that _emacs is deprecated.
24971 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
24973         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24974         (delphi-verbose, delphi-comment-face, delphi-string-face)
24975         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24976         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24977         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24978         (delphi-new-comment-line, delphi-font-lock-defaults)
24979         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24980         Fix typos in docstrings.
24982 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
24984         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24985         Invert the roles of character and string values for INSTEAD, so a
24986         string is used for the more common case of a defaulting prompt.
24988 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24990         * progmodes/ruby-mode.el (ruby-backward-sexp):
24991         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24992         * play/gamegrid.el (gamegrid-make-face):
24993         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24994         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24995         * notifications.el (notifications-notify):
24996         * net/xesam.el (xesam-search-engines):
24997         * net/quickurl.el (quickurl-list-insert):
24998         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25000 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
25002         * startup.el (command-line): Update package subdirectory regexp.
25004 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25006         * allout.el (allout-abbreviate-flattened-numbering)
25007         (allout-mode-deactivate-hook): Fix up obsolescence "date".
25009         * subr.el (read-char-choice): Only show the cursor after the prompt,
25010         not after the answer.
25012 2011-03-15  Kevin Ryde  <user42@zip.com.au>
25014         * help-fns.el (variable-at-point): Skip leading quotes, if any
25015         (bug#8253).
25017 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25019         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25020         warning message.
25022 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
25024         * shell.el (shell): When called interactively, offer to change the
25025         shell file name on remote hosts.
25027 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
25029         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25030         integration for LDAP parameters.  The host, base, user or binddn,
25031         and secret tokens can be specified in a netrc file, for instance.
25032         This is optional because an `auth-source' parameter must be
25033         specified in the search attributes.
25035 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
25037         * help.el (describe-mode): Link to the mode's definition (bug#8185).
25039 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25041         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25042         into declaration.  Remove redundant and harmful binding.
25044 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
25046         * files.el (file-ownership-preserved-p): Pass `integer' as an
25047         explicit 2nd argument to `file-attributes'.  If the file's owner
25048         is the Administrators group on Windows, and the current user is
25049         Administrator, consider that a match.
25051         * server.el (server-ensure-safe-dir): Consider server directory
25052         safe on MS-Windows if its owner is the Administrators group while
25053         the current Emacs user is Administrator.  Use `=' to compare
25054         numerical UIDs, since they could be integers or floats.
25056 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
25058         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25060 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
25062         Sync with Tramp 2.2.1.
25064         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25066         * net/trampver.el: Update release number.
25068 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25070         * progmodes/compile.el (compilation--previous-directory): Fix up
25071         various nil/dead-marker mismatches (bug#8014).
25072         (compilation-directory-properties, compilation-error-properties):
25073         Don't call it at a position past the one we're about to change.
25075         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25076         Disable obsolescence warnings in the file that declares it.
25078 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
25080         * allout-widgets.el (allout-widgets-tally):
25081         Initialize allout-widgets-tally as a hash table rather than nil to
25082         prevent mode-line redisplay warnings.  Also, clarify the module
25083         description and fix a comment typo.
25085 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
25087         * help-fns.el (describe-variable): Don't complete keywords.
25088         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25090 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
25092         * emacs-lisp/package.el (package-version-join): Impose a standard
25093         string representation for pre/alpha/beta version lists.
25094         (package-unpack-single): Standardize the directory name by passing
25095         it through package-version-join.
25096         (package-strip-rcs-id): Accept any version string that does not
25097         signal an error in version-to-list.
25099 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
25101         * simple.el (delete-trailing-whitespace): Return nil for the
25102         benefit of `write-file-functions'.
25104 2011-03-10  Glenn Morris  <rgm@gnu.org>
25106         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25108         * vc/vc-git.el (vc-git-program): New option.
25109         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25110         (vc-git--call): Use it.
25112         * eshell/esh-util.el (eshell-condition-case): Doc fix.
25114         * cus-edit.el (Custom-newline): If no button at point, look
25115         for a subgroup button at start-of-line.  (Bug#2298)
25117         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25119 2011-03-10  Julien Danjou  <julien@danjou.info>
25121         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25122         `cursor-type' is nil.
25124 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
25126         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25128 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
25130         * allout.el: Change so yank of distinctive-bullet items
25131         preserves the existing header prefix, rebulleting it if necessary,
25132         rather than replacing it.  This is necessary for proper operation
25133         of cooperative addons like allout-widgets.
25134         (allout-make-topic-prefix, allout-rebullet-heading):
25135         Change SOLICIT arg to INSTEAD, and interpret additionally a string
25136         value as alternate bullet to be used, instead of prompting the user
25137         for a bullet character.
25139 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
25141         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25142         Do not use `tramp-file-name-port', because this returns also
25143         `tramp-default-port'.
25145 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
25147         * net/rcirc.el (rcirc-handler-001): Remove useless
25148         with-rcirc-process-buffer.
25149         (rcirc-check-auth-status): Swap arguments to string-match.
25151 2011-03-09  Glenn Morris  <rgm@gnu.org>
25153         * shell.el (shell-mode):
25154         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
25156         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25157         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
25159 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
25161         * emacs-lisp/package.el (package-refresh-contents)
25162         (package-menu-execute): Use condition-case-no-debug.
25164 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
25166         * simple.el (shell-command-to-string): Use `process-file'.
25168         * emacs-lisp/package.el (package-tar-file-info): Handle also
25169         remote files.
25171         * emacs-lisp/package-x.el (package-upload-buffer-internal):
25172         Use `equal' for upload base check.
25174 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
25176         * textmodes/texinfo.el (texinfo-environments):
25177         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
25179 2011-03-08  Glenn Morris  <rgm@gnu.org>
25181         * cus-start.el (cursor-in-non-selected-windows):
25182         Fix :set quoting oddness.  (Bug#8192)
25184         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25185         in some setf expressions.  (Bug#2159)
25187 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
25189         * custom.el (custom-available-themes): Return themes in
25190         alphabetical order.
25192 See ChangeLog.15 for earlier changes.
25194 ;; Local Variables:
25195 ;; coding: utf-8
25196 ;; End:
25198   Copyright (C) 2011-2013 Free Software Foundation, Inc.
25200   This file is part of GNU Emacs.
25202   GNU Emacs is free software: you can redistribute it and/or modify
25203   it under the terms of the GNU General Public License as published by
25204   the Free Software Foundation, either version 3 of the License, or
25205   (at your option) any later version.
25207   GNU Emacs is distributed in the hope that it will be useful,
25208   but WITHOUT ANY WARRANTY; without even the implied warranty of
25209   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25210   GNU General Public License for more details.
25212   You should have received a copy of the GNU General Public License
25213   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.