* lisp/mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
[emacs.git] / lisp / ChangeLog
blobaae880aa8a247714f9e54ce1df9ce5cd71049b19
1 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4         remapping in mode-line.
5         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
9         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10         value for `whitespace-line' face (Bug#13875).
11         (whitespace-font-lock-keywords): Change description.
12         (whitespace-color-on): Don't save `font-lock-keywords' value, save
13         the constructed keywords instead.
14         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16 2013-03-19  Leo Liu  <sdl.web@gmail.com>
18         * progmodes/compile.el (compilation-display-error): New command.
19         (compilation-mode-map, compilation-minor-mode-map): Bind it to
20         C-o.  (Bug#13992)
22 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
24         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
26 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
28         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
30 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
32         * net/tramp-compat.el (tramp-compat-user-error): New defun.
34         * net/tramp-adb.el (tramp-adb-handle-shell-command):
35         * net/tramp-gvfs.el (top):
36         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
37         (tramp-handle-shell-command): Use it.
38         (tramp-dissect-file-name): Raise an error when hostname is a
39         method name, and neither method nor user is specified.
41         * net/trampver.el: Update release number.
43 2013-03-18  Leo Liu  <sdl.web@gmail.com>
45         Make sure eldoc can be turned off properly.
46         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
47         eldoc-mode.
48         (eldoc-display-message-p): Revert last change.
49         (eldoc-display-message-no-interference-p)
50         (eldoc-print-current-symbol-info): Tweak.
52 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
54         * doc-view.el (doc-view-new-window-function): Check the new window
55         overlay's display property instead the char property of the
56         buffer's first char.  Use `with-selected-window' instead of
57         `save-window-excursion' with `select-window'.
58         (doc-view-document->bitmap): Check the current doc-view overlay's
59         display property instead the char property of the buffer's first
60         char.
62 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
64         Automate the build of ja-dic.el (Bug#13984).
65         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
66         from the input, rather than assume that it's been done for us by the
67         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
68         the current date into a ja-dic.el comment, as that complicates
69         regression testing.
71 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
73         * whitespace.el: Fix double evaluation.
74         (whitespace-space, whitespace-hspace, whitespace-tab)
75         (whitespace-newline, whitespace-trailing, whitespace-line)
76         (whitespace-space-before-tab, whitespace-indentation)
77         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
78         obsolete defvars.
79         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
80         (whitespace-color-on): Use a single font-lock-add-keywords call.
81         Fix double-evaluation of face variables.
83 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
85         * net/tramp-adb.el (tramp-adb-parse-device-names):
86         Use `start-process' instead of `call-process'.  Otherwise, the
87         function might be blocked under MS Windows.  (Bug#13299)
89 2013-03-17  Leo Liu  <sdl.web@gmail.com>
91         Extend eldoc to display info in the mode-line.  (Bug#13978)
92         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
93         (eldoc-mode-line-string): New variable.
94         (eldoc-minibuffer-message): New function.
95         (eldoc-message-function): New variable.
96         (eldoc-message): Use it.
97         (eldoc-display-message-p)
98         (eldoc-display-message-no-interference-p):
99         Support eldoc-post-insert-mode.
101         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
102         (eval-expression): Run it.
104 2013-03-17  Roland Winkler  <winkler@gnu.org>
106         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
107         strings in the list of return values.
109 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
111         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
112         radix before checking for HMS forms.
114 2013-03-16  Leo Liu  <sdl.web@gmail.com>
116         * progmodes/scheme.el: Add indentation and font-locking for λ.
117         (Bug#13975)
119 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
122         token before point (bug#13942).
124 2013-03-16  Leo Liu  <sdl.web@gmail.com>
126         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
128 2013-03-16  Glenn Morris  <rgm@gnu.org>
130         * Version 24.3 released.
132 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
134         * startup.el (command-line-normalize-file-name): Fix handling of
135         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
136         <xfq.free@gmail.com> in
137         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
139 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
141         Sync with Tramp 2.2.7.
143         * net/trampver.el: Update release number.
145 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
147         * doc-view.el Fix bug#13887.
148         (doc-view-insert-image): Don't modify overlay associated to
149         non-live windows, and implement horizontal centering of image in
150         case it's smaller than the window.
151         (doc-view-new-window-function): Force redisplay of new windows on
152         doc-view buffers.
154 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
156         * saveplace.el (save-place-alist-to-file): Don't sort
157         `save-place-alist', just pretty-print it (bug#13882).
159 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
161         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
162         whether `default-file-name-coding-system' is bound.  It isn't in
163         XEmacs.
165 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
167         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
168         backquotes for `obsolete' (bug#13929).
170         * international/mule.el (find-auto-coding): Include file name in
171         obsolescence warning (bug#13922).
173 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
175         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
176         for CFEngine 3-specific indentation.
177         (cfengine3-indent-line): Use it.  Fix up category regex.
178         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
180 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
182         * type-break.el (type-break-file-name):
183         * textmodes/remember.el (remember-data-file):
184         * strokes.el (strokes-file):
185         * shadowfile.el (shadow-initialize):
186         * saveplace.el (save-place-file):
187         * ps-bdf.el (bdf-cache-file):
188         * progmodes/idlwave.el (idlwave-config-directory):
189         * net/quickurl.el (quickurl-url-file):
190         * international/kkc.el (kkc-init-file-name):
191         * ido.el (ido-save-directory-list-file):
192         * emulation/viper.el (viper-custom-file-name):
193         * emulation/vip.el (vip-startup-file):
194         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
195         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
197 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
199         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
200         * language/thai-word.el: Switch to UTF-8.
202 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
204         * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
206 2013-03-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
208         * net/net-utils.el (net-utils-remove-ctrl-m-filter):
209         Use with-current-buffer and don't move point.
210         (net-utils-run-simple): Remove useless code.
211         (net-utils-remove-ctl-m): Remove unused custom.
213 2013-03-11  Per Starbäck  <starback@stp.lingfil.uu.se>
215         * international/characters.el (glyphless-set-char-table-range): New fun.
216         (update-glyphless-char-display): Use it (bug#13744).
218 2013-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
220         * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
221         namespaces in the syntax, indent closer for hanging brace
222         correctly, allow single-quote delimited 'strings', and make
223         `cfengine3-mode' the default.
225 2013-03-11  Jean-Philippe Gravel  <jpgravel@gmail.com>
227         * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
228         Use lexical-binding.  Fix up docstring according to conventions.
229         (gdbmi-debug-mode): New var.
230         (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
231         (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
232         (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
233         (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
234         (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
235         (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
236         (gdbmi-bnf-incomplete-record-result): New functions.
237         (gdb-car<): Remove function.
238         (gdbmi-record-list): Remove variable.
239         (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
240         (gdbmi-bnf-result-state-configs): New const.
241         (gud-gdbmi-marker-filter): Rewrite.
242         (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
243         (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
244         Add `token' argument.
245         (gdb-done, gdb-error): New functions.
246         (gdb-done-or-error): Add `is-complete' argument.  Change arg order.
248 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
250         * term/xterm.el (xterm--report-background-handler): Don't burp
251         upon timeout.
252         (xterm--version-handler): Extract from terminal-init-xterm.
253         (xterm--query): Don't mishandle timeout.  Remove debugging messages.
254         Allow multiple handlers.
255         (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
257         * term/xterm.el: Don't discard input (bug#6758).  Use lexical-binding.
258         (xterm--report-background-handler, xterm--query): New functions.
259         (terminal-init-xterm): Use them.
261 2013-03-11  Michael R. Mauger  <michael@mauger.com>
263         * progmodes/sql.el Version 3.2
264         Please note that my address changed to <michael@mauger.com>;
265         the <mmaug@yahoo.com> address remains active.
266         (sql-connection-alist): Updates documentation to fix bug#13715.
267         (sql-connect): Handle missing `sql-connection-alist' correctly.
268         (sql-mode-oracle-font-lock-keywords): Add missing keywords.
269         (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
270         property.
271         (sql-default-value): New function.
272         (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
273         values were not used.
274         (sql-rename-buffer): Make sure alternate buffer name has no text
275         properties.
276         (sql-input-sender, sql-execute-feature): Fetch variable with
277         `buffer-local-value' rather than `with-current-buffer'.
278         (sql-*): Use #' function syntax consistently.
279         (sql-*): Use message/error/user-error consistently.
281 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
283         * xt-mouse.el (xterm-mouse-event-read): Remove.
284         (xterm-mouse--read-event-sequence-1000)
285         (xterm-mouse--read-event-sequence-1006): Use read-event instead.
287 2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
289         * term/xterm.el (xterm-function-map): Support format used with
290         formatOtherKeys=1 (bug#13839).
292         * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
293         (with-no-warnings): Use `declare'.
295         * whitespace.el (whitespace-enable-predicate): New variable.
296         (whitespace-enable-predicate): Use it.
298         * comint.el (comint-send-input, comint-snapshot-last-prompt)
299         (comint-output-filter, comint-update-fence):
300         Use with-silent-modifications.
302 2013-03-10  Jambunathan K  <kjambunathan@gmail.com>
304         * replace.el (occur-read-regexp-defaults-function): New var.
305         (occur-read-regexp-defaults): New defun.
306         (occur-read-primary-args): Propagate above change (bug#13892).
308 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
310         * mouse.el (mouse-drag-track): Remove left-over debugging code.
312 2013-03-09  Michael Albinus  <michael.albinus@gmx.de>
314         Major rewrite due to changed D-Bus interface of GVFS 1.14.
316         * net/tramp-gvfs.el (top): Extend check for gvfs availability.
317         (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
318         (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
319         New defconst.
320         (tramp-gvfs-file-name-handler-alist) [directory-files]
321         [directory-files-and-attributes, file-exists-p, file-modes]:
322         Use Tramp default handler.
323         [file-acl, file-selinux-context, process-file, set-file-acl]:
324         [set-file-modes, set-file-selinux-context, shell-command]:
325         [start-file-process]: Remove handler.
326         [verify-visited-file-modtime]: New handler.
327         (tramp-gvfs-dbus-string-to-byte-array)
328         (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
329         calls of `dbus-string-to-byte-array' and
330         `tramp-gvfs-dbus-byte-array-to-string'.
331         (tramp-gvfs-handle-copy-file)
332         (tramp-gvfs-handle-delete-directory)
333         (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
334         (tramp-gvfs-handle-file-directory-p)
335         (tramp-gvfs-handle-file-executable-p)
336         (tramp-gvfs-handle-file-name-all-completions)
337         (tramp-gvfs-handle-file-readable-p)
338         (tramp-gvfs-handle-file-writable-p)
339         (tramp-gvfs-handle-insert-directory)
340         (tramp-gvfs-handle-insert-file-contents)
341         (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
342         (tramp-gvfs-handle-set-visited-file-modtime)
343         (tramp-gvfs-handle-write-region): Rewrite.
344         (tramp-gvfs-handle-file-acl)
345         (tramp-gvfs-handle-file-selinux-context)
346         (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
347         (tramp-gvfs-handle-set-file-modes)
348         (tramp-gvfs-handle-set-file-selinux-context)
349         (tramp-gvfs-handle-shell-command)
350         (tramp-gvfs-handle-start-file-process)
351         (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
352         (tramp-gvfs-url-file-name): Do not use `file-truename', we work
353         over the symlinks.  Fix user handling.
354         (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
355         of the D-Bus signals.
356         (tramp-gvfs-connection-mounted-p): Handle different names of the
357         D-Bus methods.
358         (tramp-gvfs-mount-spec-entry): New defun.
359         (tramp-gvfs-mount-spec): Use it.
360         (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
361         there is a share name.  Handle different names of the D-Bus
362         signals and methods.  Set connection properties needed for
363         `tramp-check-cached-permissions'.
364         (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
365         Return t or nil.
367         * net/tramp.el (tramp-backtrace): Move up.
368         (tramp-error): Dump a backtrace into the debug buffer when
369         `tramp-verbose > 9.
370         (tramp-file-mode-type-map, tramp-file-mode-from-int)
371         (tramp-file-mode-permissions, tramp-get-local-uid)
372         (tramp-get-local-gid, tramp-check-cached-permissions): Move from
373         tramp-sh.el.
375         * net/tramp-sh.el (tramp-file-mode-type-map)
376         (tramp-check-cached-permissions, tramp-file-mode-from-int)
377         (tramp-file-mode-permissions, tramp-get-local-uid)
378         (tramp-get-local-gid): Move to tramp.el.
380 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
382         Separate mouse-1-click-follows-link from mouse-drag-region.
383         * mouse.el (mouse--down-1-maybe-follows-link): New function.
384         (key-translation-map): Use it to implement mouse-1-click-follows-link.
385         (mouse-drag-line, mouse-drag-track):
386         Remove mouse-1-click-follows-link code.
387         (mouse--remap-link-click-p): Remove.
389 2013-03-08  Jambunathan K  <kjambunathan@gmail.com>
391         * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
392         (hi-lock-read-regexp-defaults):  New defun.
393         (hi-lock-line-face-buffer, hi-lock-face-buffer)
394         (hi-lock-face-phrase-buffer): Propagate above change.
395         Update docstring (bug#13892).
397         * subr.el (find-tag-default-as-regexp): New defun.
398         * replace.el (read-regexp): Propagate above change.
400 2013-03-08  Jay Belanger  <jay.p.belanger@gmail.com>
402         * calc/calc-units.el (calc-convert-units): Fix the way that default
403         new units are stored.
405 2013-03-07  Matthias Meulien  <orontee@gmail.com>
407         * bookmark.el: Define a face to highlight bookmark names in
408         bookmark menu buffers, where the default is a bold face similarly
409         to buffer names in buffer menu buffers.
410         (bookmark-menu-bookmark): New face to highlight bookmark names.
411         (bookmark-insert-location): Remove duplicated text property to
412         conform to buffer list (see `list-buffers').
413         (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
414         `bookmark-menu-bookmark' to bookmark names.
416 2013-03-07  Matthias Meulien  <orontee@gmail.com>
417             Karl Fogel  <kfogel@red-bean.com>
419         * bookmark.el: Display the bookmark list header similarly to the
420         buffer list header (see `list-buffers'), where the default is now
421         an immovable/immutable header line.
422         (bookmark-bmenu-use-header-line): New variable.
423         (bookmark-bmenu-inline-header-height): New name for
424         `bookmark-bmenu-header-height', to avoid confusion with the code
425         for the new immovable header.  All references changed.
426         (bookmark-bmenu-set-header): New function.
427         (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
428         Conditionalize header construction accordingly.
429         (bookmark-bmenu-ensure-position): Conditionalize the skipping of
430         the inline header height.
431         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
432         Conditionalize the skipping of the inline header height.
434 2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>
436         * progmodes/js.el (js--multi-line-declaration-indentation):
437         Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
439 2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>
441         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
442         Only propertize regexp when not inside a string (Bug#13885).
444 2013-03-06  Alan Mackenzie  <acm@muc.de>
446         Correct the position of point in some line-up functions.
447         * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
448         (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
449         point at column 0 rather than at a random place in the line.
451 2013-03-05  Michael Albinus  <michael.albinus@gmx.de>
453         * net/tramp-compat.el (tramp-compat-delete-directory):
454         Implement TRASH argument.
456 2013-03-05  Dmitry Gutov  <dgutov@yandex.ru>
458         Keep pre-existing highlighting in completion candidates (Bug#13250).
459         * minibuffer.el (completions-first-difference): State that the
460         face is "added" in the docstring.
461         (completions-common-part): Same.  And don't inherit from default.
462         (completion-hilit-commonality): Prepend 'completions-common-part
463         and 'completion-first-difference faces to the 'face property,
464         instead of replacing the value(s).
465         (completion--insert-strings): Same with 'completions-annotations face.
466         (completion-hilit-commonality): Use 'face instead of
467         'font-lock-face, because it gets priority if the completion
468         strings already have 'face set.
470 2013-03-04  Alan Mackenzie  <acm@muc.de>
472         Replace `last-command-event' by `last-command-char' in XEmacs.
473         * progmodes/cc-defs.el (c-last-command-char): New macro.
474         * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
475         (c-semi&comma-no-newlines-before-nonblanks)
476         (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
477         in place of `last-command-event'.
478         * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
479         (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
480         (c-electric-paren, c-electric-continued-statement): Use the new
481         macro in place of `last-command-event'.
483 2013-03-04  Glenn Morris  <rgm@gnu.org>
485         * files.el (inhibit-local-variables-regexps):
486         Add .diff and .patch.  (Bug#13862)
488 2013-03-03  Michael Albinus  <michael.albinus@gmx.de>
490         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
491         whether the "su" command is available on the device.
493 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
495         * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
496         (tramp-adb-handle-process-file): Remove superfluous setting.
497         (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
498         (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
499         (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
501 2013-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
504         (ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
505         (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
506         Use dict-key rather than dict-name for the error message.
508 2013-03-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
510         * net/net-utils.el (net-utils-run-simple): Don't display-buffer
511         when reverting (bug#13831).
513 2013-03-01  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
515         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
516         Always expand affix-file before storing to protect against changed
517         `default-directory'.
518         (ispell-print-if-debug): Make sure message is printed at the end
519         of the debug buffer.
521 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
523         * net/tramp.el (tramp-obsolete-methods): New defconst.
524         (tramp-warned-obsolete-methods): New defvar.
525         (tramp-find-method): Check for obsolete methods.  Map them to a
526         replacement method if appropriate.
528         * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
529         Remove methods.
530         (top): Remove completion functions for "scp1", "scp2", "ssh1",
531         "ssh2" and "plink1".
533 2013-02-28  Dale Sedivec  <dale@codefu.org>
535         * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
536         Return valid syntax-table property value when converting
537         quotes within text from string syntax to punctuation syntax (bug#13844).
539 2013-02-28  Juri Linkov  <juri@jurta.org>
541         * dired-aux.el (dired-diff): If file at point is a backup file,
542         use its original as the default value, and reverse the order
543         of arguments to the `diff' call.  Doc fix.  (Bug#13772)
545 2013-02-28  Michael Albinus  <michael.albinus@gmx.de>
547         * net/tramp-adb.el (tramp-adb-sdk-dir): Remove.  Replaced by ...
548         (tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
550 2013-02-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
552         Initial support for hunspell dictionaries auto-detection (Bug#13639)
554         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
555         Ask hunspell about available and default dictionaries.
556         (ispell-parse-hunspell-affix-file): Extract relevant info from
557         hunspell affix file.
558         (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
559         `ispell-dictionary-alist' entry for given dictionary after info
560         provided by `ispell-parse-hunspell-affix-file'.
561         (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
562         of parsed hunspell dicts and associated affix files.
563         (ispell-hunspell-dictionary-alist): New defvar to contain an alist
564         of parsed hunspell dicts and associated parameters.
565         (ispell-set-spellchecker-params):
566         Call `ispell-find-hunspell-dictionaries' if hunspell and not
567         previously done.
568         (ispell-start-process):
569         Call `ispell-hunspell-fill-dictionary-entry' for current
570         dictionary if it is not initialized.
572 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
574         * imenu.el: Comment nitpicks.
576 2013-02-28  Sam Steingold  <sds@gnu.org>
578         * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
579         See <http://stackoverflow.com/questions/14720205>.
581 2013-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
583         * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
584         (net-utils-mode): Use it.
585         (net-utils--revert-cmd): New var.
586         (net-utils-run-simple): Set it, and remove bogus interactive spec.
587         (traceroute): Use net-utils-run-simple.
589 2013-02-28  Glenn Morris  <rgm@gnu.org>
591         * textmodes/paragraphs.el (mark-paragraph): Doc fix.
593 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
595         * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
596         (doc-view-fallback-mode): Remove overlays here.
597         (doc-view-toggle-display): Instead of here.  Don't throw away
598         image-mode-winprops-alist.
599         (doc-view-goto-page): Don't mess with hscroll.
601 2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
603         * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
604         &optional (bug#13819).
606 2013-02-27  Michael Albinus  <michael.albinus@gmx.de>
608         * net/tramp-adb.el (tramp-adb-parse-device-names)
609         (tramp-adb-maybe-open-connection): Add timeouts.  (Bug#13299)
611 2013-02-26  Michael Albinus  <michael.albinus@gmx.de>
613         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
614         Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
615         defined.  POSIX environments fall back to the "C" locale then and
616         emit a warning, which shall be suppressed.
618 2013-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
620         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
621         (easy-mmode-set-keymap-parents): Use make-composed-keymap.
623 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
627 2013-02-25  Juri Linkov  <juri@jurta.org>
629         * replace.el (read-regexp): Let-bind `default' to the first
630         element of `defaults' if it's a list, otherwise it should be
631         a string or nil.  Let-bind `suggestions' to `defaults' if it's
632         a list, otherwise make a list with the string value.  Doc fix.
633         (Bug#13805)
635 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
637         * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
638         that match "\`\.#", to avoid compiling lock files, even if they
639         are readable (as they are on MS-Windows).
641 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
643         * files.el (basic-save-buffer): Remove redundant directory-creation.
645 2013-02-24  Jay Belanger  <jay.p.belanger@gmail.com>
647         * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
648         Add option to force `pi' to remain symbolic.
649         * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
650         (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
651         (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
652         derivatives, when necessary.
654 2013-02-23  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>
656         * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
657         (ps-mode-octal-region): Use string-make-unibyte.
659 2013-02-23  Glenn Morris  <rgm@gnu.org>
661         * emulation/viper-cmd.el (viper-submit-report):
662         * progmodes/ps-mode.el (ps-mode-maintainer-address):
663         * progmodes/vera-mode.el (vera-mode-help-address):
664         * textmodes/artist.el (artist-maintainer-address):
665         * textmodes/reftex.el (reftex-report-bug):
666         * vc/ediff-util.el (ediff-submit-report):
667         Add bug-gnu-emacs to bug report address.
669         * progmodes/simula.el (simula-mode-menu, simula-mode-map):
670         Remove bug report entries.
671         (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
673         * emacs-lisp/bytecomp.el (byte-compile-level): New.
674         (byte-compile-file, byte-compile-from-buffer):
675         Use separate input/output buffers for each level of recursive
676         byte-compile-file calls.  (Bug#13787)
678 2013-02-23  Michael Albinus  <michael.albinus@gmx.de>
680         * net/tramp.el (tramp-methods): Fix docstring.
681         (tramp-ssh-controlmaster-options): Rename it from
682         `tramp-ssh-controlmaster-template'.  Return a string.
683         (tramp-default-method): Adapt check for
684         `tramp-ssh-controlmaster-options'.
686         * net/tramp-sh.el (tramp-methods):
687         Replace `tramp-ssh-controlmaster-template' by "%c".
688         (tramp-do-copy-or-rename-file-out-of-band)
689         (tramp-maybe-open-connection): Use it in format spec.  Ensure,
690         that it is applied for the first hop only.
692 2013-02-22  Juri Linkov  <juri@jurta.org>
694         * isearch.el (isearch-lazy-highlight-new-loop):
695         Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
696         to `isearch-other-end' if it is not nil.  (Bug#13402)
698         * replace.el (replace-highlight): Let-bind `isearch-other-end'
699         to `match-beg'.
701         * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
702         Let-bind `isearch-other-end' to `start', `isearch-forward' to t
703         and `isearch-error' to nil.
705 2013-03-16  Fabián Ezequiel Gallina  <fgallina@cuca>
707         * progmodes/python.el (python-info-current-defun):
708         Enhance match-data cluttering prevention.
710 2013-02-22  Michael Albinus  <michael.albinus@gmx.de>
712         * net/tramp.el (tramp-tramp-file-p): Fix docstring.
714         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
715         Handle multibyte file names.
717 2013-02-22  Glenn Morris  <rgm@gnu.org>
719         * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
720         (sgml-transformation-function): Give it a :set function.
721         (sgml-tag): Doc fix.
723         * cmuscheme.el (scheme-buffer):
724         * progmodes/inf-lisp.el (inferior-lisp-buffer):
725         * progmodes/tcl.el (inferior-tcl-buffer):
726         * textmodes/tex-mode.el (tex-command): Doc fixes.
728         * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
730         * htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)
732 2013-02-21  Bastien Guerry  <bzg@gnu.org>
734         * cmuscheme.el (scheme-buffer): Fix docstring.  (Bug#13778)
736 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
738         * progmodes/python.el (python-info-current-defun):
739         Enhance match-data cluttering prevention.
741 2013-02-21  Glenn Morris  <rgm@gnu.org>
743         * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
744         loaded while outline-regexp is let bound.  (Bug#9584)
746 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
748         * progmodes/python.el (python-info-current-defun): Fix failed
749         defun name retrieval because of unwanted match-data cluttering.
751 2013-02-21  Michael Albinus  <michael.albinus@gmx.de>
753         * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
754         defconst.  Apply independent check for ControlPersist.
756         * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
757         temporarily, via "env".
759 2013-02-21  Glenn Morris  <rgm@gnu.org>
761         * info.el (Info-enable-edit): Remove.
762         (Info-edit): Disable it rather than using Info-enable.
763         (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
764         (Info-cease-edit): Make editing of Info files obsolete.
766         * informat.el (Info-tagify):
767         Handle buffers not visiting files.  (Bug#13763)
769 2013-02-21  Juanma Barranquero  <lekktu@gmail.com>
771         * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
773 2013-02-21  Glenn Morris  <rgm@gnu.org>
775         * files.el (basic-save-buffer): Move check for existing parent
776         directory after hooks.  (Bug#13773)
778 2013-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * simple.el (command-execute): Move from C.  Add obsolete check.
781         (extended-command-history): Move from C.
783 2013-02-20  Ulrich Müller  <ulm@gentoo.org>
785         * jka-cmpr-hook.el (jka-compr-compression-info-list)
786         (jka-compr-mode-alist-additions): Handle .txz suffix for
787         XZ-compressed tar archives (bug#13770).
789 2013-02-20  Bastien Guerry  <bzg@gnu.org>
791         * outline.el (outline-regexp, outline-heading-end-regexp):
792         Make variables, not options (bug#13731).
794 2013-02-20  Glenn Morris  <rgm@gnu.org>
796         * image.el (image-current-frame): Change from variable to function.
797         (image-show-frame): Rename from image-nth-frame.  Update callers.
798         * image-mode.el (image-multi-frame): New variable.
799         (image-mode-map, image-mode, image-goto-frame):
800         Use image-multi-frame rather than image-current-frame.
801         (image-mode, image-goto-frame): Use image-current-frame as
802         function rather than as variable.
804         * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
805         * emacs-lisp/cl-macs.el (cl--make-type-test)
806         (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
808 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
810         * net/tramp-cache.el (tramp-get-hash-table): New defun.
811         (tramp-get-file-property, tramp-set-file-property)
812         (tramp-get-connection-property, tramp-set-connection-property): Use it.
813         (tramp-flush-file-property, tramp-flush-directory-property):
814         Rename argument to KEY.
815         (tramp-flush-connection-property): Simplify a little bit.
816         (tramp-connection-property-p): New defun.
817         (top): Reapply saved values only if there isn't a corresponding
818         entry in `tramp-connection-properties'.
820 2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>
822         * progmodes/python.el (python-indent-context):
823         Fix python-info-line-ends-backslash-p call.
824         (python-info-line-ends-backslash-p)
825         (python-info-beginning-of-backslash): Respect line-number argument.
826         (python-info-current-line-comment-p):
827         Fix behavior when not at beginning-of-line.
828         (python-util-position): Remove function.
829         (python-util-goto-line): New function.
831 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
833         * eshell/em-unix.el (eshell/su): Require tramp.
834         (eshell/sudo): Require tramp.  Remove now unnecessary check.
836         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
837         `tramp-current-connection' in order to avoid an error when several
838         commands are invoked in a short time in eshell and friends.
840 2013-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
842         Cleanup some of EIEIO's namespace.
843         * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
844         Use it to define all the class-* and object-* field accessors (renamed
845         to eieio--class-* and eieio--object-*).  Update all uses.
846         (eieio--class-num-slots, eieio--object-num-slots): Rename from
847         class-num-slots and object-num-slots.
848         (eieio--check-type): New macro.
849         (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
850         (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
851         (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
852         (object-assoc-list-safe): Use it.
853         (eieio-defclass): Tighten regexp.
854         (eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
855         Remove unreachable code.
856         (object-class-fast): Declare obsolete.
857         (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
858         (eieio-object-class, eieio-object-class-name, eieio-class-parents)
859         (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
860         Rename from class-name, object-name, object-set-name-string,
861         object-class, object-class-name, class-parents, class-children,
862         class-precedence-list, class-parent; with obsolete alias.
863         (class-of, class-direct-superclasses, class-direct-subclasses):
864         Declare obsolete.
865         (eieio-defmethod): Use `memq'; remove unreachable code.
866         * emacs-lisp/eieio-base.el (eieio-persistent-read):
867         * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
868         (eieio-browse-tree, eieio-browse): Use eieio--check-type.
871 2013-02-18  Michael Heerdegen  <michael_heerdegen@web.de>
873         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
874         Use font-lock-keyword-face for macros and special forms (bug#8345).
876 2013-02-17  Didier Verna  <didier@didierverna.net>
878         * net/network-stream.el (network-stream-open-starttls):
879         Check that response to the starttls-command is non-nil.  (Bug#13706)
881 2013-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
883         * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
884         Don't assume all identifier chars have syntax word.
885         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
886         Remove bar-not-symbol.  Adjust callers.
887         (lisp-mode-variables): Don't set a font-lock-syntax-table.
889 2013-02-17  Leo Liu  <sdl.web@gmail.com>
891         * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
893 2013-02-17  Glenn Morris  <rgm@gnu.org>
895         * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
897         * image-mode.el (image-mode-map): Add image-dired menu entry.
899         * image-dired.el (tumme): Make this alias obsolete.
901 2013-02-16  Glenn Morris  <rgm@gnu.org>
903         * image.el (image-animated-types): Remove.
904         (image-multi-frame-p): Rename from image-animated-p, and generalize.
905         (image-animated-p): Make obsolete alias.
906         (image-animate, image-nth-frame, image-animate-timeout):
907         Use image-multi-frame-p.
908         (image-animate-timeout): If no delay, use image-default-frame-delay.
909         * image-mode.el (image-mode, image-toggle-animation):
910         Use image-multi-frame-p.  (Bug#763, bug#10739)
911         (image-mode): Adjust startup message for a multi-frame image.
913         * image-mode.el (image-mode-map): Give it a menu.
915 2013-02-16  Michael Albinus  <michael.albinus@gmx.de>
917         * net/tramp-cache.el (tramp-connection-properties): New customer
918         option.
919         (tramp-get-connection-property): Use it.
921         * net/tramp-compat.el (top): Require 'trampver.
923         * net/tramp-sh.el (tramp-remote-process-environment):
924         Set tramp-autoload cookie.
926 2013-02-16  Kevin Ryde  <user42@zip.com.au>
928         * info-look.el (info-lookup-select-mode): If major-mode has no
929         info-lookup-alist entry then search up derived-mode-parent (bug#8660).
931 2013-02-16  Jambunathan K  <kjambunathan@gmail.com>
933         * replace.el (read-regexp): Tighten the regexp that matches tag.
934         When tag is retrieved with `find-tag-default', use regexp that
935         matches tag at point.  Also update docstring (Bug#13687).
937 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
939         * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
940         add watch for the file, not its parent directory, since w32notify
941         sets up the watch for the directory internally.  (Bug#13725)
943 2013-02-16  Glenn Morris  <rgm@gnu.org>
945         * image.el (image-default-frame-delay): New variable.
946         (image-animated-p): Use image-default-frame-delay.
947         (image-minimum-frame-delay): New constant.
948         (image-animate-timeout): Use image-minimum-frame-delay.
950         * image.el (image-nth-frame): New, split from image-animate-timeout.
951         (image-animate-timeout): Use image-nth-frame.
952         * image-mode.el (image-goto-frame, image-next-frame)
953         (image-previous-frame): New commands.
954         (image-mode-map): Add new frame commands.
956 2013-02-16  Jonas Bernoulli  <jonas@bernoul.li>
958         * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
959         If col-desc already has help-echo, use it.  (Bug#13563)
961 2013-02-16  Glenn Morris  <rgm@gnu.org>
963         * image.el (image-current-frame): New variable.
964         (image-animate-timeout): Set image-current-frame.
965         * image-mode.el (image-mode): For animated images,
966         display a frame counter via mode-line-process.
968         * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
970 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
974 2013-02-15  Alan Mackenzie  <acm@muc.de>
976         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
977         global minor mode has been enabled, call the minor mode function
978         for a new buffer once only, after the major mode hook, whilst
979         allowing that hook explicitly to disable the minor mode.
980         (MODE-disable-in-buffer): New (generated) function.
981         (disable-MODE): New (generated) buffer local variable.
983 2013-02-15  Jambunathan K  <kjambunathan@gmail.com>
985         * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
986         `iswitchb-next-match' and `iswitchb-prev-match' resply.
987         * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
988         `ido-next-match' and `ido-prev-match' resply.
989         * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
990         Bind `C-.' and `C-,' to `icomplete-forward-completions' and
991         `icomplete-backward-completions' (Bug#13708).
993 2013-02-15  Glenn Morris  <rgm@gnu.org>
995         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
997 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
999         * net/goto-addr.el (goto-address-fontify): Add start and end args.
1000         (goto-address-fontify-region): Use them instead of narrowing, so
1001         syntax-ppss has access to the whole buffer.
1003 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1005         * progmodes/python.el: Explain how to restore "cc-mode"-like
1006         forward-sexp movement in header documentation (Bug#13642).
1007         (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1008         comments and strings (GH bug 114).
1010 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1012         * progmodes/python.el (python-info-current-defun): Fix current
1013         defun detection (Bug#13618).
1015 2013-02-15  Chong Yidong  <cyd@gnu.org>
1017         * xml.el (xml-parse-string): Fix typo in handling of bad character
1018         references.
1020 2013-02-15  Glenn Morris  <rgm@gnu.org>
1022         * play/fortune.el (fortune-compile): Simplify and fix previous change.
1024 2013-02-14  Michael Albinus  <michael.albinus@gmx.de>
1026         * net/tramp.el (tramp-debug-message):
1027         Add `tramp-condition-case-unless-debug'.
1028         (tramp-debug-on-error): New defvar.
1029         (tramp-condition-case-unless-debug): New defun.
1030         (tramp-file-name-handler): Use it.
1032 2013-02-14  Juri Linkov  <juri@jurta.org>
1034         * info.el (Info-isearch-filter): Treat non-nil values of
1035         `search-invisible' including its default value `open'
1036         like the value `t' to match hidden text.  (Bug#13402)
1038 2013-02-14  Glenn Morris  <rgm@gnu.org>
1040         * help-fns.el (find-lisp-object-file-name): Give special treatment
1041         to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)
1043 2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)
1045         * net/quickurl.el (quickurl-save-urls):
1046         Ensure quickurl-urls is not truncated on printing.  (Bug#9276)
1048 2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>
1050         * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1051         depth for unfinished percent literal.  Not using it in the caller.
1052         (ruby-move-to-block): Jump over multiline literals of all types,
1053         ignoring code-looking contents inside them.
1054         (ruby-add-log-current-method): Improve performance at the expense
1055         of accuracy.  `ruby-block-contains-point' is relatively slow, so
1056         only use it for method and singleton class blocks.
1058 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
1060         Use ControlMaster where applicable.  (Bug#13677)
1062         * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1063         replacing `tramp-detect-ssh-controlmaster'.
1064         (tramp-default-method): Use it.
1066         * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1067         [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1068         arguments.
1069         [scpc, rsyncc]: Remove methods.
1070         (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1071         and "ssh2_old".
1072         (tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
1073         (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1075 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1077         * emacs-lisp/package.el (package--initialized): Move before first use.
1079 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
1081         * icomplete.el (icomplete-hide-common-prefix):  New user option.
1082         (icomplete-first-match): New face.
1083         (icomplete-completions): Correct handling of "complete but not
1084         unique" (Bug#12638).
1086 2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
1088         * descr-text.el (describe-char): Display the script (bug#13698).
1090 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1092         * tmm.el: Use lexical-binding and current-active-maps.
1093         (tmm-menubar): Use map-keymap and pcase.
1094         (tmm--completion-table): New function.
1095         (tmm-prompt): Use it to fix the menu order.
1096         (tmm-get-keybind): Use current-active-maps.
1098 2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
1100         Add dired-hide-details-mode.  (Bug#6799)
1102         * locate.el (locate-mode): Set parent mode property to dired-mode.
1104         * find-dired.el (find-dired): Call dired-insert-set-properties on
1105         initial information line.  Set process mark on end of buffer.
1106         (find-dired-sentinel):
1107         Call dired-insert-set-properties on summary.
1109         * dired.el (dired-hide-details-hide-symlink-targets)
1110         (dired-hide-details-hide-information-lines): New options.
1111         (dired-insert-directory):
1112         Set properties after final treatment of output.
1113         (dired-insert-set-properties):
1114         Set dired-hide-details-* properties.
1115         (dired-mode-map): Bind dired-hide-details-mode.
1116         (dired-mode): Set buffer-invisibility-spec to a list.
1117         (dired-next-line): Skip hidden lines.
1118         (dired-previous-line): Use dired-next-line.
1119         (dired-hide-details-mode): New minor mode.
1120         (dired-hide-details-update-invisibility-spec): New function.
1122 2013-02-13  Glenn Morris  <rgm@gnu.org>
1124         * play/yow.el: Move to obsolete/.  (Bug#9384)
1126 2013-02-13  Juri Linkov  <juri@jurta.org>
1128         * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1129         to select `ediff-control-frame' and set input focus correctly on Xfce.
1130         (Bug#12218)
1132 2013-02-13  Juri Linkov  <juri@jurta.org>
1134         * image-mode.el (image-mode-map):
1135         * doc-view.el (doc-view-mode-map):
1136         * vc/ediff-util.el (ediff-setup-keymap):
1137         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
1139 2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
1141         * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1142         performance.  Instead of recalculating indentation fully for each
1143         line, sum up indentation depth based only on visited lines.
1144         (ruby-parse-partial): Increase the depth after "do" even when END
1145         is right after it.
1146         (ruby-parse-partial): When END is in the middle of a percent
1147         literal, increase the depth if the delimiter chars belong to the
1148         paren syntax class.
1150 2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
1152         * play/fortune.el (fortune-compile): Also make the compiled file
1153         if it does not exist at all, not just if it is old.  (Bug#5338)
1155 2013-02-13  Glenn Morris  <rgm@gnu.org>
1157         * emacs-lisp/package.el (package-menu-execute): Doc fix.
1159 2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
1161         * lisp/emacs-lisp/package.el (package-menu-execute):
1162         Add optional noquery argument.  (Bug#13625)
1164 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
1166         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1167         if DIR exists and PARENTS is non-nil.
1169 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
1171         * progmodes/js.el (js--multi-line-declaration-indentation):
1172         Silence byte-compiler warning.
1174 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
1176         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1178         * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1179         only if it doesn't exist.
1181         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1182         Set process marker.
1184 2013-02-12  Tassilo Horn  <tsdh@gnu.org>
1186         * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1187         UserInstallation when calling soffice to work around LibreOffice
1188         bug 37531.
1190 2013-02-12  Glenn Morris  <rgm@gnu.org>
1192         * files.el (basic-save-buffer):
1193         Offer to create a non-existing directory.  (Bug#3016)
1195         * calc/calc-graph.el (calc-graph-show-dumb):
1196         * calendar/calendar.el (calendar-mode-map):
1197         * cus-edit.el (custom-mode-map):
1198         * ehelp.el (electric-help-map):
1199         * emulation/vip.el (vip-mode-map):
1200         * epa.el (epa-key-list-mode-map):
1201         * info.el (Info-mode-map):
1202         * mail/rmail.el (rmail-mode-map):
1203         * mail/rmailsum.el (rmail-summary-mode-map):
1204         * man.el (Man-mode-map):
1205         * net/newst-plainview.el (newsticker-mode-map):
1206         * progmodes/cpp.el (cpp-edit-mode-map):
1207         * progmodes/grep.el (grep-mode-map):
1208         * progmodes/idlw-help.el (idlwave-help-mode-map):
1209         * simple.el (special-mode-map):
1210         * startup.el (splash-screen-keymap):
1211         * view.el (view-mode-map):
1212         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
1214 2013-02-11  Elias Pipping  <pipping@lavabit.com>
1216         * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1217         (bug#13679).
1219 2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1221         * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1223 2013-02-11  Glenn Morris  <rgm@gnu.org>
1225         * vc/diff.el (diff-use-labels): New variable.
1226         (diff-no-select): Use --label rather than -L, and first
1227         check that it is supported.  (Bug#11067)
1229         * files.el (enable-dir-local-variables): New variable.
1230         (hack-dir-local-variables): Respect enable-dir-local-variables.
1231         * tutorial.el (help-with-tutorial):
1232         Ignore directory-local variables.  (Bug#11127)
1234         * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1235         (vc-svn-global-switches): ... to here.  (Bug#13513)
1237 2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>
1239         * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1240         Handle "foo (bar, default: xxx): " prompts.
1242 2013-02-10  Chong Yidong  <cyd@gnu.org>
1244         * files.el (basic-save-buffer-1): Do not set
1245         buffer-file-coding-system-explicit (Bug#4533).
1247         * mail/emacsbug.el (report-emacs-bug): Change binding of
1248         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1250 2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>
1252         * calc/calc.el (calc-allow-units-as-numbers): New variable.
1253         * calc/calc-units.el (calc-convert-units): Use new variable.
1255 2013-02-09  Eli Zaretskii  <eliz@gnu.org>
1257         * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1259         * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1260         buffer-file-type.
1262         * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1263         (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1264         (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1265         coding-system-for-write instead.
1267         * jka-compr.el (jka-compr-write-region): Don't bind
1268         buffer-file-type.
1270         * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1271         buffer-file-type.
1273         * files.el (file-name-buffer-file-type-alist): Remove defvar.
1274         (insert-file-contents-literally): Remove reference to
1275         file-name-buffer-file-type-alist.
1277         * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1278         make-obsolete.
1279         (find-buffer-file-type-match, find-buffer-file-type): Remove.
1280         (find-buffer-file-type-coding-system): Remove references to
1281         find-buffer-file-type-match, find-buffer-file-type, and
1282         buffer-file-type.
1283         Don't put find-buffer-file-type-coding-system into
1284         file-coding-system-alist.
1285         (find-file-binary, find-file-text): Bind coding-system-for-read
1286         instead of file-name-buffer-file-type-alist.
1288 2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
1290         * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1291         converter (Bug#13622).
1292         (doc-view-unoconv-program): Make obsolete alias.
1293         (doc-view-odf->pdf-converter-program): New variable.
1294         (doc-view-odf->pdf-converter-function): New variable.
1295         (doc-view-mode-p): Use it.
1296         (doc-view-odf->pdf-converter-unoconv):
1297         Rename from `doc-view-odf->pdf-converter-unoconv'.
1298         (doc-view-odf->pdf-converter-soffice): New function.
1299         (doc-view-convert-current-doc):
1300         Use `doc-view-odf->pdf-converter-function'.
1302 2013-02-09  Chong Yidong  <cyd@gnu.org>
1304         * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1305         view-echo-area-messages (Bug#13340).
1307         * help.el (view-echo-area-messages): Use display-buffer.
1309         * dired-x.el (dired-do-run-mail): Prompt for confirmation
1310         (Bug#13561).
1312 2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1314         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1315         Eval body right away, now that we do eager macroexpansion (bug#13605).
1317         * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1318         (fundamental-mode): Use run-mode-hooks.
1320         * eshell/esh-proc.el (eshell/kill): Fix last change.
1321         * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1323 2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>
1325         * eshell/esh-proc.el (eshell/kill): Rewrite.
1327         * eshell/em-ls.el (show-almost-all): Declare.
1328         (eshell-do-ls): Add support for -A argument.
1330 2013-02-08  Jambunathan K  <kjambunathan@gmail.com>
1332         * icomplete.el (icomplete-forward-completions)
1333         (icomplete-backward-completions): Handle corner case (bug#13602).
1335 2013-02-07  Michael Albinus  <michael.albinus@gmx.de>
1337         * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1338         be nil.  Handle this.  (Bug#13636)
1340 2013-02-07  Richard Stallman  <rms@gnu.org>
1342         * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1343         `save-buffer-coding-system'.
1345 2013-02-07  Alan Mackenzie  <acm@muc.de>
1347         Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
1348         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1349         (c-parse-state-get-strategy): Don't return 'BOD any more.
1350         (c-append-lower-brace-pair-to-state-cache):
1351         Extra parameter HERE instead of narrowing.
1352         Widen to top of buffer before searching backwards for a brace pair.
1353         (c-state-push-any-brace-pair): Add HERE parameter to function call.
1354         (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1355         Narrow to parameter HERE, in place of being called narrowed.
1356         (c-remove-stale-state-cache): Extra parameter HERE in place of
1357         narrowing.  Check there's an open brace in the cache before
1358         searching for its match.
1359         (c-invalidate-state-cache-1): Add HERE parameter to function call.
1360         (c-parse-state-1): Don't narrow here for 'forward strategy,
1361         instead passing extra parameter HERE to several functions.
1362         Remove 'BOD strategy.
1364 2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)
1366         * emacs-lisp/package.el (describe-package-1): Tell what archive is
1367         used to install the package.
1369 2013-02-06  Glenn Morris  <rgm@gnu.org>
1371         * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1372         if we can't get user input.  (Bug#6567)
1374         * startup.el (command-line): If simple.el is missing,
1375         test and warn about for some possible causes.
1377 2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
1379         * cus-start.el (all): Add ns-use-native-fullscreen.
1381 2013-02-05  Glenn Morris  <rgm@gnu.org>
1383         * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1385         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1386         Fix directory creation in fallback case.
1388 2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1390         * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1391         (vc-update-change-log): Use dolist.
1393 2013-02-04  Chong Yidong  <cyd@gnu.org>
1395         * thingatpt.el: Rewrite the URL detection routines, absorbing some
1396         code from ffap.el.
1397         (thing-at-point-beginning-of-url-regexp): New var.
1398         (thing-at-point-uri-schemes): Update list of URI schemes.
1399         (thing-at-point-url-regexp): Variable deleted.
1400         (thing-at-point-markedup-url-regexp): Disallow newlines.
1401         (thing-at-point-newsgroup-regexp)
1402         (thing-at-point-newsgroup-heads)
1403         (thing-at-point-default-mail-uri-scheme): New variables.
1404         (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
1405         method to find the possible bounds of the URI at point.
1406         New optional argument to find ill-formed URIs.
1407         (thing-at-point-url-at-point): Rewrite.  New arguments for finding
1408         ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
1409         the scheme-adding heuristics from ffap-url-at-point.
1410         (thing-at-point--bounds-of-well-formed-url): New function.
1411         Do parens matching to decide whether to include parens in the URI
1412         (Bug#9153).
1414         * ffap.el: Require thingatpt.
1415         (ffap-url-at-point): Delegate URI detection to thing-at-point.
1416         All URI-valid characters are now recognized (Bug#5673).
1417         (ffap-string-at-point): Use use-region-p.
1418         (ffap-url-regexp): Extra character is handled by thing-at-point.
1419         (ffap-string-at-point-mode-alist): Allow parentheses.
1420         (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1421         Convert to aliases; code moved to thingatpt.el.
1422         (ffap-gnus-hook): Use setq-local.
1424 2013-02-04  Glenn Morris  <rgm@gnu.org>
1426         * emacs-lisp/ert.el (ert--explain-format-atom):
1427         Don't try to print non-characters as characters.  (Bug#13543)
1429 2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
1431         * net/tramp.el (tramp-debug-message): Extend function exclude list.
1432         (tramp-backtrace): New defun.
1433         (tramp-handle-insert-file-contents): Use `visit' when inserting
1434         the local copy.
1436         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1437         Use `remote-file-name-inhibit-cache'.
1439 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1441         * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1442         (bug#13614).
1444         * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1445         current-load-list (bug#13366).
1447 2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
1449         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1450         Identify g++ template instantiation trace.  (Bug#12287)
1451         (compilation-mode-hook, compilation-start-hook)
1452         (compilation-window-height): Simplify docstrings.  (Bug#13379)
1454 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1456         * mouse.el (mouse-drag-track): Always deactivate the mark before
1457         running the final event's command since that command is in charge of
1458         activating the mark if needed (bug#13523).
1460 2013-02-02  Juri Linkov  <juri@jurta.org>
1462         * replace.el (perform-replace): Move let-bindings of isearch-*
1463         variables deeper to the loop that searches for the next match.
1464         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1465         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1466         (Bug#13579)
1468         * isearch.el (isearch-search-fun-default): Check for null
1469         first element of isearch-cmds as a precaution when it's used
1470         with inactive isearch.
1472 2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
1474         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1475         error when buffer in question is narrowed so position 1 is out of
1476         visible part.
1478 2013-02-02  Glenn Morris  <rgm@gnu.org>
1480         * textmodes/remember.el (remember-clipboard): Doc fix.
1482 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1485         properties (bug#13179).
1487 2013-02-02  Juri Linkov  <juri@jurta.org>
1489         * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1490         instead of hard-coded default face `match'.  (Bug#9438)
1492 2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
1494         * vc/vc-arch.el (vc-arch-registered):
1495         * vc/vc-bzr.el (vc-bzr-registered):
1496         * vc/vc-cvs.el (vc-cvs-registered):
1497         * vc/vc-git.el (vc-git-registered):
1498         * vc/vc-hg.el (vc-hg-registered):
1499         * vc/vc-mtn.el (vc-mtn-registered):
1500         * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1501         (Bug#13139)
1503         * info.el (Info-next-reference, Info-prev-reference): Add numeric
1504         prefix argument.  (Bug#11656)
1506 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1508         * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1510 2013-02-01  Glenn Morris  <rgm@gnu.org>
1512         * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1513         if the backend is known not to support it.
1515         * imenu.el (imenu-default-create-index-function):
1516         Tweak infinite loop test to check for forward motion as well as none.
1518 2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1520         * net/soap-client.el (soap-invoke): Encode the string for
1521         `url-request-data' as UTF-8.
1522         Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1524 2013-02-01  Glenn Morris  <rgm@gnu.org>
1526         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1528         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1530 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
1532         * net/tramp.el (tramp-tramp-file-p): Comment check for
1533         `string-as-unibyte'.  The function does not exist on XEmacs, and
1534         likely we need another approach.
1536         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1537         `tramp-gw-*' variables are bound.
1539 2013-01-31  Glenn Morris  <rgm@gnu.org>
1541         * files.el (basic-save-buffer-2): Choose coding system for
1542         writing the file before backing it up, to reduce delay between
1543         backing up and writing the new version.  (Bug#13522)
1545 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
1547         * simple.el (cycle-spacing): New command.
1548         (just-one-space): Use it.
1550 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1552         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
1553         (opascal-newline-always-indents): Remove custom.
1554         (opascal-tab, opascal-newline): Remove commands.
1555         (opascal-new-comment-line): Insert "\n" instead of calling newline.
1556         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1557         (opascal-save-match-data): Remove, use save-match-data instead.
1558         (opascal-save-state): Use with-silent-modifications.
1560         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1561         (bug#13585).
1563 2013-01-30  Juri Linkov  <juri@jurta.org>
1565         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1566         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
1567         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1569 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1571         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1572         column if we're just deleting the backslashes.
1573         (makefile-fill-paragraph): Use eolp.
1575 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
1577         * autorevert.el (auto-revert-use-notify): Fix docstring.
1579 2013-01-30  Leo Liu  <sdl.web@gmail.com>
1581         * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1583 2013-01-30  Glenn Morris  <rgm@gnu.org>
1585         * mouse.el (mouse-drag-line): Avoid pushing same event onto
1586         unread-command-events twice in some cases.  This tries to implement
1587         the 2012-07-26 changes in a different way.  (Bug#13560)
1589 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1591         * progmodes/python.el
1592         (python-pdbtrack-comint-output-filter-function): Enhancements on
1593         stacktrace detection.  (thanks @gnovak)
1595 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1598         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1599         Use defvar-local.
1600         (jit-lock-register): Use setq-local.
1602 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
1604         * calc-units.el (math-default-units-table): Remove initial value.
1605         (calc-convert-units): Treat expressions where all the units cancel as
1606         if they didn't have units.
1608 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
1610         * net/tramp.el (tramp-process-connection-type): Fix docstring.
1611         (tramp-completion-reread-directory-timeout): Fix type.
1612         (tramp-connection-min-time-diff): New defcustom.
1614         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1616 2013-01-30  Glenn Morris  <rgm@gnu.org>
1618         * imenu.el (imenu-default-create-index-function):
1619         Put back a version of the infinite loop test removed 2013-01-23.
1621 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1623         * progmodes/python.el (python-shell-parse-command):
1624         Find python-shell-interpreter with modified environment.
1626 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1628         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1630 2013-01-29  Alan Mackenzie  <acm@muc.de>
1632         Amend to fontify /regexp/s in actions correctly.
1633         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1634         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1635         are no longer included.
1636         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1637         What used to be these variables without "-line" in the name.
1638         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
1639         (c-awk-non-arith-op-bra-re): Now also matches {.
1640         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1641         "return", and "case".
1642         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1643         by /.
1644         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1645         (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1647 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
1649         * autorevert.el (auto-revert-use-notify):
1650         Use `custom-initialize-default' for initialization.  (Bug#13583)
1652         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1654         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1655         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
1656         in `tramp-file-name-handler'.
1657         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1658         compatibility.
1659         (tramp-compute-multi-hops): Check, whether
1660         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1662 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1664         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1665         (bug#13297).
1667 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
1669         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1670         checks made superfluous by the \_< operator.
1671         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1672         temporarily) broken indentation.
1673         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1674         Highlight nested constants, too.  \_< broke that.
1676 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1678         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1679         instead of "\\b".
1681 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
1683         * autorevert.el (auto-revert-handler): Notifications which result
1684         from a saved file shall not be taken into account.  (Bug#13557)
1686 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
1688         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1689         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1690         (lisp-mode): Pass t for it.  (Bug#13556)
1692 2013-01-25  Alan Mackenzie  <acm@muc.de>
1694         AWK Mode: Fix indentation bug at top level.  Bug #12274.
1696         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1697         just before CASE 5D.
1699 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
1701         * net/socks.el (socks-nslookup-host): Use string-to-number.
1703 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
1705         * autorevert.el (auto-revert-remote-files)
1706         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1707         (auto-revert-notify-enabled, auto-revert-use-notify)
1708         (auto-revert-notify-watch-descriptor-hash-list)
1709         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1710         (auto-revert-notify-event-descriptor)
1711         (auto-revert-notify-event-action)
1712         (auto-revert-notify-event-file-name): Doc fix.
1713         (global-auto-revert-mode): Reorder checks.
1714         (auto-revert-notify-rm-watch): Respect changed values of
1715         `auto-revert-notify-watch-descriptor-hash-list'.
1716         (auto-revert-notify-add-watch): Check for
1717         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
1718         `inotify-add-watch'.  Watch `default-directory' instead of
1719         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
1720         has a changed meaning now.  (Bug#13540)
1721         (auto-revert-notify-handler): Change implementation wrt events
1722         returning from a directory.
1723         (auto-revert-handler): Reorder implementation for checks of remote
1724         files.
1725         (auto-revert-buffers): Fix parentheses error.
1727 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
1729         * progmodes/python.el: Enhancements to header documentation about
1730         skeletons.  (Bug#5716)
1732         * imenu.el (imenu-default-create-index-function): Remove useless
1733         infinite loop check.  (Bug#13438)
1735 2013-01-25  Alan Mackenzie  <acm@muc.de>
1737         Fix a bug in the state cache mechanism.  Refactor this a bit.
1739         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1740         `cache-pos' element from the return value.
1741         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1742         buffer to enable proper searching from beyond HERE.  Amend the
1743         test for detecting the sought brace pair.  Amend the value written
1744         to the "brace desert cache" when the brace isn't found.
1745         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1746         and several other variables analogously.
1747         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1748         parameter to a locally calculated variable.
1749         (c-parse-state-1): Change the calling conventions to the two
1750         defuns involving `cache-pos'.
1752 2013-01-25  Chong Yidong  <cyd@gnu.org>
1754         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1756 2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
1758         * paren.el (show-paren-function): Make sure to set 'priority and
1759         'face only if the overlay does exist.
1761 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
1763         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1765         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1766         basic attributes.
1767         (tramp-sh-handle-set-file-acl): Improve error checking.
1769 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
1771         * doc-view.el (doc-view-display): Force mode line update until all
1772         document is converted.  Suggested by Stefan Monnier (Bug#13164).
1774 2013-01-23  Bastien Guerry  <bzg@gnu.org>
1776         * paren.el (show-paren-function): Make sure an overlay exists
1777         before trying to delete it.  Also use `pos' as a position only
1778         when it is an integer.
1780 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
1782         * play/gametree.el (gametree-break-line-here): Use point-marker.
1784 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
1786         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1787         Mark descriptive parts with `display' property.
1789 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1791         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1792         New variable to map standard dict names to hunspell ones.
1793         (ispell-set-spellchecker-params): Make sure specific dict names
1794         are used for standard dicts with hunspell.
1796 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
1798         * textmodes/reftex-cite.el (reftex-format-citation): Add format
1799         chars for note (%N) and url (%U).
1800         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1802 2013-01-21  Juri Linkov  <juri@jurta.org>
1804         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1805         in addition to existing separate binding `meta f10' in `global-map'.
1806         (Bug#13484)
1808 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
1810         Improve XEmacs compatibility.
1812         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1814         * net/tramp-adb.el (top): Require `time-date'.
1815         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1816         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1817         Use `tramp-file-name-handler'.
1818         (tramp-adb-maybe-open-connection):
1819         Use `tramp-compat-set-process-query-on-exit-flag'.
1821         * net/tramp-sh.el (tramp-sh-handle-file-acl):
1822         Use `tramp-compat-funcall'.
1824         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1825         `tramp-compat-funcall'.
1827 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
1829         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1830         reimplementation using "adb shell command ..." instead of running
1831         remote shell interactively.
1833 2013-01-20  Glenn Morris  <rgm@gnu.org>
1835         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1836         Add native profiler menu entries.
1838         * profiler.el (profiler-running-p): New function.
1839         (profiler-cpu-profile): Use profiler-running-p.
1840         (profiler-report-mode-map): Add some more menu entries.
1842 2013-01-19  Glenn Morris  <rgm@gnu.org>
1844         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1845         fixes 2012-12-07 change.  (Bug#13499)
1847 2013-01-19  Leo Liu  <sdl.web@gmail.com>
1849         * dired.el (dired-get-marked-files): Prune erroneous values due to
1850         last change.  (Bug#13152)
1852 2013-01-19  Glenn Morris  <rgm@gnu.org>
1854         * progmodes/etags.el (tags-table-check-computed-list):
1855         Preserve point in tags buffer.  (Bug#13412)
1857         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1859 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
1860             Chong Yidong  <cyd@gnu.org>
1862         * image-mode.el (image-next-file, image-previous-file):
1863         New commands (Bug#8453).
1864         (image-mode-map): Bind them to n and p.
1865         (image-mode--images-in-directory): New helper function.
1867 2013-01-19  Chong Yidong  <cyd@gnu.org>
1869         * image-mode.el (image-mode-fit-frame): Add a frame argument.
1870         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
1871         save and restore the old window configuration.
1873 2013-01-18  Leo Liu  <sdl.web@gmail.com>
1875         * progmodes/js.el: Tweak autoload cookie for alias.
1877 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
1879         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1880         buffer local, again.  This was lost with the fix on 2013-01-12.
1882 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
1884         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1885         order to support several eshell buffers in parallel.
1887 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
1889         * autorevert.el (auto-revert-use-notify): In the :set function, do
1890         not modify `kill-buffer-hook'.
1891         (auto-revert-notify-rm-watch):
1892         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1893         (auto-revert-notify-add-watch): Do not call
1894         `auto-revert-notify-rm-watch', but add it to a buffer local
1895         `kill-buffer-hook'.
1897 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1900         call to `eval' rather than a backquoted lambda.
1902 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1904         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1905         to return an explicit nil.
1906         (advice--remove-function): Change accordingly.
1908         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1909         the use of nadvice.el.
1911         * progmodes/which-func.el (which-function): Silence imenu errors
1912         (bug#13433).
1914 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
1916         * progmodes/sql.el: (sql-imenu-generic-expression):
1917         (sql-mode-font-lock-object-name): Match schema qualified names.
1918         (sql-connect): Use string keys.
1919         (sql-product-interactive): Wait for interpreter prompt.
1920         (sql-comint-oracle): Set process coding based on NLS_LANG.
1922 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
1924         * progmodes/sql.el (sql-output-to-send): Remove, unused.
1925         (sql-interactive-remove-continuation-prompt):
1926         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1928 2013-01-14  Leo Liu  <sdl.web@gmail.com>
1930         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1931         (Bug#13420)
1933 2013-01-14  Glenn Morris  <rgm@gnu.org>
1935         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1936         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
1938 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1940         * progmodes/python.el (python-nav-end-of-statement):
1941         Fix cornercase when handling multiline strings.
1943 2013-01-13  Richard Stallman  <rms@gnu.org>
1945         * mail/sendmail.el (mail-position-on-field): Add doc string.
1947         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1948         Get current message boundaries and pass them to
1949         message-forward-make-body-mime.  Minor style changes.
1951 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
1953         * cus-start.el (all): Avoid warnings about
1954         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1956 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
1958         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1960 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         * jit-lock.el (jit-lock-debug-mode): New minor mode.
1963         (jit-lock--debug-fontifying): New var.
1964         (jit-lock--debug-fontify): New function.
1965         * subr.el (condition-case-unless-debug): Don't prevent catching the
1966         error, just let the debbugger run.
1967         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1968         timer code and don't drop errors silently.
1970 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
1972         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1973         `permanent-local' property.
1974         (auto-revert-notify-handler): Use `file-equal-p'.
1976 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
1978         * autorevert.el (auto-revert-notify-handler): Fix filtering of
1979         file notification by ACTION. For filtering by file name, compare
1980         only the non-directory part of the file name.
1982 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1984         * autorevert.el: Use cl-lib instead of cl.
1986         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1987         (vc-bzr-checkin): Use it.
1988         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1989         will preserve match-data.
1991 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
1993         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1994         (js--declaration-keyword-re): New var.
1995         (js--multi-line-declaration-indentation): New function.
1996         (js--proper-indentation): Use it.
1998 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
2000         * calc/calc.el (calc-highlight-selections-with-faces)
2001          (calc-dispatch):
2002         * comint.el (comint-history-isearch-message):
2003         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2004         * ffap.el (ffap-string-at-point-region, ffap-next)
2005         (ffap-string-at-point, ffap-string-around)
2006         (ffap-copy-string-as-kill, ffap-highlight-overlay)
2007         (ffap-literally):
2008         * font-lock.el (font-lock-keywords-alist)
2009         (font-lock-removed-keywords-alist):
2010         * help-mode.el (help-xref-symbol-regexp):
2011         * info.el (Info-find-emacs-command-nodes):
2012         * international/mule.el (add-to-coding-system-list):
2013         * isearch.el (isearch-message-function, isearch-fail-pos):
2014         * misearch.el (multi-isearch-next-buffer-function):
2015         * newcomment.el (comment-box):
2016         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2017         (pr-setting-database):
2018         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2019         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2020         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2021         (pike-font-lock-keywords-3):
2022         * progmodes/compile.el (compile):
2023         * progmodes/etags.el (tags-table-files)
2024         (tags-table-files-function, tags-included-tables-function):
2025         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2026         (gdb-restore-windows):
2027         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2028         (ps-n-up-filling-database):
2029         * server.el (server-buffer, server-log):
2030         * simple.el (newline, delete-backward-char, delete-forward-char)
2031         (minibuffer-history-isearch-message, kill-line, track-eol)
2032         (temporary-goal-column):
2033         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2034         (flyspell-default-deplacement-commands):
2035         * textmodes/ispell.el (ispell-accept-output):
2036         * textmodes/sgml-mode.el (html-tag-help):
2037         * vc/compare-w.el (compare-ignore-whitespace)
2038         (compare-ignore-case, compare-windows-dehighlight):
2039         * vc/diff.el (diff):
2040         * whitespace.el (whitespace-point)
2041         (whitespace-font-lock-refontify, whitespace-bob-marker)
2042         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2044 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
2046         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2047         (auto-revert-notify-rm-watch): Ignore errors.
2048         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
2049         inotify, and '(size last-write-time) for w32notify.
2050         Set buffer-local `auto-revert-use-notify' to nil when adding a file
2051         watch fails - this is a fallback to the file modification check.
2052         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2053         (auto-revert-notify-event-action)
2054         (auto-revert-notify-event-file-name): New defuns.
2055         (auto-revert-notify-handler): Use them.  Implement first
2056         plausibility checks.
2057         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2059 2013-01-11  Julien Danjou  <julien@danjou.info>
2061         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2062         max are almost equal. Also return the correct value for V which is
2063         already between 0 and 1.
2065 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
2067         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2069 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
2071         * autorevert.el (auto-revert-notify-rm-watch)
2072         (auto-revert-notify-add-watch): Fix typos in w32notify function
2073         names.
2075 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
2077         * autorevert.el (auto-revert-notify-enabled): Move up.
2078         (auto-revert-use-notify): New defcustom.
2079         (auto-revert-mode, global-auto-revert-mode)
2080         (auto-revert-notify-add-watch, auto-revert-handler)
2081         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2082         `auto-revert-notify-enabled'.
2084 2013-01-10  Elias Pipping  <pipping@exherbo.org>
2086         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2087         * doc-view.el (doc-view-document->bitmap):
2088         Use doc-view-single-page-converter-function instead of
2089         single-page-converter arg; adjust callers.
2091 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
2093         * progmodes/which-func.el (which-function): Understand Semantic's use
2094         of overlays in imenu--index-alist.
2096 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
2098         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
2099         (Man-man-k-use-anchor): New var.
2100         (Man-parse-man-k): New function.
2101         (Man-completion-table): Use it.
2102         (man): Flush the completion cache between uses.
2104 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
2106         * autorevert.el: Add file watch support.
2107         (auto-revert-notify-enabled): New defconst.
2108         (auto-revert-notify-watch-descriptor-hash-list)
2109         (auto-revert-notify-watch-descriptor)
2110         (auto-revert-notify-modified-p): New defvars.
2111         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2112         (auto-revert-notify-handler): New defuns.
2113         (auto-revert-mode, global-auto-revert-mode): Remove file watches
2114         when mode is disabled.
2115         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2116         (auto-revert-buffers): Add file watches for active buffers.
2118 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
2120         * cus-start.el (toplevel): Only allow float values for
2121         scroll-up-aggressively and scroll-down-aggressively.
2122         Allow any number for line-spacing.
2124 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2126         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2127         (doc-view-pdf->png-converter-function): Use mupdf if available.
2128         (doc-view-djvu->png-converter-function)
2129         (doc-view-ps->png-converter-function): Remove.
2130         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2131         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2132         (doc-view-already-converted-p): Adjust accordingly.
2133         (doc-view-mode-p): Simplify.
2134         (doc-view-enlarge): Use setq-local.
2135         (doc-view-pdf->png-converter-ghostscript)
2136         (doc-view-djvu->png-converter-ddjvu)
2137         (doc-view-pdf->png-converter-mupdf): Rework to call
2138         doc-view-start-process directly.
2139         (doc-view-pdf/ps->png): Simplify accordingly.
2140         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2141         (doc-view-document->bitmap): Rename from doc-view-document->png.
2142         (doc-view-convert-current-doc): Merge pdf and djvu cases.
2143         (doc-view-set-slice-from-bounding-box): Fix completion table.
2144         (doc-view-mode): Use add-hook for after-revert-hook.
2146 2013-01-10  Glenn Morris  <rgm@gnu.org>
2148         * emacs-lisp/authors.el (authors-ignored-files)
2149         (authors-valid-file-names, authors-renamed-files-alist):
2150         Add some more entries.
2152 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2154         * image-mode.el (image-mode-winprops): Don't throw away the fallback
2155         `t' pseudo-window entry.
2157 2013-01-10  Alan Mackenzie  <acm@muc.de>
2159         Fix bugs in the c-parse-state mechanism.  Reuse some markers
2160         instead of continually generating new ones.
2162         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2163         (c-state-old-cpp-end-marker): New variables.
2164         (c-append-lower-brace-pair-to-state-cache): Start a backward
2165         search for "}" definitively outside CPP constructs.
2166         (c-remove-stale-state-cache): Inform the caller of a need to
2167         search back for a brace pair in certain circumstances.
2168         (c-state-maybe-marker): New macro.
2169         (c-parse-state): Reuse markers when appropriate.
2171 2013-01-10  Glenn Morris  <rgm@gnu.org>
2173         * simple.el (execute-extended-command): Doc fix.
2174         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
2176 2013-01-10  Chong Yidong  <cyd@gnu.org>
2178         * faces.el (read-face-name): Doc fix.
2180 2013-01-10  Roland Winkler  <winkler@gnu.org>
2182         * emacs-lisp/crm.el: Allow any regexp for separators.
2183         (crm-default-separator): All spaces around the default comma separator.
2184         (crm--completion-command): New macro.
2185         (crm-completion-help, crm-complete, crm-complete-word): Use it.
2186         (crm-complete-and-exit): Handle non-single-char separators.
2188 2013-01-09  Elias Pipping  <pipping@lavabit.com>
2190         * doc-view.el: Add support for DjVu (bug#13164).
2191         (doc-view-djvu->png-converter-function): New config var.
2192         (doc-view-single-page-converter-function, doc-view--image-type)
2193         (doc-view--image-file-extension): New vars.
2194         (doc-view-mode): Initialize them.
2195         (doc-view-goto-page): Use them.
2196         (doc-view-mode-p): Add support for ddjvu.
2197         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2198         (doc-view-set-up-single-converter): New funs.
2199         (doc-view-pdf/ps->png): Extend for djvu.
2200         (doc-view-document->png): Rename from doc-view-pdf->png.
2201         (doc-view-convert-current-doc): Handle djvu.
2202         (doc-view-insert-image, doc-view-display)
2203         (doc-view-already-converted-p): Don't hardcode png.
2204         (doc-view-set-doc-type): Recognize djvu docs.
2206 2013-01-09  Elias Pipping  <pipping@lavabit.com>
2208         * doc-view.el: Add support for mupdf converter (bug#13164).
2209         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2210         (doc-view-ps->png-converter-function): New config vars.
2211         (doc-view-pdf->png-converter-ghostscript)
2212         (doc-view-ps->png-converter-ghostscript)
2213         (doc-view-pdf->png-converter-mupdf): New functions.
2214         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2216 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
2218         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2219         first in session cache: When `tramp-own-remote-path' is in
2220         `tramp-remote-path', the remote path is only set in the session
2221         cache.
2223 2013-01-09  Glenn Morris  <rgm@gnu.org>
2225         * emacs-lisp/trace.el (trace-function-foreground)
2226         (trace-function-background): Doc fix.
2228 2013-01-09  Juri Linkov  <juri@jurta.org>
2230         * international/mule-cmds.el (read-char-by-name): Move let-binding
2231         of completion-ignore-case around completing-read to fix regression
2232         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2233         `string-match-p' using the nil value of `case-fold-search' and
2234         `completion-ignore-case' in `completion-pcm--all-completions'.
2235         (Bug#12615).
2237 2013-01-09  Glenn Morris  <rgm@gnu.org>
2239         * progmodes/compile.el (compilation-parse-errors):
2240         Fix typo.  (Bug#13369)
2242 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
2244         * comint.el (comint-send-input): Check size of buffer before
2245         waiting for process output, in case already accepted.  (Bug#13290)
2247 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
2249         Spelling fixes.
2250         * net/tramp-adb.el (tramp-adb-get-toolbox):
2251         Fix misspelling of 'unknown'.
2253 2013-01-08  Juri Linkov  <juri@jurta.org>
2255         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2256         * progmodes/flymake.el (flymake-errline, flymake-warnline):
2257         Use underline style wave on terminals that support it.  (Bug#13000)
2259 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2261         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2262         the predicate returns nil.
2264         * simple.el: Use lexical-binding.
2265         (primitive-undo): Use pcase.
2266         (minibuffer-history-isearch-push-state): Use a closure.
2268 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2270         * simple.el (primitive-undo): Move from undo.c.
2272 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2274         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2275         (cvs-mode-remove-handled): Use it (bug#13380).
2277         * emacs-lisp/nadvice.el (advice--tweak): New function.
2278         (advice--remove-function, advice--subst-main): Use it.
2280         * emacs-lisp/advice.el: Update commentary.
2282 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
2284         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2285         Remove spurious entry.
2287 2013-01-08  Glenn Morris  <rgm@gnu.org>
2289         * net/tramp.el (tramp-default-host-alist): Add :version.
2291 2013-01-08  Juri Linkov  <juri@jurta.org>
2293         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2294         single completion.  (Bug#12456)
2295         (info--manual-names): Expand node completions into an explicit list
2296         before appending it to another list.  Filter out internal buffers
2297         with the leading space in the buffer name.  (Bug#10771)
2299 2013-01-08  Juri Linkov  <juri@jurta.org>
2301         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2302         that defaults to the Top node.
2303         (Info-goto-node, Info-read-node-name): Doc fix to mention that
2304         the short format (FILENAME) goes to the Top node.
2305         (Info-build-node-completions): Rename arg `file' to `filename'.
2306         (Bug#13365)
2308 2013-01-07  Bastien Guerry  <bzg@gnu.org>
2310         * menu-bar.el (menu-bar-search-documentation-menu):
2311         Use `apropos-user-option' and fix the help message.
2313 2013-01-07  Bastien Guerry  <bzg@gnu.org>
2315         * apropos.el (apropos-do-all): Update docstring.
2316         (apropos-user-option-button): New face.
2317         (apropos-user-option): Rename from `apropos-variable' and update
2318         docstring.
2319         (apropos-variable): Rewrite, now show all variables by default.
2320         (apropos-print): Mention "User option" instead of "Variable" when
2321         printing doc for user options.  (Bug#13276)
2323 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
2325         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2326         Handle filename correctly, when parsing "source -> target" symlink
2327         output.
2328         (tramp-adb-handle-set-file-times): New defun.
2330 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2333         advice list when the interactive-spec of ad-Advice-* changes.
2335 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2337         * wid-edit.el (widget-default-get): Work for inlined elements.
2338         (Bug#12670)
2340 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
2342         * net/tramp.el (tramp-default-host-alist): New defcustom.
2343         (tramp-find-host): Use it.
2344         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
2345         `eshell-directory-change-hook'.
2347         * net/tramp-adb.el (top): Add adb specific entry in
2348         `tramp-default-host-alist'.
2349         (tramp-adb-file-name-host): Remove function.
2350         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2351         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2353         * net/tramp-sh.el: Move eshell integration code to tramp.el.
2355 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
2357         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2359 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
2361         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2362         consist of more than one digit.
2363         (tramp-adb-file-name-handler-alist):
2364         Use `tramp-handle-file-exists-p' consistently.
2365         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2366         (tramp-adb-handle-file-exists-p): Remove function.
2367         (tramp-adb-file-name-host): New defun.
2368         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2369         Use it.
2370         (tramp-adb-maybe-open-connection): Set "remote-path" property.
2372 2013-01-06  Chong Yidong  <cyd@gnu.org>
2374         * vc/vc.el (vc-next-action): Detect buffer modifications
2375         conflicting with locking VCS operation (Bug#11490).
2377         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2379 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
2381         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2382         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2384 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
2386         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2387         parsing of ls output using regular expression (handle filenames
2388         with spaces).  Use virtual device number.
2389         (tramp-do-parse-file-attributes-with-ls): New defun (Code
2390         cleanup).
2392 2013-01-04  Daiki Ueno  <ueno@gnu.org>
2394         * epg.el: Silence byte-compiler warnings.
2395         (epg--start): Use delete-char instead of delete-backward-char.
2396         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2398 2013-01-04  Daiki Ueno  <ueno@gnu.org>
2400         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2401         Suggested by Eli Zaretskii  <eliz@gnu.org>.
2403 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
2405         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2406         non-negative integers.  Otherwise, the default values are used.
2407         (tramp-convert-file-attributes): Convert uid and gid to integers.
2409 2013-01-04  Glenn Morris  <rgm@gnu.org>
2411         * term.el (term-handle-colors-array): Ensure face attributes
2412         are fully specified, not nil.  (Bug#13337)
2414         * term.el (term-default-fg-color, term-default-bg-color):
2415         Fix custom type.
2417         * progmodes/etags.el (tags-compression-info-list): Doc fix.
2418         (tag-find-file-of-tag-noselect): Check auto-compression-mode
2419         rather than 'jka-compr being loaded.  (Bug#13338)
2421 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
2423         * icomplete.el (icomplete-completions):
2424         Honor icomplete-prospects-height once more following
2425         2012-11-29 changes.  (Bug#13224)
2427 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2429         * subr.el (internal--called-interactively-p--get-frame): Find aliases
2430         of called-interactively-p as well (bug#13237).
2432         * view.el (view--enable, view--disable): Rename from view-mode-enable
2433         and view-mode-disable and assume it's called from view-mode.
2434         (view-mode-enable, view-mode-disable): Redefine as obsolete
2435         compatibility layer above view-mode.
2436         (view-mode-enter): Call `view-mode'.
2438         * files.el (after-find-file): Call `view-mode'.
2440         * doc-view.el (doc-view-scale-internally): New var.
2441         (doc-view-enlarge, doc-view-insert-image): Obey it.
2443 2013-01-03  Daiki Ueno  <ueno@gnu.org>
2445         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2446         exist.  (Bug#13344)
2448 2013-01-03  Glenn Morris  <rgm@gnu.org>
2450         * mail/rmail.el (rmail-set-header-1): Ignore case.
2451         Handle multi-line headers.  (Bug#13330)
2453         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2454         Handle paragraph starting at beginning of buffer.
2456         * subr.el (eval-after-load): Don't purecopy the form, so that it
2457         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
2459         * emacs-lisp/byte-run.el (defun): Place cl declarations
2460         after any interactive spec.  (Bug#13265)
2462 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
2464         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2465         defun.  Don't check for DECL if DOCSTRING isn't a string.
2466         (defun): Likewise.
2468 2013-01-02  Glenn Morris  <rgm@gnu.org>
2470         * eshell/em-cmpl.el (eshell-pcomplete):
2471         More thoroughly imitate pcomplete.  (Bug#13293)
2473         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
2474         Return nil for empty path elements.  (Bug#13296)
2476 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
2478         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2479         order to improve efficiency (Based on Daniel Colascione's
2480         <dancol@dancol.org> patch).  (Bug#13182)
2482 2013-01-02  Glenn Morris  <rgm@gnu.org>
2484         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2486 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
2488         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2489         neither DOCSTRING nor DECL was given.  (Bug#13316)
2491 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
2493         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2494         `error' call.
2495         (tramp-do-copy-or-rename-file): Ignore errors when calling
2496         `set-file-extended-attributes'.
2498         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2499         Add handler for `file-acl'.
2500         (tramp-smb-handle-file-acl): New defun.
2502 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
2504         * calc/README: Mention ISO 8601 week-numbering dates.
2506 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
2508         * view.el (view-mode-enable): New argument run-view-mode-hook.
2509         Run view-mode-hook only when it's non-nil (Bug#13315).
2510         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2511         argument t.
2513 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
2515         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2516         (No device connected, invalid device name). (Bug #13299)
2518 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
2520         * window.el (window-resizable--p): Rename to window-resizable-p.
2521         (window-resize-no-error): New function.
2523         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2524         broken in fix from 2012-12-28.
2526 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         * subr.el (special-form-p): Don't signal errors on undef aliases.
2530 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
2532         * calc/calc-forms.el (math-parse-date): Try using
2533         `math-parse-iso-date' when it looks like it might be needed.
2534         Allow times of 24:00.
2535         (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
2536         of 24:00.
2538 2012-12-30  Glenn Morris  <rgm@gnu.org>
2540         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2541         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
2542         (rmail-summary-displayed, rmail-summary): Declare.
2543         (mairix-rmail-display): Just require rmail.
2545 2012-12-30  Chong Yidong  <cyd@gnu.org>
2547         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2548         check for the tarball contents.
2550 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
2552         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2553         tarfile content listings (Bug#13136).
2555 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
2557         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2558         Insert the undecoded text of the message being forwarded.  (Bug#9521)
2560 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
2562         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2563         integers, if they are real numbers.  (Bug#13282)
2565         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2566         Return `t' on success.
2568         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2569         Add handler for `set-file-selinux-context'.
2571 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
2573         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2574         (tramp-sh-handle-set-file-acl): Return `t' on success.
2576 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
2578         * files.el (backup-buffer-copy, basic-save-buffer-2):
2579         If set-file-extended-attributes fails, fall back on set-file-modes
2580         instead of signaling an error.  (Bug#13298)
2581         (basic-save-buffer): Likewise.
2583 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2585         * progmodes/python.el: Support other commands triggering
2586         python-indent-line so indentation cycling continues to work.
2587         (python-indent-trigger-commands): New defcustom.
2588         (python-indent-line): Use it.
2590 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2592         * progmodes/python.el (python-shell-send-region): Add blank lines
2593         for non sent code so backtraces remain correct.
2595 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
2597         * progmodes/python.el: Remove cl dependency.
2598         (python-syntax-count-quotes): Replace incf call.
2599         (python-fill-string): Replace setf call.
2601 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
2603         * info.el (info-other-window): New arg, for consistency with info.
2605 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
2607         * mail/rmail.el (rmail-maybe-display-summary):
2608         Rewrite (Bug#13066).
2610 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
2612         * epg.el (epg--start): Modify process-environment locally.
2614 2012-12-28  Daiki Ueno  <ueno@gnu.org>
2616         * epg.el: Support pinentry-curses.
2617         Suggested by Werner Koch in
2618         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2619         (epg-agent-file, epg-agent-mtime): New variable.
2620         (epg--start): Record the modified time of gpg-agent socket file,
2621         to restore Emacs frame after pinentry-curses termination.
2622         (epg-wait-for-completion): Restore Emacs frame here.
2624 2012-12-27  Juri Linkov  <juri@jurta.org>
2626         * info.el (Info-file-completions): New variable.
2627         (Info-read-node-name-1): Complete node names in the Info file
2628         when a file name is given.  Call `Info-build-node-completions'
2629         with a file name.
2630         (Info-build-node-completions): Add new arg `file'.  When it is
2631         non-nil, visit it in a temporary buffer and cache its completions in
2632         `Info-current-file-completions'.  Move most of the function body to
2633         `Info-build-node-completions-1'.
2634         (Info-build-node-completions-1): New function with the body from
2635         `Info-build-node-completions'.  (Bug#12456)
2637 2012-12-27  Juri Linkov  <juri@jurta.org>
2639         * frame.el (frame-maximization-style): Remove user option.
2640         (cycle-frame-maximized): Remove function.
2641         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2642         (toggle-frame-fullscreen): New command bound to <f11> instead of
2643         `toggle-frame-maximized'.
2644         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2646 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
2648         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2650         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2651         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2652         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2653         for `file-accessible-directory-p'.  (Bug#13275)
2655 2012-12-27  Sam Steingold  <sds@gnu.org>
2657         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2658         continuations, see <http://stackoverflow.com/questions/3582436>.
2660 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
2662         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2663         "module" and "def" to have indentation before them.
2664         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2666         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2668 2012-12-27  Alan Mackenzie  <acm@muc.de>
2670         Speed up fontification where there's large brace blocks.
2671         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2672         to a call of c-beginning-of-decl-1.
2674 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
2676         * comint.el (comint-adjust-window-point): New function.
2677         (comint-postoutput-scroll-to-bottom):
2678         Call comint-adjust-window-point (Bug#13248).
2680 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
2682         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2683         Rakefile regexp.
2684         (auto-mode-alist): Associate .gemspec files with ruby-mode
2685         (https://bugs.ruby-lang.org/issues/5453).
2687 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
2689         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2690         Suppress coloring, if possible (required for BusyBox based systems like
2691         CyanogenMod).
2692         (tramp-adb-handle-file-attributes)
2693         (tramp-adb-handle-insert-directory)
2694         (tramp-adb-handle-file-name-all-completions): Use it.
2695         (tramp-adb-get-toolbox): New defun.  Check for remote shell
2696         implementation (BusyBox or Toolbox).
2698 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
2700         * startup.el (initial-buffer-choice): Allow function as value
2701         (Bug#13251).
2702         (command-line-1): Handle case where initial-buffer-choice
2703         specifies a function.
2704         * server.el (server-execute): Handle case where
2705         initial-buffer-choice specifies a function.
2707 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2709         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2710         its own function.
2711         (smtpmail-try-auth-methods): Forget the user name/password if the
2712         login is unsuccessful (bug#12424).
2714 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
2716         * notifications.el (notifications-notify): Protect body with
2717         `with-demoted-errors'.
2719         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2720         Check properties of remote device.  Restart connection, if there is a
2721         change.
2723 2012-12-21  Chong Yidong  <cyd@gnu.org>
2725         * sort.el (sort-subr): Doc fix (Bug#13056).
2727 2012-12-21  Bastien Guerry  <bzg@gnu.org>
2729         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
2731 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
2733         * simple.el (process-file): Overwrite stderr file, if exists.
2735 2012-12-21  Daiki Ueno  <ueno@gnu.org>
2737         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2738         (epg-error): Set `error-message' property.
2740 2012-12-21  Chong Yidong  <cyd@gnu.org>
2742         * international/mule-cmds.el (read-char-by-name): Signal an error
2743         if the user does not supply a valid character (Bug#13177).
2745         * simple.el (transpose-subr-1): Preserve marker positions by
2746         changing the insertion sequence (Bug#13122).
2748 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
2750         * simple.el (kill-region): Deactivate mark even for empty regions
2751         (Bug#13169).
2753 2012-12-21  Chong Yidong  <cyd@gnu.org>
2755         * help-fns.el (describe-variable): Make sure we get the right
2756         buffer name (Bug#13105).  Suggested by Kelly Dean.
2758 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
2760         * comint.el (comint-redirect-previous-input-string): New variable.
2761         (comint-redirect-setup, comint-redirect-cleanup)
2762         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
2763         (comint-redirect-preoutput-filter): Fix verbose message.
2765 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
2767         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
2768         is too long for Tramp.  See discussion in
2769         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2771         * progmodes/compile.el (compilation-start): Remove line escape
2772         template.
2774 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
2776         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2777         Adjust comment.
2779 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
2781         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2782         following non-comment text (bug#13207).
2783         (lm-header-multiline): Continuation lines need to be indented more than
2784         the first line.
2785         (lm-homepage): New function.
2786         (lm-with-file): Don't be confused if narrowing is in effect.
2788 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2790         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2791         very beginning of a hunk (e.g. killing the first line).
2793 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
2795         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2796         and text properties from returned ACL string.
2797         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2798         for "setfacl" command.
2800 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
2802         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2803         `tramp-cleanup-this-connection', when the process has died.
2804         (Bug#13151)
2806 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2808         * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2810 2012-12-17  Kevin Ryde  <user42@zip.com.au>
2812         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2814 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
2816         Add support for preserving ACL entries of files.
2818         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2819         `set-file-acl' handlers.
2821         * net/tramp-adb.el (tramp-adb-handle-copy-file):
2822         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2824         * net/tramp-compat.el (tramp-compat-copy-file):
2825         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2827         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2828         Add `file-acl' and `set-file-acl' handlers.
2829         (tramp-gvfs-handle-copy-file):
2830         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2831         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2832         New defuns.
2834         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2835         Add `file-acl' and `set-file-acl' handlers.
2836         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2837         (tramp-sh-handle-set-file-acl): New defuns.
2838         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2839         Handle PRESERVE-EXTENDED-ATTRIBUTES.
2841         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2842         Add `file-acl' and `set-file-acl' handlers.
2843         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2845 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
2847         * help-macro.el (make-help-screen): Instead of switch-to-buffer
2848         use pop-to-buffer with NORECORD argument t.  As buffer name, use
2849         *Metahelp* with a leading space (Bug#13190).
2851 2012-12-16  Romain Francoise  <romain@orebokech.com>
2853         * files.el (file-extended-attributes)
2854         (set-file-extended-attributes): New functions.
2855         (backup-buffer): Use them to handle both SELinux context and ACL
2856         entries.
2857         (backup-buffer-copy): Work with an alist of extended attributes,
2858         rather than an SELinux context.
2859         (basic-save-buffer-2): Ditto.
2861 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
2863         * battery.el (battery-bsd-apm): New function.
2865 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
2867         * calc/calc.el (calc-standard-date-formats): Adjust one of the
2868         standard date formats.
2870 2012-12-15  Juri Linkov  <juri@jurta.org>
2872         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2873         `isearch-insert-char-by-name'.
2874         (with-isearch-suspended): New defmacro with body mostly from
2875         `isearch-edit-string' except the part that sets
2876         `isearch-new-string' and `isearch-new-message'.
2877         (isearch-edit-string): Use new macro `with-isearch-suspended' with
2878         body that sets `isearch-new-string' and `isearch-new-message'.
2879         (isearch-insert-char-by-name): New command.
2880         * international/mule-cmds.el (read-char-by-name): Let-bind
2881         `enable-recursive-minibuffers' to t.
2882         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2884 2012-12-15  Juri Linkov  <juri@jurta.org>
2886         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2887         (Bug#13175)
2889 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
2891         * dired-x.el (dired-guess-shell-command): Put colon at the end of
2892         the prompt.  (Bug#13045)
2894 2012-12-14  Glenn Morris  <rgm@gnu.org>
2896         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2897         Try to include filename in non-bytecomp warning.  (Bug#13132)
2899 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
2901         Fix permissions bugs with setgid directories etc. (Bug#13125)
2902         * files.el (backup-buffer): Don't rely on 9th output of
2903         file-attributes, as it's now a placeholder.  Instead, use the new
2904         optional arg of file-ownership-preserved-p.
2905         (file-ownership-preserved-p): New optional arg GROUP.
2906         Fix mishandling of setuid directories that would cause this
2907         function to return t when it should have returned nil.
2908         Document what happens if the file does not exist, and when
2909         it's not known whether the ownership will be preserved.
2910         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2911         Likewise.
2912         (tramp-get-local-gid): Use group-gid for integer, as that's
2913         faster and more reliable.
2915 2012-12-14  Julien Danjou  <julien@danjou.info>
2917         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2918         Update keywords list, data type and PL/pgSQL.
2920 2012-12-14  Dave Abrahams  <dave@boostpro.com>
2922         * vc/ediff-util.el (ediff-buffer-type): New function.
2923         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2924         rather than taking it as as argument.
2925         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2927 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
2929         * json.el: Add pretty-print option (bug#12634).
2930         (json-encoding-separator, json-encoding-default-indentation)
2931         (json--encoding-current-indentation, json-encoding-pretty-print)
2932         (json-encoding-lisp-style-closings): New vars.
2933         (json--with-indentation): New macro.
2934         (json-encode-hash-table, json-encode-alist, json-encode-plist)
2935         (json-encode-array): Use it to obey json-encoding-pretty-print.
2936         (json-pretty-print-buffer, json-pretty-print): New commands.
2938 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2940         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2941         Extract `ruby-syntax-propertize-expansions'.
2942         (ruby-syntax-propertize-expansions): Only change syntax on
2943         certain string delimiters, to punctuation.  This way the common
2944         functions like forward-word and thing-at-point still work.
2945         (ruby-match-expression-expansion): Improve readability.
2946         (ruby-block-contains-point): New function.
2947         (ruby-add-log-current-method): Handle several edge cases.
2949 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
2951         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2952         unload-feature finishes even when aborting an ongoing edebug session.
2953         Also, do not worry about edebug-mode, unload-feature takes care of it.
2955 2012-12-13  Andreas Schwab  <schwab@suse.de>
2957         * net/tls.el (tls-program): Update customize type.
2959 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
2961         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2962         (edebug-setup-hook, cl-read-load-hooks): Use it.
2963         (edebug-unload-function): New function.  (Bug#13163)
2965 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
2967         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2968         Otherwise, there could be errors in autoloading.  (Bug#13151)
2970 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
2972         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2973         sequences.
2975 2012-12-13  Alan Mackenzie  <acm@muc.de>
2977         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
2978         * progmodes/cc-engine.el (c-backward-comments): Add code to work
2979         around `forward-comment' not recognizing ^M as whitespace.
2981 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
2983         * progmodes/python.el (python-skeleton-class)
2984         (python-skeleton-def): Do not add space after defun name.
2986 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2988         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2989         (cl--symbol-function): Remove (now that funbound is like nil).
2991 2012-12-12  Glenn Morris  <rgm@gnu.org>
2993         * button.el (button--area-button-p): Fix typo.
2995 2012-12-12  Sam Steingold  <sds@gnu.org>
2997         * frame.el (frame-maximization-style): New user option.
2998         (toggle-frame-maximized): Toggle frame maximization according to
2999         `frame-maximization-style', bound to <f11>.
3000         (cycle-frame-maximized): Cycle between all maximization styles and
3001         non-maximized frame, bound to shift-<f11>.
3003 2012-12-12  David Cadé  <codename68@gmail.com>
3005         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3007 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
3009         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3010         (eieio-override-prin1): Don't quote kewords and booleans.
3011         (object-write) <eieio-default-superclass>: Don't put closing parens
3012         on new line, avoid needless empty lines, align values that are objects
3013         with the slot keyword (instead of beginning on the same line).
3014         (eieio-list-prin1): Align value with slot keyword; increase
3015         eieio-print-depth before printing members of the list.
3017 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3019         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3020         a display text-property.
3021         (report-emacs-bug-hook): Don't bother deleting it any more.
3023         * hilit-chg.el (highlight-save-buffer-state): Delete.
3024         Use with-silent-modifications instead.
3025         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3027         * button.el: Handle buttons in display text-properties.
3028         (button--area-button-p, button--area-button-string):
3029         Use (STRING . STRING-POS) representation instead of just STRING.
3031 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
3033         * makefile.w32-in (compile4-SH): Fix a typo that caused term
3034         subdirectory be skipped.
3036 2012-12-11  Glenn Morris  <rgm@gnu.org>
3038         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3040         * progmodes/f90.el (f90-line-continued, f90-indent-region):
3041         Treat preprocessor lines embedded in continuations like comments.
3042         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
3044 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
3046         * calc/calc.el (calc-standard-date-formats):  Add more date
3047         formats.
3048         * calc/calc-forms.el (math-parse-iso-date): New function.
3049         (math-parse-date): Use `math-parse-iso-date' when appropriate.
3050         (math-parse-iso-date-validate): Add extra error checking.
3051         (calc-date-notation): Add ability to access new date formats.
3053 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3056         font-lock as well as when there's no text-property.
3058 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
3060         * hi-lock.el: Refine the choice of default face.
3061         (hi-lock-keyword->face): New function.  Use it wherever we used
3062         cadadadr instead.
3063         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3064         (hi-lock--last-face): Remove var.
3065         (hi-lock--unused-faces): New var to replace it.
3066         (hi-lock-read-face-name): Use/maintain it.
3067         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
3068         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3069         if it has another face.
3071 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
3073         * subr.el (w32notify-handle-event): New function.
3074         (inotify-handle-event): Doc fix.
3076 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3078         * subr.el (inotify-event-p, inotify-handle-event): New functions.
3080 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
3082         * simple.el (just-one-space): Doc fix.
3084 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
3086         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3088 2012-12-10  Le Wang  <l26wang@gmail.com>
3090         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3091         narrowed buffer (bug#12361).
3093 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
3095         * vc/vc-hooks.el (vc-state): Doc fix.
3097 2012-12-10  Glenn Morris  <rgm@gnu.org>
3099         * mail/rmail.el (rmail-maybe-display-summary):
3100         Preserve buffer, in case select-window changes it.  (Bug#13066)
3102 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3104         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3105         cl-load-hook where they belong.
3107 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3109         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3111 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
3113         Parallelize byte compilation on MS-Windows.
3114         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3115         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3116         (WINS_BASIC): Define as concatenation of the above.
3117         (compile): Subdivide into 4 separate and independent jobs that can
3118         be run in parallel.
3119         (compile0-CMD, compile0-SH): New targets for compiling
3120         COMPILE_FIRST files, which are prerequisites for the rest of the
3121         byte-compilation.
3122         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3123         New targets for parallel compilation with cmd.exe.
3124         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3125         compiling under a Unixy shell.
3127 2012-12-09  Chong Yidong  <cyd@gnu.org>
3129         * simple.el (set-mark-default-inactive): Delete this
3130         accidentally-introduced option.
3131         (set-mark-command, exchange-point-and-mark): Remove calls.
3133 2012-12-09  Glenn Morris  <rgm@gnu.org>
3135         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3136         Respect a defcustom's :set function, if appropriate.  (Bug#109)
3137         (eval-defun): Doc fix.
3139 2012-12-08  Juri Linkov  <juri@jurta.org>
3141         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3142         (Info-fontify-node, Info-bookmark-make-record): Remove the
3143         file extension from Info-current-file (Bug#13016).
3145 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3148         point, still provide some default.
3149         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3150         names, since we don't use it right now.  Actually return the list.
3151         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3153 2012-12-07  Chong Yidong  <cyd@gnu.org>
3155         * novice.el (disabled-command-function): Remove a spurious help
3156         xref (Bug#13043).  Suggested by Kelly Dean.
3158         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3159         syntax is specified (Bug#13025).
3161         * info.el (Info-set-mode-line): Remove the file extension from
3162         Info-current-file if there is one (Bug#13016).
3164 2012-12-07  Glenn Morris  <rgm@gnu.org>
3166         * mail/rmail.el (rmail-mime-decoded): New permanent local.
3167         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3168         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3169         and rmail-mime-decoded.  (Bug#9841)
3171         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
3172         (batch-unrmail, unrmail): Doc fixes.
3173         (unrmail): Respect unrmail-mbox-format.
3174         * mail/rmail.el (rmail-mbox-format): New option.
3175         (rmail-show-message-1): Respect rmail-mbox-format.
3177 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3179         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3181 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3183         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
3184         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3185         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3186         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3187         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3188         (cl-progv): Don't rely on dynamic scoping to find the body.
3189         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3190         (cl--proclaims-deferred): Rename from the "cl-" prefix.
3191         (cl-declaim): Use backquotes.
3192         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3193         Use "cl--" prefix for the object's tag.
3195         * ses.el: Use advice-add/remove.
3196         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3197         (copy-region-as-kill, yank): Use advice-add.
3198         (ses-unload-function): Use advice-remove.
3200 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
3202         * button.el: Make them work in header-lines (bug#12817).
3203         (button-map): Add bindings for header-line and mode-line use.
3204         (button-get, button-put, button-label): `button' may now be a string.
3205         (button-activate): Don't make it a defsubst.
3206         (button--area-button-p, button--area-button-string): New functions.
3207         (make-text-button): Fix the return value when `beg' was a string.
3208         (push-button): Handle the mode-line case.
3210 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3212         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3213         (sql-signum): Remove.  Use `cl-signum' instead.
3214         (sql-read-passwd): Remove; use read-passwd instread.
3215         (sql-get-login-ext): Use read-string.
3216         (sql-get-login): Use dolist and pcase.
3217         (sql--completion-table): Rename from sql-try-completion.
3218         Use complete-with-action.
3219         (sql-mode): Don't change abbrev-all-caps globally.
3220         (sql-connect): Don't rely on dynamic scoping for `new-name'.
3221         (sql-postgres-completion-object): Initialize vars in their `let'.
3222         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3223         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3224         (sql-comint-interbase): Use a single append, without setq.
3225         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3227         * hi-lock.el: Rework the default face and the serialize regexp code.
3228         (hi-lock--auto-select-face-defaults): Remove.
3229         (hi-lock-string-serialize-serial): Remove.
3230         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3231         make weak.
3232         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3233         equal string.
3234         (hi-lock-set-pattern): Adjust accordingly.
3235         (hi-lock--regexps-at-point): Simplify accordingly.
3236         (hi-lock--auto-select-face-defaults): Remove.
3237         (hi-lock--last-face): New var to replace it.
3238         (hi-lock-read-face-name): Rewrite (bug#11095).
3239         (hi-lock-unface-buffer): Arrange for the face to be the next default.
3241 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
3243         * net/tramp.el (tramp-replace-environment-variables):
3244         Hide compiler warning.
3245         (tramp-file-name-for-operation): Remove `executable-find',
3246         `start-process', `call-process' and `call-process-region'.
3248         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3250         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3251         compatibility.
3253         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3255 2012-12-06  Chong Yidong  <cyd@gnu.org>
3257         * ffap.el (ffap-replace-file-component): Fix typo.
3259 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3261         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3262         fix open-paren-like token test (bug#12785).
3264 2012-12-06  Glenn Morris  <rgm@gnu.org>
3266         * mail/rmailsum.el (rmail-new-summary): Tweak for
3267         rmail-maybe-display-summary changing buffer.  (Bug#13066)
3269 2012-12-06  Juri Linkov  <juri@jurta.org>
3271         * info.el (Info-fontify-node): Don't hide the last newline.
3272         (Bug#12272)
3274 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
3276         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3277         so as to enable message-read-from-minibuffer to expand mail aliases.
3279 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3281         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3282         the `intangible' property.
3283         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3285 2012-12-05  Deniz Dogan  <deniz@dogan.se>
3287         * net/rcirc.el (rcirc-urls): Update documentation.
3288         (rcirc-condition-filter): New function.
3289         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3290         and exclude consecutive duplicate URLs (Bug#6082).
3292 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
3294         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3295         Check return code of copy command.
3297         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3298         Use group `tramp'.  Add version.
3300 2012-12-05  Chong Yidong  <cyd@gnu.org>
3302         * ffap.el (ffap-url-regexp): Don't require matching at front of
3303         string (Bug#4952).
3304         (ffap-url-p): If only a substring matches, return that.
3305         (ffap-url-at-point): Use the return value of ffap-url-p.
3306         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3307         (find-file-at-point, dired-at-point, dired-at-point-prompter)
3308         (ffap-guess-file-name-at-point): Likewise.
3309         (ffap-replace-file-component): Fix typo.
3311         * info.el (info-display-manual): Add existing Info buffers, whose
3312         files may not be in Info-directory-list, to the completion.
3313         (info--manual-names): New helper function.
3315 2012-12-05  Glenn Morris  <rgm@gnu.org>
3317         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3318         New functions, for detecting and resolving conflicts.  (Bug#10709)
3320 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
3322         * hi-lock.el (hi-lock-auto-select-face): New user variable.
3323         (hi-lock-auto-select-face-defaults): New buffer local variable.
3324         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3325         (hi-lock-unface-buffer): Prompt user with useful defaults.
3326         With prefix arg, unhighlight all hi-lock patterns in buffer.
3328 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3330         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3332 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
3334         * Makefile.in (TRAMP_SRC):
3335         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3337 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
3339         * net/tramp-adb.el: New package.
3341 2012-12-04  Chong Yidong  <cyd@gnu.org>
3343         * terminal.el: Move to obsolete/.
3345         * longlines.el: Move to obsolete/.
3347         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3348         Remove code referring to longlines mode.
3350 2012-12-03  Juri Linkov  <juri@jurta.org>
3352         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
3354 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3356         * textmodes/ispell.el (ispell-init-process)
3357         (ispell-start-process, ispell-internal-change-dictionary):
3358         Make sure personal dictionary name is expanded after initial
3359         `default-directory' value. Use expanded strings for
3360         keep/restart checks and for value (Bug#13019).
3362 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
3364         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3366 2012-12-03  Leo Liu  <sdl.web@gmail.com>
3368         * files.el (dir-locals-read-from-file): Check file non-empty
3369         before reading.  (Bug#13038)
3371 2012-12-03  Glenn Morris  <rgm@gnu.org>
3373         * jka-cmpr-hook.el (jka-compr-get-compression-info):
3374         Remove any version extension before checking filename.  (Bug#13006)
3375         (jka-compr-compression-info-list): Belated :version bump.
3377 2012-12-03  Chong Yidong  <cyd@gnu.org>
3379         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3381         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3382         (buffer-menu): Doc fix (Bug#12294).
3384 2012-12-03  Roland Winkler  <winkler@gnu.org>
3386         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3387         of diary-show-all-entries in the diary buffer (Bug#12994).
3389 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
3391         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3392         "<STDIN>".  This is binary safe.
3394 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
3396         * calc/calc-forms.el (math-absolute-from-iso-dt)
3397         (math-date-to-iso-dt, math-parse-iso-date-validate)
3398         (math-iso-dt-to-date): New functions.
3399         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3400         (math-fd-isoweekday): New variables.
3401         (calc-date-notation, math-parse-standard-date, math-format-date)
3402         (math-format-date-part): Add support for more formatting codes.
3404 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3406         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3407         current buffer's file name when called interactively (Bug#12488).
3409 2012-12-02  Juri Linkov  <juri@jurta.org>
3411         * info.el (info-display-manual): Don't clobber an existing Info
3412         buffer (Bug#10770).  Add completion (Bug#10771).
3414 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
3416         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3417         before using it for comparison (Bug#5297).
3419 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
3421         * textmodes/css-mode.el (css-current-defun-name): New function.
3422         (css-mode): Use it.
3424         * textmodes/sgml-mode.el (html-current-defun-name): New function.
3425         (html-mode): Use it.
3427 2012-12-01  Chong Yidong  <cyd@gnu.org>
3429         Modularize add-log-current-defun (Bug#2224).
3430         Suggested by Jari Aalto.
3432         * vc/add-log.el (add-log-current-defun-function): Doc fix.
3433         (add-log-current-defun): Move mode-specific code to other files.
3434         (add-log-lisp-like-modes, add-log-c-like-modes)
3435         (add-log-tex-like-modes): Variables deleted.
3437         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3438         (lisp-mode-variables): Use it.
3440         * progmodes/cc-mode.el (c-common-init):
3441         * progmodes/cperl-mode.el (cperl-mode): Set a value for
3442         add-log-current-defun-function.
3444         * progmodes/m4-mode.el (m4-current-defun-name): New function.
3445         (m4-mode): Use it.
3447         * progmodes/perl-mode.el (perl-current-defun-name): New.
3448         (perl-mode): Use it.
3450         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3451         Use lisp-current-defun-name.
3453         * textmodes/tex-mode.el (tex-current-defun-name): New.
3454         (tex-common-initialization): Use it.
3456         * textmodes/texinfo.el (texinfo-current-defun-name): New.
3457         (texinfo-mode): Use it.
3459 2012-12-01  Chong Yidong  <cyd@gnu.org>
3461         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3462         * progmodes/autoconf.el (autoconf-mode):
3463         * progmodes/js.el (js-mode):
3464         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3465         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3466         * progmodes/perl-mode.el (perl-mode):
3467         * progmodes/sh-script.el (sh-mode, sh-set-shell):
3468         * textmodes/css-mode.el (css-mode):
3469         * textmodes/sgml-mode.el (html-mode, sgml-mode)
3470         (sgml-tags-invisible, sgml-guess-indent):
3471         * textmodes/tex-mode.el (tex-common-initialization)
3472         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3473         (doctex-mode, plain-tex-mode, latex-mode):
3474         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3476 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
3478         * vc/vc-hg.el (vc-hg-next-revision):
3479         Ensure use of default "tip" output format.  (Bug#6968)
3481 2012-12-01  Kim F. Storm  <storm@cua.dk>
3483         * startup.el (fancy-startup-tail): Add a clickable link
3484         (Bug#2176).
3486 2012-12-01  Chong Yidong  <cyd@gnu.org>
3488         * startup.el (fancy-startup-tail): Improve the message about
3489         auto-save files (Bug#2176).
3491         * files.el (recover-session): Improve the descriptive message, and
3492         use substitute-command-keys.
3494 2012-12-01  Glenn Morris  <rgm@gnu.org>
3496         * ido.el (ido-file-internal):
3497         Handle other-window, other-frame for dired.  (Bug#13036)
3499 2012-11-30  Glenn Morris  <rgm@gnu.org>
3501         * icomplete.el (icomplete-separator): Fix :version.
3503 2012-11-30  Chong Yidong  <cyd@gnu.org>
3505         * shell.el (shell): For C-u M-x shell, use an inactive shell
3506         buffer as the default (Bug#1975).
3507         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3508         (shell-mode): Use them to reapply ansi colorization if Shell mode
3509         is re-enabled.
3511 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
3513         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3515 2012-11-30  Samuel Bronson  <naesten@gmail.com>
3517         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3518         flag to xargs, for compatibility with BSD xargs (Bug#11703).
3520 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3522         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3523         by move-to-column (Bug#3234).
3525 2012-11-30  Chong Yidong  <cyd@gnu.org>
3527         * longlines.el (longlines-wrap-line, longlines-encode-region):
3528         Preserve text properties (Bug#1425).
3530 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
3532         * vc/vc.el (vc-register): Allow registering a file which is
3533         already registered with a different backend (Bug#10589).
3535 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
3536             Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * icomplete.el: Change separator; add ido-style commands.
3539         (icomplete-show-key-bindings): Remove custom var.
3540         (icomplete-get-keys): Remove function.
3541         (icomplete-forward-completions, icomplete-backward-completions):
3542         New commands.
3543         (icomplete-minibuffer-map): New var.
3544         (icomplete-minibuffer-setup): Use it.
3545         (icomplete-exhibit): Don't delay if the list of completions is known.
3546         (icomplete-separator): New custom.
3547         (icomplete-completions): Use it.
3548         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3549         (minibuffer-force-complete-and-exit): New command.
3550         (minibuffer--complete-and-exit): New function extracted from
3551         minibuffer-complete-and-exit.
3552         (minibuffer-complete-and-exit): Use it.
3554         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3555         error message when the file doesn't exist (bug#12974).
3557 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
3559         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3561 2012-11-29  Glenn Morris  <rgm@gnu.org>
3563         * files.el (hack-dir-local-variables): Warn if try to set
3564         coding via dir-locals, since it doesn't work.  (Bug#7169)
3566         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
3567         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3568         Set buffer-local value of desktop-save-buffer.
3569         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3570         New functions.
3571         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3572         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3574         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
3575         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3576         Doc fix.
3577         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3578         Doc fixes.
3580 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
3582         * calc/calc-forms.el (calc-date-notation): Fix regexp
3583         used to find time codes.  Fix symbol for seconds.
3585 2012-11-27  Glenn Morris  <rgm@gnu.org>
3587         * emacs-lisp/derived.el (derived-mode-make-docstring):
3588         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
3590 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3592         * textmodes/table.el (table-insert): Don't use `symbol-name' on
3593         lexically scoped variables (bug#13005).
3595 2012-11-27  Glenn Morris  <rgm@gnu.org>
3597         * vc/vc-hooks.el (vc-mistrust-permissions):
3598         Default to t, to avoid data-loss.  (Bug#11490)
3600 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3602         * progmodes/python.el (python-indent-guess-indent-offset):
3603         If indentation is guessed make python-indent-offset buffer-local.
3605         Fix Imenu regression.
3606         * progmodes/python.el (python-nav-beginning-of-defun):
3607         Fix forward movement when statement(s) separates point from defun.
3608         (python-imenu-prev-index-position): New function.
3610 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
3612         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
3614         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3615         Don't set buffer-file-type.  Return nil.  (Bug#12989)
3617 2012-11-27  Glenn Morris  <rgm@gnu.org>
3619         * hippie-exp.el (hippie-expand-try-functions-list):
3620         Re-autoload it.  (Bug#12982)
3622 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
3624         * descr-text.el (describe-char-padded-string):
3625         Call internal-char-font only on GUI frames.  (Bug#11964)
3627 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
3629         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3630         and obsoletion message.
3632 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3635         the constructs to keep outside of the `cl-block' (bug#12977).
3637 2012-11-27  Chong Yidong  <cyd@gnu.org>
3639         * mouse.el (mouse-drag-line): Even if the line is not draggable,
3640         keep reading until we get the up-event anyway, in order to process
3641         the up-event for mouse-1-click-follows-link (Bug#12971).
3643 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3645         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3646         base function is not yet defined (bug#12965).
3647         (ad-activate-advised-definition): Use ad-compile-function.
3648         (ad-activate): Use cond.
3650 2012-11-25  Leo Liu  <sdl.web@gmail.com>
3652         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3653         (Bug#12979)
3655 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3657         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3658         reftex-section-info-function in order to be compatible with
3659         Texinfo integration.
3661         * textmodes/reftex.el (reftex-section-pre-regexp)
3662         (reftex-section-post-regexp, reftex-section-info-function):
3663         New variable.
3664         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3665         reftex-section-post-regexp, and reftex-section-info-function in order
3666         to be compatible with Texinfo integration.
3668         * textmodes/reftex-toc.el (reftex-toc-promote-action):
3669         use reftex-section-pre-regexp variable in order to be compatible with
3670         Texinfo integration.
3672 2012-11-25  Chong Yidong  <cyd@gnu.org>
3674         * faces.el: Make face-spec-set more analogous to setq.
3675         (face-spec-set): Change the third arg to specify whether this
3676         function is being called via defface, customize, or a third party.
3677         Set the appropriate symbol properties.  Clear the override spec if
3678         setting via Custom.  Initialize face if necessary.  (Bug#4988)
3679         (face-spec-recalc): Allow theme faces to completely replace the
3680         defface spec, in the same way as custom faces (Bug#8454).
3682         * cus-face.el (custom-declare-face): Move face initialization to
3683         face-spec-set.
3684         (custom-theme-set-faces): Don't initialize the face name here, as
3685         that is now done in face-spec-set.
3687         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3688         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3689         Simplify by using the new arg to face-spec-set.
3691         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3692         reset face-override-spec too, and use custom-declare-face.
3694 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
3696         * term/ns-win.el (ns-initialize-window-system): Move creation of
3697         fontsets here (Bug#11964).
3699 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3701         * ses.el (ses-rename-cell): Correct bug on mode-line update after
3702         cell renaming.
3704 2012-11-24  Chong Yidong  <cyd@gnu.org>
3706         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3707         obsolete.
3709         * custom.el (custom-theme-set-variables): Use a topological sort
3710         for ordering by custom dependencies (Bug#12952).
3711         (custom--sort-vars, custom--sort-vars-1): New functions.
3713 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3715         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3716         lexical-binding (bug#12938).
3718 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
3720         * image-mode.el (image-transform-check-size): Use assertions only
3721         for images of type imagemagick.
3723         Otherwise no error, image-transform-fit-to-{width,height} is
3724         silently ignored, as before.  Doc fix.
3726 2012-11-24  Chong Yidong  <cyd@gnu.org>
3728         * faces.el (color-defined-p): Doc fix (Bug#12853).
3730 2012-11-24  Juri Linkov  <juri@jurta.org>
3732         * dired.el (dired-mark): Add optional arg `interactive'.
3733         Check for `use-region-p' if `interactive' is non-nil.
3734         (dired-unmark, dired-flag-file-deletion): Add optional arg
3735         `interactive'.  Call `dired-mark' with the arg `interactive'.
3736         (Bug#10624)
3738         * wdired.el: Revert 2012-10-17 change partly and replace it with
3739         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3740         (wdired-finish-edit): Add marks for new file names to
3741         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
3742         after `revert-buffer'.
3743         (wdired-do-renames): Remove calls to `dired-remove-file',
3744         `dired-add-file', `dired-add-entry'.  (Bug#11795)
3746 2012-11-24  Alan Mackenzie  <acm@muc.de>
3748         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3750         Fix bugs in the state cache.  Enhance a debugging mechanism.
3751         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3752         "brace at column zero" strategy for C++.
3753         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3754         (c-parse-state-point): New variable.
3755         (c-record-parse-state-state): Record old parse state with
3756         `copy-tree'.  Record previous value of point.
3757         (c-debug-parse-state-double-cons): New debugging function.
3758         (c-debug-parse-state): Call the above new function.
3759         (c-toggle-parse-state-debug): Output a confirmatory message.
3761         * progmodes/cc-mode.el (c-before-change, c-after-change):
3762         Call c-invalidate-state-cache from `c-before-change' instead of
3763         `c-after-change'.
3765 2012-11-23  Chong Yidong  <cyd@gnu.org>
3767         * find-cmd.el (find-constituents): Add executable, ipath,
3768         readable, samefile, writable, daystart, regextype (Bug#12856).
3770 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3772         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3774 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
3776         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3777         definition.  This fixes a bootstrap failure.
3778         (calc-gregorian-switch): In menu, put dates before regions.
3779         This is easier to follow, lines up better in the menu, and lets us
3780         coalesce regions that switch at the same time.  Give country
3781         names, not "Vatican", as that's better for non-expert users.
3782         Use names that are stable between the date of switch and now, e.g.,
3783         Bohemia and Moravia (which existed then and now) and not
3784         Czechoslovakia (which didn't exist then and doesn't exist now).
3785         What is now the U.S. mostly did not switch at the same time as
3786         Britain, so omit the U.S.  Correct spelling of "Britain".
3787         Catholic Switzerland was too much of a mess, so omit it.
3789 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
3791         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3792         after the variable is changed.
3794 2012-11-21  Daniel Colascione  <dancol@dancol.org>
3796         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3797         in SQL declarations for font-lock.
3798         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3800 2012-11-21  Glenn Morris  <rgm@gnu.org>
3802         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3803         (face-italic-p): Add optional argument "inherit".
3805         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3806         Remove -p suffix from names, for consistency with other set-face-*.
3807         (set-face-inverse-video): Fix interactive spec.
3808         * play/gamegrid.el (gamegrid-make-mono-tty-face):
3809         * textmodes/table.el (table--update-cell-face):
3810         Use set-face-inverse-video rather than now obsolete alias.
3812 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
3814         * simple.el (line-move): Don't call line-move-partial if
3815         scroll-conservatively is in effect.  (Bug#12927)
3817 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3819         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3820         Fallback on completion-at-point rather than
3821         pcomplete-expand-and-complete, and only if pcomplete actually failed.
3822         (eshell-cmpl-initialize): Setup completion-at-point.
3824         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3826         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3828 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
3830         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3831         are remote, check out-of-band property for both.
3833 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * window.el (switch-to-buffer): Re-add the warning that was lost in the
3836         code rewrite.
3838 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
3840         More minor time fixes.
3841         * calendar/time-date.el: Commentary fix.
3842         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3843         too much other code depends on (0 0) time stamps.
3844         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3845         Add a couple of FIXME comments.
3847         Minor cleanup for times as lists of four integers.
3848         * files.el (dir-locals-directory-cache):
3849         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3850         Doc fixes.
3851         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3852         * ps-bdf.el (bdf-file-newer-than-time):
3853         Process four-integers time stamps, not two.  Doc fixes.
3855 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * uniquify.el (uniquify-managed): Use defvar-local.
3858         (rename-buffer, create-file-buffer): Advise with advice-add.
3859         (uniquify-unload-function): Unadvise accordingly.
3861         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3862         (trace-buffer): Don't purecopy.
3863         (trace-entry-message, trace-exit-message): Add `context' arg.
3864         (trace--timer): New var.
3865         (trace-make-advice): Adjust for use in nadvice.
3866         Add `context' argument.  Delay `display-buffer' via a timer.
3867         (trace-function-internal): Use advice-add.
3868         (trace--read-args): New function.
3869         (trace-function-foreground, trace-function-background): Use it.
3870         (trace-function): Rename to trace-function-foreground and redefine as
3871         an alias to that new name.
3872         (untrace-function, untrace-all): Adjust to the use of nadvice.
3874         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3876         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3878         * subr.el (called-interactively-p-functions): New var.
3879         (internal--called-interactively-p--get-frame): New macro.
3880         (called-interactively-p, interactive-p): Rewrite in Lisp.
3881         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3882         (called-interactively-p-functions): Use it.
3883         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3884         (called-interactively-p-functions): Use it.
3885         * allout.el (allout-called-interactively-p): Don't assume
3886         called-interactively-p is a subr.
3888 2012-11-20  Glenn Morris  <rgm@gnu.org>
3890         * profiler.el (profiler-report-mode-map): Add a menu.
3891         No need to bind `q' because we derive from special-mode.
3892         (profiler-report-find-entry): Handle calls from the menu-bar.
3894 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * emacs-lisp/byte-run.el (defun-declarations-alist):
3897         Allow a compiler-macro to be a lambda expression.
3899         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
3900         eval-when-compile.
3901         (python-syntax-context): Add compiler-macro.
3902         (python-font-lock-keywords): Simplify with De Morgan.
3904         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3906         * files.el (load-file): Require match in minibuffer selection, as was
3907         the case in Emacs-20 before we changed the spec to allow .elc files
3908         (bug#12935).
3910         * json.el: Don't require cl since we don't use it.
3911         * color.el: Don't require cl.
3912         (color-complement): `caddr' -> `nth 2'.
3914         * calendar/time-date.el (time-to-seconds): De-obsolete.
3916 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3918         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
3919         year numbers.
3920         (math-date-to-julian-dt): Adjust the initial approximation for the
3921         year to deal with the new definition of the DATE.
3923 2012-11-19  Daniel Colascione  <dancol@dancol.org>
3925         * term/w32-win.el (cygwin-convert-path-from-windows):
3926         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3928 2012-11-18  Chong Yidong  <cyd@gnu.org>
3930         * filecache.el (file-cache--read-list): New function.
3931         (file-cache-add-directory-list, file-cache-add-file-list)
3932         (file-cache-delete-file-list, file-cache-delete-directory-list):
3933         Use it to read a list of files or directories (Bug#12846).
3934         (file-cache-add-file, file-cache-add-directory)
3935         (file-cache-delete-file-list, file-cache-delete-file-regexp)
3936         (file-cache-delete-directory): Print an message.
3938 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
3940         * calc/calc-forms.el (math-date-to-dt): Use integer date when
3941         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3943 2012-11-18  Glenn Morris  <rgm@gnu.org>
3945         * image.el (insert-image, insert-sliced-image): Doc fix.
3947 2012-11-18  Chong Yidong  <cyd@gnu.org>
3949         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3950         (Bug#12810).
3952 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
3954         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3955         response when the target file is in a subdirectory (Bug#12757).
3957 2012-11-18  Chong Yidong  <cyd@gnu.org>
3959         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3961 2012-11-18  Glenn Morris  <rgm@gnu.org>
3963         * emacs-lisp/cl-lib.el (face-underline-p):
3964         Use set-face-underline rather than the alias set-face-underline-p.
3966         * window.el (with-temp-buffer-window): Doc fix.
3967         * subr.el (with-output-to-temp-buffer):
3968         Add doc xref to with-temp-buffer-window.
3970 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
3972         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3973         * calc/calc.el (math-format-date-cache): Declare.
3975 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3977         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3978         It also uses January 1, 1 AD as its day number 1.
3979         * calc/calc-forms.el (math-julian-date-beginning)
3980         (math-julian-date-beginning-int): Implement this.
3982 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
3984         * descr-text.el (quail-find-key):
3985         * dired.el (desktop-file-name):
3986         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3987         * generic-x.el (comint-mode, comint-exec):
3988         * image-dired.el (widget-forward):
3989         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3990         (speedbar-change-expand-button-char)
3991         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3992         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3993         * printing.el (easy-menu-add-item, easy-menu-remove-item)
3994         (widget-field-action, widget-value-set):
3995         * speedbar.el (imenu--make-index-alist):
3996         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3997         (ring-length, ring-insert):
3998         * vcursor.el (compare-windows-skip-whitespace):
3999         * woman.el (dired-get-filename):
4000         Declare functions.
4002         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4004 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
4006         * calc/calc.el (calc-gregorian-switch): New variable.
4008         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4009         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4010         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4011         (math-leap-year-p): Add option to distinguish between Julian
4012         and Gregorian calendars.
4013         (math-day-number): Use `math-day-in-year' to do the computations.
4014         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4015         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4016         to do the computations.
4017         (math-date-to-dt): Use `math-date-to-julian-dt' and
4018         `math-date-to-gregorian-dt' to do the computations.
4019         (calcFunc-weekday, math-format-date-part): Use the new version of
4020         the DATE to determine the weekday.
4021         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4022         when necessary.
4024 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
4026         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4027         Cygwin; otherwise use 'file:'.  (Bug#12914)
4028         (cygwin-convert-path-from-windows): Declare, to avoid
4029         byte-compiler warnings.
4031 2012-11-17  Andreas Politz  <politza@fh-trier.de>
4033         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4034         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4035         prefix and negative numeric prefix args (Bug#12795).
4037 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
4039         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4040         Don't signal an error with a score that is too low to add to the
4041         list of top scores. (Bug#12779)
4043 2012-11-17  Chong Yidong  <cyd@gnu.org>
4045         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4047         * filecache.el (file-cache-add-file): Handle relative file name in
4048         the argument (Bug#12694).
4050 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4052         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4054 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4056         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4058         * emacs-lisp/cl-lib.el: Set more meaningful version number.
4060 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
4062         * window.el (enlarge-window, shrink-window): Don't mention return
4063         value in doc-string (Bug#12896).
4064         (window--display-buffer): Don't resize frames - it won't work
4065         with all window managers and defeat pop-up-frame-alist.
4066         (display-buffer-alist): In doc-string explain that CONDITION can
4067         be a function and which arguments are passed to it (Bug#12854).
4068         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
4069         expressions (Bug#12854).
4070         (display-buffer): Pass ACTION argument to
4071         display-buffer-assq-regexp.
4073 2012-11-16  Glenn Morris  <rgm@gnu.org>
4075         * window.el (fit-frame-to-buffer-bottom-margin)
4076         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4078         * faces.el (face-underline-p): Use face-attribute-specified-or.
4080 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
4082         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4084 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4086         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4088 2012-11-16  Glenn Morris  <rgm@gnu.org>
4090         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
4091         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4093         * faces.el (face-underline-p): Doc fix.  Handle :underline being
4094         things other than `t' (a string, a list).
4095         (face-inverse-video-p): Doc fix.
4096         (set-face-underline): Rename it back from set-face-underline-p.
4097         Doc fix.  Allow interactive input of values other than t.
4098         (read-face-attribute): Apply formatting to :underline,
4099         since like :box and :stipple it can take list values.
4101         * term.el (ansi-term): Don't let C-x escape-char binding
4102         clobber the more standard C-c binding.  (Bug#12842)
4104         * subr.el (set-temporary-overlay-map): Doc fix.
4106 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
4108         * window.el (record-window-buffer)
4109         (display-buffer-record-window): When copying the markers to
4110         window-point preserve window-point-insertion-type. (Bug#12588)
4112 2012-11-16  Glenn Morris  <rgm@gnu.org>
4114         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4115         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4116         Use new names for hooks rather than obsolete aliases.
4118 2012-11-15  Daniel Colascione  <dancol@dancol.org>
4120         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4121         prefix instead of "file:" so that when FILE-NAME begins with "//",
4122         as it does when the target file is on a network share, url-handler
4123         isn't confused.
4125 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4127         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4128         a preactivated advice from an old advice.el; they're not compatible!
4130 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
4132         * emacs-lisp/nadvice.el (advice--make-interactive-form):
4133         Fix string-spec case.
4135         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4137 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4139         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4140         (advice--buffer-local-function-sample): New var.
4141         (advice--set-buffer-local, advice--buffer-local): New functions.
4142         (add-function, remove-function): Use them.
4144 2012-11-15  Drew Adams  <drew.adams@oracle.com>
4146         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4148 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4150         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4151         potential binding of print-gensym to t, and prettify (back)quotes in
4152         case they appear in args's default values (bug#12884).
4154 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4156         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4157         (advice-eval-interactive-spec): New function.
4158         (advice--make-interactive-form): Support around advice (bug#12844).
4160 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
4162         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4163         more strict.  Add docstring.
4164         (ruby-expression-expansion-re): Extract from
4165         `ruby-match-expression-expansion'.
4166         (ruby-syntax-propertize-function): After everything else, search
4167         for expansions in string literals, mark their insides as
4168         whitespace syntax and save match data for font-lock.
4169         (ruby-font-lock-keywords): Use the 2nd group from expression
4170         expansion matches.
4171         (ruby-match-expression-expansion): Use the match data saved to the
4172         text property in ruby-syntax-propertize-function.
4174 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4176         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4177         (bug#12879).
4179 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4181         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4182         start/end keyword a bit harder.  Works with different values of N.
4183         Add more comments.
4184         (ruby-end-of-block): Update accordingly.
4186 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4188         * woman.el (woman-file-name): Don't mess with unread-command-events
4189         (bug#12861).
4191         * emacs-lisp/advice.el: Layer on top of nadvice.el.
4192         Remove out of date self-require hack.
4193         (ad-do-advised-functions): Use simple `dolist'.
4194         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4195         (ad-advice-definition): Redefine as functions.
4196         (ad-advice-classes): Move before first use.
4197         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4198         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4199         (ad--defalias-fset): Remove functions.
4200         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4201         (ad-get-orig-definition): Rewrite.
4202         (ad-make-advised-definition-docstring): Change base docstring.
4203         (ad-real-orig-definition): Rewrite.
4204         (ad-map-arglists): Change name of called function.
4205         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4206         (ad-make-advised-definition): Simplify.
4207         (ad-assemble-advised-definition): Tweak for new calling context.
4208         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4209         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
4210         function and call ad-activate if needed.
4211         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4212         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4213         (ad-compile-function): Compile ad-Advice-*.
4214         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4215         (ad-start-advice, ad-stop-advice): Remove.
4217 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4219         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4220         period before class method names, not after.  Remove handling of
4221         one impossible case.  Add comments.
4223 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4225         * emacs-lisp/advice.el: Remove support for freezing.
4226         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4227         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4228         Remove support for `freeze'.
4230         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4231         override the default.
4232         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4233         cl--dotimes/dolist.
4234         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4235         `cl' is loaded.
4237         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4238         from add-advice.
4239         (advice--strip-macro): New function.
4240         (advice--defalias-fset): Use them to handle macros.
4241         (advice-add): Use them.
4242         (advice-member-p): Correctly handle macros.
4244 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4246         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4247         Never font-lock the beginning of singleton class as heredoc.
4249 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4251         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4253 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
4255         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4256         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
4257         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4259 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
4261         Fix end-of-defun misbehavior.
4262         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4263         python-beginning-of-defun-function.  Handle nested defuns
4264         correctly.
4265         (python-nav-end-of-defun): Rename from
4266         python-end-of-defun-function.  Ensure forward movement.
4267         (python-info-current-defun): Reimplement to work as intended
4268         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
4269         parent defuns as soon as possible.
4271 2012-11-13  Glenn Morris  <rgm@gnu.org>
4273         * progmodes/flymake.el (flymake-error-bitmap)
4274         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4275         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4277 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
4279         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4280         backward, always stop at indentation.  Reverts the change from
4281         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4283 2012-11-13  Glenn Morris  <rgm@gnu.org>
4285         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4286         Add ibuffer-filter-by-derived-mode.
4288         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4289         the same name shadowing each other.
4291         * window.el (with-temp-buffer-window): Doc tweak.
4293         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4295         * help.el (temp-buffer-max-height):
4296         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4297         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4299 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4301         * emacs-lisp/nadvice.el: New package.
4302         * subr.el (special-form-p): New function.
4303         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4304         (elp-all-instrumented-list): Remove var.
4305         (elp-not-profilable): Remove elp-wrapper.
4306         (elp-profilable-p): Use autoloadp and special-form-p.
4307         (elp--advice-name): New const.
4308         (elp-instrument-function): Use advice-add.
4309         (elp--instrumented-p): New predicate.
4310         (elp-restore-function): Use advice-remove.
4311         (elp-restore-all, elp-reset-all): Use mapatoms.
4312         (elp-set-master): Use elp--instrumented-p.
4313         (elp--make-wrapper): Rename from elp-wrapper, return a function
4314         suitable for advice-add.  Use cl-inf.
4315         (elp-results): Use mapatoms+elp--instrumented-p.
4316         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4317         (debug-function-list): Remove var.
4318         (debug): Rename arg, and then let-bind it explicitly inside.
4319         (debugger-setup-buffer): Rename arg.
4320         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4321         (debugger-frame-number): Adjust to new debug-on-entry setup.
4322         (debug--implement-debug-on-entry): Rename from
4323         implement-debug-on-entry, add argument.
4324         (debugger-special-form-p): Remove, use special-form-p instead.
4325         (debug-on-entry): Use advice-add.
4326         (debug--function-list): New function.
4327         (cancel-debug-on-entry): Use it, along with advice-remove.
4328         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4329         (debugger-list-functions): Use debug--function-list instead of
4330         debug-function-list.
4331         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4332         (ad-special-form-p): Remove, use special-form-p instead.
4333         (ad-set-advice-info): Use add-function and remove-function.
4334         (ad--defalias-fset): Adjust accordingly.
4336 2012-11-10  Glenn Morris  <rgm@gnu.org>
4338         * mail/emacsbug.el (report-emacs-bug-tracker-url)
4339         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4340         (report-emacs-bug-create-existing-bugs-buffer)
4341         (report-emacs-bug-parse-query-results)
4342         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
4344         * term.el (term-default-fg-color, term-default-bg-color):
4345         Make obsolete, rather than just saying "deprecated" in the doc.
4347         * term.el (term): Rename from `term-face'.
4348         (term-current-face, ansi-term-color-vector)
4349         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4350         Update all users.
4352 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
4354         * server.el (server-create-window-system-frame): Handle Nextstep
4355         specially (Bug#12780).
4357 2012-11-10  Glenn Morris  <rgm@gnu.org>
4359         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4360         Unautoload, and make obsolete.  (Bug#7449)
4362 2012-11-10  Chong Yidong  <cyd@gnu.org>
4364         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4365         rename from diff-remove-trailing-whitespace (Bug#12831).
4367 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4369         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4370         miscompilation of trace.el.
4372 2012-11-10  Glenn Morris  <rgm@gnu.org>
4374         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4376 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4379         (bug#12812).
4381 2012-11-10  Chong Yidong  <cyd@gnu.org>
4383         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4384         a defcustom with an appropriate :set function.
4385         (minibuffer-default--in-prompt-regexps): New function.
4387 2012-11-10  Glenn Morris  <rgm@gnu.org>
4389         * emacs-lisp/cl.el (define-setf-expander, defsetf)
4390         (define-modify-macro): Doc fixes.
4392         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4393         (gv-define-simple-setter): Update doc of `fix-return'.
4395 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4397         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4398         twice when `fix-return' is set (bug#12813).
4400         * emacs-lisp/cl.el (defsetf): Pass the third arg to
4401         gv-define-simple-setter (bug#12812).
4403         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4404         (bug#12756).
4406 2012-11-10  Glenn Morris  <rgm@gnu.org>
4408         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4410         * emacs-lisp/cl-extra.el (cl-prettyexpand):
4411         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4412         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4413         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4415         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4417 2012-11-10  Leo Liu  <sdl.web@gmail.com>
4419         * ido.el (ido-set-matches-1): Improve flex matching performance by
4420         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
4422 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4424         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4425         (ad--defalias-fset): New function.
4426         (ad-safe-fset): Remove.
4427         (ad-make-freeze-definition): Use cl-letf*.
4429 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4431         * subr.el (dolist): Don't bind VAR in RESULT.
4433         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
4434         (fset, documentation): Don't save real def since we don't advise.
4435         (ad-do-advised-functions): Remove problematic `result-form'.
4436         (ad-safe-fset): `ad-real-fset' => `fset'.
4437         (ad-read-advised-function): Don't assume that ad-do-advised-functions
4438         uses CL's dolist internally.
4439         (ad-arglist): Remove unused arg `name'.
4440         (ad-docstring, ad-make-advised-docstring):
4441         `ad-real-documentation' => `documentation'.
4442         (warning-suppress-types): Declare.
4443         (ad-set-arguments): Simple CSE.
4444         (ad-recover-normality): Sanity check.
4446         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4447         (funcall '(lambda ..) ..) into ((lambda ..) ..).
4449 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4451         * ses.el: symbol to coordinate mapping is made by symbol property
4452         `ses-cell'.  This means that the same mapping is done for all SES
4453         sheets.  That is good enough for cells with standard A1 names, but
4454         not for named cell.  So a hash map is added for the latter.
4455         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4456         (ses-sym-rowcol): Use hashmap for named cell.
4457         (ses-is-cell-sym-p): New defun.
4458         (ses-decode-cell-symbol): New defun.
4459         (ses-create-cell-variable): Add cell to hashmap when name is not
4460         A1-like.
4461         (ses-rename-cell): Check that cell new name is not already in
4462         spreadsheet with the use of ses-is-cell-sym-p
4463         (ses-rename-cell): Use hash map for named cells, but accept also
4464         renaming back to A1-like.
4466 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4468         * emacs-lisp/advice.el: Use new dynamic docstrings.
4469         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4470         Use dynamic-docstring-function instead of ad-advice-info.
4471         (ad--make-advised-docstring): New function extracted from
4472         ad-make-advised-docstring.
4473         (ad-make-advised-docstring): Use it.
4474         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4475         from sql-help.
4476         (sql-help): Use it with dynamic-docstring-function.
4478         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4480 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4482         * files.el (hack-one-local-variable--obsolete): New function.
4483         (hack-one-local-variable): Use it for obsolete settings.
4485         * subr.el (locate-user-emacs-file): If both old and new name exist, use
4486         the new name.
4488         * progmodes/js.el (js--filling-paragraph): New var.
4489         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4490         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4491         less sneaky.
4493 2012-11-08  Julien Danjou  <julien@danjou.info>
4495         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4496         `auto-mode-alist' (Bug#12835).
4498 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4501         (perl--prettify-symbols-alist): New const.
4502         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4503         New functions.
4504         (perl-font-lock-keywords-2): Use them.
4505         (perl-electric-noindent-p): New function.
4506         (perl-mode): Use it to set up electric-indent-mode.
4507         (perl-electric-terminator, perl-indent-command): Mark obsolete.
4508         (perl-mode-map): Remove bindings for them.
4509         (perl-imenu-generic-expression, perl-outline-level):
4510         Match functions&packages in column>0.
4512         * env.el (env--substitute-vars-regexp): New const.
4513         (substitute-env-vars): Use it.  Add `only-defined' arg.
4514         * net/tramp.el (tramp-replace-environment-variables): Use it.
4516         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4517         Byte-compile *before* eval in eval-and-compile.
4518         (byte-compile-log-warning): Remove redundant inhibit-read-only.
4519         (byte-compile-file-form-autoload): Don't hide actual definition.
4520         (byte-compile-maybe-guarded): Accept `functionp' as well.
4522         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4524 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
4526         * notifications.el (notifications-get-server-information-method):
4527         New defconst.
4528         (notifications-get-capabilities): Fix docstring.
4529         (notifications-get-server-information): New defun.
4531 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4533         * textmodes/ispell.el (ispell-region): Standard re-indent for better
4534         readability.
4536         * textmodes/ispell.el: Experimental support for support debugging.
4537         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4538         buffer for ispell.
4539         (ispell-print-if-debug): New function to print stuff to
4540         `ispell-debug-buffer' if debugging is enabled.
4541         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4542         show some debugging info.
4543         (ispell-buffer-with-debug): New function that creates a debugging
4544         buffer and calls `ispell-buffer' with debugging enabled.
4546         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4547         comment in autoconf mode. (Bug#12768)
4549 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
4551         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4552         frame-first-window, frame-root-window, frame-selected-window,
4553         minibuffer-selected-window, minibuffer-window,
4554         window-absolute-pixel-edges, window-at, window-body-height,
4555         window-body-width, window-display-table, window-combination-limit,
4556         window-frame, window-fringes, window-inside-absolute-pixel-edges,
4557         window-inside-edges, window-inside-pixel-edges, window-left-child,
4558         window-left-column, window-margins, window-next-buffers,
4559         window-next-sibling, window-new-normal, window-new-total,
4560         window-normal-size, window-parameter, window-parameters, window-parent,
4561         window-pixel-edges, window-point, window-prev-buffers,
4562         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4563         window-start, window-text-height, window-top-child, window-top-line,
4564         window-total-height, window-total-width and window-use-time to the list
4565         of functions without side-effects.
4566         (toplevel): Add window-valid-p to the list of error-free functions
4567         without side-effects.
4569 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4571         * textmodes/ispell.el (ispell-program-name):
4572         Update spellchecker parameters when customized.
4574 2012-11-04  Glenn Morris  <rgm@gnu.org>
4576         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
4578 2012-11-04  Chong Yidong  <cyd@gnu.org>
4580         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4581         same-window-* variables.
4583 2012-11-04  Juri Linkov  <juri@jurta.org>
4585         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4586         (isearch-describe-key, isearch-describe-mode): Use a display
4587         action instead of binding same-window-* variables (Bug#10040).
4589 2012-11-03  Glenn Morris  <rgm@gnu.org>
4591         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4592         Rename handler properties back from cl-- to cl-.  (Bug#12788)
4594         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4596 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
4598         * term/pc-win.el: Don't load term/internal from here.
4600         * loadup.el: Load term/internal from here.
4602 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
4604         * progmodes/python.el (inferior-python-mode): Fix hang in
4605         jit-lock (Bug#12645).
4607 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
4609         * window.el (switch-to-visible-buffer)
4610         (switch-to-buffer-preserve-window-point): Fix doc-strings.
4612 2012-11-03  Glenn Morris  <rgm@gnu.org>
4614         * emacs-lisp/cl-lib.el (cl--random-time):
4615         Rename from cl-random-time.  (Bug#12773)
4616         (cl--gensym-counter, cl--random-state): Update callers.
4617         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4619 2012-11-03  Chong Yidong  <cyd@gnu.org>
4621         * cus-start.el: Make cursor-type customizable (Bug#11633).
4623 2012-11-02  Glenn Morris  <rgm@gnu.org>
4625         * filecache.el: No need to load find-lisp when compiling.
4626         (find-lisp-find-files): Autoload it.
4627         (file-cache-add-directory-recursively): Don't require find-lisp.
4629         * image.el (image-type-from-file-name): Trivial simplification.
4631         * emacs-lisp/bytecomp.el (byte-compile-eval):
4632         Decouple "noruntime" and "cl-functions" warnings.
4634 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
4636         * play/gomoku.el (gomoku-display-statistics): Update mode line
4637         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4639 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
4641         * window.el (quit-restore-window): If the window has been
4642         created on an existing frame and ended up as the sole window on
4643         that frame, do not delete it (Bug#12764).
4645 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4647         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4648         Rename from sh--inside-arithmetic-expression, handle more cases
4649         (bug#11263).
4651         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4652         (sh-font-lock-open-heredoc): Use it (bug#12770).
4654 2012-10-30  Glenn Morris  <rgm@gnu.org>
4656         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
4658         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
4660 2012-10-29  Chong Yidong  <cyd@gnu.org>
4662         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4663         function key is stored in a keyboard macro (Bug#4894).
4665         * thingatpt.el (number-at-point): Apply a thing-at-point property.
4667 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4669         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4670         header comments".
4671         (diff-unified->context, diff-context->unified)
4672         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4674         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4676         * files.el (find-alternate-file): Only ask one question (bug#12487).
4678 2012-10-29  Chong Yidong  <cyd@gnu.org>
4680         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4681         Suggested by Dan Nicolaescu (Bug#6326).
4683         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4685         * startup.el (fancy-about-screen): Don't message (Bug#12680).
4687         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4689         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4691         * face-remap.el (face-remap-add-relative): Handle the case where a
4692         face-remapping-alist entry is a cons cell (Bug#12762).
4694 2012-10-29  Kevin Ryde  <user42@zip.com.au>
4696         * woman.el (woman-parse-numeric-value): Handle picas correctly
4697         (Bug#12639).
4699 2012-10-29  Glenn Morris  <rgm@gnu.org>
4701         * emacs-lisp/cl.el (defsetf): Doc fix.
4703 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4705         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4706         syntax to the matching opener, if any (bug#12547).
4707         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4708         matching open as a "case-(".
4709         (sh-smie-rc-grammar): Add a corresponding rule for it.
4711 2012-10-28  Daniel Hackney  <dan@haxney.org>
4713         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4714         "PKGNAME-autoloads.el" in case we created it.
4716 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4718         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4719         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4720         (completion--twq-all): Disable too-strict assertions.
4722         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4724 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
4726         * profiler.el (profiler-report-make-entry-part): Fix help-echo
4727         text to match the real keybindings.
4729 2012-10-27  Juri Linkov  <juri@jurta.org>
4731         * wdired.el (wdired-keep-marker-rename): New defcustom.
4732         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4733         (Bug#11795)
4735         * dired.el (dired-keep-marker-rename): Add reference to
4736         `wdired-keep-marker-rename' in the docstring.
4737         Add default character value ?R to display initially in
4738         Customization UI instead of ?@.
4740 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
4742         * window.el (display-buffer): In doc-string describe
4743         window-height and window-width alist entries.
4745         * time.el (display-time-world): Restore fit-window-to-buffer
4746         behavior.
4748 2012-10-27  Chong Yidong  <cyd@gnu.org>
4750         * subr.el (insert-buffer-substring-as-yank): Doc fix.
4752 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
4754         * minibuffer.el (completion-category-overrides): New completion
4755         category `bookmark' (bug#11131).
4757 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4759         * emacs-lisp/advice.el (ad-assemble-advised-definition):
4760         Silence bogus compiler warnings for ad-do-it.
4762         * bookmark.el (bookmark-completing-read): Set the completion category
4763         to `bookmark' (bug#11131).
4765 2012-10-26  Bastien  <bzg@altern.org>
4766             Stefan Monnier  <monnier@iro.umontreal.ca>
4768         * face-remap.el: Use lexical-binding.
4769         (text-scale-adjust): Improve docstring.  Use itself for the temporary
4770         overlay-map bindings, so as to repeat the "Use..." message each time.
4772 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4774         * emacs-lisp/macroexp.el (macroexp--expand-all):
4775         Obey byte-compile-warning-enabled-p (bug#12486).
4777         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4778         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4780 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
4782         * mouse.el (mouse-drag-line): Move last form into preceding when
4783         clause (Bug#12731).
4785         * help.el (resize-temp-buffer-window): Fix doc-string.
4787 2012-10-25  David Engster  <deng@randomsample.de>
4789         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4790         Remove.  This feature is already integrated in imenu.
4792         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4793         always loaded.  Require `speedbar' unconditionally.
4795 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4797         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4799         * minibuffer.el (minibuffer-force-complete): Fix thinko.
4801         * net/ldap.el (ldap-search-internal): The official ldif format starts
4802         with a "version: 1" header (bug#12724).
4804         * emacs-lisp/package.el (package-installed-p): Warn if not ready
4805         (bug#12721).
4807 2012-10-25  Glenn Morris  <rgm@gnu.org>
4809         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4811 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4813         * minibuffer.el (minibuffer-force-complete): Use one more marker
4814         for the temporary-overlay-map command (bug#12619).
4816 2012-10-24  Chong Yidong  <cyd@gnu.org>
4818         * time.el (display-time-world-mode): Derive from special-mode.
4819         (display-time-world): Use display-buffer (Bug#12708).
4820         (display-time-world-mode-map): Variable deleted.
4821         (display-time-world-display): Wrap the final delete-char inside
4822         inhibit-read-only.
4824 2012-10-24  Chong Yidong  <cyd@gnu.org>
4826         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4827         Doc fix.
4829         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4831 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4833         * minibuffer.el (completion--all-sorted-completions-location): New var.
4834         (completion--cache-all-sorted-completions)
4835         (completion--flush-all-sorted-completions): Use it.
4836         (completion-in-region, completion-in-region--postch)
4837         (completion-at-point, completion-help-at-point): Use markers in
4838         completion-in-region--data (bug#12619).
4840 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4842         * progmodes/compile.el (compilation-start): Try to handle common
4843         quoting of `cd' argument (bug#12640).
4845         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4846         (bug#12671).
4848 2012-10-23  Glenn Morris  <rgm@gnu.org>
4850         * progmodes/gud.el (gud-menu-map):
4851         Check gdb-active-process is bound.  (Bug#12358)
4853 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4855         * repeat.el (repeat): Set real-this-command (bug#12232).
4857         * htmlfontify.el (hfy-post-html-hook):
4858         * filesets.el (filesets-cache-fill-content-hook):
4859         * arc-mode.el (archive-extract-hook):
4860         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4861         * net/rcirc.el (rcirc-sentinel-functions)
4862         (rcirc-receive-message-functions, rcirc-activity-functions)
4863         (rcirc-print-functions):
4864         * net/dbus.el (dbus-event-error-functions):
4865         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4866         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4867         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4868         * term/sun.el (sun-raw-prefix-hooks):
4869         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4871 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
4873         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4874         Set `tramp-chunksize' to 1.  This improves the performance.
4875         (tramp-smb-wait-for-output): Add timeout to
4876         `tramp-accept-process-output' calls.
4878 2012-10-23  Chong Yidong  <cyd@gnu.org>
4880         * faces.el (font-list-limit): Define as an obsolete variable.
4882         * startup.el (command-line):
4883         * cus-start.el: Don't refer to font-list-limit.
4885         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4887 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4889         * subr.el (internal-temp-output-buffer-show): Rename from
4890         temp-output-buffer-show, since previously compiled files expect this name.
4892 2012-10-23  Glenn Morris  <rgm@gnu.org>
4894         * image.el (image-type-from-file-name): If multiple types match,
4895         return the first one that is supported.  (Bug#9045)
4897 2012-10-22  Glenn Morris  <rgm@gnu.org>
4899         * image.el (imagemagick-enabled-types): Doc fix.
4901 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
4903         * progmodes/which-func.el (which-func-current): The hash-table may have
4904         an explicit nil (bug#12338).
4906 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4908         * electric.el (electric-pair-delete-selection-self-insert-function):
4909         Rename to electric-pair-will-use-region, return a boolean.
4910         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
4912         * delsel.el (delete-selection-helper): Use a function instead of a hook.
4913         (delete-selection-pre-hook): Use use-region-p.
4914         (delete-selection-self-insert-function): Remove.
4915         (self-insert-command): Obey self-insert-uses-region-functions.
4916         (self-insert-iso): Revert to previous setting, since we don't actually
4917         know what that command does.
4918         (delete-selection-self-insert-hooks): Remove.
4920 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
4922         * delsel.el (delete-selection-helper): New function, extracted from
4923         delete-selection-pre-hook.
4924         (delete-selection-pre-hook): Use it.
4925         (delete-selection-self-insert-function): New function.
4926         (delete-selection-self-insert-hooks): New hook.
4927         (self-insert-command, self-insert-iso): Use it.
4928         * electric.el (electric-pair-syntax): New function, extracted from
4929         electric-pair-post-self-insert-function.
4930         (electric-pair-post-self-insert-function): Use it.
4931         (electric-pair-delete-selection-self-insert-function): New function.
4932         (electric-pair-mode): Require delsel and setup
4933         delete-selection-self-insert-hooks (bug#11520).
4935 2012-10-20  Chong Yidong  <cyd@gnu.org>
4937         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4938         no changes to show (Bug#12586).
4940         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4941         list explicitly (Bug#12571).
4943 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
4945         * progmodes/flymake.el (flymake-create-temp-inplace):
4946         Use file-truename.
4948 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
4950         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
4952 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
4954         * calc/calc-units.el (math-extract-units): Properly extract powers
4955         of units.
4957 2012-10-20  Daniel Colascione  <dancol@dancol.org>
4959         * frame.el (make-frame): Set x-display-name as we used to in order
4960         to unbreak creating an X11 frame from an Emacs daemon started
4961         without a display.
4963 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4965         * minibuffer.el (minibuffer-force-complete): Make the next completion use
4966         the same completion-field (bug#12221).
4968 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
4970         * emacs-lisp/debug.el (debug): Record height of debugger window
4971         also when debugger will be back (Bug#8789).
4973 2012-10-18  Chong Yidong  <cyd@gnu.org>
4975         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4976         Convert to defcustom.
4977         (gdb-get-source-file): Don't bind pop-up-windows.
4979         * progmodes/gud.el (gud-display-line): Don't specially re-use
4980         other frames for the gdb-mi case (Bug#12648).
4982 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4984         * emacs-lisp/advice.el: Clean up commentary a bit.
4985         (ad-do-advised-functions, ad-with-originals): Use `declare'.
4986         (byte-code-function-p): Never redefine.
4988         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4990 2012-10-18  Glenn Morris  <rgm@gnu.org>
4992         * dired.el (dired-sort-toggle): Some ls implementations only allow
4993         a single option string.  (Bug#12666)
4995         * minibuffer.el (completion-cycle-threshold): Doc fix.
4997 2012-10-17  Kenichi Handa  <handa@gnu.org>
4999         * international/mule.el (set-keyboard-coding-system):
5000         Recover input meta mode when the new coding system doesn not use 8-bit.
5001         Supply TERMINAL arg to set-input-meta-mode.
5003 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
5005         * wdired.el (wdired-old-marks): New variable.
5006         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5007         (wdired-do-renames): Move point with renamed file and don't lose
5008         mark status (Bug#11795).
5010 2012-10-16  Juri Linkov  <juri@jurta.org>
5012         * replace.el (query-replace-help): Mention multi-buffer replacement
5013         keys in the Help message.  (Bug#12655)
5015 2012-10-15  Chong Yidong  <cyd@gnu.org>
5017         * emacs-lisp/byte-run.el (defsubst): Doc fix.
5019 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
5021         * window.el (display-buffer): Doc fix.
5023         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5024         Adjust the msft regexp to the output of Studio 2010, and move msft
5025         before edg-1.  See the discussion on emacs-devel,
5026         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5027         for the details.
5029 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5031         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5032         (oset): Move uses of object-class-fast macro after its definition.
5034         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5036 2012-10-13  Chong Yidong  <cyd@gnu.org>
5038         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5039         enabled, re-enable it (Bug#11963).
5041 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
5043         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5044         non-nil, restore window configuration (Bug#12623).
5046 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5048         * help-fns.el (describe-variable, describe-function-1):
5049         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5051         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5053 2012-10-12  Glenn Morris  <rgm@gnu.org>
5055         * mail/rmailsum.el (rmail-header-summary):
5056         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
5058 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
5060         * progmodes/python.el (python-mode-map):
5061         Replace subtitute-key-definition with proper command remapping.
5062         (python-nav--up-list): Fix behavior for blocks on the same level.
5064 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5066         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5068         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5069         changes to the format of load-history.
5071         * international/mule-cmds.el (read-char-by-name): Move let-binding of
5072         completion-ignore-case in case that var is buffer-local (bug#12615).
5074 2012-10-11  Kenichi Handa  <handa@gnu.org>
5076         * international/eucjp-ms.el: Re-generated.
5078 2012-10-10  Kenichi Handa  <handa@gnu.org>
5080         * select.el (xselect--encode-string): If a coding is specified for
5081         selection, and that is compatible with COMPOUND_TEXT, use it.
5083 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
5085         * window.el (switch-to-buffer-preserve-window-point): New option.
5086         (switch-to-buffer):
5087         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5089 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5091         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5092         Don't document nil as a useful value (bug#12583).
5094 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
5096         * net/tramp.el (tramp-debug-message):
5097         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5098         (with-tramp-progress-reporter): Rename from
5099         `tramp-with-progress-reporter'.
5100         (with-tramp-file-property, with-tramp-connection-property):
5101         Move from tramp-cache.el, rename from `with-file-property' and
5102         `with-connection-property', respectively.
5104         * net/tramp-cache.el: Remove `with-file-property' and
5105         `with-connection-property'.
5107         * net/tramp.el:
5108         * net/tramp-gvfs.el:
5109         * net/tramp-sh.el:
5110         * net/tramp-smb.el: Adapt callees.
5112         * net/trampver.el: Update release number.
5114 2012-10-09  Glenn Morris  <rgm@gnu.org>
5116         * w32-fns.el (set-message-beep):
5117         * term/w32-win.el (set-message-beep): Update declarations.
5119 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5121         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5122         (mode-line-widen, mode-line-input-method-map)
5123         (mode-line-coding-system-map, mode-line-remote)
5124         (mode-line-unbury-buffer, mode-line-bury-buffer)
5125         (mode-line-next-buffer, mode-line-previous-buffer):
5126         Replace save-selected-window+select-window => with-selected-window.
5128         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5129         * progmodes/cc-vars.el (bq-process): Remove, unused.
5131         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5133 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
5135         Implemented `backward-up-list'-like navigation.
5136         * progmodes/python.el (python-nav-up-list)
5137         (python-nav-backward-up-list): New functions.
5138         (python-mode-map): Define substitute key for backward-up-list to
5139         python-nav-backward-up-list.
5141 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
5143         * progmodes/python.el (python-fill-paragraph): Rename from
5144         python-fill-paragraph-function.  Fixed fill-paragraph for
5145         decorators (Bug#12605).
5147 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
5149         * progmodes/python.el (python-shell-output-filter): Handle extra
5150         carriage return in OSX (Bug#12409).
5152 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
5154         Fix shell handling of unbalanced quotes and parens in output.
5155         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5156         (python-syntax-propertize-function): Use it.
5157         (python-shell-output-syntax-table): New var.
5158         (inferior-python-mode): Prevent unbalanced parens/quotes from
5159         previous output mess with current input context.
5161 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
5163         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5164         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5166 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
5168         * ffap.el (ffap-replace-file-component): Support Tramp file name
5169         syntax, not only ange-ftp's one.
5171 2012-10-08  Glenn Morris  <rgm@gnu.org>
5173         * cus-start.el (message-log-max): Set :version.
5175         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5177 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
5179         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5180         the minibuffer window (Bug#10851).
5182 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
5184         Enhancements on forward-sexp movement.
5185         * progmodes/python.el (python-nav-beginning-of-statement)
5186         (python-nav-end-of-statement): Return point-marker.
5187         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5188         (python-info-current-symbol)
5189         (python-info-statement-starts-block-p): Rename from
5190         python-info-beginning-of-block-p.
5191         (python-info-statement-ends-block-p): Rename from
5192         python-info-end-of-block-p.
5193         (python-info-beginning-of-statement-p)
5194         (python-info-end-of-statement-p)
5195         (python-info-beginning-of-block-p, python-info-end-of-block-p):
5196         New functions.
5198 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5200         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5201         frame-selected-windows.
5203 2012-10-08  Daniel Colascione  <dancol@dancol.org>
5205         * battery.el (battery-status-function): Check for
5206         w32-battery-status itself, not system-time windows-nt.
5208         * frame.el: Require cl-lib.
5209         (display-format-alist): New variable mapping frame types to
5210         functions that initialize them.
5211         (window-system-for-display): New function: interprets
5212         display-format-alist.
5213         (make-frame-on-display): Remove existing display-selection logic
5214         and just forward to make-frame, which will now DTRT.
5215         (make-frame): Restructure to use window-system-for-display to
5216         figure out how to create a frame on a given display.
5217         (display-mouse-p): Look for frame-type w32, not a particular
5218         system-type.
5220         * loadup.el: Load w32 lisp code when we have the w32 feature.
5222         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5223         system-type windows-nt.
5225         * server.el (server-create-window-system-frame): Look for window
5226         type.
5227         (server-proces-filter): Only force a window system when windows-nt
5228         _and_ w32.  Explain why.
5230         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5231         of window systems we configure for the mode.
5233         * startup.el (command-line): Mark window system is initialized
5234         after we've done it.
5236         * common-win.el (x-select-text): Look for w32, not windows-nt.
5238         * ns-win.el: Require cl-lib.  Add ourselves to
5239         display-format-alist.
5240         (ns-initialize-window-system): Assert we're not initialized twice.
5242         * w32-win.el: Enable lexical binding; require cl-lib; add
5243         ourselves to display-format-alist.
5244         (w32-handle-dropped-file): Convert incoming dropped files from
5245         Windows paths to Cygwin ones before passing them on to the rest of
5246         Emacs.
5247         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
5248         (w32-initialize-window-system): Assert we're not initialized twice.
5250         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5251         (x-initialize-window-system): Assert we're not initialized twice.
5253         * w32-common-fns.el: New File.
5254         (w32-version, w32-using-nt, w32-get-clipboard-data)
5255         (w32-set-clipboard-data, x-set-selection, x-get-selection)
5256         (w32-charset-info-alist, x-last-selected, text)
5257         (x-get-selection-value, x-selection-value): Move here.
5259         * w32-fns.el: Require w32-common-fns.
5260         (w32-version, w32-using-nt, w32-get-clipboard-data)
5261         (w32-set-clipboard-data, x-set-selection, x-get-selection)
5262         (w32-charset-info-alist, x-last-selected, text)
5263         (x-get-selection-value, x-selection-value): Move to
5264         w32-common-fns.
5266         * w32-vars.el:
5267         (w32-allow-system-shell, w32-system-shells): Define only in
5268         non-cygwin case.
5270 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5273         (read-passwd): Remove a few more potential sources of leaks.
5275 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5277         * progmodes/python.el (inferior-python-mode)
5278         (python-shell-make-comint): Fix initialization of local
5279         variables copied from parent buffer.
5281 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
5283         * term/ns-win.el (ns-read-file-name): Update declaration to match
5284         nsfns.m.
5285         (ns-respond-to-change-font): Change fontsize separatly so we are sure
5286         it is set when font is acted upon.
5288 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5290         Enhancements to indentation.
5291         * progmodes/python.el (python-indent-context): Give priority to
5292         inside-string context.  Make comments indentation markers.
5293         (python-indent-region): Do not mess with strings, unless it's the
5294         enclosing set of quotes.
5296 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5298         * window.el (internal--before-save-selected-window)
5299         (internal--after-save-selected-window): New functions extracted from
5300         save-selected-window.  Make sure we return the `alist' we construct.
5301         (save-selected-window): Use them.
5303         * textmodes/tex-mode.el (tex-recenter-output-buffer):
5304         Use with-selected-window.
5306         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5307         forms that define macros (bug#12593).
5309 2012-10-07  Kenichi Handa  <handa@gnu.org>
5311         * international/mule-conf.el (compound-text-with-extensions):
5312         Add :mime-charset property as x-ctext.
5314 2012-10-07  Stefan Merten  <smerten@oekonux.de>
5316         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5317         (rst-indent-literal-normal, rst-indent-literal-minimized)
5318         (rst-indent-comment): Correct :version tag.
5319         (rst-official-cvs-rev): Correct version string.
5321 2012-10-07  Glenn Morris  <rgm@gnu.org>
5323         * mail/rmailmm.el (rmail-mime-process-multipart):
5324         Do not confuse a multipart message with an epilogue
5325         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
5327 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
5329         Fix shell output retrieval and comint-prompt-regexp init.
5330         * progmodes/python.el (inferior-python-mode):
5331         (python-shell-make-comint): Fix initialization of
5332         comint-prompt-regexp from copied file local variables.
5333         (python-shell-fetched-lines): Remove var.
5334         (python-shell-output-filter-in-progress): Rename from
5335         python-shell-fetch-lines-in-progress.
5336         (python-shell-output-filter-buffer): Rename from
5337         python-shell-fetch-lines-string.
5338         (python-shell-fetch-lines-filter): Delete function.
5339         (python-shell-output-filter): New function.
5340         (python-shell-send-string-no-output): Use them.
5342 2012-10-07  Glenn Morris  <rgm@gnu.org>
5344         * hi-lock.el (hi-lock-process-phrase):
5345         Try to make it less fragile.  (Bug#7161)
5347         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5349 2012-10-06  Glenn Morris  <rgm@gnu.org>
5351         * ehelp.el (electric-help-mode): Use help-mode rather than
5352         non-existent mode `help'.
5353         (electric-help-map): Use button-buffer-map.  (Bug#10917)
5355         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5356         (reftex-create-bibtex-footer): Fix custom types.
5358         * progmodes/sh-script.el (sh-indent-after-continuation):
5359         Add explicit :group.
5361         * textmodes/rst.el (rst-preferred-decorations)
5362         (rst-shift-basic-offset): Clarify obsolescence versions.
5364         * profiler.el (profiler): Add missing group :version tag.
5365         * avoid.el (mouse-avoidance-banish-position):
5366         * proced.el (proced-renice-command):
5367         * calc/calc.el (calc-ensure-consistent-units):
5368         * calendar/icalendar.el (icalendar-import-format-uid):
5369         * net/tramp.el (tramp-save-ad-hoc-proxies):
5370         * progmodes/bug-reference.el (bug-reference-bug-regexp):
5371         * progmodes/flymake.el (flymake-error-bitmap)
5372         (flymake-warning-bitmap, flymake-fringe-indicator-position):
5373         * progmodes/sh-script.el (sh-indent-after-continuation):
5374         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5375         (verilog-before-save-font-hook, verilog-after-save-font-hook):
5376         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5377         (vhdl-array-index-record-field-in-sensitivity-list)
5378         (vhdl-indent-comment-like-next-code-line):
5379         * textmodes/reftex-vars.el (reftex-ref-style-alist)
5380         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5381         (reftex-cite-key-separator, reftex-create-bibtex-header)
5382         (reftex-create-bibtex-footer):
5383         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5384         (rst-indent-literal-normal, rst-indent-literal-minimized)
5385         (rst-indent-comment): Add missing custom :version tags.
5387         * calendar/timeclock.el (timeclock-modeline-display):
5388         Add missing obsolete alias for renamed user option.
5390         * strokes.el (strokes-modeline-string):
5391         * emulation/crisp.el (crisp-mode-modeline-string):
5392         * eshell/esh-mode.el (eshell-status-in-modeline):
5393         Aliases to defcustoms must come before the defcustom.
5395         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5396         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5397         (cal-tex-cursor-week-monday): Doc fixes.
5398         (cal-tex-cursor-week2-summary): Doc fix.
5399         Rename from cal-tex-cursor-week-at-a-glance.
5401         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5402         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
5404         * calendar/calendar.el (calendar-mode-map):
5405         Add cal-tex-cursor-week2-summary.
5407 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5409         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5411         * subr.el (read-passwd-map): New var.
5412         (read-passwd): Use `read-string' again.
5413         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5415 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
5417         * register.el (append-to-register, prepend-to-register):
5418         Deactivate mark, as does `copy-to-register' (bug#12389).
5420 2012-10-06  Chong Yidong  <cyd@gnu.org>
5422         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5424 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
5426         * international/characters.el: Fix simple mistake ((car chars) ->
5427         elt), delete duplicated code.
5429 2012-10-06  Glenn Morris  <rgm@gnu.org>
5431         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
5433 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
5435         * color.el (color-hsl-to-rgb): Fix incorrect results for
5436         small and large hue values.  (Bug#12559)
5438 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
5440         Enhancements to docstring formatting when filling paragraphs.
5441         * progmodes/python.el (python-fill-docstring-style): Rename from
5442         python-fill-string-style.  Added new style.
5443         (python-fill-string): Use new style.  Better checks for
5444         docstrings.
5446 2012-10-05  Glenn Morris  <rgm@gnu.org>
5448         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5450         * color.el (color-name-to-rgb, color-rgb-to-hex)
5451         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5452         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5453         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5454         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5456         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
5458 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
5460         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5461         to get the correct size across symlinks.
5463         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5465 2012-10-04  Juri Linkov  <juri@jurta.org>
5467         * replace.el (query-replace-interactive): Declare obsolete.
5468         (query-replace-read-from): Add the last incremental search string
5469         to the list of default values accessible via M-n.
5470         (map-query-replace-regexp): Use `read-regexp'.
5471         (query-replace, query-replace-regexp, query-replace-regexp-eval)
5472         (map-query-replace-regexp, replace-string, replace-regexp):
5473         Fix docstrings to replace mentions of `query-replace-interactive'
5474         with alternatives.  (Bug#12526)
5476 2012-10-04  Juri Linkov  <juri@jurta.org>
5478         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
5479         (dired-pop-to-buffer): Declare obsolete.
5480         (dired-mark-pop-up): Doc fix.
5482 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
5484         Allow user to set docstring style for fill-paragraph.
5485         * progmodes/python.el
5486         (python-fill-comment-function, python-fill-string-function)
5487         (python-fill-decorator-function, python-fill-paren-function):
5488         Remove :safe for defcustoms.
5489         (python-fill-string-style): New defcustom
5490         (python-fill-paragraph-function): Enhance context detection.
5491         (python-fill-string): Honor python-fill-string-style settings.
5493 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
5495         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5496         after setting its buffer (Bug#10805).
5498 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
5500         Fix cornercase for string syntax.
5501         * progmodes/python.el (python-syntax-propertize-function):
5502         Simplify and enhance the regexp for unescaped quotes.  Now it also
5503         matches quotes in weird situations like the single quote in
5504         "something\"'".
5505         (python-syntax-stringify): Simplify num-quotes detecting code.
5507 2012-10-03  Glenn Morris  <rgm@gnu.org>
5509         * help-macro.el (three-step-help):
5510         Revert 2012-09-29 change.  (Bug#12567)
5512 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
5514         * menu-bar.el (kill-this-buffer): Don't do anything when
5515         `menu-frame' is not alive or visible (Bug#8184).
5517         * emacs-lisp/debug.el (debug): When quitting the debugger window
5518         restore current buffer (Bug#12502).
5520 2012-10-02  Chong Yidong  <cyd@gnu.org>
5522         * progmodes/hideif.el (hif-lookup, hif-defined):
5523         Handle semantic-c-takeover-hideif.
5525 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
5527         Change sampling interval units from ms to ns.
5528         * profiler.el (profiler-sampling-interval): Change units
5529         from ms to ns, multiplying the default by 1000000 so that
5530         it remains 1 ms.
5531         (profiler-report-cpu-line-format): Give enough room for
5532         the maximum counters on 64-bit hosts.
5533         (profiler-report-render-calltree-1): Call them "CPU samples",
5534         not "Time (ms)", since they are not milliseconds now (and
5535         never really were).
5537 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5539         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5540         Fix querying BBDB for entries without a last name (Bug#11580).
5542 2012-10-02  Chong Yidong  <cyd@gnu.org>
5544         * emacs-lisp/eieio.el: Restore Version header.
5546 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5548         * vc/diff-mode.el (diff--auto-refine-data): New var.
5549         (diff-hunk): Use it to delay refinement.
5550         (diff-mode): Remove overlays when we turn off font-lock.
5552         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5553         (table-initialize-table-fixed-width-mode)
5554         (table-set-table-fixed-width-mode): Remove functions.
5555         (table-command-list): Move initialization into declaration.
5556         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5557         (table-with-cache-buffer): Use `declare'.
5558         (table-span-cell): Simplify via CSE.
5559         (table-fixed-width-mode): Use define-minor-mode.
5560         (table-call-interactively, table-funcall, table-apply): Remove.
5561         (table-function): New function, to replace them.
5563         * bookmark.el (bookmark-search-pattern): Remove var.
5564         (bookmark-read-search-input): Remove function.
5565         (bookmark-bmenu-search): Reimplement using a minibuffer.
5567         * faces.el (modeline): Remove obsolete face name.
5569         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5570         and give a non-nil default value.
5571         (add-change-log-entry): Simplify accordingly.
5573 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
5575         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5576         (vc-git-log-edit-toggle-amend): New function.
5577         (vc-git-log-edit-toggle-signoff): New function.
5578         (vc-git-log-edit-mode): New major mode.
5579         (vc-git-log-edit-mode-map): Keymap for it.
5580         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5582         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5583         header names.
5584         (log-edit-toggle-header): New function.
5585         (log-edit-extract-headers): Accept function values in HEADERS alist.
5587 2012-10-01  David Engster  <deng@randomsample.de>
5589         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5590         from symbol property and change message to be more consistent with
5591         Emacs proper.
5592         (eieio-describe-generic): Add filename for each implementation.
5593         Fix indices for generic and normal methods.
5594         (eieio-method-def, eieio-class-def): New buttons.
5595         (eieio-help-find-method-definition)
5596         (eieio-help-find-class-definition): New functions.
5597         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5598         class, constructor and method definitions.
5600         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5601         information in symbol property.
5602         (scoped-class): Remove.
5603         (eieio-slot-name-index, call-next-method): Check if it is bound.
5605 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
5607         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5608         (eieio-custom-mode): New major mode.
5609         (eieio-customize-object): Use it.
5611 2012-10-01  Eric Ludlam  <zappo@gnu.org>
5613         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5614         specifying the expected class, and whether subclassing is allowed.
5615         (eieio-persistent-convert-list-to-object):
5616         (eieio-persistent-validate/fix-slot-value)
5617         (eieio-persistent-slot-type-is-class-p): New functions.
5618         (eieio-named::slot-missing): Doc fix.
5620         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5621         Stop using unused publd variable.
5623         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5624         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5625         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5626         (eieio-speedbar-handle-click): Do not specify a class for the
5627         method.  Fixes method invocation order problems with EDE.
5629 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5631         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5632         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5634 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
5636         * bookmark.el (bookmark-version-control): Give tags in the
5637         :type choices (Bug#12309), and improve doc string.
5638         (bookmark-write-file): Bind `print-circle' to `t' to allow
5639         circular custom bookmark types.  (Bug#12503)
5641 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
5643         Revert the FOLLOW-SYMLINKS change for file-attributes.
5644         * files.el (remote-file-name-inhibit-cache, after-find-file):
5645         * time.el (display-time-file-nonempty-p): Undo last change.
5647         * profiler.el (profiler-sampling-interval): Change default back to 1.
5648         See Stefan Monnier in
5649         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5651 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
5653         Shell output catching a la gud-gdb.
5654         * progmodes/python.el (python-shell-fetch-lines-in-progress)
5655         (python-shell-fetch-lines-string, python-shell-fetched-lines):
5656         New Vars.
5657         (python-shell-fetch-lines-filter): New function.
5658         (python-shell-send-string-no-output): Use them.
5660 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
5662         * profiler.el (profiler-sampling-interval): Rename from
5663         profiler-sample-interval.
5664         (profiler-sampling-interval): Default to 10.
5665         (profiler-find-profile): New command (was profiler-find-log).
5666         (profiler-find-profile-other-window): New command.
5667         (profiler-find-profile-other-frame): New command.
5668         (profiler-profile): Introduce API-level data structure.
5670 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
5672         file-attributes has a new optional arg FOLLOW-SYMLINKS.
5673         * files.el (remote-file-name-inhibit-cache):
5674         * time.el (display-time-file-nonempty-p): Use it.
5675         * files.el (after-find-file): Don't chase links before calling
5676         file-exists-p, as file-exists-p already does the right thing.
5678 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
5680         Merge from standalone RefTeX repository.
5682         The following ChangeLog entries are shortened versions of the
5683         original ones with file paths adapted.  A not so strongly edited
5684         version of the original ChangeLog can be found in the commit log.
5686         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5687         (reftex-arg-cite): Use `reftex-cite-key-separator'.
5688         Correctly handle new value type returned by `reftex-citation'.
5690         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5691         that entries with whitespace at various places are found.
5692         Doc fix. Include entries that are cross-referenced from cited entries.
5693         Include @String definitions in the resulting bib file.  Add header
5694         and footer defined in `reftex-create-bibtex-header' and
5695         `reftex-create-bibtex-footer'.
5696         (reftex-do-citation): Make it possible again to insert
5697         non-existent entries.  Save match data when asking for optional
5698         arguments. Return all keys, not just the first one.
5699         (reftex-all-used-citation-keys): Fix regexp to correctly extract
5700         all citations in the same line.
5701         (reftex-parse-bibtex-entry): Accept additional optional argument
5702         `raw' and keep quotes or braces if it is non-nil.  Match fields
5703         containing hyphens besides word constituents.
5704         (reftex-get-string-refs): New function.
5705         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5706         and ask if it should be reread in case it did.
5707         (reftex-pop-to-bibtex-entry)
5708         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5709         entries with spaces or tabs in front of arguments.
5710         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5711         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5712         Match entries containing numbers and symbol constituents.
5713         (reftex-do-citation, reftex-figure-out-cite-format):
5714         Use `reftex-cite-key-separator'.
5716         * textmodes/reftex-dcr.el: Move provide statement to end of file.
5717         (reftex-mouse-view-crossref): Explain why point is set.
5719         * textmodes/reftex-global.el: Whitespace changes.
5721         * textmodes/reftex-index.el: Move provide statement to end of
5722         file.
5723         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5724         (reftex-index-visit-phrases-buffer): Set marker when visiting
5725         buffer.  This allows for returning from the phrases file to the
5726         file one was just editing instead of the file where the last
5727         phrases was added from.
5728         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
5729         punctuation syntax as it usually is not used as string quote in
5730         TeX-related modes and may occur unmatched.  The change also
5731         prevents fontification of quoted content.
5732         (reftex-index-phrases-mode): Use it.
5734         * textmodes/reftex-parse.el (reftex-parse-from-file):
5735         Move backward one char if a `\' was matched after a section macro.
5736         (reftex-parse-from-file): Use beginning of match instead of end as
5737         bound.
5739         * textmodes/reftex-ref.el: Adapt creation of
5740         `reftex-<package>-<macro>' functions to new structure of
5741         `reftex-ref-style-alist'.
5742         (reftex-reference): Use `reftex-ref-style-list' function.
5743         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
5744         reference macro if `reftex-ref-macro-prompt' is non-nil.
5745         (reftex-reference): Pass refstyle to `reftex-format-special'.
5746         Determine reference macro by looking at
5747         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5748         Use only one special format function.
5749         (reftex-varioref-vref, reftex-fancyref-fref)
5750         (reftex-fancyref-Fref): Remove definitions.  The functions are now
5751         generated from `reftex-ref-style-alist'.
5752         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5753         Remove.
5754         (reftex-format-special): New function.
5756         * textmodes/reftex-sel.el
5757         (reftex-select-cycle-ref-style-internal): Adapt to new structure
5758         of `reftex-ref-style-alist'. Remove code for testing macro type.
5759         (reftex-select-toggle-varioref)
5760         (reftex-select-toggle-fancyref): Remove.
5761         (reftex-select-cycle-ref-style-internal)
5762         (reftex-select-cycle-ref-style-forward)
5763         (reftex-select-cycle-ref-style-backward): New functions.
5764         (reftex-select-label-map): Use `v' and `V' for general cycling
5765         through reference styles.  Add `p' for switching between number
5766         and page reference types.
5768         * textmodes/reftex-toc.el (reftex-re-enlarge):
5769         Call `enlarge-window' only if there is something to do because in Emacs
5770         the horizontal version throws an error even if the parameter is 0.
5772         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5773         (reftex-plug-into-AUCTeX): Doc fix.
5774         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5775         string.  Adapt to new name.
5776         (reftex-ref-style-alist): Change structure so that it is not
5777         possible to use multiple different package names within a style.
5778         Remove the symbols for symbols for macro type distinction.
5779         Add characters for macro selection.
5780         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5781         (reftex-create-bibtex-footer): New variables.
5782         (reftex-format-ref-function): Mention third argument of special
5783         format function.
5784         (reftex-ref-style-alist, reftex-ref-style-default-list):
5785         New variables.
5786         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5787         to new implementation.  Mark as obsolete.  Add compatibility code
5788         for honoring the variable values in case they are set.
5789         (reftex-cite-format-builtin, reftex-bibliography-commands):
5790         Add support for ConTeXt.
5791         (reftex-format-ref-function, reftex-format-cite-function):
5792         Fix custom type.
5793         (reftex-cite-key-separator): New variable.
5795         * textmodes/reftex.el (reftex-syntax-table-for-bib)
5796         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5797         `reftex-syntax-table' because parens have to retain their paren
5798         syntax in order for parsing of BibTeX entries like @book(...) to
5799         work.
5800         (reftex-in-comment): Do not error out if `comment-start-skip' is
5801         not set.  Deal correctly with escaped comment characters.
5802         (reftex-tie-multifile-symbols): Add doc string.
5803         Initialize `reftex-ref-style-list'.
5804         (reftex-untie-multifile-symbols): Add doc string.
5805         (reftex-add-index-macros): Doc fix.
5806         (reftex-ref-style-activate, reftex-ref-style-toggle)
5807         (reftex-ref-style-list): New functions.
5808         (reftex-mode-menu): Use them.  Adapt to new structure of
5809         `reftex-ref-style-alist'.
5810         (reftex-select-with-char): Kill the RefTeX Select buffer when
5811         done.
5812         (reftex-remove-if): New function.
5813         (reftex-erase-all-selection-and-index-buffers)
5814         (reftex-mode-menu): Reference styles are now computed from
5815         `reftex-ref-style-alist'.  Fix typo.
5816         (reftex-report-bug): New function.
5817         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5818         algorithms with O(n log n).  Introduce optional argument SORT (not
5819         yet used).
5821 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
5823         Enhancements for triple-quote string syntax.
5824         * progmodes/python.el (python-syntax-propertize-function):
5825         Match both quote cases in one regexp.
5826         (python-syntax-stringify): Handle matches properly.
5828 2012-09-30  Juri Linkov  <juri@jurta.org>
5830         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5831         to nil around the call to `insert' to prevent
5832         directory time modification by lock_file.  (Bug#2295)
5833         * tar-mode.el (tar-summarize-buffer): Idem.
5835 2012-09-30  Juri Linkov  <juri@jurta.org>
5837         * facemenu.el (list-colors-sort): Add option "Luminance".
5838         (list-colors-sort-key): Implement it.
5840         * vc/diff-mode.el (diff-refine-removed):
5841         * vc/ediff-init.el (ediff-fine-diff-A):
5842         * vc/smerge-mode.el (smerge-refined-removed):
5843         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
5845 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
5847         * term/ns-win.el (x-file-dialog): New function.
5849 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
5851         * ido.el (ido-max-directory-size): Default to nil; the current
5852         default is small for POSIX systems, and impractical on Windows 7
5853         now that lstat returns directory sizes for NTFS.
5855 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
5857         In buffer display functions handle window-height/window-width
5858         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
5859         * window.el (window--display-buffer): New argument ALIST.
5860         Obey window-height and window-width alist entries.
5861         (window--try-to-split-window): New argument ALIST.
5862         Bind window-combination-limit to t when the window's size shall be
5863         changed and window-combination-limit equals `window-size'.
5864         (display-buffer-in-atom-window)
5865         (display-buffer-in-major-side-window)
5866         (display-buffer-in-side-window, display-buffer-same-window)
5867         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5868         (display-buffer-pop-up-window, display-buffer-below-selected)
5869         (display-buffer-at-bottom, display-buffer-in-previous-window)
5870         (display-buffer-use-some-window): Adjust all callers of
5871         window--display-buffer and window--try-to-split-window.
5872         (fit-frame-to-buffer): New option.
5873         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5874         is non-nil.
5875         (display-buffer-in-major-side-window): Evaluate window-height /
5876         window-width alist entries.
5878         * help.el (temp-buffer-resize-frames)
5879         (temp-buffer-resize-regexps): Remove options.
5880         (temp-buffer-resize-mode): Adjust doc-string.
5881         (resize-temp-buffer-window): Don't consult
5882         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
5883         temp-buffer-resize-frames.
5885         * dired.el (dired-mark-pop-up):
5886         Call display-buffer-below-selected with a fit-window-to-buffer alist
5887         entry.
5889 2012-09-30  Chong Yidong  <cyd@gnu.org>
5891         * server.el (server-host): Document the security implications.
5892         (server-auth-key): Doc fix.
5894         * startup.el (initial-buffer-choice): Doc fix.
5896         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5898         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5899         restriction change.
5901         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5903         * help-fns.el (help-fns--obsolete): Fix last change.
5905 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5907         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5908         (minor-mode-map-alist): Remove redundant code.
5910         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5911         visited in a buffer.
5912         (cvs-insert-visited-file): New function.
5913         (find-file-hook): Use it.
5915         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5917         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5918         chose face.
5919         (log-edit-empty-buffer-p): Don't require a space after a header.
5921         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5923         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5925         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5926         a proper minor-mode.
5928         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5930 2012-09-29  Glenn Morris  <rgm@gnu.org>
5932         * winner.el (winner-mode): Remove variable (let define-minor-mode
5933         handle it).
5934         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5935         Doc fixes.
5936         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5937         (winner-mode): Use define-minor-mode.
5939         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5940         the full definition in loaddefs, rather than duplicating it.
5942         * help-macro.el (three-step-help): No need to autoload defcustom.
5944         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5945         (inferior-lisp-program, inferior-lisp-load-command)
5946         (inferior-lisp-prompt, inferior-lisp-mode-hook):
5947         No need to autoload defcustoms.
5949         * hippie-exp.el (hippie-expand-try-functions-list)
5950         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5951         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5952         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5953         (hippie-expand-only-buffers): No need to autoload defcustoms.
5954         * progmodes/vhdl-mode.el (vhdl-line-expand):
5955         Explicitly load hippie-exp, so it does not get autoloaded
5956         while hippie-expand-try-functions-list is let-bound.
5958 2012-09-28  Glenn Morris  <rgm@gnu.org>
5960         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5962         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5963         Only "cl.el" counts as cl these days.
5965 2012-09-28  Juri Linkov  <juri@jurta.org>
5967         Display archive errors in the echo area instead of inserting
5968         to the file buffer.
5970         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5971         to STDERR-TEST that can be a regexp matching a successful output.
5972         Create a temporary file and redirect stderr to it.  Search for
5973         STDERR-TEST in the stderr output and display it in the echo area
5974         if no match is found.
5975         (archive-extract-by-file): New function like
5976         `archive-extract-by-stdout' but extracting archives to files
5977         and looking for successful matches in stdout.  Function body is
5978         mostly copied from `archive-rar-extract'.
5979         (archive-rar-extract): Use `archive-extract-by-file'.
5980         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
5982 2012-09-28  Leo Liu  <sdl.web@gmail.com>
5984         * pcomplete.el (pcomplete-show-completions):
5985         Use minibuffer-message to make pcomplete usable in minibuffer.
5987         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5989 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5991         * type-break.el: Use lexical-binding.
5992         (type-break-mode): Use define-minor-mode.
5994         * emacs-lisp/pcase.el (pcase--mark-used): New.
5995         (pcase--u1): Use it (bug#12512).
5997         * custom.el (load-theme): Set buffer-file-name so the load is recorded
5998         in load-history with the right file name.
6000 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
6002         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6003         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6004         (doc-view-get-bounding-box): Make bounding box slicing work for
6005         ODF and DVI documents.
6007 2012-09-28  Glenn Morris  <rgm@gnu.org>
6009         * type-break.el (type-break-mode, type-break-interval)
6010         (type-break-good-rest-interval, type-break-keystroke-threshold):
6011         No need to autoload.
6012         (type-break-good-rest-interval, type-break-keystroke-threshold):
6013         Add :set-after.
6015 2012-09-28  Chong Yidong  <cyd@gnu.org>
6017         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6018         Add :version tag.
6020 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6022         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6024 2012-09-27  Glenn Morris  <rgm@gnu.org>
6026         * faces.el (x-display-name): Declare (for without-x builds).
6028         * linum.el (linum-format): Don't autoload it.  Improve :type.
6030         * progmodes/tcl.el: Don't require outline when compiling.
6031         (outline-regexp, outline-level): Declare.
6032         * textmodes/sgml-mode.el: Don't require outline when compiling.
6033         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6035         * term.el (term-ansi-reset):
6036         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
6038         * vc/vc.el (vc-next-action): Only gripe about committing read-only
6039         files for RCS and SCCS.  (Bug#9781)
6041 2012-09-27  Chong Yidong  <cyd@gnu.org>
6043         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6044         change; value should be t.
6046 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6048         * image-mode.el: Use lexical-binding.
6049         (image-mode-winprops): Use t to stand for the window of
6050         a buffer that's not displayed.
6051         * doc-view.el (doc-view-new-window-function): Handle the new
6052         t in winprops.
6053         (doc-view-enlarge): Make it a real nop if the size is not changed.
6054         (doc-view-display): Handle the case where the buffer is not (yet?)
6055         displayed in any window.
6056         (doc-view-saved-settings): New var.
6057         (doc-view-mode): Use it.
6058         (doc-view-fallback-mode): Set it.
6060         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6061         Set lexical-binding.
6062         (minibuffer-eldef-shorten-default): New var.
6063         (minibuffer-default-in-prompt-regexps): Use it for new default.
6064         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6066 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
6068         * international/uni-bidi.el:
6069         * international/uni-category.el:
6070         * international/uni-name.el:
6071         * international/uni-numeric.el: Regenerate.
6073 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
6074             Stefan Monnier  <monnier@iro.umontreal.ca>
6076         * profiler.el: New file.
6078 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6080         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6081         (testcover-reinstrument): Simplify with CSE.
6083 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
6085         * window.el (temp-buffer-window-setup): Fix typo in docstring.
6087 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
6089         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6090         (verilog-auto-input, verilog-auto-insert-lisp)
6091         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6092         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6093         (verilog-auto-unused, verilog-auto-wire)
6094         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6095         newline.  Reported by Andrew Jones.
6096         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6097         Reported by Brad Dobbie.
6098         (verilog-batch-delete-trailing-whitespace):
6099         Create verilog-batch-delete-trailing-whitespace.
6100         Reported by Brad Dobbie.
6101         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6102         parameters from another module.  Reported by Dan Katz.
6103         (verilog-auto, verilog-auto-assign-modport)
6104         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6105         AUTOINOUTMODPORT for UVM interface module shell generation.
6106         Reported by Brad Dobbie.
6107         (verilog-auto-inst-interfaced-ports): Make default nil, as more
6108         standard behavior.
6109         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6110         Reported by Matt Martin.
6112 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
6114         * window.el (window--resize-child-windows): When resizing child
6115         windows proportionally, process them in reverse order to
6116         preserve the "when splitting a window the new one gets the odd
6117         line" behavior.
6118         (window--resize-root-window-vertically): When resizing the
6119         minibuffer window try to affect only windows at the bottom of the
6120         frame.  (Bug#12419)
6122 2012-09-25  Chong Yidong  <cyd@gnu.org>
6124         * subr.el (declare): Doc fix.
6126         * help-fns.el (help-fns--obsolete): Handle macros properly.
6128 2012-09-25  Chong Yidong  <cyd@gnu.org>
6130         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6131         this function obsolete.
6133         * calendar/cal-x.el (calendar-two-frame-setup)
6134         (calendar-only-one-frame-setup, calendar-one-frame-setup):
6135         * calendar/calendar.el (american-calendar, european-calendar)
6136         (calendar-for-loop):
6137         * comint.el (comint-dynamic-simple-complete)
6138         (comint-dynamic-complete-as-filename, comint-unquote-filename):
6139         * desktop.el (desktop-load-default):
6140         * dired-x.el (dired-omit-here-always)
6141         (dired-hack-local-variables, dired-default-directory):
6142         * emacs-lisp/derived.el (derived-mode-class):
6143         * emacs-lisp/timer.el (timer-set-time-with-usecs):
6144         * emacs-lock.el (toggle-emacs-lock):
6145         * epa.el (epa-display-verify-result):
6146         * epg.el (epg-sign-keys, epg-start-sign-keys)
6147         (epg-passphrase-callback-function):
6148         * eshell/esh-util.el (eshell-for):
6149         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6150         (eshell-add-to-window-buffer-names):
6151         * files.el (locate-file-completion):
6152         * imenu.el (imenu-example--create-c-index)
6153         (imenu-example--create-lisp-index)
6154         (imenu-example--lisp-extract-index-name)
6155         (imenu-example--name-and-position):
6156         * international/mule-cmds.el (princ-list):
6157         * international/mule-diag.el (decode-codepage-char):
6158         * international/mule-util.el (detect-coding-with-priority):
6159         * iswitchb.el (iswitchb-read-buffer):
6160         * mail/mailalias.el (mail-complete):
6161         * mail/sendmail.el (mail-sent-via):
6162         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6163         (mouse-major-mode-menu):
6164         * password-cache.el (password-read-and-add):
6165         * pcomplete.el (pcomplete-parse-comint-arguments):
6166         * progmodes/sh-script.el (sh-maybe-here-document):
6167         * replace.el (query-replace-regexp-eval):
6168         * savehist.el (savehist-load):
6169         * simple.el (choose-completion-delete-max-match):
6170         * term.el (term-dynamic-simple-complete):
6171         * vc/ediff-init.el (ediff-check-version):
6172         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6173         * vc/vc.el (vc-diff-switches-list):
6174         * view.el (view-return-to-alist-update): Likewise.
6176         * subr.el (eval-next-after-load, makehash, insert-string)
6177         (assoc-ignore-representation, assoc-ignore-case): Use declare to
6178         mark obsolete.
6179         (mode-line-inverse-video): Variable deleted.
6181         * international/mule-util.el (string-to-sequence): Remove.
6183         * calendar/calendar.el (calendar-version):
6184         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6185         (icalendar-convert-diary-to-ical):
6186         * cus-edit.el (custom-mode):
6187         * ansi-color.el (ansi-color-unfontify-region):
6188         * international/latin1-disp.el (latin1-char-displayable-p):
6189         * progmodes/cwarn.el (turn-on-cwarn-mode):
6190         * progmodes/which-func.el (which-func-update-1):
6191         Use define-obsolete-function-alias.
6193         * net/newst-backend.el (newsticker-cache-filename):
6194         * net/newst-treeview.el (newsticker-groups-filename):
6195         Fix incorrect obsolescence declaration.
6197         * allout.el (allout-passphrase-hint-string): Likewise.
6198         (allout-init): Use a declare form to mark obsolete.
6200         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6201         this applies to functions.
6203         * iswitchb.el (iswitchb-read-buffer): Move code of
6204         iswitchb-define-mode-map here, and delete that obsolete function.
6206         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6207         font-lock-reference-face.
6209 2012-09-25  Glenn Morris  <rgm@gnu.org>
6211         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6212         Doc fixes.
6214         * eshell/em-term.el (eshell-term-name):
6215         Default to term-term-name.  (Bug#12485)
6217 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
6219         * progmodes/python.el (python-shell-send-buffer): Better handling
6220         of "if __name__ == '__main__':" conditionals when sending the buffer.
6222 2012-09-24  Glenn Morris  <rgm@gnu.org>
6224         * eshell/esh-cmd.el (eshell-find-alias-function):
6225         Tighten up file-name regexp.  (Bug#12499)
6227 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
6229         Enhancements for triple-quote string syntax.
6230         * progmodes/python.el (python-quote-syntax): Remove.
6231         (python-syntax-propertize-function): New value.
6232         (python-syntax-count-quotes, python-syntax-stringify):
6233         New functions.
6235 2012-09-24  Chong Yidong  <cyd@gnu.org>
6237         * mail/supercite.el (sc-version): Remove obsolete function.
6238         (sc-describe): Don't mark as obsolete, since it is bound.
6239         (sc-submit-bug-report): Remove.
6241         * vc/log-edit.el (cvs-changelog-full-paragraphs)
6242         (cvs-commit-buffer-require-final-newline): Remove.
6243         (log-edit-require-final-newline)
6244         (log-edit-changelog-full-paragraphs): Default to t.
6246         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6247         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6248         * vc/vc.el (vc-checkout-carefully): Likewise.
6250         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6251         (emerge-version): Remove.
6253         * progmodes/compile.el (compile-internal): Remove.
6254         (compilation-parse-errors-function): Fix typo.
6256         * international/mule.el (set-char-table-default): Remove.
6257         (set-coding-priority, make-coding-system, generic-char-p)
6258         (charset-list, charset-bytes, charset-id): Use declare to mark
6259         functions as obsolete.
6261         * vc/pcvs-defs.el (cvs-buffer-name-alist)
6262         (cvs-invert-ignore-marks): Remove references to obsolete vars.
6263         * vc/vc-hooks.el (vc-default-registered): Don't use
6264         vc-master-templates.
6266         * font-lock.el (font-lock-reference-face):
6267         Use define-obsolete-variable-alias.
6269         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6270         * calendar/calendar.el (calendar-font-lock-keywords):
6271         * calendar/diary-lib.el (diary-font-lock-keywords)
6272         (diary-fancy-font-lock-keywords):
6273         * textmodes/reftex-sel.el (reftex-insert-docstruct):
6274         * textmodes/reftex-index.el (reftex-insert-index):
6275         * textmodes/reftex-cite.el (reftex-format-bib-entry):
6276         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6277         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6278         * progmodes/prolog.el (prolog-font-lock-keywords):
6279         * progmodes/idlwave.el (idlwave-idl-keywords):
6280         * progmodes/ada-mode.el (ada-font-lock-keywords):
6281         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6283 2012-09-24  Glenn Morris  <rgm@gnu.org>
6285         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6287 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
6289         * progmodes/python.el (python-indent-line): More consistent cursor
6290         movement behavior.
6292 2012-09-23  Stefan Merten  <smerten@oekonux.de>
6294         * textmodes/rst.el: Fix compiler warning.
6296 2012-09-23  Roland Winkler  <winkler@gnu.org>
6298         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6299         Transcribe also LaTeX hyphenation.
6300         (bibtex-reformat): Bug fix. Do not quote twice the elements of
6301         bibtex-reformat-previous-options.
6303 2012-09-23  Roland Winkler  <winkler@gnu.org>
6305         * proced.el (proced-renice-command): New variable.
6306         (proced-marked-processes): New function.
6307         (proced-with-processes-buffer): New macro.
6308         (proced-send-signal): Use them.
6309         (proced-renice): New command bound to r.
6311 2012-09-23  Roland Winkler  <winkler@gnu.org>
6313         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6314         ibuffer-saved-filter-groups has one element, shortcut the call of
6315         completing-read.  (Bug#12331)
6317 2012-09-23  Chong Yidong  <cyd@gnu.org>
6319         * bindings.el (mode-line-toggle-read-only):
6320         * bs.el (bs-toggle-readonly):
6321         * buff-menu.el (Buffer-menu-toggle-read-only):
6322         * dired.el (dired-toggle-read-only):
6323         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6325 2012-09-23  Chong Yidong  <cyd@gnu.org>
6327         * image.el (image-type-available-p): Adapt to init-image-library
6328         argument changes.
6330 2012-09-22  Juri Linkov  <juri@jurta.org>
6332         * dired.el (dired-mode-map): Add [remap read-only-mode] for
6333         `dired-toggle-read-only'.  (Bug#12462)
6335 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
6337         * subr.el (temp-output-buffer-show): New function.
6338         (with-output-to-temp-buffer): Call temp-output-buffer-show
6339         instead of internal-temp-output-buffer-show.
6341 2012-09-22  Chong Yidong  <cyd@gnu.org>
6343         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6344         (Bug#12462).
6346         * repeat.el (repeat): Doc fix (Bug#12348).
6348         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6349         (Bug#10909).
6351         * simple.el (shell-command-on-region): Doc fix.
6352         (read-only-mode): Doc fix.
6354 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
6356         * emacs-lisp/timer.el (run-with-idle-timer)
6357         (timer-activate-when-idle): Warn against reinvoking an idle timer
6358         from within its own timer action.  (Bug#12447)
6360 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
6362         * cus-start.el (window-combination-limit): Add new optional
6363         values.
6364         * window.el (temp-buffer-window-show)
6365         (window--try-to-split-window): Handle new values of
6366         window-combination-limit (Bug#1806).
6367         (split-window): Test window-combination-limit for t instead of
6368         non-nil.
6369         (display-buffer-at-bottom): New buffer display action function.
6370         * help.el (temp-buffer-resize-regexps): New option.
6371         (temp-buffer-resize-mode): Rewrite doc-string.
6372         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6373         Don't resize reused window.  Suggested by Glenn Morris.
6375 2012-09-22  Stefan Merten  <smerten@oekonux.de>
6377         * textmodes/rst.el: Revamp section title faces.
6378         (rst-official-version)
6379         (rst-package-emacs-version-alist): Sync with official version
6380         V1.4.0.
6381         (rst-faces-defaults, rst-set-level-default)
6382         (rst-level-face-max, rst-level-face-base-color)
6383         (rst-level-face-base-light, rst-level-face-format-light)
6384         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6385         (rst-adornment-faces-alist): Match new setup.
6386         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6387         (rst-level-5, rst-level-6): New faces.
6389 2012-09-22  Chong Yidong  <cyd@gnu.org>
6391         * simple.el (undo): Handle indirect buffers (Bug#8207).
6393 2012-09-21  Leo Liu  <sdl.web@gmail.com>
6395         IDO: Disable match re-ordering for buffer switching.
6396         * ido.el (ido-buffer-disable-smart-matches): New variable.
6397         (ido-set-matches-1): Use it.  (Bug#2042)
6399 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
6401         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6402         Fix 2011-05-17 change.  (Bug#12418)
6404 2012-09-21  Leo Liu  <sdl.web@gmail.com>
6406         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6408 2012-09-21  Glenn Morris  <rgm@gnu.org>
6410         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6411         Be more robust about locating simple.el.
6413 2012-09-21  Glenn Morris  <rgm@gnu.org>
6415         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6417 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
6419         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
6421 2012-09-20  Juri Linkov  <juri@jurta.org>
6423         * replace.el (query-replace-read-from): Use `read-regexp' instead
6424         of `read-from-minibuffer' when `regexp-flag' is non-nil.
6425         (occur-read-primary-args): Use `read-regexp' instead of
6426         `read-string'.
6427         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6428         `read-from-minibuffer'.
6429         * isearch.el (isearch-occur): Use `read-regexp' instead of
6430         `read-string'.
6431         * dired.el (dired-read-regexp): Use `read-regexp' instead of
6432         `read-from-minibuffer'.
6433         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6434         of `read-string'.  (Bug#7567)
6436         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6437         and allow accepting a list of strings prepended to a list of
6438         standard default values.  Doc fix.  (Bug#12321)
6440         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
6442         * replace.el (read-regexp): Don't add ": " when PROMPT already
6443         ends with a colon and space.  (Bug#12321)
6445 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
6447         * doc-view.el (doc-view-display): Better fix for the cl-assertion
6448         error.
6450 2012-09-20  Stefan Merten  <smerten@oekonux.de>
6452         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6453         Fixes feature request bug#11711.
6454         (rst-mode): Create `imenu-create-index-function'.
6455         (rst-get-stripped-line): Delete after refactoring.
6456         (rst-section-tree, rst-section-tree-rec)
6457         (rst-section-tree-point): Refactor and document properly.
6458         (rst-imenu-find-adornments-for-position)
6459         (rst-imenu-convert-cell, rst-imenu-create-index):
6460         New function.
6462 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6464         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6465         (macroexp--expand-all): Use it.
6466         (macroexp--funcall-and-return): Remove by folding it into its sole
6467         caller (macroexp--warn-and-return).
6468         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6469         Use macroexp--obsolete-warning.
6471         * calc/calc.el: Fix last change by removing the whole chunk, since it
6472         was only needed back when Calc was not bundled.
6474 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
6476         * emacs-lisp/debug.el (debug): Restore assignment to
6477         debugger-old-buffer removed on 2012-09-08.
6479 2012-09-20  Juri Linkov  <juri@jurta.org>
6481         * dired-aux.el (dired-diff): Remove (require 'diff) since
6482         `diff-latest-backup-file' is now autoloaded.
6484 2012-09-20  Chong Yidong  <cyd@gnu.org>
6486         * vc/diff.el (diff-latest-backup-file): Autoload.
6488 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6490         * calc/calc.el: Remove redundant autoload shape check.
6491         (sel-mode): Don't defvar.
6492         (calc-get-stack-element): Add `sel-mode' arg instead.
6493         (calc-top, calc-top-list): Pass it this additional argument.
6494         * calc/calc-store.el (calc-store-map):
6495         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6496         (calc-map-equation, calc-outer-product, calc-inner-product):
6497         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6499         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6501 2012-09-19  Juri Linkov  <juri@jurta.org>
6503         * dired-aux.el (dired-diff): Add (require 'diff) because
6504         `diff-latest-backup-file' is not autoloaded.
6505         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6506         of `dired-get-filename' to t to not report error when there is
6507         no default file on the current line.
6509 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6511         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6512         macroexp--eval-if-compile.
6513         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6514         (macroexp--expand-all): Use them (bug#12371).
6516         * doc-view.el (doc-view-guess-paper-size)
6517         (doc-view-scale-bounding-box): Fix unbound `caddr'.
6519 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
6521         New feature: set optimal slice from BoundingBox information.
6522         * doc-view.el (doc-view-mode-map): Add keybinding.
6523         (doc-view-menu): Add menu entry.
6524         (doc-view-set-slice): Adapt docstring.
6525         (doc-view-get-bounding-box, doc-view-guess-paper-size)
6526         (doc-view-scale-bounding-box)
6527         (doc-view-set-slice-from-bounding-box): New functions.
6528         (doc-view-paper-sizes): New defvar.
6530 2012-09-19  Glenn Morris  <rgm@gnu.org>
6532         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6533         (byte-compile-log-warning): Autoload.  (Bug#12371)
6535         * calendar/calendar.el (calendar-american-month-header)
6536         (calendar-european-month-header, calendar-iso-month-header)
6537         (calendar-month-header): New options.
6538         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
6539         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
6541 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
6543         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6545 2012-09-18  Juri Linkov  <juri@jurta.org>
6547         * dired-aux.el (dired-diff): Restore original functionality of
6548         getting the default value, but keep new feature of using the
6549         latest existing backup file (`diff-latest-backup-file').
6551 2012-09-18  Juri Linkov  <juri@jurta.org>
6553         * dired.el (dired-mark): If the region is active in Transient Mark
6554         mode, mark all files in the active region.  Doc fix.
6555         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6556         Doc fix.  (Bug#10624)
6558 2012-09-18  Juri Linkov  <juri@jurta.org>
6560         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6561         attributes for M-n are pulled from the file at point.
6562         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6563         Suggested by Drew Adams.  (Bug#10624)
6565 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
6567         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6568         whitespace after "end".
6569         (ruby-do-end-to-brace): Collapse block to one line if it fits
6570         within fill-column.
6572 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
6574         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6575         value.
6576         (debug): Don't remove debugger window when debugger is expected
6577         to be back.
6579 2012-09-18  Chong Yidong  <cyd@gnu.org>
6581         * custom.el (defface): Doc fix.
6583         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6585 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
6587         * progmodes/compile.el (compilation-start): Use compilation-always-kill
6588         to initialize query-on-exit; then test that instead (bug#12288).
6590 2012-09-17  Stefan Merten  <smerten@oekonux.de>
6592         * textmodes/rst.el: Add support for `testcover'.
6593         (rst-defcustom-testcover, rst-testcover-add-compose)
6594         (rst-testcover-add-1value): New functions.
6595         (rst-portable-mark-active-p): Replace by `use-region-p'.
6596         (rst-update-section, rst-classify-adornment)
6597         (rst-find-title-line): Mark `1value' forms.
6598         (rst-classify-adornment): Remove superfluous form.
6599         (rst-update-section, rst-get-adornments-around)
6600         (rst-adornment-complete-p, rst-get-next-adornment)
6601         (rst-adjust, rst-promote-region)
6602         (rst-display-adornments-hierarchy, rst-straighten-adornments)
6603         (rst-find-pfx-in-region, rst-section-tree-rec)
6604         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6605         (rst-toc-node, rst-toc, rst-forward-section)
6606         (rst-iterate-leftmost-paragraphs)
6607         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6608         (rst-bullet-list-region)
6609         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6610         (rst-compile-find-conf, rst-compile)
6611         (rst-repeat-last-character): Fix style.
6613 2012-09-17  Chong Yidong  <cyd@gnu.org>
6615         * comint.el (comint--complete-file-name-data): Don't add a space
6616         if the status is `sole'; that adds a gratuitous space in the
6617         completion-cycling case (Bug#12092).
6619         * pcomplete.el (pcomplete-completions-at-point): Likewise.
6621 2012-09-17  Richard Stallman  <rms@gnu.org>
6623         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6624         only in the mime-shown mode, not in raw mode.
6625         (rmail-mime): Toggle off mime by displaying the message without
6626         mime processing.  (Bug#12305)
6628         * mail/rmail.el (rmail-retry-failure):
6629         Turn off mime processing first.  (Bug#12037)
6631         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6633 2012-09-17  Chong Yidong  <cyd@gnu.org>
6635         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6636         (shell-dynamic-complete-functions): Convert to defcustom.
6637         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6639         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6640         * comint.el (comint-prompt-read-only):
6641         * custom.el (defcustom):
6642         * hi-lock.el (hi-lock-mode):
6643         * ibuffer.el (ibuffer-formats):
6644         * ielm.el (ielm-prompt-read-only):
6645         * novice.el (disable-command):
6646         * saveplace.el (toggle-save-place):
6647         * speedbar.el (speedbar-supported-extension-expressions):
6648         * startup.el (auto-save-list-file-prefix, init-file-user)
6649         (after-init-hook, inhibit-startup-echo-area-message):
6650         * strokes.el (strokes-help):
6651         * time-stamp.el (time-stamp):
6652         * calendar/calendar.el (calendar, diary-file):
6653         * calendar/diary-lib.el (diary-mail-entries, diary)
6654         (diary-list-entries-hook):
6655         * calendar/holidays.el (holidays, calendar-holidays):
6656         * calendar/lunar.el (lunar-phases):
6657         * calendar/solar.el (sunrise-sunset):
6658         * emulation/edt.el (edt-load-keys):
6659         * emulation/viper.el (viper-mode):
6660         * eshell/em-alias.el (eshell-command-aliases-list):
6661         * eshell/esh-util.el (eshell-convert-numeric-arguments):
6662         * international/ogonek.el (ogonek-information):
6663         * net/tramp-cmds.el (tramp-bug):
6664         * net/quickurl.el (quickurl-reread-hook-postfix):
6665         * play/decipher.el (decipher-font-lock-keywords):
6666         * progmodes/cc-styles.el (c-set-style):
6667         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6668         * progmodes/inf-lisp.el (inferior-lisp-prompt):
6669         * progmodes/octave-mod.el (octave-mode):
6670         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6671         * progmodes/verilog-mode.el (verilog-read-defines):
6672         * textmodes/two-column.el (2C-mode): Likewise.
6674 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
6676         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6677         that holds many addresses.
6679 2012-09-16  Chong Yidong  <cyd@gnu.org>
6681         * align.el (align-areas): Call the indication function with
6682         positions instead of markers for arguments (Bug#12343).
6684         * files.el (parse-colon-path): Use split-string (Bug#12351).
6686         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6687         (display-buffer-function): Mark as obsolete.
6689         * progmodes/compile.el (compilation-parse-errors): Accept list
6690         values similar to font-lock-keywords (Bug#12136).
6691         Suggested by Oleksandr Manzyuk.
6692         (compilation-error-regexp-alist): Doc fix.
6694 2012-09-15  Glenn Morris  <rgm@gnu.org>
6696         * version.el (emacs-bzr-version-bzr): New function.
6697         (emacs-bzr-get-version): Add optional EXTERNAL argument.
6699         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6700         checkouts, check the parent dirstate matches the branch.
6701         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
6702         empty string.
6704         * version.el (emacs-bzr-version): Doc fix.
6705         (emacs-bzr-version-dirstate): New function.
6706         (emacs-bzr-get-version): For lightweight checkouts, if the parent
6707         is local try and check that it matches the branch.  If not, just
6708         use dirstate information.  (Bug#12441)
6710 2012-09-14  Juri Linkov  <juri@jurta.org>
6712         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6713         (Bug#12399)
6715 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6717         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6719         * emacs-lisp/edebug.el: Miscellaneous cleanup.
6720         Remove obsolete byte-compiler hack that tried to silence some warnings.
6721         (edebug-submit-bug-report): Remove.
6722         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6723         Remove aliases, use the un-prefixed name instead.
6724         (edebug-pop-to-buffer): Consider other frames.
6725         (edebug-original-read):: Make it more obvious that it's always defined.
6726         (edebug--make-form-data-entry, edebug--form-data-name)
6727         (edebug--form-data-begin, edebug--form-data-end): Rename from the
6728         single-dashed name, and implement with cl-defstruct.
6729         (edebug-set-form-data-entry): Use the standard accessors.
6730         (edebug-make-top-form-data-entry): Use push.
6731         (edebug-no-match): Drop useless `funcall'.
6732         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6733         to functions.
6734         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6735         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6736         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6737         (easy-menu-define, with-custom-print): Remove redundant specs.
6738         (edebug-outside-overriding-local-map)
6739         (edebug-outside-overriding-terminal-local-map): Remove, unused.
6740         (edebug--display): Bind unread-command-events directly to nil rather
6741         than binding it to unread-command-events and later setting it to nil.
6742         (edebug--display): Kill edebug-eval-buffer here...
6743         (edebug--recursive-edit): ...rather than here.
6744         Bind standard-output and standard-input.
6745         (edebug-eval): Check cl-macroexpand-all is fboundp.
6746         (edebug-temp-display-freq-count): Fix last change.
6748         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6749         * subr.el (noreturn, 1value): Add `debug' spec.
6750         * emacs-lisp/advice.el: Require cl-lib.
6751         (ad-copy-tree): Remove, use copy-tree instead.
6752         (ad-dolist): Remove use dolist or cl-dolist instead.
6753         (ad-do-return): Remove, use cl-return instead.
6754         (defadvice): Add `debug' spec.
6756 2012-09-13  Juri Linkov  <juri@jurta.org>
6758         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6759         (Bug#12399)
6761 2012-09-13  Glenn Morris  <rgm@gnu.org>
6763         * calc/calc.el (math-compose-expr):
6764         * calc/calc-ext.el (math-compose-expr):
6765         * progmodes/cc-defs.el (cl-macroexpand-all):
6766         * progmodes/cc-langs.el (delete-duplicates, mapcan)
6767         (cl-macroexpand-all): Update declarations.
6769         * vc/vc.el: No need to require ediff.
6770         (ediff-load-version-control): Declare.
6771         (ediff-vc-internal): Fix declaration.
6772         (vc-version-ediff): Require ediff.
6774 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
6776         Use a more backwards-compatible timer format (Bug#12430).
6777         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6778         being right after USECS, as that better supports old code that
6779         inadvisedly looked directly at the timer vector.
6781 2012-09-13  Kenichi Handa  <handa@gnu.org>
6783         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6784         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6785         `coding-priority' property of these language environment.
6787 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
6789         Fix glitches caused by addition of psec to timers (Bug#12430).
6790         * image.el (image-animate-timer):
6791         * time.el (display-time-world-timer):
6792         Use timer--function and timer--args rather than raw access to
6793         timer vector.
6795 2012-09-13  Glenn Morris  <rgm@gnu.org>
6797         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6798         If not compiling a file, try using load-file-name.
6800 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6802         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6803         Fix last change.
6804         (edebug-update-eval-list): Use `push'.
6806         * emacs-lisp/edebug.el: Use lexical-binding.
6807         Remove the "edebug-" prefix from non-dynamically-scoped variables.
6808         Mark unused args with underscore.
6809         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6810         (edebug-form-data): Use defvar-local.
6811         (edebug-make-before-and-after-form, edebug-make-after-form):
6812         Use backquote.
6813         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6814         Not dynamically scoped any more.
6815         (edebug--enter-trace): Add arguments `function' and `args'.
6816         Rename from edebug-enter-trace.
6817         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
6818         (edebug--update-coverage): Add `after-index' and `value' args.
6819         Rename from edebug-update-coverage.
6820         (edebug-slow-after): Call it accordingly.
6821         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
6822         edebug-recursive-edit.
6823         (edebug--display): Call it accordingly.  Add args `value',
6824         `offset-index', and `arg-mode'.  Rename from edebug-display.
6825         (edebug-debugger, edebug): Call it accordingly.
6826         (edebug-eval-display-list): Use dolist.
6828 2012-09-12  Juri Linkov  <juri@jurta.org>
6830         * info.el (Info-search): Don't check for isearch-mode and
6831         isearch-regexp before let-binding search-spaces-regexp to
6832         Info-search-whitespace-regexp.
6833         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6834         search-whitespace-regexp if isearch-lax-whitespace or
6835         isearch-regexp-lax-whitespace is non-nil.
6836         (Info-mode): Don't set local variable search-whitespace-regexp.
6837         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6839 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6841         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6842         (debugger-env-macro): Remove support for unread-command-char.
6844         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6845         the temporary map re-appearing on emulation-mode-map-alists.
6847         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6848         since 22.1.
6850         * ehelp.el (with-electric-help): Accept functions in
6851         electric-help-form-to-execute.
6852         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6853         And replace unread-command-char -> unread-command-events.
6855 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
6857         Sync with Tramp 2.2.6.
6859         * net/tramp.el (tramp-accept-process-output): Don't use
6860         JUST-THIS-ONE in the XEmacs case.
6862         * net/trampver.el: Update release number.
6864 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
6866         * emacs-lisp/debug.el (debugger-previous-window-height):
6867         New variable.
6868         (debug): When debugger-jumping-flag is non-nil try to restore
6869         height of debugger window.  (Bug#8789)
6871 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6873         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6874         overriding-local-map and pre/post-command-hook here.
6875         (edebug-recursive-edit): Do it here instead (bug#12345).
6876         (edebug-outside-unread-command-char): Remove all uses of
6877         unread-command-char.
6879         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6880         inhibit-debugger is bound instead.
6882 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6884         * subr.el (set-temporary-overlay-map): Add a docstring.
6885         (Bug#12346)
6887 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6889         * minibuffer.el (completion-table-subvert): Fix docstring.
6890         (Bug#12347)
6892 2012-09-11  Bastien Guerry  <bzg@gnu.org>
6894         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
6896 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
6898         * progmodes/sql.el: Version 3.1
6899         (sql-db2-escape-newlines): New variable.
6900         (sql-escape-newlines-filter): Use it.
6902 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
6904         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6906 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
6908         * vc/diff-mode.el (diff-mode-menu):
6909         Bind diff-remove-trailing-whitespace.
6911 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6913         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6914         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6915         (emacs-lisp-byte-code-mode): New functions.
6916         (eval-sexp-add-defvars): Don't skip defvars in column >0.
6917         (eval-defun-2): Remove bogus interactive spec.
6918         (lisp-indent-line): Remove redundant whole-exp code, now done in
6919         indent-according-to-mode.
6920         (save-match-data): Remove redundant indent data.
6922         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6923         Use `declare'.
6925 2012-09-09  Juri Linkov  <juri@jurta.org>
6927         * replace.el (replace-regexp-lax-whitespace): New defcustom.
6928         (replace-lax-whitespace, query-replace-regexp)
6929         (query-replace-regexp-eval, replace-regexp): Doc fix.
6930         (perform-replace, replace-highlight): Let-bind
6931         isearch-lax-whitespace to replace-lax-whitespace and
6932         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6934         * isearch.el (isearch-query-replace): Let-bind
6935         replace-lax-whitespace to isearch-lax-whitespace and
6936         replace-regexp-lax-whitespace to
6937         isearch-regexp-lax-whitespace.  (Bug#10885)
6939 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6941         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6943 2012-09-09  Alan Mackenzie  <acm@muc.de>
6945         * progmodes/cc-engine.el (c-state-cache-init):
6946         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6947         (c-record-parse-state-state):
6948         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6950 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
6952         * register.el (register-separator): Rename from
6953         separator-register.  All uses changed.  Doc fix.
6954         (register): Fix version.
6956 2012-09-09  Chong Yidong  <cyd@gnu.org>
6958         * replace.el (query-replace-map): Bind four new symbols for
6959         requesting window scrolling.
6961         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6962         query-replace-map (Bug#8948).
6964         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6966         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6967         since they are now in query-replace-map.
6969         * window.el (scroll-other-window-down): Make the arg optional.
6971 2012-09-09  Chong Yidong  <cyd@gnu.org>
6973         * files.el (hack-local-variables-confirm): Use quit-window to kill
6974         the *Local Variables* buffer.
6976 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
6978         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6979         not just expect to be at its beginning.  Adjust callees.
6980         Succeed when do-end block has no space before the pipe character.
6981         (ruby-brace-to-do-end): When the original block is one-liner,
6982         convert to multiline.  Reindent the result.
6984 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
6986         * register.el (register): New group.
6987         (separator-register): New user option.
6988         (increment-register): Route it to `append-to-register', if
6989         register contains text.  Implication is that `C-x r +' can now be
6990         used for appending to a text register (bug#12217).
6991         (append-to-register, prepend-to-register): Add separator based on
6992         `separator-register'.
6994 2012-09-08  Alan Mackenzie  <acm@muc.de>
6996         AWK Mode: make auto-newline work when there's "==" in the pattern.
6997         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6998         correctly.
6999         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7000         Test more rigorously for "=" token.
7002 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
7004         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7005         Only fail when reached LIMIT.
7007 2012-09-08  Chong Yidong  <cyd@gnu.org>
7009         * dired.el (dired-mode-map): Don't bind M-=.
7011         * dired-aux.el (dired-diff): Use backup file as default.
7013 2012-09-08  Drew Adams  <drew.adams@oracle.com>
7015         * subr.el (add-to-history): Fix delete usage (Bug#12314).
7017 2012-09-08  Chong Yidong  <cyd@gnu.org>
7019         * subr.el (syntax-after, syntax-class): Doc fix.
7021 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
7023         * window.el (display-buffer-in-previous-window): New buffer
7024         display action function.
7026         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7027         (debugger-previous-window): New variable.
7028         (debug): Rewrite using display-buffer-in-previous-window,
7029         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
7031 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7033         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
7035 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
7037         * progmodes/python.el (python-shell-send-string):
7038         When default-directory is remote, create temp file on remote
7039         filesystem.
7040         (python-shell-send-file): When file is remote, pass local view of
7041         file paths to remote Python interpreter.  (Bug#12340)
7043 2012-09-07  Chong Yidong  <cyd@gnu.org>
7045         * window.el (switch-to-buffer): Doc fix (Bug#12181).
7047         * files.el (after-find-file): Don't fail on a read-only buffer if
7048         require-final-newline is `visit' or `visit-save' (Bug#11156).
7050         * subr.el (read-char-choice): Allow quitting via ESC ESC.
7052         * userlock.el (ask-user-about-supersession-threat):
7053         Use read-char-choice (Bug#12093).
7055 2012-09-07  Chong Yidong  <cyd@gnu.org>
7057         * subr.el (buffer-narrowed-p): New function.
7059         * ses.el (ses-widen):
7060         * simple.el (count-words--buffer-message):
7061         * net/browse-url.el (browse-url-of-buffer): Use it.
7063         * simple.el (count-words-region): Don't signal an error if there
7064         is a non-nil prefix arg and the mark is not set.
7066         * help.el (describe-key-briefly): Allow the message to be seen
7067         when invoked from the minibuffer (Bug#7014).
7069 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
7071         * progmodes/ruby-mode.el (ruby-end-of-defun)
7072         (ruby-beginning-of-defun): Simplify, allow indentation before
7073         block beginning and end keywords.
7074         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7075         (ruby-end-of-defun): Expect that the point is at the beginning of
7076         the defun.
7078 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7080         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7081         (bug#12367).
7082         (cl--make-usage-args): Strip _ from argument names.
7084 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7086         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7087         obsolete alias speedbar-key-map.
7088         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7089         (vhdl-index-menu-init): Don't use obsolete variable
7090         font-lock-maximum-size.
7092 2012-09-06  Chong Yidong  <cyd@gnu.org>
7094         * frame.el (window-system-version): Mark as obsolete.
7096         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7097         of obsolete variable speedbar-key-map.
7099 2012-09-06  Juri Linkov  <juri@jurta.org>
7101         * replace.el (replace-lax-whitespace): New defcustom.
7102         (query-replace, query-replace-regexp, query-replace-regexp-eval)
7103         (replace-string, replace-regexp): Mention it in docstrings.
7104         (perform-replace, replace-highlight): Let-bind
7105         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7106         to the values of replace-lax-whitespace and regexp-flag.
7107         Don't let-bind search-whitespace-regexp.  (Bug#10885)
7109         * isearch.el (isearch-query-replace): Let-bind
7110         replace-lax-whitespace instead of let-binding
7111         replace-search-function and replace-re-search-function.
7112         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7113         and isearch-regexp-lax-whitespace to lazy-highlight variables.
7114         (isearch-toggle-symbol): Set isearch-regexp to nil
7115         in isearch-word mode (like in isearch-toggle-word).
7117 2012-09-06  Juri Linkov  <juri@jurta.org>
7119         * replace.el (replace-search-function)
7120         (replace-re-search-function): Set default values to nil.
7121         (perform-replace): Let-bind isearch-related variables based on
7122         replace-related values, call `isearch-search-fun' and let-bind
7123         the result to `search-function'.  Remove code that sets
7124         `search-function' and `search-string' separately for
7125         `delimited-flag'.
7126         (replace-highlight): Add new argument `delimited-flag' and
7127         rename other arguments to the names used in `perform-replace'.
7128         Let-bind `isearch-word' to the argument `delimited-flag'.
7129         (Bug#10885, bug#10887)
7131 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
7133         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7134         ruby-beginning-of-indent, simplify, allow all keywords to have
7135         indentation before them.
7136         (ruby-beginning-of-indent): Adjust for above.  Search until the
7137         found point is not inside a string or comment.
7138         (ruby-font-lock-keywords): Allow symbols to start with "@"
7139         character, give them higher priority than variables.
7140         (ruby-syntax-propertize-function)
7141         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7142         matchers.  Expression expansions are not comments when inside a
7143         string, and there comment syntax status is irrelevant.
7144         (ruby-match-expression-expansion): New function.  Check that
7145         expression expansion is inside a string, and it's not escaped.
7146         (ruby-font-lock-keywords): Use it.
7148 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
7150         * help.el (temp-buffer-max-height): New default value.
7151         (temp-buffer-resize-frames): New option.
7152         (resize-temp-buffer-window): Optionally resize frame.
7154         * window.el (fit-frame-to-buffer-bottom-margin): New option.
7155         (fit-frame-to-buffer): New function.
7157 2012-09-05  Glenn Morris  <rgm@gnu.org>
7159         * emulation/cua-rect.el (cua--init-rectangles):
7160         * textmodes/picture.el (picture-mode-map):
7161         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7162         like forward-char and backward-char.  (Bug#12317)
7164 2012-09-05  Leo Liu  <sdl.web@gmail.com>
7166         * progmodes/flymake.el (flymake-warning-re): New variable.
7167         (flymake-parse-line): Use it.
7169 2012-09-05  Glenn Morris  <rgm@gnu.org>
7171         * calendar/holidays.el (holiday-christian-holidays):
7172         Rename an entry.  (Bug#12289)
7174 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7176         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7177         (bug#12222).
7179 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7181         * loadup.el: Load macroexp.  Remove hack.
7182         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7183         (macroexp--expand-all): Use it to get better warnings.
7184         (macroexp--backtrace, macroexp--trim-backtrace-frame)
7185         (internal-macroexpand-for-load): New functions.
7186         (macroexp--pending-eager-loads): New var.
7187         (emacs-startup-hook): New hack to replace one in loadup.el.
7188         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7189         (cl--compiler-macro-cXXr): Move to top, before they can be used.
7190         (cl-psetf): Simplify.
7191         (cl-defstruct): Add indent rule.
7193 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
7195         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7196         over `user-mail-address' for the SMTP MAIL FROM envelope.
7197         (smtpmail-via-smtp): Ditto.
7199 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
7201         * progmodes/ruby-mode.el: Clean up keybindings.
7202         (ruby-mode-map): Don't bind ruby-electric-brace,
7203         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7204         backward-kill-word, reindent-then-newline-and-indent.
7205         (ruby-mark-defun): Remove.
7206         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
7207         (ruby-mode): Set local beginning-of-defun-function and
7208         end-of-defun-function values.
7210 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
7212         * window.el (temp-buffer-window-setup-hook)
7213         (temp-buffer-window-show-hook): New hooks.
7214         (temp-buffer-window-setup, temp-buffer-window-show)
7215         (with-temp-buffer-window): New functions.
7216         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7217         (special-display-popup-frame): Make sure the window used shows BUFFER.
7219         * help.el (temp-buffer-resize-mode): Fix doc-string.
7220         (resize-temp-buffer-window): New optional argument WINDOW.
7222         * files.el (recover-file, save-buffers-kill-emacs):
7223         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7225 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
7227         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7228         remote definition of `default-directory', ensure we can connect.
7230 2012-09-02  Juri Linkov  <juri@jurta.org>
7232         Toggle whitespace matching mode with M-s SPC.
7233         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7235         * isearch.el (search-whitespace-regexp): Doc fix.
7236         Remove cons cell customization.
7237         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7238         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7239         New variables.
7240         (isearch-forward, isearch-forward-regexp): Doc fix.
7241         (isearch-toggle-lax-whitespace): New command.
7242         (search-forward-lax-whitespace, search-backward-lax-whitespace)
7243         (re-search-forward-lax-whitespace)
7244         (re-search-backward-lax-whitespace): New functions.
7245         (isearch-whitespace-regexp): Remove function.
7246         (isearch-query-replace): Let-bind replace-search-function and
7247         replace-re-search-function.
7248         (isearch-occur): Let-bind search-spaces-regexp according to the
7249         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7250         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7251         condition for C-q SPC.
7252         (isearch-search-fun-default): Use new functions mentioned above.
7253         (isearch-search-forward, isearch-search-backward): Remove functions.
7254         (isearch-search): Don't let-bind search-spaces-regexp.
7255         (isearch-lazy-highlight-space-regexp): Remove variable.
7256         (isearch-lazy-highlight-lax-whitespace)
7257         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7258         (isearch-lazy-highlight-new-loop): Use them.
7259         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7261 2012-09-02  Chong Yidong  <cyd@gnu.org>
7263         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7265 2012-09-02  Glenn Morris  <rgm@gnu.org>
7267         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
7269 2012-09-01  Glenn Morris  <rgm@gnu.org>
7271         * term.el: Tidy up menu definitions.
7272         (term-mode-map): Use easymenu for In/Out, Complete menus.
7273         (term-pager-break-map): Initialize in the defvar.
7274         (term-terminal-menu, term-signals-menu): Define with easymenu.
7275         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
7276         (term-pager-menu): New, extracted from term-process-pager.
7277         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7278         (term-update-mode-line): Propertize line/char and page items.
7279         (term-process-pager): Move keymap initialization elsewhere.
7281 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
7283         * window.el (switch-to-prev-buffer): Handle additional values of
7284         BURY-OR-KILL argument.  Don't switch in minibuffer window.
7285         (switch-to-next-buffer): Don't switch in minibuffer window.
7286         (quit-restore-window): New function based on quit-window.
7287         Handle additional values of former KILL argument.
7288         (quit-window): Call quit-restore-window with appropriate
7289         interpretation of KILL argument.
7290         (display-buffer-below-selected): New buffer display action
7291         function.
7293 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7295         * minibuffer.el (completion-at-point-functions): Complete docstring
7296         (bug#12254).
7298 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
7300         Better seed support for (random).
7301         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7302         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7303         * play/mpuz.el, play/tetris.el, play/zone.el:
7304         * calc/calc-comb.el (math-init-random-base):
7305         * play/blackbox.el (bb-init-board):
7306         * play/life.el (life):
7307         * server.el (server-use-tcp):
7308         * type-break.el (type-break):
7309         Remove unnecessary call to (random t).
7310         * net/sasl.el (sasl-unique-id-function):
7311         Change (random t) to (random), now that the latter is more random.
7312         * play/life.el (life-initialized): Remove no-longer-needed var.
7314 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
7316         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7317         Consider frame's buffer predicate when choosing the buffer.
7318         (Bug#12081)
7320 2012-08-30  Richard Stallman  <rms@gnu.org>
7322         * simple.el (special-mode-map): Delete binding for `z'.
7324 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
7326         * progmodes/compile.el (compilation-always-kill): Doc fix.
7328 2012-08-30  Chong Yidong  <cyd@gnu.org>
7330         * window.el (display-buffer-reuse-frames): Make the obsolescence
7331         message more informative.
7333 2012-08-30  Glenn Morris  <rgm@gnu.org>
7335         * paren.el (show-paren-delay):
7336         Add a :set function.  Doc fix.  (Bug#12297)
7338 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
7340         * progmodes/compile.el (compilation-always-kill): New var.
7341         (compilation-start): Use it.
7343 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7345         * simple.el (read-only-mode): Move from files.el for bootstrapping.
7346         * files.el (read-only-mode): Move to simple.el.
7348         * files.el (read-only-mode): New minor mode.
7349         (toggle-read-only): Use it and mark obsolete.
7350         (find-file--read-only):
7351         * vc/vc.el (vc-next-action, vc-checkout):
7352         * vc/vc-cvs.el (vc-cvs-checkout):
7353         * obsolete/vc-mcvs.el (vc-mcvs-update):
7354         * ffap.el (ffap--toggle-read-only): Update callers.
7356 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
7358         * eshell/esh-ext.el (eshell-external-command): Do not examine
7359         remote shell scripts.
7360         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7362         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7363         "/usr/local/sbin".
7365 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7367         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7369 2012-08-28  Leo Liu  <sdl.web@gmail.com>
7371         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7372         completion-at-point.  (Bug#12220)
7374         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7376         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7378 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7380         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7381         be buffer-local; add delete-trailing-whitespace (bug#12259).
7383 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
7385         * progmodes/hideif.el (hif-compress-define-list):
7386         Fix typo.  (Bug#11951)
7388 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
7390         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7391         buffer local setting.
7393         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7394         rcirc-encode-coding-system.
7396 2012-08-28  Leo Liu  <sdl.web@gmail.com>
7398         * net/rcirc.el (rcirc-split-message): New function.
7399         (rcirc-send-message): Use it.  (Bug#12051)
7401 2012-08-28  Juri Linkov  <juri@jurta.org>
7403         * info.el (Info-fontify-node): Hide empty lines at the end of
7404         the node.  (Bug#12272)
7406 2012-08-27  Drew Adams  <drew.adams@oracle.com>
7408         * dired.el (dired-pop-to-buffer): Make window start at beginning
7409         of buffer (Bug#12281).
7411 2012-08-26  Chong Yidong  <cyd@gnu.org>
7413         * window.el (special-display-regexps, special-display-frame-alist)
7414         (special-display-buffer-names, special-display-function)
7415         (display-buffer-reuse-frames): Mark as obsolete.
7417         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7419         * help.el (help-print-return-message): Don't treat
7420         display-buffer-reuse-frames specially.
7422 2012-08-26  Chong Yidong  <cyd@gnu.org>
7424         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7425         New variable, replacing gdb-frame-parameters.
7426         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7427         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7428         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7429         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7430         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
7431         the functions directly with gdb-display-buffer-other-frame-action.
7432         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7433         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7434         (gdb-display-stack-buffer, gdb-display-locals-buffer)
7435         (gdb-display-registers-buffer): Define directly.
7436         (def-gdb-display-buffer): Macro deleted.
7437         (gdb-display-buffer): Remove second and third args, callers don't
7438         use them.  Defer to the default display-buffer behavior, apart
7439         from making windows dedicated.
7440         (gdb-setup-windows): Don't call display-buffer unnecessarily.
7442         * progmodes/gud.el (gud-display-line): Just use display-buffer.
7444         * window.el (display-buffer-pop-up-frame): Handle a
7445         pop-up-frame-parameters alist entry.
7446         (display-buffer): Document it.
7448 2012-08-26  Chong Yidong  <cyd@gnu.org>
7450         * isearch.el (search-whitespace-regexp): Make string and nil
7451         values apply to both ordinary and regexp search.  Allow a cons
7452         cell value to distinguish between the two.
7453         (isearch-whitespace-regexp, isearch-search-forward)
7454         (isearch-search-backward): New functions.
7455         (isearch-occur, isearch-search-fun-default, isearch-search)
7456         (isearch-lazy-highlight-new-loop): Use them.
7457         (isearch-forward, isearch-forward-regexp): Doc fix.
7459 2012-08-26  Chong Yidong  <cyd@gnu.org>
7461         * faces.el (help-argument-name): Always inherit from italic
7462         (Bug#12213).
7464 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
7466         * window.el (window--even-window-heights): Even heights when
7467         WINDOW and the selected window form a vertical combination.
7468         (display-buffer-use-some-window): Provide that window used gets
7469         sized back by quit-window.  (Bug#11880) and (Bug#12091)
7471 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
7473         Fix file time stamp problem with bzr and CVS (Bug#12001).
7474         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7475         in the file's time stamp, since the version control system loses
7476         that information.
7478 2012-08-22  Juri Linkov  <juri@jurta.org>
7480         * info.el (Info-fontify-node): Hide the suffix of the
7481         Info file name in the header line.  (Bug#12187)
7483 2012-08-22  Glenn Morris  <rgm@gnu.org>
7485         * calendar/cal-tex.el (cal-tex-weekly-common):
7486         Restore leading blank page.
7488 2012-08-22  Le Wang  <l26wang@gmail.com>
7490         * misc.el (forward-to-word, backward-to-word): Activate or extend
7491         the region under `shift-select-mode'.  (Bug#12231)
7493 2012-08-22  Bastien Guerry  <bzg@gnu.org>
7495         * progmodes/executable.el (executable-prefix): Set to "#!" instead
7496         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
7497         gives details on why the space is never needed.
7499 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
7501         * window.el (walk-window-tree, window-with-parameter):
7502         New optional argument MINIBUF to control whether these functions
7503         should run on the minibuffer window.
7504         (window-at-side-list): Don't operate on minibuffer window.
7505         (window-in-direction): Simplify and rewrite doc-string.
7506         (window--size-ignore): Rename to window--size-ignore-p.
7507         Update callers.
7508         (display-buffer-in-atom-window, window--major-non-side-window)
7509         (window--major-side-window, display-buffer-in-major-side-window)
7510         (delete-side-window, display-buffer-in-side-window):
7511         New functions.
7512         (window--side-check, window-deletable-p, delete-window)
7513         (delete-other-windows, split-window): Handle side windows and
7514         atomic windows appropriately.
7515         (window--display-buffer): Call display-buffer-record-window also
7516         when the window buffer did not change.
7518 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
7520         * help-fns.el (help-fns--key-bindings):
7521         Abbreviate non-symbol remap targets.  (Bug#12174)
7523 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
7525         * dired.el (dired-mark-remembered): Don't clobber point.
7526         (Bug#11795)
7528 2012-08-22  Glenn Morris  <rgm@gnu.org>
7530         * progmodes/bug-reference.el (bug-reference): New custom group.
7531         (bug-reference-bug-regexp): Make it a defcustom.
7533 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
7535         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7536         (js-paren-indent-offset, js-square-indent-offset)
7537         (js-curly-indent-offset): Add :safe (Bug#12257).
7539 2012-08-22  Edward O'Connor  <hober0@gmail.com>
7541         * json.el (json-key-format): Add error properties.
7542         (json-encode-key): New function.
7543         (json-encode-hash-table, json-encode-alist, json-encode-plist):
7544         Use json-encode-key.
7546 2012-08-22  Glenn Morris  <rgm@gnu.org>
7548         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7549         (cal-tex-leftday, cal-tex-rightday): Remove functions.
7550         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7551         Update for above change.
7553 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
7555         * cus-face.el (custom-face-attributes): Fix customize type for the
7556         :underline attribute.  (Bug#11805)
7558 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
7560         * window.el (window-point-1, set-window-point-1): Remove.
7561         (window-in-direction, record-window-buffer)
7562         (set-window-buffer-start-and-point, split-window-below)
7563         (window--state-get-1, display-buffer-record-window):
7564         Replace calls to window-point-1 and set-window-point-1 by calls to
7565         window-point and set-window-point respectively.
7567 2012-08-21  Glenn Morris  <rgm@gnu.org>
7569         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7570         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7571         Use it.
7573         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7574         (cal-tex-shortday): New function.
7575         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7576         (cal-tex-cursor-filofax-daily): Use the above.
7578         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7579         New functions.
7580         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7581         (cal-tex-cursor-filofax-week): Use them.
7583         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7584         New constants.
7585         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7586         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7588         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7589         (cal-tex-end-document): Don't rely on buffer name.
7591         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7592         Use cal-tex-vspace.
7593         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7594         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7595         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7596         Use cal-tex-arg.
7598         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7599         (cal-tex-cursor-week, cal-tex-cursor-week2)
7600         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7601         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7602         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7603         (cal-tex-insert-preamble, cal-tex-b-document)
7604         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7605         Improve cal-tex-cmd usage.
7607         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7608         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7609         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7610         (cal-tex-weekly-paper): New function.
7611         (cal-tex-cursor-week, cal-tex-cursor-week2)
7612         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7613         (cal-tex-cursor-day): Use it.
7615         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7616         (cal-tex-cursor-filofax-week): Remove leading blank page.
7618         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7619         Add autoload cookie.  For now at least, don't use color, since
7620         no other cal-tex function does.
7622         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7623         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7624         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7626 2012-08-21  Juri Linkov  <juri@jurta.org>
7628         * info.el (Info-file-attributes): New variable.
7629         (info-insert-file-contents): Add file attributes to
7630         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
7631         `Info-toc-nodes' when previous modtime of the Info file is less
7632         than new modtime.
7633         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7634         of info.el.  (Bug#12230)
7636 2012-08-20  Glenn Morris  <rgm@gnu.org>
7638         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7639         * calendar/holidays.el (calendar-holiday-list):
7640         Report errors with display-warning rather than beep'n'sleep.
7642 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
7644         * net/tramp.el (tramp-accept-process-output): Accept only output
7645         from PROC.  Otherwise, process filters and sentinels might be
7646         confused.  (Bug#12145)
7648 2012-08-20  Chong Yidong  <cyd@gnu.org>
7650         * descr-text.el (describe-text-properties-1): Use overlays-in to
7651         report on empty overlays (Bug#3322).
7653 2012-08-20  Glenn Morris  <rgm@gnu.org>
7655         * mail/rmailout.el (rmail-output-read-file-name):
7656         Trap and report errors in rmail-output-file-alist elements.
7658         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7659         since most non-font-lock faces are not also variables).
7661 2012-08-20  Edward Reingold  <reingold@iit.edu>
7663         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7664         New function.  (Bug12160)
7666 2012-08-19  Glenn Morris  <rgm@gnu.org>
7668         * mail/rmailout.el (rmail-output-read-file-name):
7669         Fix previous change (when the alist is nil or does not match).
7671 2012-08-19  Chong Yidong  <cyd@gnu.org>
7673         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7674         (Bug#12228).
7676 2012-08-18  Chong Yidong  <cyd@gnu.org>
7678         * simple.el (yank-handled-properties): New defcustom.
7679         (yank-excluded-properties): Add font-lock-face and category.
7680         (yank): Doc fix.
7682         * subr.el (remove-yank-excluded-properties):
7683         Obey yank-handled-properties.  The special handling of font-lock-face
7684         and category is now done this way, instead of being hard-coded.
7685         (insert-for-yank-1): Remove font-lock-face handling.
7686         (yank-handle-font-lock-face-property)
7687         (yank-handle-category-property): New function.
7689 2012-08-17  Glenn Morris  <rgm@gnu.org>
7691         * mail/rmailout.el (rmail-output-read-file-name):
7692         Check rmail-output-file-alist against the full message body
7693         in the correct rmail buffer.  (Bug#12214)
7695 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
7697         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7698         Eliminate superfluous prompt.  (Bug#12203)
7700 2012-08-17  Chong Yidong  <cyd@gnu.org>
7702         * mouse.el (mouse-appearance-menu): If x-select-font returns a
7703         font spec, set the font directly (Bug#3228).
7705 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
7707         * window.el (delete-window): Fix last fix.
7709 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
7711         * window.el (window-valid-p): Move to window.c.
7712         (window-child, window-child-count, window-last-child)
7713         (window-normalize-window, window-combined-p)
7714         (window-combinations, window-atom-root, window-min-size)
7715         (window-sizable, window-sizable-p, window-size-fixed-p)
7716         (window-min-delta, window-max-delta, window--resizable)
7717         (window--resizable-p, window-resizable, window-total-size)
7718         (window-full-height-p, window-full-width-p, window-body-size)
7719         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7720         (minimize-window, window-deletable-p, delete-window)
7721         (delete-other-windows, set-window-buffer-start-and-point)
7722         (next-buffer, previous-buffer, split-window, balance-windows-2)
7723         (set-window-text-height, window-buffer-height)
7724         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7725         (truncated-partial-width-window-p): Minor code adjustments.
7726         In doc-strings state whether the argument window has to denote a
7727         live, valid or any window.
7729 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
7731         * progmodes/subword.el (subword-forward-function)
7732         (subword-backward-function, subword-forward-regexp)
7733         (subword-backward-regexp): New variables.
7734         (subword-forward, subword-forward-internal, subword-backward-internal):
7735         Use new variables, eg so that different "word" definitions
7736         can be easily used.  (Bug#11411)
7738 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7740         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7741         for composite selectors.
7742         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7743         operation just because we can't find a previous revision.
7745 2012-08-15  Chong Yidong  <cyd@gnu.org>
7747         * frame.el (set-frame-font): Accept font objects.
7749 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7751         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7753 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
7755         * man.el (Man-overstrike-face, Man-underline-face)
7756         (Man-reverse-face): Remove variables.
7757         (Man-overstrike, Man-underline, Man-reverse): New faces.
7758         (Man-fontify-manpage): Use them instead of the variables.
7759         (Man-cleanup-manpage): Comment change.
7760         (Man-ansi-color-map): New variable.
7761         (Man-fontify-manpage): Use it.
7762         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7764         Implement ANSI SGR parameters 22-27 (bug#12146).
7765         * ansi-color.el (ansi-colors): Doc fix.
7766         (ansi-color-context, ansi-color-context-region): Doc fix.
7767         (ansi-color--find-face): New function.
7768         (ansi-color-apply, ansi-color-apply-on-region): Use it.
7769         Rename the local variable `face' to `codes' since it is now a list of
7770         ansi codes.  Doc fix.
7771         (ansi-color-get-face): Remove.
7772         (ansi-color-parse-sequence): New function, derived from
7773         ansi-color-get-face.
7774         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
7775         codes 22-27.
7777 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7779         * subr.el (read-passwd): Allow use from a minibuffer.
7781 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
7783         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7784         inside comments and strings as identifiers.
7786         * progmodes/gud.el (gud-tooltip-print-command): Quote the
7787         expression to evaluate.  This allows to evaluate expressions with
7788         embedded whitespace.
7789         (gud-tooltip-tips): Add a blank before the newline in the
7790         message-box text, for the benefit of message-box emulation on
7791         MS-Windows.
7793         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7794         messages from GDB, pop them up in a tooltip to give feedback to
7795         user.
7796         (gdb-tooltip-print-1): Quote the expression to evaluate.
7797         This allows to evaluate expressions with embedded whitespace.
7798         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7799         if the TTY name is nil or empty (which happens when communicating
7800         with the inferior via pipes, e.g. on MS-Windows).
7801         (gdb-internals): If GDB sends a "&\n" empty debugging message,
7802         don't send that to the GUD buffer.
7804 2012-08-14  Glenn Morris  <rgm@gnu.org>
7806         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7807         Optimize away setq-default with no args, as for setq.  (Bug#12195)
7809 2012-08-14  Chong Yidong  <cyd@gnu.org>
7811         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7813         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7814         (Bug#12085).
7816 2012-08-14  Glenn Morris  <rgm@gnu.org>
7818         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7820 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
7822         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7823         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7824         Use cached shell name.
7826 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
7828         * progmodes/python.el (python-shell-send-string):
7829         (python-shell-send-setup-code): Do not use `format' with `message'.
7831 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
7833         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7834         (ruby-percent-literal-beg-re): New constant.
7835         (ruby-syntax-general-delimiters-goto-beg): Rename to
7836         `ruby-syntax-enclosing-percent-literal', improve literal type check.
7837         (ruby-syntax-propertize-general-delimiters): Rename to
7838         `ruby-syntax-propertize-percent-literal', it's a shorter and more
7839         popular term.  Adjust comments everywhere.
7840         (ruby-syntax-propertize-percent-literal): Only propertize when not
7841         inside a simple string or comment.  When the literal is unclosed,
7842         leave the text after it unpropertized.
7843         (ruby-syntax-methods-before-regexp): New constant.
7844         (ruby-syntax-propertize-function): Use it to recognize regexps.
7845         Don't look at the text after regexp, just use the whitelist.
7847 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
7849         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7850         non-nil always load the compiled file if it exists.  (Bug#12197)
7852 2012-08-14  Chong Yidong  <cyd@gnu.org>
7854         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7855         (hi-lock-set-pattern): When deciding whether to use font lock or
7856         overlays, look at font-lock-mode instead of font-lock-fontified
7857         (Bug#12168).
7858         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7859         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7861 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
7863         * subr.el (internal--after-with-selected-window): Fix typo
7864         (Bug#12193).
7866 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
7868         Use `completion-table-dynamic' for completion functions.
7869         * progmodes/python.el
7870         (python-shell-completion--do-completion-at-point)
7871         (python-shell-completion--get-completions):
7872         Remove functions.
7873         (python-shell-completion-complete-at-point): New function.
7874         (python-completion-complete-at-point): Use it.
7876 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
7878         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7879         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7881 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7883         * subr.el (function-get): Refine `autoload' arg so it can also
7884         autoload functions for gv.el (bug#12191).
7885         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7886         autoloads macros.
7888         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7889         Prefer pcase-let over destructuring-bind.
7890         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7891         Also, remove whitespace as we go, rather than after accumulating the
7892         various places.
7894         * subr.el (internal--before-with-selected-window)
7895         (internal--after-with-selected-window): Fix typo seleted->selected.
7896         (with-selected-window): Adjust callers.
7897         Reported by Dmitry Gutov <dgutov@yandex.ru>.
7899 2012-08-13  Bastien Guerry  <bzg@gnu.org>
7901         * window.el (special-display-popup-frame): Minor docstring
7902         enhancement.  (Bug#12172)
7904 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
7906         * tar-mode.el (tar-header-data-end): Only ignore size for files of
7907         type 1-6.
7908         (tar-header-block-summarize, tar-get-descriptor): Handle pax
7909         extended headers.
7911         * files.el (hack-local-variables-filter): Remove useless eval.
7913 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
7915         * subr.el (with-selected-window): Fix last change.
7917 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7919         * subr.el (internal--before-with-seleted-window)
7920         (internal--after-with-seleted-window): New functions.
7921         (with-selected-window): Use them, to replace dependency on
7922         tty-top-frame.
7924 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
7926         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7927         binding for `newline'.
7928         (ruby-move-to-block): When moving backward, stop at block opening,
7929         not indentation.
7930         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7931         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7932         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7933         `ruby-toggle-block'.
7935 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7937         * ibuffer.el (ibuffer-do-toggle-read-only):
7938         * dired.el (dired-toggle-read-only):
7939         * buff-menu.el (Buffer-menu-toggle-read-only):
7940         * bindings.el (mode-line-toggle-read-only):
7941         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7943 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
7945         * descr-text.el (describe-char): Put the overlays over the
7946         "displayed as" character.
7948 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
7950         * calc/calc-units.el (math-default-units-table): Give an
7951         initial value.
7952         (math-put-default-units): Add options to put composite units and
7953         unit systems in the default units table.
7954         (calc-convert-units): Send composite units to
7955         `math-put-default-units' when appropriate.
7957 2012-08-11  Glenn Morris  <rgm@gnu.org>
7959         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7961         * tutorial.el (help-with-tutorial):
7962         * emacs-lisp/copyright.el (copyright-update-directory):
7963         * emacs-lisp/autoload.el (autoload-find-generated-file)
7964         (autoload-find-file): Disable local eval: (for insurance).
7966         * files.el (hack-local-variables-filter): If an eval: form is not
7967         known to be safe, and enable-local-variables is :safe, then ignore
7968         the form totally, as is done for non-eval forms.  (Bug#12155)
7969         This is CVE-2012-3479.
7971 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7974         (rx-form): Simplify.
7976 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
7978         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7979         ?, _, and : are symbol constituents, ! is not (but kinda should be).
7980         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7981         (ruby-syntax-propertize-function): Adjust for changes in
7982         `ruby-syntax-propertize-heredoc'.
7984 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
7986         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7987         binding (use `M-;' instead).
7988         (ruby-singleton-class-p): New function.
7989         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7991 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7993         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7995 2012-08-10  Chong Yidong  <cyd@gnu.org>
7997         * progmodes/python.el (python-shell-get-process-name): Don't mess
7998         with same-window-buffer-names.
8000         * eshell/eshell.el (eshell-add-to-window-buffer-names)
8001         (eshell-remove-from-window-buffer-names): Make obsolete.
8002         (eshell-buffer-name, eshell-unload-hook): Don't use them.
8003         (eshell): Just use pop-to-buffer-same-window instead.
8005 2012-08-10  Chong Yidong  <cyd@gnu.org>
8007         * bindings.el: Bind M-= back to count-words-region.
8009         * simple.el (count-words-region): Accept a prefix arg for acting
8010         on the entire buffer.
8011         (count-words--buffer-message): New helper function.
8013 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8015         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8016         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8017         (event-start, event-end): Use posn-at-point to return a more
8018         informative posn.
8019         (posnp): New function.
8020         * mouse.el (popup-menu-normalize-position): Use it.
8022 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
8024         * mouse.el (popup-menu-normalize-position): New function.
8025         (popup-menu): Use `popup-menu-normalize-position' to normalize
8026         the form for POSITION argument.
8028         * term/x-win.el (x-menu-bar-open):
8029         Use the value returend from (posn-at-point) as position
8030         passed to `popup-menu'.
8032 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
8034         * calc/calccomp.el (math-compose-expr): Add extra argument
8035         indicating that parentheses should be put around products in
8036         denominators.  Give multiplication precedence over division during
8037         composition.
8039 2012-08-09  Chong Yidong  <cyd@gnu.org>
8041         * man.el (Man-switches, Man-sed-command, Man-awk-command)
8042         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8043         (Man-untabify-command, manual-program): Convert to defcustom
8044         (Bug#10429).
8046         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8048         * descr-text.el (describe-char): Don't insert extra newlines
8049         (Bug#10127).
8051         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8052         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8054         * align.el (align-region): Delete temporary markers (Bug#10047).
8055         Plus some code cleanups.
8057 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
8059         * progmodes/python.el (python-pdbtrack-tracked-buffer)
8060         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8061         (python-shell-internal-last-output): Use make-local-variable
8062         instead of make-variable-buffer-local.
8064 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
8066         * progmodes/python.el: Enhancements to forward-sexp.
8067         (python-nav-forward-sexp): Rename from
8068         python-nav-forward-sexp-function.
8069         (python-nav--forward-sexp, python-nav--backward-sexp):
8070         New functions.
8072 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
8074         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8075         modes and simplification modes.
8077 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8079         * delsel.el (delete-selection-pre-hook): Don't propagate the
8080         file-supersession signals (bug#12161).
8082 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8084         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8085         (cl-map-extents): Add compatibility aliases (bug#12135).
8087 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
8089         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8090         tests by `ignore-error'.
8091         (tramp-find-shell): Open also a new shell, when cache is already
8092         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
8094 2012-08-08  Juri Linkov  <juri@jurta.org>
8096         * bookmark.el: Add `defaults' property to the bookmark record.
8097         (bookmark-current-buffer): Doc fix.
8098         (bookmark-make-record): Add `defaults' property with default values
8099         to the bookmark record.
8100         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8101         with `bookmark-insert-current-bookmark'.
8102         (bookmark-set): Get `defaults' property from the bookmark record
8103         and use it in `read-from-minibuffer'.
8104         (bookmark-insert-current-bookmark): Remove function.
8106         * info.el (Info-bookmark-make-record): Add `defaults' property
8107         with values of canonical Info node name, the current Info file
8108         name and the current Info node name.  (Bug#12107)
8110 2012-08-08  Juri Linkov  <juri@jurta.org>
8112         * files.el (basic-save-buffer): Use `buffer-name' as the default
8113         of `read-file-name' when buffer is not visiting a file (bug#12128).
8115 2012-08-08  Juri Linkov  <juri@jurta.org>
8117         * info.el (Info-isearch-search): Doc fix.
8118         (Info-search): Change search-failed message from "initial node" to
8119         "end of node" (bug#12078).
8120         (Info-isearch-search): Change `isearch-string-state' to
8121         `isearch--state-string'.
8123 2012-08-08  Glenn Morris  <rgm@gnu.org>
8125         * language/persian.el: Remove file.
8126         * language/misc-lang.el: Move unique part of persian.el here.
8127         * loadup.el: Remove language/persian.
8129 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
8131         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8133 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
8135         * progmodes/python.el: Fix defsubst warning.
8136         (python-syntax-context) Rename from python-info-ppss-context.
8137         (python-syntax-context-type): Rename from
8138         python-info-ppss-context-type.
8139         (python-syntax-comment-or-string-p): Rename from
8140         python-info-ppss-comment-or-string-p.
8142 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8144         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8146 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
8148         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8149         a defcustom that is quoted with backquote.
8151         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8152         Fix handling of interactive spec when the body uses return.
8153         (math-do-arg-check, math-define-function-body): Use backquote forms.
8154         * calc/calc-ext.el (math-defcache): Likewise.
8155         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8156         * allout.el (allout-new-exposure): Likewise.
8157         * calc/calcalg2.el (math-tracing-integral): Likewise.
8158         * info.el (Info-last-menu-item): Likewise.
8159         * emulation/vip.el (vip-loop): Likewise.
8160         * textmodes/artist.el (artist-funcall): Likewise.
8161         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8162         Construct menu-item directly.
8164         * progmodes/autoconf.el (font-lock-syntactic-keywords):
8165         Don't declare.
8167 2012-08-07  Chong Yidong  <cyd@gnu.org>
8169         * simple.el (deactivate-mark): Preserve text properties when
8170         saving the primary selection (Bug#8384).
8172 2012-08-07  Kevin Ryde  <user42@zip.com.au>
8174         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8175         (woman-parse-numeric-value): On a bad .IP line, issue a warning
8176         and continue processing (Bug#12110).
8178 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8180         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8181         syntax-propertize-function (bug#10095).
8183 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8185         * help-fns.el (help-fns--key-bindings, help-fns--signature)
8186         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8187         describe-function-1.
8188         (describe-function-1): Use them.  Move compiler macro after sig.
8189         (help-fns--compiler-macro): Use function-get.  Assume we're already in
8190         standard-output.  Adjust layout to new call order.
8192         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8193         re-binding a symbol that has a symbol-macro (bug#12119).
8195 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
8197         * language/persian.el: New file.  (Bug#11812)
8198         * loadup.el: Add language/persian.el.
8200 2012-08-06  Chong Yidong  <cyd@gnu.org>
8202         * window.el (window--maybe-raise-frame): New function.
8203         (window--display-buffer): Split off from here.
8204         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8205         (display-buffer-pop-up-window, display-buffer-use-some-window):
8206         Obey an inhibit-switch-frame action alist entry.
8207         (display-buffer): Update doc.
8209         * replace.el (occur-after-change-function): Avoid losing focus by
8210         using the inhibit-switch-frame display parameter (Bug#12139).
8212 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
8214         Make internal shell process buffer names start with space.
8215         * progmodes/python.el (python-shell-make-comint): Add optional
8216         argument INTERNAL.
8217         (run-python-internal): Use it.
8218         (python-shell-internal-get-or-create-process): Check for new
8219         internal buffer names.
8221 2012-08-06  Glenn Morris  <rgm@gnu.org>
8223         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8224         Do less getting and setting of environment variables.
8226 2012-08-05  Chong Yidong  <cyd@gnu.org>
8228         * proced.el (proced): Add substitution string to docstring to
8229         trigger autoloading of the proced library on C-h f (Bug#1768).
8231         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8232         Don't show defvars which have no second argument (Bug#8638).
8234         * imenu.el (imenu-generic-expression): Move documentation here
8235         from imenu--generic-function.
8236         (imenu--generic-function): Refer to imenu-generic-expression.
8238 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
8240         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8241         indentation declaration.
8242         (viper-loop): Add indentation declaration (Bug#7025).
8244 2012-08-05  Chong Yidong  <cyd@gnu.org>
8246         * help-fns.el (describe-variable): Add hyperlink for
8247         directory-local variables files.  Improve buffer-local and
8248         permanent-local reporting; suggested by MON KEY (Bug#6644).
8250         * help-mode.el (help-dir-local-var-def): New button type.
8252         * files.el (kill-buffer-hook): Provide a defvar.
8254 2012-08-05  Glenn Morris  <rgm@gnu.org>
8256         * eshell/esh-ext.el (eshell/addpath):
8257         Also update eshell-path-env.  (Bug#12013)
8259 2012-08-05  Chong Yidong  <cyd@gnu.org>
8261         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8263         * fringe.el (fringe-styles): Add docstring.
8264         (fringe--check-mode): New function.
8265         (set-fringe-mode, set-fringe-style): Use it.
8266         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8268         * files.el (set-auto-mode): Fix invalid setq call.
8270 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8272         * isearch.el: Misc simplification; use defstruct.
8273         (isearch-mode-map): Dense maps now work like sparse ones.
8274         (isearch--state): New defstruct.
8275         (isearch-string-state, isearch-message-state, isearch-point-state)
8276         (isearch-success-state, isearch-forward-state)
8277         (isearch-other-end-state, isearch-word-state, isearch-error-state)
8278         (isearch-wrapped-state, isearch-barrier-state)
8279         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8280         replaced by defstruct's accessors.
8281         (isearch--set-state): Rename from isearch-top-state and change
8282         calling convention.
8283         (isearch-push-state): Use new isearch--get-state.
8284         (isearch-toggle-word): Disable regexp when enabling word.
8285         (isearch-message-prefix): Remove unused arg _c-q-hack.
8286         (isearch-message-suffix): Remove unused arg _ellipsis.
8288 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
8290         * simple.el (list-processes--refresh): For a server use :host or
8291         :local as the address.
8292         (list-processes): Doc fix.
8294 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
8296         * lisp/mpc.el: Support password in host argument.
8297         (mpc--proc-connect): Parse and use new password element.
8298         Set mpc-proc variable instead of returning process.
8299         (mpc-proc): Adjust accordingly.
8301 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
8303         * whitespace.el (whitespace-display-mappings): Use Unicode
8304         codepoints, instead of emacs-mule codepoints.  See
8305         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8306         for the details.
8308         * files.el (file-truename): Don't skip symlink-chasing part on
8309         windows-nt.  Incorporate the resolution of 8+3 short aliases on
8310         Windows into the loop that recursively chases symlinks.
8311         Compare directory and its parent case-insensitively on MS-Windows and
8312         MS-DOS.
8314 2012-08-03  Chong Yidong  <cyd@gnu.org>
8316         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8318         * sort.el (sort-regexp-fields): Doc fix.
8320 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
8322         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8323         labels regex position point at the expected place.
8325 2012-08-03  MON KEY  <monkey@sandpframing.com>
8327         * net/imap.el (imap-interactive-login, imap-authenticate)
8328         (imap-mailbox-lsub, imap-mailbox-list)
8329         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8330         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8331         (imap-parse-response): Doc fix.
8333 2012-08-03  João Távora  <joaotavora@gmail.com>
8335         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8336         if sexp scanning does not move point (Bug#5734).
8338 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
8340         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8341         Add listings, minted, and ctable packages.
8342         (reftex-label-alist-builtin): Move listings, minted, and ctable
8343         entries before LaTeX.
8344         (reftex-label-alist): Docfix.
8346 2012-08-02  Bastien Guerry  <bzg@gnu.org>
8348         * replace.el (occur): Fix docstring (bug#12122).
8350 2012-08-02  Glenn Morris  <rgm@gnu.org>
8352         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8354 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
8356         Obsolete alias inactivate-current-input-method-function (Bug#10150).
8357         * international/mule-cmds.el: Create
8358         inactivate-current-input-method-function as an obsolete alias for
8359         deactivate-current-input-method-function.  See Katsumi Yamaoka in
8360         <http://bugs.gnu.org/10150#46>.
8362 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
8364         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8365         of nested `if's.
8367 2012-08-01  Glenn Morris  <rgm@gnu.org>
8369         * progmodes/autoconf.el (autoconf-definition-regexp):
8370         Add AH_TEMPLATE, adjust submatch numbering.
8371         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8372         (autoconf-current-defun-function): Update for above change.
8373         (autoconf-current-defun-function): First skip to end of current word.
8375 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
8377         * calendar/cal-html.el (cal-html-insert-agenda-days):
8378         Fix typo.  (Bug#12018)
8380 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
8382         Shell processes: enhancements to startup and CEDET compatibility.
8383         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8384         (python-shell-make-comint): accept-process-output at startup.
8385         (run-python-internal): Set inferior-python-mode-hook to nil.
8386         (python-shell-internal-get-or-create-process): call sit-for.
8387         (python-preoutput-result): Add obsolete alias.
8388         (python-shell-internal-send-string): Use it.
8389         (python-shell-send-setup-code): Remove call to
8390         accept-process-output.
8392 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
8394         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8395         (Bug#12108)
8397 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
8399         * calc-mode.el (calc-basic-simplification-mode): Rename from
8400         `calc-limited-simplification-mode'.
8401         (calc-alg-simplification-mode): New function.
8402         (calc-set-simplify-mode): Adjust message.
8404         * calc.el (calc-set-mode-line): Adjust mode line display for
8405         basic simplification mode.
8407         * calc-help.el (calc-m-prefix-help): Update help message.
8409         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8410         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8412 2012-07-31  Bastien Guerry  <bzg@gnu.org>
8414         * man.el (man): Fix comment.  (bug#12101)
8416 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
8418         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8419         Don't return a non-nil value when no suitable buffer was found.
8421 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
8423         * progmodes/python.el (run-python-internal): Disable font lock for
8424         internal shells.
8426 2012-07-30  Stefan Merten  <smerten@oekonux.de>
8428         * textmodes/rst.el: Silence `checkdoc-ispell'.
8429         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8430         (rst-official-version, rst-official-cvs-rev)
8431         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8432         (rst-mode-map): New key binding.
8434 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
8436         Update .PHONY listings in makefiles.
8437         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8438         autoloads, update-subdirs, updates, bzr-update, update-authors,
8439         compile-onefile, compile-calc, backup-compiled-files,
8440         compile-after-backup, compile-one-process, mh-autoloads,
8441         bootstrap-clean, distclean, maintainer-clean.
8443 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
8445         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8446         (calc-set-mode-line): Don't display "AlgSimp ".
8448         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8449         (calc-lim-simplify-mode): New function.
8450         (calc-set-simplify-mode): Default to 'alg.
8451         (calc-default-simplify-mode): Make algebraic simplifications
8452         the default.
8454         * calc/calc-ext.el (calc-init-extensions): Remove binding for
8455         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
8457         * calc/calc-help.el (calc-m-prefix-help): Change messages to
8458         indicate new simplification modes.
8460         * calc/README: Mention new default simplification mode.
8462         * calc/calc.el (math-normalize-error): New variable.
8463         (math-normalize): Set `math-normalize-error' to t
8464         when there's an error.
8466         * calc/calc-alg.el (math-simplify): Don't simplify when
8467         `math-normalize' returns an error.
8469 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
8471         * international/mule-cmds.el (set-locale-environment): Revert last
8472         change, since display-graphic-p returns nil when this function is
8473         called during startup.  Instead...
8475         * term/w32console.el (terminal-init-w32console): ...setup the
8476         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
8478 2012-07-29  Juri Linkov  <juri@jurta.org>
8480         * simple.el (goto-line): Don't display default line number in the
8481         prompt because it should be displayed by `read-number' (bug#9952).
8482         Add the current line number to the defaults of `goto-line' to
8483         allow its easier modification by users with `M-n' (bug#9201).
8485         * subr.el (read-number): Support multiple default values like in
8486         other minibuffer reading functions.  Replace `read' with
8487         `string-to-number' for consistency with `number-to-string'.
8489 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
8491         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8492         * emulation/viper-init.el (viper-deactivate-input-method-action):
8493         Rename from viper-inactivate-input-method-action.
8494         (viper-deactivate-input-method):
8495         Rename from viper-inactivate-input-method.
8496         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8497         * international/mule-cmds.el (deactivate-input-method):
8498         Rename from inactivate-input-method.
8499         Also run input-method-deactivate-hook.
8500         (deactivate-current-input-method-function):
8501         Rename from inactivate-current-input-method-function.
8502         (input-method-deactivate-hook): New hook.
8503         (input-method-inactivate-hook): Mark obsolete.
8504         (inactivate-input-method): Mark obsolete.
8506         * international/quail.el (quail-activate):
8507         Also run quail-deactivate-hook.
8508         (quail-deactivate): Rename from quail-inactivate.
8509         * international/robin.el (robin-activate):
8510         Also run robin-deactivate-hook.
8511         (robin-deactivate): Rename from robin-inactivate.
8513 2012-07-29  Chong Yidong  <cyd@gnu.org>
8515         * simple.el (indicate-copied-region): New function.
8516         (kill-ring-save): Split off from here.
8518         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8519         (kill-rectangle): Set deactivate-mark to t on read-only error.
8521         * register.el (copy-to-register, copy-rectangle-to-register):
8522         Deactivate the mark, and use indicate-copied-region (Bug#10056).
8523         (append-to-register, prepend-to-register): Call indicate-copied-region.
8525 2012-07-29  Juri Linkov  <juri@jurta.org>
8527         * simple.el (async-shell-command-buffer): New defcustom.
8528         (shell-command): Use it.  (Bug#4719)
8530 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
8532         * international/mule-cmds.el (set-locale-environment): In a
8533         console session on MS-Windows, set up keyboard and terminal
8534         encoding from the OEM codepage, not the ANSI codepage.
8535         (Bug#12055)
8537 2012-07-28  Chong Yidong  <cyd@gnu.org>
8539         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8540         gdb-get-location.
8542 2012-07-28  Leo Liu  <sdl.web@gmail.com>
8544         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8545         the alist (bug#12029).
8547 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
8549         * makefile.w32-in (custom-deps, finder-data, updates, compile)
8550         (compile-always, compile-first)
8551         ($(lisp)/calendar/cal-loaddefs.el)
8552         ($(lisp)/calendar/diary-loaddefs.el)
8553         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8554         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8555         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8556         instead of on update-subdirs.
8557         (bootstrap-clean): Delete $(lisp)/subdirs.el.
8559 2012-07-28  Chong Yidong  <cyd@gnu.org>
8561         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8562         directory if vc-deduce-backend returns nil (Bug#7350).
8564         * simple.el (delete-trailing-lines): New option.
8565         (delete-trailing-whitespace): Obey it (Bug#11879).
8567 2012-07-28  David Engster  <deng@randomsample.de>
8569         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8570         Explanation of new 'symbol-qnames feature in doc-strings.
8571         (xml-maybe-do-ns): Return expanded names as plain symbols if
8572         'symbol-qnames was provided in XML-NS argument (Bug#11916).
8573         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8575 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
8577         Consistent completion in inferior python with emacs -nw.
8578         * progmodes/python.el (inferior-python-mode): replace "<tab>"
8579         binding in inferior-python-mode-map with "\t".
8580         (python-shell-completion-complete-at-point)
8581         (python-completion-complete-at-point): Remove interactive spec.
8583 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
8585         * calc/calccomp.el (math-compose-expr): Undo previous change.
8587 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
8589         * progmodes/python.el (python-mode-map): Add keybinding for
8590         run-python.
8591         (python-shell-make-comint): Fix pop-to-buffer call.
8592         (run-python): Autoload.  New arg SHOW.
8593         (python-shell-get-or-create-process): Do not pop python process
8594         buffer.
8596 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
8598         * notifications.el (notifications-on-action-signal)
8599         (notifications-on-closed-signal): Use also the bus address for the map.
8600         (notifications-notify, notifications-close-notification)
8601         (notifications-get-capabilities): Add optional argument BUS.
8603 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
8605         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8606         Add support for the lstlisting and minted environments, and for the
8607         ctable macro.
8608         * textmodes/reftex.el (reftex-compile-variables): Also recognize
8609         labels written in keyvals syntax.
8611 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
8613         * calc/calccomp.el (math-compose-expr): Use parentheses when
8614         there is a product in the denominator of a fraction.
8616 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
8618         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8619         ($(lisp)/calendar/diary-loaddefs.el)
8620         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8621         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8622         Fixes failures in parallel bootstrap because subdirs.el is being
8623         rewritten while the autoload files are built at the same time,
8624         which needs to load subdirs.el.
8626 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
8628         * mouse.el (popup-menu): Fix doc-string and re-indent code.
8629         (mouse-drag-line): Don't exit tracking when a switch-frame or
8630         switch-window event occurs (Bug#12006).
8632 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8634         * mouse.el (popup-menu): Fix last change.
8636 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8638         Autoload from Lisp with more care.  Follow aliases when looking for
8639         function properties.
8640         * subr.el (autoloadp): New function.
8641         (symbol-file): Use it.
8642         (function-get): New function.
8643         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8644         autoload-do-load.
8645         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8646         (lisp-indent-function):
8647         * emacs-lisp/gv.el (gv-get):
8648         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8649         * emacs-lisp/byte-opt.el (byte-optimize-form):
8650         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8651         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8652         Use function-get.
8653         * emacs-lisp/cl.el: Don't propagate function properties any more.
8655         * speedbar.el (speedbar-add-localized-speedbar-support):
8656         * emacs-lisp/disass.el (disassemble-internal):
8657         * desktop.el (desktop-load-file):
8658         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8659         (describe-function-1):
8660         * emacs-lisp/find-func.el (find-function-noselect):
8661         * emacs-lisp/elp.el (elp-instrument-function):
8662         * emacs-lisp/advice.el (ad-has-proper-definition):
8663         * apropos.el (apropos-safe-documentation, apropos-macrop):
8664         * emacs-lisp/debug.el (debug-on-entry):
8665         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8666         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8667         * calc/calc.el (name): Use autoloadp & autoload-do-load.
8669 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
8671         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8672         function, not an obsolete variable (Bug#12046).
8674 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
8676         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
8678 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
8680         * emacs-lisp/pp.el (pp-display-expression): Select old selected
8681         window only if it is still live (Bug#12034).
8683 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
8685         * subr.el (redirect-frame-focus): Add advertised calling
8686         convention (Bug#12030).
8688 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
8690         Prefer typical American spelling for "acknowledgment".
8691         * vc/add-log.el (change-log-acknowledgment): Rename from
8692         change-log-acknowledgement, with an alias for the old name.
8694 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
8696         * calc-alg.el (math-simplify-divide): Don't cross multiply
8697         in an equation when the lhs is a variable.
8699 2012-07-24  Julien Danjou  <julien@danjou.info>
8701         * net/netrc.el (netrc-find-service-number, netrc-store-data):
8702         Remove, unused.
8704 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
8706         * startup.el (command-line): Don't display an empty user name in
8707         the error message about non-existent home directory, when
8708         init-file-user was set to an empty string.  See
8709         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8710         for the details and context.
8712 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8714         * ses.el (ses-cell-formula-aset): New macro.
8715         (ses-cell-references-aset): New macro.
8716         (ses-cell-p): New function.
8717         (ses-rename-cell): Do no longer rely on complex operations like
8718         ses-cell-set-formula or ses-set-cell to change the cell and handle
8719         the undo at the same time, but rather use lower level new macros
8720         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8721         the undo directly.  Refresh the mode line.
8723 2012-07-21  Leo Liu  <sdl.web@gmail.com>
8725         * progmodes/cc-cmds.el (c-defun-name):
8726         Use match-string-no-properties instead for consistency.
8728 2012-07-20  Leo Liu  <sdl.web@gmail.com>
8730         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8731         (Bug#7879)
8733         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8735 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8737         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8738         * progmodes/bug-reference.el, misearch.el: Provide themselves
8739         (bug#11915).
8741         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8742         of narrowed buffer (bug#11966).
8744 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8746         * ses.el (ses-rename-cell): Set new name also in reference list of
8747         cells of which the renamed cell depends.
8749 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
8751         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8752         to check whether menu-bar is shown or not.  If not shown,
8753         show the menu-bar as a popup menu instead of using tmm.
8754         * mouse.el (popup-menu): Accept `point' as `position' argument.
8756 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
8758         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8759         up inside string symbol literal (bug#11923).
8761 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
8763         * startup.el (fancy-startup-text): Read the whole tutorial, not
8764         just its first 256 bytes.  Prevents gibberish in display of the
8765         tutorial title.
8767 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
8769         Drop idle buffer compaction due to an absence of the
8770         proved efficiency.
8771         * compact.el: Remove.
8773 2012-07-19  Sam Steingold  <sds@gnu.org>
8775         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8776         vc-bzr-pull & vc-bzr-merge-branch.
8777         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8778         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8779         for consistency with compilation-error-regexp-alist.
8780         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8781         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8782         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8783         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8785 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8787         * emacs-lisp/chart.el: Use lexical-binding.
8788         (chart-emacs-storage): Don't hardcode the list of entries.
8790 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
8792         Next round of tweaks caused by Fgarbage_collect changes.
8793         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8795 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
8797         Compact buffers when idle.
8798         * compact.el: New file.
8800 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8802         * subr.el (eventp): Presume that if it looks vaguely like an event,
8803         it's an event (bug#10190).
8805 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
8807         Enhancements to ppss related code (thanks Stefan).
8808         * progmodes/python.el (python-indent-context)
8809         (python-indent-calculate-indentation, python-indent-dedent-line)
8810         (python-indent-electric-colon, python-nav-forward-block)
8811         (python-mode-abbrev-table)
8812         (python-info-assignment-continuation-line-p): Simplify checks
8813         for ppss context.
8814         (python-info-continuation-line-p): Cleanup.
8815         (python-info-ppss-context): Do not catch 'quote.
8816         (python-info-ppss-context-type)
8817         (python-info-ppss-comment-or-string-p): Simplify.
8819 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
8821         * progmodes/python.el: Enhancements to eldoc support.
8822         (python-info-current-symbol): New function.
8823         (python-eldoc-at-point): Use python-info-current-symbol.
8824         (python-info-current-defun): Fix cornercase on first defun scan.
8825         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8826         and signal error when no inferior python process is available.
8828 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
8830         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8831         assume it's always t.
8832         (vc-git-registered): Remove caching, the function is only called
8833         once.
8834         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8836 2012-07-18  Chong Yidong  <cyd@gnu.org>
8838         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8840         * simple.el (count-words): Report on narrowing (Bug#9959).
8842         * bindings.el: Bind M-= to count-words.
8844         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8846 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
8848         * progmodes/sh-script.el (sh-imenu-generic-expression):
8849         Capture a function with `function' keyword and without parentheses
8850         like "function FOO" (bug#11856).
8852 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
8854         * window.el (split-window-sensibly): Make WINDOW argument
8855         optional.
8857 2012-07-18  Chong Yidong  <cyd@gnu.org>
8859         * subr.el (keyboard-translate): Doc fix (Bug#7261).
8861         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8862         and make C-x 8 RET exit isearch (Bug#11439).
8864         * international/iso-transl.el: Move isearch-mode-map key
8865         definitions to isearch.el.
8867 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8869         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8870         (eieio-defclass): Use gv-define-setter when possible.
8872 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
8874         Reflect recent changes in Fgarbage_collect.
8875         * emacs-lisp/chart.el (chart-emacs-storage): Change to
8876         reflect new format of data returned by Fgarbage_collect.
8878 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8880         New utility functions + python-info-ppss-context fix (Bug#11910).
8881         * progmodes/python.el (python-info-beginning-of-block-statement-p)
8882         (python-info-ppss-comment-or-string-p): New functions.
8883         (python-info-ppss-context): Small fix for string check.
8885 2012-07-17  Juri Linkov  <juri@jurta.org>
8887         * dired-aux.el (dired-do-async-shell-command): Doc fix.
8888         (dired-do-async-shell-command): Don't add `*' at the end of the
8889         command (Bug#11815).
8890         (dired-do-shell-command): Doc fix.
8891         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8892         Join the individual commands using either "&" or ";" as the
8893         separator depending on the values of these trailing characters.
8894         At the end re-add the trailing "&".  (Bug#10598)
8896         * simple.el (async-shell-command): Sync the interactive spec with
8897         `shell-command'.  Doc fix.
8898         (shell-command): Doc fix.
8900 2012-07-17  Juri Linkov  <juri@jurta.org>
8902         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
8904 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8906         Final renames and doc fixes for movement commands (bug#11899).
8907         * progmodes/python.el (python-nav-beginning-of-statement):
8908         Rename from python-nav-statement-start.
8909         (python-nav-end-of-statement): Rename from
8910         python-nav-statement-end.
8911         (python-nav-beginning-of-block): Rename from
8912         python-nav-block-start.
8913         (python-nav-end-of-block): Rename from python-nav-block-end.
8915 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
8917         * progmodes/python.el (python-shell-send-string-no-output):
8918         Allow accept-process-output to quit, keeping shell process ready for
8919         future interactions (Bug#11868).
8921 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8923         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8925         * emacs-lisp/elint.el (elint-find-args-in-code):
8926         Use help-function-arglist, so as to handle lexical byte-code.
8928         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8929         change (bug#11826).
8931 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8933         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8934         Avoid spuriously marking the buffer as modified because of c-is-sws.
8936         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8937         as not-a-comment (bug#11946).
8939         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8940         for uninterned vars.
8942         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8943         Use read-event since we don't really want to read chars but bytes.
8945         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8946         $$..$$ but also $..$ using regexps (bug#11953).
8947         Use tex-verbatim for \url and \path.
8948         (tex-font-lock-keywords): Define as defconst like the others.
8949         (tex-common-initialization): Don't use font-lock-syntax-table any more.
8951 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
8953         * international/mule-cmds.el (ucs-insert): Make it an obsolete
8954         alias for insert-char.
8956 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
8958         * progmodes/python.el: Simplified imenu implementation.
8959         (python-nav-jump-to-defun): Remove command.
8960         (python-mode-map): Use `imenu' instead.
8961         (python-nav-list-defun-positions-cache)
8962         (python-imenu-include-defun-type, python-imenu-make-tree)
8963         (python-imenu-subtree-root-label, python-imenu-index-alist):
8964         Remove vars.
8965         (python-nav-list-defun-positions, python-nav-read-defun)
8966         (python-imenu-tree-assoc, python-imenu-make-element-tree)
8967         (python-imenu-make-tree, python-imenu-create-index):
8968         Remove functions.
8969         (python-mode): Update to interact with imenu by setting
8970         `imenu-extract-index-name-function' only.
8972 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
8974         * progmodes/python.el: Enhancements to navigation commands.
8975         (python-nav-backward-sentence)
8976         (python-nav-forward-sentence): Remove.
8977         (python-nav-backward-statement, python-nav-forward-statement)
8978         (python-nav-statement-start, python-nav-statement-end)
8979         (python-nav-backward-block, python-nav-forward-block)
8980         (python-nav-block-start, python-nav-block-end)
8981         (python-nav-forward-sexp-function)
8982         (python-info-current-line-comment-p)
8983         (python-info-current-line-empty-p): New functions.
8984         (python-indent-context): Use `python-nav-statement-start'.
8986 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
8988         * eshell/em-ls.el (eshell/ls): Use `apply'.
8990         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8991         multi-hops, instead of Tramp internals.
8993         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8995         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8996         when F1 and F2 are located on different hosts.
8998 2012-07-14  Chong Yidong  <cyd@gnu.org>
9000         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9001         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9002         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9003         (xterm-mouse--read-event-sequence-1000)
9004         (xterm-mouse--read-event-sequence-1006): New functions.  For old
9005         mouse protocol, handle M-mouse-X events correctly.
9006         (xterm-mouse-event): New arg specifying mouse protocol.
9007         (turn-on-xterm-mouse-tracking-on-terminal)
9008         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9009         sequence to toggle extended coordinates on newer XTerms.
9010         This appears to be harmless on terminals which do not support this.
9012 2012-07-14  Leo Liu  <sdl.web@gmail.com>
9014         Add fringe bitmap indicators for flymake.  (Bug#11253)
9015         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9016         (flymake-make-overlay): New arg BITMAP.
9017         (flymake-error-bitmap, flymake-warning-bitmap)
9018         (flymake-fringe-indicator-position): New user variables.
9020         * fringe.el: New bitmap exclamation-mark.
9022 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9024         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9025         also (Bug#7879).
9027 2012-07-14  Chong Yidong  <cyd@gnu.org>
9029         * electric.el (electric-pair-post-self-insert-function): Fix pair
9030         insertion in empty-region case (Bug#11520).
9032 2012-07-14  Chong Yidong  <cyd@gnu.org>
9034         * bindings.el: Consolidate ctl-x-r-map bindings.
9035         Bind copy-rectangle-as-kill to C-x r w.
9037         * rect.el, register.el: Move bindings to bindings.el.
9039 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
9041         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9043 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9045         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
9047 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
9049         * bindings.el (top): Use `mapc' instead of `mapcar'.
9051         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9053 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
9055         * progmodes/sql.el (sql-comint): Suppress the check for program on
9056         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
9057         (Bug#11908)
9059 2012-07-13  Chong Yidong  <cyd@gnu.org>
9061         * bindings.el: Assign a non-nil permanent-local property to
9062         per-buffer variables which lack a default value (Bug#11930).
9064         * help-fns.el (describe-variable): In the "automatically becomes
9065         local" notice, take note of permanent-local variables.
9067 2012-07-13  Chong Yidong  <cyd@gnu.org>
9069         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
9070         to allow printing the message when called from Lisp.
9072         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9073         Remove toggle-read-only.
9075         * bs.el (bs-toggle-readonly):
9076         * buff-menu.el (Buffer-menu-toggle-read-only):
9077         Remove with-no-warnings around toggle-read-only.
9079         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9080         Remove with-no-warnings around toggle-read-only.
9081         (ffap-read-only, ffap-read-only-other-window)
9082         (ffap-read-only-other-frame): Callers changed.
9084         * help-mode.el: Don't require view package.
9085         (help-mode-finish): Set buffer-read-only instead of calling
9086         toggle-read-only.
9088         * bindings.el (mode-line-toggle-read-only):
9089         * dired.el (dired-toggle-read-only):
9090         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9091         with non-nil second arg.
9093         * emacs-lisp/eieio-custom.el (eieio-customize-object):
9094         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9095         directly.
9097 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
9099         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9100         not incf.
9102 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9104         More CL cleanups and reduction of use of cl.el.
9105         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9106         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9107         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9108         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9109         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9110         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9111         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9112         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9113         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9114         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9115         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9116         * eshell/em-cmpl.el, eshell/em-banner.el:
9117         * calendar/parse-time.el: Use cl-lib.
9118         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9119         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9120         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9121         * term/ns-win.el, term.el, shell.el, ps-samp.el:
9122         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9123         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9124         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9125         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9126         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9127         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9128         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9129         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9130         `lambda' rather than with `quote'.
9131         (eshell-do-opt): Adjust accordingly.
9132         (eshell-process-option): Simplify.
9133         * eshell/esh-var.el:
9134         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9135         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9136         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9137         to `pcase--dontcare'.
9138         * emacs-lisp/cl.el (labels): Mark obsolete.
9139         (cl--letf, letf): Move to cl-lib.
9140         (cl--letf*, letf*): Remove.
9141         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9142         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9143         (cl-progv): Rewrite.
9144         (cl--letf, cl-letf): Move from cl.el.
9145         (cl-letf*): New macro.
9146         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9148 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
9150         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9152 2012-07-11  Chong Yidong  <cyd@gnu.org>
9154         * vc/log-edit.el (log-edit-vc-backend): New variable.
9155         (log-edit): Doc fix.
9157         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
9158         argument of log-edit to set up all local variables.
9159         (vc-start-logentry): New optional arg specifying VC backend.
9161         * vc/vc.el (vc-checkin): Use it.
9162         (vc-deduce-fileset): Handle Log Edit buffers.
9163         (vc-diff): Make first argument optional too.
9165         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9167 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
9169         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9170         command, just in case.  The function is not needed anymore.
9171         (eshell-external-command): Do not call `eshell-remote-command'.
9173 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9175         Reduce use of (require 'cl).
9176         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9177         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9178         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9179         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9180         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9181         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9182         * battery.el, avoid.el, abbrev.el: Use cl-lib.
9183         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9184         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9185         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9186         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9187         * calculator.el, autorevert.el, apropos.el: Don't require CL.
9188         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9189         (byte-compile-unfold-bcf, byte-compile-check-variable):
9190         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9191         (byte-compile-nilconstp):
9192         * emacs-lisp/autoload.el (make-autoload): Use pcase.
9193         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9195         * emacs-lisp/gv.el (cond): Make it a valid place.
9196         (if): Simplify slightly.
9198         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9199         (pcase--self-quoting-p): New function.
9200         (pcase--u1): Use it.
9202 2012-07-10  Glenn Morris  <rgm@gnu.org>
9204         * emacs-lisp/authors.el (authors-fixed-entries):
9205         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9207 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
9209         Rename configure.in to configure.ac (Bug#11603).
9210         * emacs-lisp/authors.el (authors-canonical-file-name):
9211         * progmodes/autoconf.el (autoconf-mode):
9212         Prefer configure.ac to configure.in.
9214 2012-07-08  Chong Yidong  <cyd@gnu.org>
9216         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9217         Implement the mouse-1-click-follows-link handling properly.
9219         * info.el (Info-link-keymap): Use follow-link mechanism for
9220         header-line links (Bug#374).
9222         * simple.el (deactivate-mark): Do not set the primary selection
9223         if another program has acquired it (Bug#11772).
9225 2012-07-07  Kevin Ryde  <user42@zip.com.au>
9227         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9228         (woman-decode-region): Replace escaped-escapes without destroying
9229         bold or underline (Bug#11552).
9230         (woman2-process-escapes): Handle nofill regions (Bug#11591).
9232 2012-07-07  Chong Yidong  <cyd@gnu.org>
9234         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9235         (interprogram-cut-function, interprogram-paste-function):
9236         Mention that we typically mean the clipboard.
9238 2012-07-06  Glenn Morris  <rgm@gnu.org>
9240         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
9242         * files.el (toggle-read-only): Restrict message to interactive use.
9244 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
9246         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9248         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9250 2012-07-06  Glenn Morris  <rgm@gnu.org>
9252         * Makefile.in (compile-one-process): Rename from "recompile".
9254         * Makefile.in (bzr-update): "compile" is the same as "recompile
9255         autoloads", but parallelizable, so use that instead.
9257 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
9259         * window.el (quit-window): Always restore window height when
9260         it's saved in quit-restore parameter (Bug#11810).
9262 2012-07-06  Glenn Morris  <rgm@gnu.org>
9264         * simple.el (kill-whole-line): Doc tweak.
9266 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
9268         * files.el (file-relative-name): Compare file names
9269         case-insensitively if on MS-Windows or MS-DOS, or if
9270         read-file-name-completion-ignore-case is non-nil.  Don't use
9271         case-fold-search for this purpose.  (Bug#11827)
9273 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
9275         * calendar/cal-dst.el (calendar-current-time-zone):
9276         Return calendar-current-time-zone-cache if non-nil.
9278 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
9279 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9281         * calendar/cal-dst.el (calendar-current-time-zone):
9282         Return calendar-current-time-zone-cache if non-nil.
9284 2012-07-06  Glenn Morris  <rgm@gnu.org>
9286         * Makefile.in (cvs-update): Remove old alias.
9288 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
9290         Sync with Tramp 2.2.6-pre.
9292         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9293         compatible declaration.
9295         * net/tramp-cmds.el (tramp-append-tramp-buffers):
9296         Protect `list-load-path-shadows' call.
9298         * net/tramp-compat.el (top): Require packages, which aren't
9299         autoloaded anymore for XEmacs.  Protect call of
9300         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9301         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
9302         it hurts at least for SXEmacs.
9303         (tramp-compat-temporary-file-directory): In XEmacs, there is no
9304         standard-value for `temporary-file-directory'.
9306         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9307         Redirect stderr to /dev/null.
9308         (tramp-sh-handle-write-region): uid and gid can be floats.
9309         Reported by Russell Sim <russell.sim@gmail.com>.
9310         (tramp-sh-handle-vc-registered): Hide errors.
9311         (tramp-vc-file-name-handler): Use dummy results for `process-file'
9312         and `start-file-process'.
9313         (tramp-maybe-open-connection): Check also whether `non-essential'
9314         is bound.
9316 2012-07-04  Chong Yidong  <cyd@gnu.org>
9318         * xml.el (xml--parse-buffer): Use xml-syntax-table.
9319         (xml-parse-tag): Likewise, and avoid changing entity tables.
9320         (xml-syntax-table): Define from scratch, making sure not to give
9321         x2000 and other Unicode spaces whitespace syntax, since those are
9322         not spaces in XML.
9323         (xml-parse-fragment): Delete unused function.
9324         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9325         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9326         (xml-entity-ref, xml-pe-reference-re)
9327         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9328         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9329         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9330         (xml-entity-value-re): Use syntax references in regexps where
9331         possible; no need to define inside a let-binding.
9332         (xml-parse-dtd): Use xml-pe-reference-re.
9333         (xml-entity-or-char-ref-re): New defconst.
9334         (xml-parse-string, xml-substitute-special): Use it.
9336 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9338         * files.el (locate-dominating-file): Allow `name' to be a predicate.
9339         (find-file--read-only): New function.
9340         (find-file-read-only, find-file-read-only-other-window)
9341         (find-file-read-only-other-frame): Use it.
9342         (insert-file-contents-literally): Don't `fset'.
9343         (get-free-disk-space): Use locate-dominating-file.
9345         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9346         function is already compiled.
9348         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
9350 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
9352         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9353         files on the same host.
9355 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
9357         * help-fns.el (describe-function-1): Only call
9358         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
9360 2012-07-03  Chong Yidong  <cyd@gnu.org>
9362         * xml.el: Protect parser against XML bombs.
9363         (xml-entity-expansion-limit): New variable.
9364         (xml-parse-string, xml-substitute-special): Use it.
9365         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9367 2012-07-03  Glenn Morris  <rgm@gnu.org>
9369         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9370         Allow linking to specific messages in debbugs reports (eg 123#5).
9372 2012-07-02  Chong Yidong  <cyd@gnu.org>
9374         * xml.el: Fix entity and character reference expansion, allowing
9375         them to expand into markup as per XML spec.
9376         (xml-default-ns): New variable.
9377         (xml-entity-alist): Use XML spec definitions for lt and amp.
9378         (xml-parse-region): Make first two arguments optional.
9379         Discard text properties.
9380         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9381         All callers changed.
9382         (xml-parse-tag): Call xml-parse-tag-1.  For backward
9383         compatibility, this function should not modify buffer contents.
9384         (xml-parse-tag-1): Fix opening-tag regexp.
9385         (xml-parse-string): Rewrite, handling entity and character
9386         references properly.
9387         (xml--entity-replacement-text): Signal an error if a parameter
9388         entity is undefined.
9390 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9392         * comint.el (comint-output-filter): Filter out repeated prompts.
9394         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9395         and file-name-absolute-p.
9396         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9397         internal calls.
9399 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
9401         Spelling fixes.
9402         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9403         Rename from byte-compile--refiy-function.  All uses changed.
9405 2012-07-01  Chong Yidong  <cyd@gnu.org>
9407         * xml.el (xml--parse-buffer): New function.  Move most of
9408         xml-parse-region here.
9409         (xml-parse-region): Copy region into a temporary buffer, since
9410         parameter entity substitution requires changing buffer contents.
9411         Use xml--parse-buffer.
9412         (xml-parse-file): Use xml--parse-buffer.
9413         (xml-parse-dtd): Make parameter entity substitution work right.
9414         Use proper regexps for ELEMENT declarations (Bug#7172).
9416 2012-06-30  Glenn Morris  <rgm@gnu.org>
9418         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9420         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9421         Remove outdated and unnecessary dbus declarations.
9423 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
9425         * emacs-lisp/timer.el (timer-until): Subtract results of
9426         float-time, instead of taking float-time of the result of
9427         time-subtract, since float-time signals an error for negative time
9428         arguments.
9430 2012-06-30  Chong Yidong  <cyd@gnu.org>
9432         * xml.el (xml-*-re): Convert defvars into defconsts, and
9433         eval-and-compile them so eval-and-compile works on derivatives.
9434         (xml--entity-replacement-text): Use eval-and-comple.
9436 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
9438         * vc/vc-git.el (vc-git-registered): Use cache property
9439         `git-registered'.
9440         (vc-git-mode-line-string): Call `vc-working-revision' instead of
9441         `vc-git-working-revision' in order to benefit from the cache.
9442         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
9444 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
9446         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9447         removed (likely outside Emacs).  (Bug#11757)
9449 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9451         * emacs-lisp/cl-lib.el: Require macroexp.
9453 2012-06-30  Chong Yidong  <cyd@gnu.org>
9455         * xml.el: Implement XML parameter entities.
9456         (xml-parameter-entity-alist): New variable.
9457         (xml-parse-region, xml-parse-fragment): Preserve previous values
9458         of xml-entity-alist and xml-parameter-entity-alist, so that
9459         repeated calls on different documents do not change them.
9460         (xml-parse-tag): Fix doctype regexp.
9461         (xml--entity-replacement-text): New function.
9462         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
9463         properly requires url retrieval which is unimplemented.
9464         (xml-escape-string): Doc fix.
9466 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9468         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9470 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
9472         * fringe.el (fringe-mode): Doc fix.
9474 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
9476         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9477         is non-nil.
9478         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9479         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
9481 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
9483         * calendar/cal-dst.el (calendar-current-time-zone):
9484         Return calendar-current-time-zone-cache if non-nil.
9486 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
9488         * progmodes/which-func.el (which-func-format):
9489         Add mouse-face.  (Bug#11698)
9491 2012-06-29  Leo Liu  <sdl.web@gmail.com>
9493         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9495 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9497         * minibuffer.el (minibuffer-confirm-exit-commands):
9498         Add completion-at-point (bug#11725).
9500 2012-06-29  Glenn Morris  <rgm@gnu.org>
9502         * progmodes/f90.el (f90-font-lock-keywords-2):
9503         Add some preprocessor elements.  (Bug#10499)
9505 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9507         * progmodes/cperl-mode.el (cperl-update-syntaxification):
9508         Use syntax-propertize (bug#11739).
9510 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
9512         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9514 2012-06-28  Julien Danjou  <julien@danjou.info>
9516         * term.el (term-handle-colors-array): Use a set of new faces to
9517         color the terminal.  Also uses :inverse-video property.
9518         (term-default-fg-color): Set to nil by default, deprecate in favor
9519         of `term-face'.
9520         (term-default-bg-color): Set to nil by default, deprecate in favor
9521         of `term-face'.
9522         (term-current-face): Use `term-face' by default.
9523         (term-bold-attribute): Variable deleted.
9525 2012-06-28  Glenn Morris  <rgm@gnu.org>
9527         * simple.el (completion-list-mode-finish):
9528         Don't use toggle-read-only.  (Since completion-list-mode has
9529         a special mode-class, it wasn't doing anything extra anyway.)
9531 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9533         Make inlining of other-mode interpreted functions work (bug#11799).
9534         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9535         (byte-compile): Use it to fix compilation of lexical-binding closures.
9536         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9537         function, if needed.
9539 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9541         * help-mode.el (help-make-xrefs): Don't just withstand
9542         cyclic-variable-indirection but any error in documentation-property.
9544         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9545         memory use.
9546         * bindings.el (bindings--define-key): New function.
9547         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9548         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9549         * bindings.el: Use it to purecopy define-key bindings.
9551         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9553         * emacs-lisp/cl.el (flet): Mark obsolete.
9554         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9555         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9556         * progmodes/js.el (js-c-fill-paragraph):
9557         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9558         (ebrowse-switch-member-buffer-to-derived-class):
9559         * play/5x5.el (5x5-solver): Use cl-flet.
9561         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
9562         (cl--symbol-function): New macro.
9563         (cl--letf, cl--letf*): Use it.
9565         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9566         Strip "toggle-" if any.
9568 2012-06-27  Glenn Morris  <rgm@gnu.org>
9570         * info.el (Info-default-directory-list): Move here from paths.el.
9571         * paths.el: Remove file, which is now empty.
9572         * loadup.el: No longer load "paths".
9574         * custom.el (custom-initialize-delay): Doc fix.
9576         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9577         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9578         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9579         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9580         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9581         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9582         * eshell/eshell.el (eshell-defgroup): Remove alias.
9584 2012-06-27  Chong Yidong  <cyd@gnu.org>
9586         * help.el (help-enable-auto-load): New variable.
9588         * help-fns.el (help-fns--autoloaded-p): New function.
9589         (describe-function-1): Refer to a function as "autoloaded" if it
9590         was autoloaded at any time in the past.  Perform autoloading if
9591         help-enable-auto-load is non-nil.
9593 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
9595         * makefile.w32-in (compile, compile-always): Depend on
9596         update-subdirs, not on subdirs.el.  Otherwise, several different
9597         sub-targets of 'bootstrap' running in parallel could
9598         simultaneously write to subdirs.el, producing a garbled file.
9600 2012-06-26  Sam Steingold  <sds@gnu.org>
9602         * files.el (file-name-base): New convenience function.
9603         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9604         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9605         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9606         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9607         * textmodes/ispell.el, textmodes/reftex-ref.el:
9608         * textmodes/tex-mode.el: Use it.
9609         Did not touch cedet and org because they are maintained elsewhere.
9611 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
9613         * calendar/calendar.el (calendar-exit): Don't try to delete or
9614         iconify last frame.  See:
9615         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9617 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
9619         * server.el (server-process-filter): Remember dir in the
9620         process's `server-client-directory' properties.
9622 2012-06-24  Chong Yidong  <cyd@gnu.org>
9624         * xml.el (xml-parse-tag): Correctly handle comment embedded in
9625         non-tag text.
9627 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
9629         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9631 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9633         * help-fns.el (describe-variable): Don't croak when doc is not found.
9634         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9635         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9636         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9637         * emacs-lisp/smie.el (smie-next-sexp): CSE.
9638         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9639         ((lambda ..) ..).
9640         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9642 2012-06-23  Chong Yidong  <cyd@gnu.org>
9644         * info.el (Info-mouse-follow-link): Accept symbol values of
9645         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
9646         (Info-fontify-node): Use Info-link-keymap for all navigation
9647         buttons, with link-args property to perform the desired action.
9648         (Info-link-keymap): Doc fix.
9649         (Info-next-link-keymap, Info-prev-link-keymap)
9650         (Info-up-link-keymap): Delete now-unused keymaps.
9652 2012-06-23  Chong Yidong  <cyd@gnu.org>
9654         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9656         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9657         system abbrevs.
9659         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9661 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9663         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9664         (bug#11719).
9666         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9667         the requote function doesn't work properly (bug#11714).
9669 2012-06-23  Glenn Morris  <rgm@gnu.org>
9671         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9673 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9675         Further GV/CL cleanups.
9676         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9677         gv-expander.
9678         (gv--defun-declaration): New function.
9679         (defun-declarations-alist): Use it.
9680         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9681         (gv-place): Autoload.
9682         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9683         original definition of dotimes and dolist.
9684         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9685         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9686         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9687         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9688         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9689         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9690         to the function's definition.
9691         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9692         * window.el:
9693         * files.el:
9694         * faces.el:
9695         * env.el: Don't use CL.
9697 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
9699         Support higher-resolution time stamps (Bug#9000).
9701         * calendar/time-date.el (with-decoded-time-value): New arg
9702         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
9703         (encode-time-value): New optional arg PICO.  New type 3.
9704         (time-to-seconds) [!float-time]: Support the new picoseconds
9705         component if it's used.
9706         (seconds-to-time, time-subtract, time-add):
9707         Support ps-resolution time stamps as well.
9709         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
9710         (timerp): Timer vectors now have length 9, not 8.
9711         (timer--time): Support new-style (4-part) time stamps.
9712         (timer-next-integral-multiple-of-time): Time stamps now have
9713         picosecond resolution, so take a bit more care about rounding.
9714         (timer-relative-time, timer-inc-time): New optional arg psecs.
9715         (timer-set-time-with-usecs): Set psecs to 0.
9716         (timer--activate): Check psecs component, too.
9718         * proced.el (proced-time-lessp): Support ps-resolution stamps.
9720 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9723         Move the non-essential binding to the post/pre-command-hook where it is
9724         more obviously correct.
9726         * subr.el (read-passwd): Don't use a history at all.
9727         * savehist.el (savehist-save): Remove password saved accidentally
9728         because of the above bug.
9730 2012-06-22  Bastien Guerry  <bzg@gnu.org>
9732         * files.el (toggle-read-only): Display a message telling whether
9733         the buffer is read-only or not (bug#11726).
9735 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9737         * emacs-lisp/gv.el: New file.
9738         * subr.el (push, pop): Extend to generalized variables.
9739         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9740         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9741         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
9742         gv-define-simple-setter, and gv-define-expander.
9743         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
9744         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9745         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9746         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9747         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9748         gv-letplace.
9749         (cl-defstruct): Don't define setf-method any more.
9750         * emacs-lisp/cl.el (flet): Don't autoload.
9751         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9752         (define-setf-expander, defsetf, define-modify-macro)
9753         (cl-struct-setf-expander): Move from cl-lib.el.
9754         * emacs-lisp/syntax.el:
9755         * emacs-lisp/ewoc.el:
9756         * emacs-lisp/smie.el:
9757         * emacs-lisp/cconv.el:
9758         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9759         (timer--time): Use gv-define-simple-setter.
9760         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9761         to avoid coding-system problems in subr.el.  Adjust all users.
9762         (macroexp--maxsize, macroexp-small-p): New functions.
9763         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9764         * scroll-bar.el (scroll-bar-mode):
9765         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9766         (normal-erase-is-backspace-mode): Don't use the `eq' place.
9767         * winner.el (winner-configuration, winner-make-point-alist)
9768         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9769         * files.el (locate-file-completion-table): Avoid list*.
9771 2012-06-22  Chong Yidong  <cyd@gnu.org>
9773         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9774         (dired-create-files): Doc fix (Bug#11329).
9775         (dired-do-copy): Doc fix (Bug#11334).
9776         (dired-mark-read-string): Doc fix (Bug#11553).
9778         * dired.el (dired-recursive-copies, dired-recursive-deletes):
9779         Doc fix (Bug#11326).
9780         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
9781         (dired-dwim-target): Doc fix.
9783         * wdired.el (wdired-mode): Doc fix.
9785 2012-06-22  Glenn Morris  <rgm@gnu.org>
9787         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9788         (pcmpl-rpm-cache-stamp-file): New constant.
9789         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9790         (pcmpl-rpm-packages): Optionally cache list of packages.
9792         * pcmpl-rpm.el (pcmpl-rpm): New group.
9793         (pcmpl-rpm-query-options): New option.
9794         (pcmpl-rpm-packages): No need to inline it.
9795         Use pcmpl-rpm-query-options.
9797         * calendar/calendar.el (calendar-in-read-only-buffer):
9798         Avoid some needless mode changes.
9800 2012-06-21  Chong Yidong  <cyd@gnu.org>
9802         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9803         (desktop-path): Remove . from the default value (Bug#10977).
9804         (desktop-read): Use user-emacs-directory if desktop-path is nil.
9806 2012-06-20  Chong Yidong  <cyd@gnu.org>
9808         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9810 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
9812         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9813         (bug#11201).
9815 2012-06-20  Chong Yidong  <cyd@gnu.org>
9817         * term.el (term-window-width): Handle the case of a missing right
9818         fringe (Bug#8837).
9819         (term-check-size): Use window-text-height (Bug#5445).
9820         (term-mode): Use define-derived-mode.  Minor cleanups.
9821         Set font-lock-defaults (Bug#7692).
9822         (term-move-columns, term-insert-char, term-emulate-terminal)
9823         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9825 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
9827         * net/ange-ftp.el (ange-ftp-get-passwd):
9828         Bind `enable-recursive-minibuffers'.
9829         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9831 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
9833         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9835 2012-06-19  Glenn Morris  <rgm@gnu.org>
9837         * progmodes/python.el (python-mode): Derive from prog-mode.
9839 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
9841         * emulation/edt.el (edt-default-menu-bar-update-buffers)
9842         (edt-user-menu-bar-update-buffers): New functions.
9843         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9845 2012-06-19  Chong Yidong  <cyd@gnu.org>
9847         * subr.el (with-selected-window): Preserve the selected window's
9848         terminal's top-frame (Bug#4702).
9850         * window.el (save-selected-window): Likewise.
9852 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * progmodes/python.el (python-rx-constituents): Move backquote.
9855         (python-skeleton-define, python-define-auxiliary-skeleton):
9856         Use `declare'.
9858 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
9860         * minibuffer.el (read-file-name-default): Revert the patch from
9861         2012-06-17.
9863 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9865         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9866         (pcase--u1, pcase--q1): Don't use apply-partially.
9868 2012-06-18  Glenn Morris  <rgm@gnu.org>
9870         * progmodes/python.el (python-proc, python-buffer)
9871         (python-send-receive, python-send-string): Fix obsolete versions.
9873 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
9875         * window.el (special-display-p): Completely remove stringp
9876         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9878 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
9880         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9882         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9884         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9885         * net/tramp-sh.el (tramp-maybe-open-connection):
9886         Throw if `non-essential' is non-nil.
9888 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
9890         * window.el (special-display-p): Signal an error if BUFFER-NAME
9891         is not a string (Bug#11713).
9893 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
9895         * progmodes/python.el (python-info-beginning-of-backslash):
9896         Rename from python-info-beginning-of-backlash, as a spelling fix.
9898 2012-06-17  Chong Yidong  <cyd@gnu.org>
9900         * term.el (term-emulate-terminal): If term-check-size is called,
9901         move point to the process mark without resetting point (Bug#4635).
9903 2012-06-17  Glenn Morris  <rgm@gnu.org>
9905         * international/mule-cmds.el (mule-menu-keymap)
9906         (set-language-environment, set-locale-environment): Doc tweaks.
9908 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
9910         * cus-face.el (custom-face-attributes): Add wave-style underline
9911         attribute.
9912         * faces.el (set-face-attribute): Update docstring to describe
9913         wave-style underline attribute.
9915 2012-06-16  Chong Yidong  <cyd@gnu.org>
9917         * term/xterm.el (terminal-init-xterm): Discard input before
9918         querying background mode (Bug#10959).
9920 2012-06-16  Stefan Merten  <smerten@oekonux.de>
9922         * textmodes/rst.el: Added and corrected some comments.
9923         (rst-re-alist-def): Improve symbol syntax.
9924         (rst-mode-syntax-table): Correct syntax entries.
9925         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9926         (rst-official-version, rst-official-cvs-rev): Update version
9927         information.
9929 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
9931         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9932         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9934 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
9936         * progmodes/python.el: New python.el merge.
9937         (python-guess-indent): Obsolete var.
9938         (python-indent-guess-indent-offset): New defcustom.
9939         (python-indent): Obsolete var.
9940         (python-indent-offset): New defcustom.
9941         (python-python-command, python-jython-command): Delete var.
9942         (python-shell-interpreter): New defcustom.
9943         (python-pdbtrack-do-tracking-p): Delete var.
9944         (python-pdbtrack-activate): New defcustom.
9945         (python-use-skeletons): Obsolete var.
9946         (python-skeleton-autoinsert): New defcustom.
9947         (inferior-python-filter-regexp, python-continuation-offset)
9948         (python-honour-comment-indentation, python-indent-string-contents)
9949         (python-jython-packages, python-mode-hook)
9950         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9951         (python-shell-prompt-alist)
9952         (python-source-modes): Delete defcustoms.
9953         (python-check-buffer-name, python-eldoc-setup-code)
9954         (python-eldoc-string-code, python-ffap-setup-code)
9955         (python-ffap-string-code, python-fill-comment-function)
9956         (python-fill-decorator-function, python-fill-paren-function)
9957         (python-fill-string-function, python-imenu-include-defun-type)
9958         (python-imenu-make-tree, python-imenu-subtree-root-label)
9959         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9960         (python-shell-compilation-regexp-alist)
9961         (python-shell-completion-module-string-code)
9962         (python-shell-completion-pdb-string-code)
9963         (python-shell-completion-setup-code)
9964         (python-shell-completion-string-code)
9965         (python-shell-enable-font-lock, python-shell-exec-path)
9966         (python-shell-extra-pythonpaths)
9967         (python-shell-internal-buffer-name, python-shell-interpreter-args)
9968         (python-shell-process-environment)
9969         (python-shell-prompt-block-regexp)
9970         (python-shell-prompt-output-regexp)
9971         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9972         (python-shell-send-setup-max-wait, python-shell-setup-codes)
9973         (python-shell-virtualenv-path): New defcustoms.
9974         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9975         (inferior-python-mode-syntax-table, python--prompt-regexp)
9976         (python-buffer, python-command python-python-command)
9977         (python-default-template, python-imports, python-indent-index)
9978         (python-indent-list, python-indent-list-length)
9979         (python-mode-running, python-pdbtrack-is-tracking-p)
9980         (python-preoutput-continuation, python-preoutput-leftover)
9981         (python-preoutput-result, python-preoutput-skip-next-prompt)
9982         (python-prev-dir/file, python-recursing)
9983         (python-saved-check-command, python-version-checked)
9984         (python-which-func-length-limit)
9985         (view-return-to-alist): Delete vars.
9986         (python-check-custom-command, python-dotty-syntax-table)
9987         (python-imenu-index-alist, python-indent-current-level)
9988         (python-indent-dedenters, python-indent-levels)
9989         (python-nav-beginning-of-defun-regexp)
9990         (python-nav-list-defun-positions-cache)
9991         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9992         (python-shell-internal-buffer)
9993         (python-skeleton-available): New vars.
9994         (def-python-skeleton): Delete macro.
9995         (python-skeleton-define): New macro.
9996         (python-define-auxiliary-skeleton, python-rx): New macros.
9997         (python-insert-class): Delete command.
9998         (python-skeleton-class): New command.
9999         (python-insert-def): Delete command.
10000         (python-skeleton-def): New command.
10001         (python-insert-for): Delete command.
10002         (python-skeleton-for): New command.
10003         (python-insert-if): Delete command.
10004         (python-skeleton-if): New command.
10005         (python-insert-try/except, python-insert-try/finally): Delete commands.
10006         (python-skeleton-try): New command.
10007         (python-insert-while): Delete command.
10008         (python-skeleton-while): New command.
10009         (python-backspace): Delete command.
10010         (python-indent-dedent-line-backspace): New command.
10011         (python-electric-colon): Delete command.
10012         (python-indent-electric-colon): New command.
10013         (python-guess-indent): Delete command.
10014         (python-indent-guess-indent-offset): New command.
10015         (python-shift-left): Delete command.
10016         (python-indent-shift-left): New command.
10017         (python-shift-right): Delete command.
10018         (python-indent-shift-right): New command.
10019         (python-find-function): Delete command.
10020         (python-nav-jump-to-defun): New command.
10021         (python-next-statement): Delete command.
10022         (python-nav-forward-sentence): New command.
10023         (python-previous-statement): Delete command.
10024         (python-nav-backward-sentence): New command.
10025         (python-fill-paragraph): Delete command.
10026         (python-fill-paragraph-function): New command.
10027         (python-send-buffer): Delete command.
10028         (python-shell-send-buffer): New command.
10029         (python-send-defun): Delete command.
10030         (python-shell-send-defun): New command.
10031         (python-send-region, python-send-region-and-go): Delete commands.
10032         (python-shell-send-region)
10033         (python-shell-switch-to-shell): New commands.
10034         (python-send-string): Delete command.
10035         (python-shell-send-string): New command.
10036         (python-switch-to-python): Delete command.
10037         (python-shell-switch-to-shell): New command.
10038         (python-describe-symbol): Delete command.
10039         (python-eldoc-at-point): New command.
10040         (python--set-prompt-regexp, python-args-to-list)
10041         (python-after-info-look, python-check-version)
10042         (python-check-comint-prompt, python-find-imports)
10043         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10044         (python-unload-function, python-expand-template)
10045         (python-maybe-jython, python-preoutput-filter)
10046         (python-pdbtrack-get-source-buffer)
10047         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10048         (python-pdbtrack-toggle-stack-tracking)
10049         (python-pdbtrack-track-stack-file, python-initial-text)
10050         (python-first-word, python-comment-line-p, python-send-command)
10051         (python-setup-brm, python-sentinel, python-set-proc)
10052         (python-skip-out, python-input-filter, python-outdent-p)
10053         (python-outline-level, python-backslash-continuation-line-p)
10054         (python-end-of-block, python-end-of-statement, python-mark-block)
10055         (python-beginning-of-block, python-beginning-of-statement)
10056         (python-blank-line-p, python-beginning-of-string)
10057         (python-open-block-statement-p): Delete functions.
10058         (python-indent-line, python-indent-line-1): Delete functions.
10059         (python-indent-line): New function.
10060         (python-indentation-levels): Delete function.
10061         (python-indent-calculate-levels): New function.
10062         (python-proc): Delete function.
10063         (python-shell-get-process): New function.
10064         (python-send-receive): Delete function.
10065         (python-shell-send-string-no-output): New function.
10066         (python-module-path): Delete function.
10067         (python-ffap-module-path): New function.
10068         (python-completion-at-point)
10069         (python-symbol-completions): Delete functions.
10070         (python-completion-complete-at-point): New function.
10071         (python-load-file): Delete function.
10072         (python-shell-send-file): New function.
10073         (python-calculate-indentation): Delete function.
10074         (python-indent-calculate-indentation): New function.
10075         (python-skip-comments/blanks): Delete function.
10076         (python-util-forward-comment): New function.
10077         (python-continuation-line-p): Delete function.
10078         (python-info-continuation-line-p): New function.
10079         (python-which-func, python-current-defun): Delete function.
10080         (python-info-current-defun): New function.
10081         (python-beginning-of-defun): Delete function.
10082         (python-nav-beginning-of-defun): New function.
10083         (python-close-block-statement-p)
10084         (python-block-end-p): Delete function.
10085         (python-info-closing-block): New function.
10086         (python-comint-output-filter-function)
10087         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10088         (python-fill-comment, python-fill-decorator, python-fill-paren)
10089         (python-fill-string, python-imenu-make-element-tree)
10090         (python-imenu-make-tree, python-imenu-tree-assoc)
10091         (python-indent-context, python-indent-dedent-line)
10092         (python-indent-line-function)
10093         (python-indent-post-self-insert-function)
10094         (python-indent-toggle-levels)
10095         (python-info-assignment-continuation-line-p)
10096         (python-info-beginning-of-backlash)
10097         (python-info-block-continuation-line-p)
10098         (python-info-closing-block-message)
10099         (python-info-line-ends-backslash-p)
10100         (python-info-looking-at-beginning-of-defun)
10101         (python-info-ppss-context, python-info-ppss-context-type)
10102         (python-nav-list-defun-positions, python-nav-read-defun)
10103         (python-nav-sentence-end, python-nav-sentence-start)
10104         (python-pdbtrack-comint-output-filter-function)
10105         (python-pdbtrack-set-tracked-buffer)
10106         (python-shell-calculate-exec-path)
10107         (python-shell-calculate-process-environment)
10108         (python-shell-completion--do-completion-at-point)
10109         (python-shell-completion--get-completions)
10110         (python-shell-completion-complete-at-point)
10111         (python-shell-completion-complete-or-indent)
10112         (python-shell-get-or-create-process)
10113         (python-shell-get-process-name)
10114         (python-shell-internal-get-or-create-process)
10115         (python-shell-internal-get-process-name)
10116         (python-shell-internal-send-string, python-shell-make-comint)
10117         (python-shell-parse-command, python-shell-send-setup-code)
10118         (python-skeleton-add-menu-items)
10119         (python-util-clone-local-variables, python-util-position)
10120         (run-python-internal, python-indentation-levels)
10121         (python-nav-beginning-of-defun)
10122         (python-completion-complete-at-point): New functions.
10123         (run-python): Change arguments.  New API requirements.
10125 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10127         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10128         (bug#11649).
10130         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10131         (macroexp--expand-all): Use it.
10133         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10134         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10135         Use `cl-function' instead.
10137 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
10139         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10140         Suggested by Stefan Monnier while discussing bug#11657.
10142 2012-06-14  Sam Steingold  <sds@gnu.org>
10144         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10146 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10148         * play/doctor.el (doctor-doc): Remove parameter and use
10149         doctor-sent instead of sent.
10150         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
10152 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10154         * files.el: Require cl-lib.
10155         (file-name-non-special): Replace case -> cl-case.
10157         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10159         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10160         mapping from #' to function*.
10162 2012-06-13  Chong Yidong  <cyd@gnu.org>
10164         * mouse.el (mouse-drag-track): Do not set the mark if the user
10165         releases the mouse without selecting anything (Bug#11588).
10167 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10169         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10170         as well (bug#11646).
10172         * loadup.el: Count byte-code functions as well.
10174         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10175         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10177         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10178         (bug#11649).  Add cl-defun and cl-defmacro.
10180 2012-06-13  Drew Adams  <drew.adams@oracle.com>
10182         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10183         Fix last change.
10185 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
10187         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10188         Otherwise, it blocks in batch mode.
10190 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
10192         * help-mode.el (bookmark-make-record-default): Declare.
10194 2012-06-13  Chong Yidong  <cyd@gnu.org>
10196         * emacs-lisp/package.el (list-packages): Compute a list of
10197         packages that are newly-available since the last list-packages
10198         invocation.
10199         (package-menu--new-package-list): New var.
10200         (package-menu--generate, package-menu--print-info)
10201         (package-menu--status-predicate, package-menu-mark-install):
10202         Handle new status label "new".
10204 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10206         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10207         conversion to backquotes.
10209 2012-06-12  Chong Yidong  <cyd@gnu.org>
10211         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10212         Rename from gud-inhibit-global-bindings.
10214         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10216         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10217         hook from nxml-glyph-set-hook.
10219         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10220         declaration.
10222         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10224         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10225         Convert to defcustom.
10227 2012-06-12  Drew Adams  <drew.adams@oracle.com>
10229         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10230         New functions.
10231         (help-mode): Use them.
10233 2012-06-11  Glenn Morris  <rgm@gnu.org>
10235         * progmodes/fortran.el (fortran-font-lock-keywords-3):
10236         Use preprocessor face for directives.
10237         (fortran-directive-re): Doc fix.
10239 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10241         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10242         conversion to backquotes (bug#11652).
10244         Fix compiler-expansion of CL's cXXr functions (bug#11673).
10245         * emacs-lisp/cl-lib.el (cl--defalias): New function.
10246         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10247         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10248         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10249         (cl-ninth, cl-tenth): Mark them as inlinable.
10250         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10251         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10252         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10253         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10254         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10255         (cl-list*, cl-adjoin): Don't put an autoload manually.
10256         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10257         (cl--compiler-macro-list*): Add autoload cookie.
10258         (cl--compiler-macro-cXXr): New function.
10260         * help-fns.el (help-fns--compiler-macro): New function extracted from
10261         describe-function-1; follow aliases and use `compiler-macro' property.
10262         (describe-function-1): Use it.
10264 2012-06-11  Chong Yidong  <cyd@gnu.org>
10266         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10267         is uninstalled, if imagemagick is installed.
10269 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10271         * emacs-lisp/cl-lib.el: Use lexical-binding.
10272         (cl-map-extents, cl-maclisp-member): Remove.
10273         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10274         (cl--set-substring, cl--block-wrapper, cl--block-throw)
10275         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10276         * emacs-lisp/cl-extra.el: Use lexical-binding.
10277         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10278         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10279         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10280         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10281         * emacs-lisp/cl-seq.el: Use lexical-binding.
10282         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10283         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10284         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10285         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10286         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10287         CL's internals.
10289 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
10291         Sync with Tramp 2.2.6-pre.
10293         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10294         `print-length' and `print-level' to nil, in order to avoid
10295         truncation.  Reported by Christopher Schmidt
10296         <christopher@ristopher.com>.
10298         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10300         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10301         New defmacro.
10302         (tramp-compat-copy-directory): Add optional argument
10303         COPY-CONTENTS.  It is not handled yet.
10305         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10306         (tramp-ftp-file-name-p): Simplify.
10308         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10309         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10310         connection vector.
10312         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10313         (tramp-methods): Do not use `tramp-password-end-of-line'.
10314         (tramp-completion-function-alist-putty): Handle UNIX case.
10315         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10316         (tramp-do-file-attributes-with-stat)
10317         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10318         gid as real numbers.  They could run out of integer range on cygwin.
10319         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10320         (tramp-sh-handle-expand-file-name): Handle hops.
10321         (tramp-open-connection-setup-interactive-shell):
10322         Use `tramp-cleanup'.  Move check for busyboxes ...
10323         (tramp-find-shell): ... here.  Simplify implementation.
10324         Set "remote-shell" property also for alternative shells.
10325         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10326         If failing, a regular file would be written otherwise.
10327         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10328         (tramp-find-inline-encoding): Cache the coding commands in the
10329         process cache.  Apply test command on the remote side, if defined.
10330         (tramp-find-inline-compress): Cache the compress commands in the
10331         process cache.
10332         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10333         when requested.  Handle hops.
10334         (tramp-current-connection): New defvar.
10335         (tramp-maybe-open-connection): Use `tramp-cleanup'.
10336         Throw `suppress', if there was a failed connection shortly before.
10337         Handle user interrupt.  (Bug#10187)
10338         (tramp-get-inline-compress, tramp-get-inline-coding):
10339         Read connection properties from the process cache.
10341         * net/tramp-smb.el (tramp-smb-server-version)
10342         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10343         New defconsts.
10344         (tramp-smb-prompt): Extend for powershell prompt.
10345         (tramp-smb-file-name-handler-alist): Add handlers for
10346         `process-file', `shell-command' and `start-file-process'.
10347         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10348         (tramp-smb-winexe-shell-command-switch): New defcustoms.
10349         (tramp-smb-file-name-p): Simplify.
10350         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10351         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10352         (tramp-smb-shell-quote-argument): New defuns.
10353         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10354         Implement using "tar".  By this, time-stamps are preserved.
10355         (tramp-smb-handle-copy-file): Handle also the case of directories.
10356         (tramp-smb-do-file-attributes-with-stat)
10357         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10358         Use `tramp-get-connection-buffer').
10359         (tramp-smb-handle-rename-file): Use "rename", when source and
10360         target are on the same share.
10361         (tramp-smb-maybe-open-connection): Handle wrong passwords.
10362         Use `tramp-smb-server-version'.
10363         (tramp-smb-wait-for-output): Remove prompt.
10365         * net/tramp.el (top): Require 'cl.
10366         (tramp-methods, tramp-rsh-end-of-line):
10367         Remove `tramp-password-end-of-line' from docstring.
10368         (tramp-save-ad-hoc-proxies): New defcustom.
10369         (tramp-completion-function-alist): Adapt docstring.
10370         (tramp-default-password-end-of-line): Remove defcustom.
10371         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
10372         (tramp-user-regexp, tramp-file-name-regexp-unified)
10373         (tramp-file-name-regexp-url): Extend regexp by hop separator.
10374         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10375         (tramp-remote-file-name-spec-regexp): New defconst.
10376         (tramp-file-name-structure): Extend structure for hops.
10377         (tramp-get-method-parameter): Move up.
10378         (tramp-file-name-p, tramp-dissect-file-name)
10379         (with-parsed-tramp-file-name): Handle hops.
10380         (tramp-file-name-hop): New defun.
10381         (tramp-make-tramp-file-name): New optional arg HOP.
10382         (tramp-message-show-progress-reporter-message): New defvar.
10383         (tramp-with-progress-reporter): Use it.  We cannot use
10384         `tramp-message-show-message' here, because this suppresses also
10385         error buffers.
10386         (tramp-error-with-buffer): Suppress buffer view, if
10387         `tramp-message-show-message' is nil.
10388         Use `tramp-get-connection-buffer'.
10389         (tramp-cleanup): New defun.
10390         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10391         (tramp-file-name-handler): If `debug-on-error' is set, propagate
10392         an error unchanged.
10393         (tramp-completion-handle-file-name-all-completions): Handle hops.
10394         Fix an error when called from ido.
10395         (tramp-completion-dissect-file-name): Use better local variable
10396         name.  Add hop to the vector.
10397         (tramp-handle-insert-file-contents): Use progress-reporter for the
10398         whole scenario.
10399         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10400         to `t'.
10401         (tramp-check-for-regexp): Simplify search.
10402         (tramp-enter-password): Remove it.  Move implementation ...
10403         (tramp-action-password): ... here.
10404         (tramp-mode-string-to-int, tramp-local-host-p)
10405         (tramp-make-tramp-temp-file, tramp-read-passwd)
10406         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10407         Set tramp-autoload cookie.
10409         * net/trampver.el: Update release number.
10411 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10412             Michael Albinus  <michael.albinus@gmx.de>
10414         * net/tramp.el (tramp-set-completion-function): Fix docstring.
10415         (tramp-parse-group, tramp-parse-file)
10416         (tramp-parse-shostkeys-sknownhosts): New defuns.
10417         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10418         (tramp-parse-shosts-group, tramp-parse-sconfig)
10419         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10420         (tramp-parse-sknownhosts, tramp-parse-hosts)
10421         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10422         Use them.
10423         (tramp-parse-passwd-group, tramp-parse-netrc-group)
10424         (tramp-parse-putty-group): Don't narrow.
10425         (tramp-parse-putty): Make a loop.
10426         (tramp-file-name-handler): Catch the `suppress' signal.
10428 2012-06-11  Chong Yidong  <cyd@gnu.org>
10430         * image.el (imagemagick-register-types): Put the ImageMagick entry
10431         at the end of image-type-file-name-regexps.
10433 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
10435         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10436         (pcase, pcase-let*, pcase-dolist): Use them.
10438 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10440         * emacs-lisp/pcase.el (pcase--let*): New function.
10441         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
10442         (pcase--expand): Use macroexp-let².
10444 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10446         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10447         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10448         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10449         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10450         * emacs-lisp/derived.el: Use pcase instead of `cl'.
10451         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10453 2012-06-10  Glenn Morris  <rgm@gnu.org>
10455         * mail/rmail.el (rmail-yank-current-message): Leave point at
10456         correct position.  (Bug#11660)
10458 2012-06-10  Chong Yidong  <cyd@gnu.org>
10460         * allout-widgets.el: Fix code header.
10462 2012-06-10  Chong Yidong  <cyd@gnu.org>
10464         * cus-edit.el (customize-changed-options-previous-release):
10465         Bump to 24.1.
10467 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
10469         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10471 2012-06-09  Chong Yidong  <cyd@gnu.org>
10473         * ebuff-menu.el (electric-buffer-list): Preserve header line.
10475 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
10477         * window.el (special-display-popup-frame): Don't use
10478         window--display-buffer (Bug#11651).
10480 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
10482         Fix parallel builds: make sure loaddefs.el is not being written
10483         while Lisp files are compiled.
10484         (compile): Don't depend on 'mh-autoloads'.
10485         (compile-CMD, compile-SH): Depend on 'autoloads'.
10486         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10488         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
10490 2012-06-09  Chong Yidong  <cyd@gnu.org>
10492         * face-remap.el (face-remap-add-relative, face-remap-set-base)
10493         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10494         Doc fixes (Bug#11225).
10496 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10498         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10499         a function if there's a clear indication that it has a compiler-macro.
10500         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10501         (macro-declarations-alist): Add arglist to declaration functions.
10502         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10503         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10504         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10505         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10506         Also add autoload to find the compiler macro.
10507         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10508         (cl--compiler-macro-member, cl--compiler-macro-assoc)
10509         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10510         (cl--compiler-macro-get): New functions, replacing calls to
10511         cl-define-compiler-macro.
10512         (cl-typep) [compiler-macro]: Use macroexp-let².
10514 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
10516         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10517         string properly, fixes Bug#11473.
10519 2012-06-08  Chong Yidong  <cyd@gnu.org>
10521         * faces.el (set-face-attribute): Doc fix.
10522         (modify-face): Don't use :bold and :italic.
10523         (error, warning, success): Tweak definitions.
10525         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10526         (custom-modified, custom-set, custom-changed, custom-themed)
10527         (custom-saved, custom-button, custom-button-mouse)
10528         (custom-button-pressed, custom-state, custom-comment-tag)
10529         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10530         (custom-group-subtitle): Use new-style face specs.
10531         (custom-invalid-face, custom-rogue-face, custom-modified-face)
10532         (custom-set-face, custom-changed-face, custom-saved-face)
10533         (custom-button-face, custom-button-pressed-face)
10534         (custom-documentation-face, custom-state-face)
10535         (custom-comment-face, custom-comment-tag-face)
10536         (custom-variable-tag-face, custom-variable-button-face)
10537         (custom-face-tag-face, custom-group-tag-face-1)
10538         (custom-group-tag-face): Remove obsolete face alias.
10540         * epa.el (epa-validity-high, epa-validity-medium)
10541         (epa-validity-low, epa-mark, epa-field-name, epa-string)
10542         (epa-field-name, epa-field-body):
10543         * font-lock.el (font-lock-comment-face, font-lock-string-face)
10544         (font-lock-keyword-face, font-lock-builtin-face)
10545         (font-lock-function-name-face, font-lock-variable-name-face)
10546         (font-lock-type-face, font-lock-constant-face):
10547         * ido.el (ido-first-match, ido-only-match, ido-subdir)
10548         (ido-virtual, ido-indicator, ido-incomplete-regexp):
10549         * speedbar.el (speedbar-button-face, speedbar-file-face)
10550         (speedbar-directory-face, speedbar-tag-face)
10551         (speedbar-selected-face, speedbar-highlight-face)
10552         (speedbar-separator-face):
10553         * whitespace.el (whitespace-newline, whitespace-space)
10554         (whitespace-hspace, whitespace-tab, whitespace-trailing)
10555         (whitespace-line, whitespace-space-before-tab)
10556         (whitespace-space-after-tab, whitespace-indentation)
10557         (whitespace-empty):
10558         * emulation/cua-base.el (cua-global-mark):
10559         * eshell/em-prompt.el (eshell-prompt):
10560         * net/newst-plainview.el (newsticker-new-item-face)
10561         (newsticker-old-item-face, newsticker-immortal-item-face)
10562         (newsticker-obsolete-item-face, newsticker-date-face)
10563         (newsticker-statistics-face, newsticker-default-face):
10564         * net/newst-reader.el (newsticker-feed-face)
10565         (newsticker-extra-face, newsticker-enclosure-face):
10566         * net/newst-treeview.el (newsticker-treeview-face)
10567         (newsticker-treeview-new-face, newsticker-treeview-old-face)
10568         (newsticker-treeview-immortal-face)
10569         (newsticker-treeview-obsolete-face)
10570         (newsticker-treeview-selection-face):
10571         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10572         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10573         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10574         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10575         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10576         (nxml-outline-active-indicator, nxml-outline-ellipsis):
10577         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10578         (mpuz-text):
10579         * progmodes/vera-mode.el (vera-font-lock-number)
10580         (vera-font-lock-function, vera-font-lock-interface):
10581         * textmodes/table.el (table-cell): Use new-style face specs, and
10582         don't use the old :bold and :italic attributes.
10584         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10585         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10586         (ebrowse-member-class, ebrowse-progress): Likewise.
10587         (ebrowse-tree-mark-face, ebrowse-root-class-face)
10588         (ebrowse-file-name-face, ebrowse-default-face)
10589         (ebrowse-member-attribute-face, ebrowse-member-class-face)
10590         (ebrowse-progress-face): Remove obsolete faces.
10592         * progmodes/flymake.el (flymake-errline, flymake-warnline):
10593         Inherit from error and warning faces respectively.
10595         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10596         Likewise.
10597         (flyspell-incorrect-face, flyspell-duplicate-face):
10598         Remove obsolete aliases.
10600 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
10602         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10603         Avoid infloop.
10605 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10607         * startup.el (argv, argi): Make lexically scoped.
10608         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10609         * emacs-lisp/cl-macs.el: Use lexical-binding.
10610         Rename cl-bind-* to cl--bind-*.
10611         * files.el: Don't require `cl' since it doesn't use it.
10612         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10614 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
10616         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10617         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10618         instead of calling external sort utility.
10619         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10621 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
10623         * descr-text.el (describe-char): Mention how to insert the
10624         character, if the current input method doesn't support it.
10625         See the discussion in this thread for the details:
10626         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10628 2012-06-08  Sam Steingold  <sds@gnu.org>
10630         * bindings.el (global-map): Bind XF86Forward to next-buffer and
10631         XF86Back to previous-buffer.
10632         (minibuffer-local-map): Bind them to next-history-element and
10633         previous-history-element respectively.
10634         * help-mode.el (help-mode-map): Bind them to help-go-forward and
10635         help-go-back respectively.
10636         * info.el (Info-mode-map): Bind them to Info-history-forward and
10637         Info-history-back respectively.
10638         These are the keys next to Up on the ThinkPad keyboard.
10640 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10642         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10643         * emacs-lisp/cl-macs.el: Provide itself.
10644         (cl--labels-convert-cache): New var.
10645         (cl--labels-convert): New function.
10646         (cl-flet, cl-labels): New implementation with new semantics, relying on
10647         lexical-binding.
10648         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10649         (cl-closure-vars, cl--function-convert-cache)
10650         (cl--function-convert): Move from cl-macs.el.
10651         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10652         rename by removing the "cl-" prefix.
10653         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10655 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10658         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10659         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10660         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10661         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10662         (cl-hash-table-count): Add old compatibility aliases.
10664         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10665         Use macroexpand-all-environment instead.
10666         (cl--old-macroexpand): New var.
10667         (cl--sm-macroexpand): New function.
10668         (cl-symbol-macrolet): Use it during macro expansion.
10669         (cl--function-convert-cache): New var.
10670         (cl--function-convert): New function, extracted from
10671         cl-macroexpand-all.
10672         (cl-lexical-let): Use it.
10674         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10675         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10676         (cl-member): Remove old alias.
10678         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10679         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10680         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10681         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10682         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10683         (cl-macroexpand-cmacs): Remove var.
10684         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10685         Use macroexpand-all instead.
10687 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10689         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10690         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10691         (macroexp-copyable-p): New functions and macros.
10692         * emacs-lisp/edebug.el (edebug-unwrap):
10693         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10694         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10695         (pcase--let*): Remove.
10696         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10697         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
10698         macroexp-const-p instead.
10699         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10701         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10702         instead of "cl-" for internal definitions.  Use macroexp-const-p.
10703         (cl-old-bc-file-form): Remove var.
10704         (cl-const-exprs-p): Remove fun.
10705         (cl-labels, cl-macrolet): Use backquote.
10706         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
10707         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10708         (cl-define-setf-expander): Rename from cl-define-setf-method.
10709         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10711         * international/mule-cmds.el: Don't require CL.
10712         (view-hello-file): Don't use `letf'.
10714 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10716         * tmm.el (tmm-prompt): Use string-prefix-p.
10717         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10718         (tmm-add-prompt): Use minibuffer-completion-help.
10719         (tmm-delete-map): Remove.
10721         * subr.el (kbd): Make it its own function.
10723 2012-06-07  Stefan Merten  <smerten@oekonux.de>
10725         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10726         Silence compiler warnings.  Fix versions.
10727         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10728         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10729         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10730         (rst-package-emacs-version-alist): Correct Emacs version to
10731         represent major merge with upstream.
10732         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10734 2012-06-06  Glenn Morris  <rgm@gnu.org>
10736         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10737         Only print environment variables if set.
10739 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10741         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10742         (macroexp--cons): Rename from maybe-cons.
10743         (macroexp--accumulate): Rename from macroexp-accumulate.
10744         (macroexp--all-forms): Rename from macroexpand-all-forms.
10745         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10746         (macroexp--expand-all): Rename from macroexpand-all-1.
10748 2012-06-06  Sam Steingold  <sds@gnu.org>
10750         * calendar/calendar.el (calendar-in-read-only-buffer):
10751         Call `special-mode' to enable the standard read-only keybindings.
10753 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10755         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10756         with "loading" messages (bug#11635).
10758 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
10760         * files.el (enable-remote-dir-locals): New option.
10761         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
10763         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10764         Ensure, that the temp directory is local.
10766         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10767         `temporary-file-directory'.
10769         * progmodes/python.el (python-send-region): Ensure, that the
10770         temporary file is created also in the remote case.
10772 2012-06-06  Glenn Morris  <rgm@gnu.org>
10774         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10775         (vc-rcs-update-changelog): Use it.
10777         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10779         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10780         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10781         (vc-sccs-diff): Replace use of the external vcdiff script.
10783 2012-06-05  Glenn Morris  <rgm@gnu.org>
10785         * ledit.el: Move to obsolete/.
10787 2012-06-05  Sam Steingold  <sds@gnu.org>
10789         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10790         patch (Bug#11140).
10792 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10794         * emacs-lisp/cust-print.el: Move to obsolete.
10796         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10797         compiler-macro expansion.
10799         Add native compiler-macro support.
10800         * emacs-lisp/macroexp.el (macroexpand-all-1):
10801         Support compiler-macros directly.  Properly follow aliases and apply
10802         the compiler macros more thoroughly.
10803         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10804         macroexpand now properly follows aliases.
10805         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10806         (cl-compiler-macroexpand): Use new prop.
10807         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10809         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10811 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
10813         * window.el (get-lru-window, get-mru-window, get-largest-window):
10814         New argument NOT-SELECTED to avoid picking the selected window.
10815         (window--display-buffer-1, window--display-buffer-2): Replace by
10816         new function window--display-buffer
10817         (display-buffer-same-window, display-buffer-reuse-window)
10818         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10819         Use window--display-buffer.
10820         (display-buffer-use-some-window): Remove temporary dedication
10821         hack by calling get-lru-window and get-largest-window with
10822         NOT-SELECTED argument non-nil.  Call window--display-buffer.
10824 2012-06-05  Glenn Morris  <rgm@gnu.org>
10826         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10827         Replace external vcdiff script.
10829 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10831         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10833 2012-06-04  Chong Yidong  <cyd@gnu.org>
10835         * image.el (imagemagick-types-inhibit): Revert last change.
10836         Add INFO and M.
10837         (imagemagick-enabled-types): Remove CIN and EPS*.
10839 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10841         * emacs-lisp/cl-lib.el: Rename from cl.el.
10842         * emacs-lisp/cl.el: New compatibility file.
10843         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10844         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10845         to obey the "cl-" prefix.
10846         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10848 2012-06-03  Glenn Morris  <rgm@gnu.org>
10850         * emacs-lisp/authors.el (authors-aliases): Addition.
10852         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10853         Fix :version.
10855 2012-06-03  Stefan Merten  <smerten@oekonux.de>
10857         * textmodes/rst.el: Add comments.
10858         (rst-transition, rst-adornment): New faces.
10859         (rst-adornment-faces-alist): Make default safe to reevaluate.
10860         Fixes
10861         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10862         Improve customization tags.
10863         (rst-define-level-faces): Clarify meaning.
10865 2012-06-03  Chong Yidong  <cyd@gnu.org>
10867         * progmodes/compile.el (compilation-mode-line-fail)
10868         (compilation-mode-line-run, compilation-mode-line-exit):
10869         New faces.
10870         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10872 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
10874         * progmodes/which-func.el (which-func-update-ediff-windows):
10875         New function.  Use it in ediff-select-hook (Bug#11478).
10877 2012-06-03  Chong Yidong  <cyd@gnu.org>
10879         * bindings.el: Remove explicit help text from format-mode-line.
10880         It is now supplied by mode-line-default-help-echo.
10881         (mode-line-front-space, mode-line-end-spaces)
10882         (mode-line-misc-info): New variables.
10883         (mode-line-modes, mode-line-position): Move the default value to
10884         the variable definition.
10885         (mode-line-default-help-echo): New defcustom.
10886         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10887         (mode-line-modified-help-echo): New functions.
10888         (mode-line-mule-info, mode-line-modified): Use them.
10889         (mode-line-eol-desc, propertized-buffer-identification):
10890         Consistency fixes for help text.
10891         (mode-line-coding-system-map): Allow using mouse-3 to invoke
10892         set-buffer-file-coding-system (Bug#289).
10893         (mode-line-mule-info-help-echo): Update help text.
10895 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10897         * simple.el (execute-extended-command): Set real-this-command
10898         (bug#11506).
10900 2012-06-02  Chong Yidong  <cyd@gnu.org>
10902         Remove incorrect uses of "modeline" in comments, docstrings, and
10903         function/variable names (Bug#10329).
10905         * cus-edit.el (mode-line):
10906         * dframe.el (dframe-mouse-hscroll):
10907         * emacs-lisp/re-builder.el:
10908         * emacs-lisp/easy-mmode.el (define-minor-mode):
10909         * frame.el (set-frame-name):
10910         * help.el (lookup-minor-mode-from-indicator):
10911         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10912         * progmodes/cc-cmds.el (c-toggle-auto-newline)
10913         (c-toggle-hungry-state):
10914         * progmodes/antlr-mode.el (antlr-language-alist):
10915         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10916         * progmodes/vhdl-mode.el (vhdl-mode):
10917         * progmodes/which-func.el (which-func, which-func-cleanup-function):
10918         * term/ns-win.el (ns-face-at-pos):
10919         * term/sup-mouse.el (sup-mouse-report):
10920         * textmodes/flyspell.el (flyspell-mode-line-string):
10921         * textmodes/ispell.el (ispell-highlight-face):
10922         * textmodes/reftex-global.el:
10923         * vc/vc-arch.el (vc-arch-mode-line-string):
10924         * vc/vc-cvs.el (vc-cvs-mode-line-string):
10925         * vc/vc-git.el (vc-git-mode-line-string):
10926         * vc/vc-hooks.el (vc-display-status)
10927         (vc-default-mode-line-string):
10928         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10930         * ansi-color.el (ansi-color-faces-vector): Change default faces.
10932         * dired.el (dired-sort-set-mode-line): Rename from
10933         dired-sort-set-modeline.  All callers changed.
10935         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10936         eshell-status-in-modeline.
10938         * foldout.el (foldout-mode-line-string): Rename from
10939         foldout-modeline-string.  All callers changed.
10940         (foldout-update-mode-line): Rename from foldout-update-modeline.
10942         * subr.el (redraw-modeline): Make into obsolete alias.
10944         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10945         timeclock-modeline-display.  Make old name an alias.
10946         (timeclock-update-mode-line): Likewise.  All callers changed.
10947         (timeclock-mode-line-display): No need to check before using
10948         add-hook.
10949         (timeclock-relative, timeclock-day-over-hook)
10950         (timeclock-use-elapsed, timeclock-mode-string)
10951         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10953         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10954         crisp-mode-modeline-string.
10956         * play/solitaire.el (solitaire-build-mode-line): Rename from
10957         solitaire-build-modeline.  All callers changed.
10959         * play/zone.el (zone-hiding-mode-line): Rename from
10960         zone-hiding-modeline.  All callers changed.
10961         (zone): Remove unusued `modeline-hidden-level' property.
10963         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10964         xscheme-modeline-initialize.  All callers changed.
10966         * strokes.el (strokes-lighter): Rename from
10967         strokes-modeline-string.
10969         * textmodes/sgml-mode.el (html-face-tag-alist)
10970         (html-tag-face-alist): Use mode-line face instead of obsolete
10971         alias modeline.
10973 2012-06-02  Stefan Merten  <smerten@oekonux.de>
10975         * textmodes/rst.el: Always require `cl'.
10976         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10978 2012-06-02  Chong Yidong  <cyd@gnu.org>
10980         * image.el (imagemagick-enabled-types): Rename from
10981         imagemagick-types-enable.  Add many more types.
10982         (imagemagick-types-inhibit): Change default to nil.
10983         (imagemagick-filter-types): Caller changed.
10985 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10987         * emacs-lisp/cl-macs.el: Use backquotes.
10988         (cl-transform-function-property): Use eval-and-compile rather than
10989         abusing `require'.
10990         (defstruct): Use declare-function instead of with-no-warnings.
10992         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10993         (byte-compile-output-docform): Re-add the print-circle bindings.
10994         (byte-compile-fix-header): Use #$ just because it's shorter.
10995         (byte-compile-output-file-form): Remove defun/defmacro.
10997 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
10999         * simple.el (choose-completion): Remove now obsolete binding for
11000         owindow.
11002 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
11004         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11005         in order to avoid "Stack overflow in regexp matcher".
11007 2012-05-31  Glenn Morris  <rgm@gnu.org>
11009         * image.el: For clarity, call imagemagick-register-types at
11010         top-level, rather than relying on a custom :initialize.
11011         (imagemagick-types-enable): New option.  (Bug#11557)
11012         (imagemagick-filter-types): New function.  (Bug#7406)
11013         (imagemagick-register-types): Use imagemagick-filter-types.
11014         If disabling support, remove elements altogether rather
11015         than using an impossible regexp.
11016         (imagemagick-types-inhibit): Give it the default init function.
11018 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11020         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11021         Handle arbitrary file name lengths (Bug#11585).
11023 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
11025         * desktop.el (desktop-read): Clear previous and next buffers for
11026         all windows and bury *Messages* buffer (bug#11556).
11028 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11030         Add `declare' for `defun'.  Align `defmacro's with it.
11031         * emacs-lisp/easy-mmode.el (define-minor-mode)
11032         (define-globalized-minor-mode): Don't autoload the var definitions.
11033         * emacs-lisp/byte-run.el: Use lexical-binding.
11034         (defun-declarations-alist, macro-declarations-alist): New vars.
11035         (defmacro, defun): Use them.
11036         (make-obsolete, define-obsolete-function-alias)
11037         (make-obsolete-variable, define-obsolete-variable-alias):
11038         Use `declare'.
11039         (macro-declaration-function): Mark obsolete.
11040         * emacs-lisp/autoload.el: Use lexical-binding.
11041         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
11043 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11045         * textmodes/ispell.el (ispell-with-no-warnings):
11046         Define as a macro.
11047         (ispell-kill-ispell, ispell-change-dictionary):
11048         Use `called-interactively-p' for Emacs instead of obsolete
11049         `interactive-p'.
11051 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11053         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11054         (macro-declaration-function): Move var from C code.
11055         (macro-declaration-function): Define function with defalias.
11056         * emacs-lisp/macroexp.el (macroexpand-all-1):
11057         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11058         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11059         defun/defmacro any more.
11060         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11061         Provide fallback for unknown arglist.
11062         (byte-compile-arglist-warn): Change calling convention.
11063         (byte-compile-output-file-form): Move print-vars binding.
11064         (byte-compile-output-docform): Simplify accordingly.
11065         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11066         (byte-compile-defmacro-declaration): Remove.
11067         (byte-compile-file-form-defmumble): Generalize to defalias.
11068         (byte-compile-output-as-comment): Return byte-positions.
11069         Simplify callers accordingly.
11070         (byte-compile-lambda): Use `assert'.
11071         (byte-compile-defun, byte-compile-defmacro): Remove.
11072         (byte-compile-file-form-defalias):
11073         Use byte-compile-file-form-defmumble.
11074         (byte-compile-defalias-warn): Remove.
11076 2012-05-29  Stefan Merten  <smerten@oekonux.de>
11078         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11079         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
11081         (rst-mode-abbrev-table): Merge definition.
11082         (rst-mode): Make sure `font-lock-defaults' is buffer local.
11083         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11085 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
11087         * calendar/icalendar.el
11088         (icalendar-export-region): Export UID properly.
11090 2012-05-29  Leo Liu  <sdl.web@gmail.com>
11091         * calendar/icalendar.el (icalendar-import-format):
11092         Add `icalendar-import-format-uid' (Bug#11525).
11093         (icalendar-import-format-uid): New.
11094         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11095         Export UID.
11097 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11099         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11100         different alternative patterns.
11101         (pcase-codegen): Be more careful to preserve identity.
11102         (pcase--u1): Don't forget to mark vars as used.
11104         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11105         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11106         (byte-compile-from-buffer): ...rather than here.
11108         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11109         functions from byte-compile-function-environment.
11111 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
11113         * window.el (window-deletable-p): Avoid deleting the root window
11114         of a frame with an active minibuffer.
11116 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
11118         * simple.el (choose-completion): Use quit-window (Bug#11567).
11120 2012-05-29  Chong Yidong  <cyd@gnu.org>
11122         * whitespace.el (whitespace-cleanup): Fix usage of
11123         whitespace-empty-at-bob-regexp (Bug#11492).
11125 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11127         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11128         revert (Bug#11488).
11130 2012-05-29  Juri Linkov  <juri@jurta.org>
11132         * isearch.el (isearch-mode-map): Bind `M-s _' to
11133         `isearch-toggle-symbol'.  Bind `M-s c' to
11134         `isearch-toggle-case-fold'.
11135         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11136         (isearch-forward): Add `M-s _' to the docstring.
11137         (isearch-forward-symbol, isearch-toggle-case-fold)
11138         (isearch-symbol-regexp): New functions.  (Bug#11381)
11140 2012-05-29  Juri Linkov  <juri@jurta.org>
11142         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
11143         (isearch-occur, isearch-search-and-update): If `isearch-word' is
11144         a function, call it to get the regexp.
11145         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11146         property `isearch-message-prefix' instead of the string "word ".
11147         (isearch-search-fun-default): For the case of `isearch-word',
11148         return a lambda that calls re-search-forward/re-search-backward
11149         with a regexp returned by `word-search-regexp' or by the function
11150         in `isearch-word'.
11152 2012-05-29  Juri Linkov  <juri@jurta.org>
11154         * isearch.el (isearch-search-fun-default): New function.
11155         (isearch-search-fun): Move default part to the new function
11156         `isearch-search-fun-default'.
11157         (isearch-search-fun-function): Set the default value to
11158         `isearch-search-fun-default'.  (Bug#11381)
11160         * comint.el (comint-history-isearch-end):
11161         Use `isearch-search-fun-default'.
11162         (comint-history-isearch-search): Use `isearch-search-fun-default'
11163         and remove spacial case for `isearch-word'.
11164         (comint-history-isearch-wrap): Remove spacial case for
11165         `isearch-word'.
11167         * hexl.el (hexl-isearch-search-function):
11168         Use `isearch-search-fun-default'.
11170         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11171         Use `word-search-regexp' for `isearch-word'.
11173         * misearch.el (multi-isearch-search-fun):
11174         Use `isearch-search-fun-default'.
11176         * simple.el (minibuffer-history-isearch-search):
11177         Use `isearch-search-fun-default' and remove spacial case for
11178         `isearch-word'.
11179         (minibuffer-history-isearch-wrap): Remove spacial case for
11180         `isearch-word'.
11182         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11183         Remove spacial case for `isearch-word'.
11184         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11186 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11188         Decrease XEmacs incompatibilities.
11189         * textmodes/flyspell.el (flyspell-check-pre-word-p):
11190         Use `string-match'.
11191         (flyspell-delete-region-overlays): Use alternative definition for
11192         XEmacs.
11193         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11194         (flyspell-word): Use `process-kill-without-query' if XEmacs.
11195         (flyspell-mode-on): Use `interactive-p' if XEmacs.
11196         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11197         `define-obsolete-face-alias' under XEmacs, but old method.
11199         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11200         `with-no-warnings' definition or Emacs alias.
11201         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11202         (ispell-word): Do not use `region-p' if XEmacs.
11204 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11206         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11207         Check for `ispell-dictionary-base-alist' instead of full
11208         `ispell-dictionary-alist'.
11209         (ispell-init-process): Show spellchecker when starting new Ispell
11210         process.
11212 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11214         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11215         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11217 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
11219         * version.el (motif-version-string, gtk-version-string)
11220         (ns-version-string): Declare.
11222 2012-05-27  Juri Linkov  <juri@jurta.org>
11224         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11225         after the `eval-defun-1' specialcaseing
11226         like in `edebug-eval-defun' (bug#10181).
11228         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11229         like in `eval-defun-1'.
11231 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
11233         * mail/sendmail.el (mail-yank-region):
11234         Recognize rmail-yank-current-message in addition to insert-buffer.
11235         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11236         a *mail* buffer created through rmail-start-mail with sendmail as
11237         mail-user-agent.
11239 2012-05-27  Chong Yidong  <cyd@gnu.org>
11241         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11242         Default to 256 (Bug#11267).
11244         * help.el (describe-mode): Doc fix.
11246 2012-05-26  Glenn Morris  <rgm@gnu.org>
11248         * w32-fns.el (w32-init-info): Remove.
11249         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11251         * info.el (info-initialize): For self-contained NS builds, put the
11252         included info/ directory at the front.  (Bug#2791)
11254         * paths.el (Info-default-directory-list): Make it a defcustom,
11255         mainly so that we can use custom-initialize-delay.
11257 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11259         * subr.el (buffer-has-markers-at): Mark obsolete.
11261         * subr.el (lambda): Use declare.
11263         * emacs-lisp/lisp-mode.el (lambda):
11264         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11266 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11268         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
11270 2012-05-26  Glenn Morris  <rgm@gnu.org>
11272         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11274 2012-05-25  Glenn Morris  <rgm@gnu.org>
11276         * paths.el: Remove no-byte-compile.
11277         * loadup.el: No need to load paths.el uncompiled.
11279         * image.el (imagemagick-types-inhibit): Doc fix.
11281         * version.el: Remove no-byte-compile and associated formatting.
11282         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
11283         is ancient code from when there was an "inc-vers.el".
11285 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11287         * progmodes/gdb-mi.el: Minor style changes.
11288         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11289         Turn into minor modes.
11290         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11291         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11292         (gdb-shell): Remove unneeded let-binding.
11293         (gdb-get-many-fields): Eliminate O(n²) behavior.
11295 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
11297         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11298         platforms that don't link in fontset.c.
11300 2012-05-25  Juri Linkov  <juri@jurta.org>
11302         Use the same diff color scheme as in modern VCSes (bug#10181).
11304         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11305         to avoid confusion with `diff-added' that now uses green colors.
11306         (diff-removed): Use shades of red.
11307         (diff-added): Use shades of green.
11308         (diff-changed): Leave just the yellow color.
11309         (diff-use-changed-face): New variable.
11310         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11311         how to highlight context diff changes.
11312         (diff-refine-change): Use shades of yellow.
11313         (diff-refine-removed): New face that uses shades of red.
11314         (diff-refine-added): New face that uses shades of green.
11315         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11316         `diff-refine-removed' in the call to `smerge-refine-subst'
11317         depending on the value of `diff-use-changed-face'.
11319         * vc/smerge-mode.el (smerge-mine): Use shades of red.
11320         (smerge-other): Use shades of green.
11321         (smerge-base): Use shades of yellow.
11322         (smerge-refined-change): Empty face.
11323         (smerge-refined-removed): New face that uses shades of red.
11324         (smerge-refined-added): New face that uses shades of green.
11325         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
11326         args `props-r' and `props-a', and use them.  Doc fix.
11327         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11328         on its value use different faces `smerge-refined-change',
11329         `smerge-refined-removed', `smerge-refined-added' in the call to
11330         `smerge-refine-subst'.
11332         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11333         Add face condition `min-colors 88' with shades of red.
11334         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11335         `min-colors 88' with shades of green.
11336         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11337         `min-colors 88' with shades of yellow.
11339 2012-05-24  Glenn Morris  <rgm@gnu.org>
11341         * paths.el (prune-directory-list, remote-shell-program): Move to...
11342         * files.el (prune-directory-list, remote-shell-program): ...here.
11343         For the latter, delay initialization, prefer ssh, just search PATH.
11345         * paths.el (term-file-prefix): Move to faces.el (the only user).
11346         * faces.el (term-file-prefix): Move here, make it a defcustom.
11348         * paths.el (news-directory, news-path, news-inews-program):
11349         Move to gnus/nnspool.el.
11351         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11353         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11354         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11355         Make the latter a defcustom, with a delayed initialization.
11357         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11358         These were deleted from Gnus itself late 2010.
11360 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
11362         * progmodes/which-func.el (which-func-ff-hook):
11363         Check against user-error, not error.
11365         * emacs-lisp/edebug.el (top): Do not load or set up loading of
11366         cl-specs.el, which no longer exists.
11368 2012-05-22  Glenn Morris  <rgm@gnu.org>
11370         * info.el (info-emacs-bug): New command.
11371         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11372         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11374 2012-05-21  Glenn Morris  <rgm@gnu.org>
11376         * makefile.w32-in (update-subdirs-SH):
11377         * Makefile.in (update-subdirs): Update for moved update-subdirs.
11379 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11381         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11383         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11384         Simplify Maven regexp, and make sure the file can't start with a space
11385         (bug#11517).
11387 2012-05-21  Glenn Morris  <rgm@gnu.org>
11389         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11390         Scrap superfluous subshells.
11392 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11394         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11395         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11397 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
11399         * calc/calc.el (calc-ensure-consistent-units): New variable.
11401         * calc/calc-units.el (math-consistent-units-p)
11402         (math-check-unit-consistency): New functions.
11403         (calc-quick-units, calc-convert-units):
11404         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11405         is non-nil.
11406         (calc-extract-units): Fix typo.
11408 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11410         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11412         * textmodes/flyspell.el: Commenting style, plus code simplifications.
11413         (flyspell-default-deplacement-commands): Don't spell check after
11414         repeated window/frame switches (e.g. triggered by mouse-movement).
11415         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11416         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11417         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11418         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11419         Remove unused vars.
11420         (flyspell-get-casechars, flyspell-get-not-casechars):
11421         Simplify; Don't bother removing a ] just to add it back.
11422         * textmodes/ispell.el (ispell-program-name): Use executable-find.
11424 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11426         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11427         New functions.
11428         (math-function-table): Add support for more C functions.
11430 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11432         * textmodes/flyspell.el (flyspell-check-pre-word-p)
11433         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11434         Protect delay handling for otherchars against empty otherchars.
11436 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11438         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11439         their respective macro declarations.
11440         * skeleton.el (define-skeleton):
11441         * progmodes/compile.el (define-compilation-mode):
11442         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11443         (define-ibuffer-filter):
11444         * emacs-lisp/generic.el (define-generic-mode):
11445         * emacs-lisp/easy-mmode.el (define-minor-mode)
11446         (define-globalized-minor-mode):
11447         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11448         * emacs-lisp/byte-run.el (defsubst):
11449         * custom.el (deftheme): Add doc-string metadata.
11451 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11453         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11455 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11457         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11459         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11460         * emacs-lisp/cl-macs.el: Idem.
11461         * emacs-lisp/cl-specs.el: Remove.
11463 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11465         Minor renaming of internal CL functions and variables.
11466         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11467         (cl--position): Rename from cl-position.
11468         (cl--delete-duplicates): Rename from cl-delete-duplicates.
11469         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11470         (cl--random-state): Rename from *random-state*.
11472 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11474         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11475         parens around the arg list (bug#11499).
11477 2012-05-17  Juri Linkov  <juri@jurta.org>
11479         * isearch.el (word-search-regexp, word-search-backward)
11480         (word-search-forward, word-search-backward-lax)
11481         (word-search-forward-lax): Move functions from search.c
11482         (bug#10145, bug#11381).
11484 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11486         * textmodes/flyspell.el (flyspell-check-pre-word-p)
11487         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11488         Delay for otherchars as for normal word components.
11490 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11492         * minibuffer.el (completion--sifn-requote): Fix last change.
11493         (minibuffer-local-must-match-filename-map):
11494         Move define-obsolete-variable-alias before its var.
11496 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11498         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11500         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11501         behavior.
11502         (completion--string-equal-p): New function.
11503         (completion--twq-all): Use it to get better assertion failure data.
11505         Only handle ".." and '..' quoting in shell-mode (bug#11466).
11506         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11507         (shell--requote-argument): New functions.
11508         (shell-completion-vars): Use them.
11509         (shell--parse-pcomplete-arguments): Rename from
11510         shell-parse-pcomplete-arguments.
11511         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
11512         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11513         Obey comint-file-name-quote-list.
11515         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11516         (smie-indent-keyword): Use it.
11518 2012-05-14  Stefan Merten  <smerten@oekonux.de>
11520         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11522 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11524         * net/rlogin.el (rlogin-mode-map): Fix last change.
11526 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
11528         * mail/smtpmail.el (smtpmail-send-command): Send the command and
11529         the following \r\n using a single `process-send-string', since the
11530         Lotus SMTP server refuses to accept any commands if they are sent
11531         with two `process-send-string's (Bug#11444).
11533 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11535         * shell.el (shell-parse-pcomplete-arguments):
11536         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11538 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
11540         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11541         (image-transform-scale, image-transform-right-angle-fudge): New vars.
11542         (image-transform-width, image-transform-fit-width): New functions.
11543         (image-transform-properties): Use them.
11544         (image-transform-check-size): New function.
11545         (image-toggle-display-image): Use it (for testing).
11546         (image-transform-set-rotation): Reduce angle mod 360.
11547         Delete obsolete comment.
11549 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
11551         * image-mode.el: Fix scaling (bug#11399).
11552         (image-transform-resize): Doc fix.
11553         (image-transform-properties): Default scale is 1 and height should
11554         be an integer.
11556 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
11558         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11559         than hard-coding `car', to fix misbehavior when moving forward.
11561 2012-05-13  Chong Yidong  <cyd@gnu.org>
11563         * emacs-lisp/tabulated-list.el (tabulated-list-format)
11564         (tabulated-list-entries, tabulated-list-padding)
11565         (tabulated-list-sort-key): Make permanent-local.
11567         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11568         (electric-buffer-list): Put electric buffer menu
11569         command descriptions in this docstring, instead of the docstring
11570         of electric-buffer-menu-mode.  Code cleanups.
11571         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
11572         Electric-buffer-menu-mode.
11573         (electric-buffer-update-highlight): Minor code cleanup.
11575 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
11577         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11578         (Bug#11447)
11580 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11582         Move define-obsolete-variable-alias before the var's definition.
11583         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11584         * tooltip.el (tooltip-hook):
11585         * textmodes/reftex-toc.el (reftex-toc-map):
11586         * textmodes/reftex-sel.el (reftex-select-label-map)
11587         (reftex-select-bib-map):
11588         * textmodes/reftex-index.el (reftex-index-map)
11589         (reftex-index-phrases-map):
11590         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11591         * progmodes/meta-mode.el (meta-mode-map):
11592         * novice.el (disabled-command-hook):
11593         * loadhist.el (unload-hook-features-list):
11594         * frame.el (blink-cursor):
11595         * files.el (find-file-not-found-hooks, write-file-hooks)
11596         (write-contents-hooks):
11597         * emulation/tpu-edt.el (GOLD-map):
11598         * emacs-lock.el (emacs-lock-from-exiting):
11599         * emacs-lisp/generic.el (generic-font-lock-defaults):
11600         * emacs-lisp/chart.el (chart-map):
11601         * dos-fns.el (register-name-alist):
11602         * dired-x.el (dired-omit-files-p):
11603         * desktop.el (desktop-enable):
11604         * cus-edit.el (custom-mode-hook):
11605         * buff-menu.el (buffer-menu-mode-hook):
11606         * bookmark.el (bookmark-read-annotation-text-func)
11607         (bookmark-exit-hooks):
11608         * allout.el (allout-mode-deactivate-hook)
11609         (allout-exposure-change-hook, allout-structure-added-hook)
11610         (allout-structure-deleted-hook, allout-structure-shifted-hook):
11611         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11612         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11613         comes before the corresponding variable's definition.
11615 2012-05-12  Chong Yidong  <cyd@gnu.org>
11617         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11618         (Buffer-menu-mouse-select): Restore function (Bug#11459).
11619         (Buffer-menu-mode-map): Bind it.
11620         (Buffer-menu--pretty-name): Add a mouse-face property.
11622 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11624         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
11625         (prolog-upper-case-string, prolog-lower-case-string)
11626         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11627         (prolog-use-smie, prolog-smie-grammar): New vars.
11628         (prolog-smie-forward-token, prolog-smie-backward-token)
11629         (prolog-smie-rules): New funs.
11630         (prolog-comment-indent): Remove.
11631         (prolog-mode-variables): Use default comment indentation instead.
11632         Setup SMIE.
11633         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11634         (prolog-mode): Don't call them any more.
11635         (prolog-electric-colon, prolog-electric-dash)
11636         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11638         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11640         * minibuffer.el (completion--twq-all): Again, allow case differences.
11642         * term.el: Move keymap initialization code to be more idiomatic.
11643         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11644         (term-terminal-menu): Move initialization into declaration.
11645         (term-escape-char): Let the user set it in her .emacs.
11647         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11648         Provide SMIE-based indentation (not enabled by default yet).
11649         (sh-mode-map): Don't bind electric keys.
11650         Use electric-pair-mode instead of skeleton-pair.
11651         (sh-assignment-regexp): Fit within 80 columns.
11652         (sh-indent-supported): Specify actual shell name instead of boolean.
11653         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11654         (sh-maybe-here-document): Use it.  Make obsolete.
11655         (sh-electric-here-document-mode) New minor mode.
11656         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
11657         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11658         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11659         (sh-smie-rc-grammar, sh-use-smie): New vars.
11660         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11661         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11662         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11663         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11664         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11665         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11666         (sh-set-shell): Use smie-setup if requested.
11668         * term.el (term-set-escape-char): Properly set term-escape-char.
11669         See http://stackoverflow.com/questions/10524656.
11671 2012-05-10  Chong Yidong  <cyd@gnu.org>
11673         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11674         Use url-generic-parse-url, and handle host names and Windows
11675         filenames properly.
11676         (ffap-url-unwrap-remote): Use url-generic-parse-url.
11677         (ffap-url-unwrap-remote): Accept list values, specifying a list of
11678         URL schemes to work on.
11679         (ffap--toggle-read-only): New function.
11680         (ffap-read-only, ffap-read-only-other-window)
11681         (ffap-read-only-other-frame): Use it.
11682         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11683         necessary for ffap-url-unwrap-remote.
11685 2012-05-10  Dave Abrahams  <dave@boostpro.com>
11687         * cus-start.el (create-lockfiles): Add it.
11689 2012-05-09  Chong Yidong  <cyd@gnu.org>
11691         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11692         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11694 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11696         * shell.el (shell-completion-vars): Fix last change (bug#11348).
11698 2012-05-09  Chong Yidong  <cyd@gnu.org>
11700         * ansi-color.el (ansi-color-process-output): Check for validity of
11701         comint-last-output-start before using it.  This avoids a bad
11702         interaction with gdb-mi's input/output buffer.
11704 2012-05-09  Glenn Morris  <rgm@gnu.org>
11706         * files.el (dir-locals-read-from-file):
11707         Mention dir-locals in any error message.
11709 2012-05-09  Chong Yidong  <cyd@gnu.org>
11711         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11712         package (Bug#11410).
11714         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11715         variables into description.
11717 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11719         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11720         shell-delimiter-argument-list (bug#11348).
11721         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11723 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
11725         * textmodes/rst.el: Silence byte-compiler warnings.
11726         (rst-re-alist, rst-reset-section-caches): Move around.
11727         (rst-re): Use `characterp', not `char-valid-p'.
11728         (font-lock-beg, font-lock-end): Declare.
11730         * progmodes/idlw-shell.el (specs): Remove reference to deleted
11731         variable `idlwave-shell-activate-alt-keybindings' and simplify.
11733         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11735 2012-05-08  Glenn Morris  <rgm@gnu.org>
11737         * files.el (auto-mode-alist): Treat ".make" like ".mk".
11739 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11741         * vc/log-edit.el: Add GNU coding standards highlighting.
11742         (log-edit-font-lock-gnu-style)
11743         (log-edit-font-lock-gnu-keywords): New vars.
11744         (log-edit-font-lock-keywords): New fun.
11745         (log-edit-mode): Don't fold case in font-lock.
11746         (log-edit-font-lock-keywords): Do not assume case-folding.
11748         * imenu.el: Misc cleanup.  Make docstrings out of comments.
11749         Use lexical-binding.
11750         (imenu--index-alist, imenu--last-menubar-index-alist)
11751         (imenu-menubar-modified-tick): Use defvar-local.
11752         (imenu--split-menu): Remove unused var.
11753         (imenu--cleanup-seen): Declare as global.
11754         (imenu--cleanup): Use dolist.
11756         * subr.el (defvar-local): Add debug spec and doc-string position.
11758 2012-05-08  Glenn Morris  <rgm@gnu.org>
11760         * language/burmese.el, language/cham.el, language/czech.el:
11761         * language/english.el, language/georgian.el, language/greek.el:
11762         * language/japanese.el, language/khmer.el, language/korean.el:
11763         * language/lao.el, language/misc-lang.el, language/romanian.el:
11764         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11765         * language/thai.el, language/utf-8-lang.el:
11766         Remove no-byte-compile setting.
11768         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
11770 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11772         * progmodes/make-mode.el (makefile-browse):
11773         Remove unnecessary interactive.  (Bug#11324)
11775 2012-05-07  Glenn Morris  <rgm@gnu.org>
11777         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11779         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11781 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11783         * loadup.el: Preload newcomment.el.
11784         * newcomment.el: Move autoload-only code to toplevel.
11786         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11787         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11788         Handle new :right-align column property.
11789         (tabulated-list-print-col): Idem, plus use `display' text-property to
11790         try and preserve alignment for variable pitch fonts.
11792 2012-05-07  Chong Yidong  <cyd@gnu.org>
11794         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11795         (tabulated-list-use-header-line): New var.
11796         (tabulated-list-init-header): Use it.
11797         (tabulated-list-print-fake-header): New function.
11798         (tabulated-list-print): Use it.
11799         (tabulated-list-sort-button-map): Add non-header-line commands.
11800         (tabulated-list-init-header): Add column name property to basic
11801         labels as well.
11802         (tabulated-list-col-sort): Handle non-header-line button case.
11803         (tabulated-list--sort-by-column-name): Fix a corner case.
11805         * buff-menu.el (list-buffers--refresh):
11806         Handle Buffer-menu-use-header-line.
11808 2012-05-06  Chong Yidong  <cyd@gnu.org>
11810         * buff-menu.el: Convert to Tabulated List mode.
11811         (Buffer-menu-buffer+size-width): Make obsolete.
11812         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11813         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11814         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
11815         documentation into docstring of buffer-menu.
11816         (Buffer-menu-toggle-files-only): Add an informative message.
11817         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11818         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11819         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11820         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11821         (Buffer-menu-execute, Buffer-menu-select)
11822         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11823         (Buffer-menu-bury): Use Tabulated List machinery.
11824         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11825         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11826         Delete.
11827         (list-buffers--refresh): New function.
11828         (list-buffers-noselect): Use it.
11829         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11830         (Buffer-menu--pretty-file-name): New helper functions.
11832         * loadup.el: Preload tabulated-list.
11834         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11835         tabulated-list-sort-column.
11836         (tabulated-list-init-header): Add the initial aligning space even
11837         if tabulated-list-padding is zero.
11839 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
11841         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11842         whose cdr is not a cons cell correctly (bug#11038).
11844 2012-05-06  Chong Yidong  <cyd@gnu.org>
11846         * emacs-lisp/tabulated-list.el (tabulated-list-format):
11847         Accept additional plist in column descriptors.
11848         (tabulated-list-init-header): Obey it.
11849         (tabulated-list-get-entry): New function.
11850         (tabulated-list-put-tag): Use it.  Use string-width instead of
11851         length.
11852         (tabulated-list--column-number): New function.
11853         (tabulated-list-print): Use it.
11854         (tabulated-list-print-col): New function.
11855         Set `tabulated-list-column-name' property on each column's text.
11856         (tabulated-list-print-entry): Use it.
11857         (tabulated-list-delete-entry, tabulated-list-set-col):
11858         New functions.
11859         (tabulated-list-sort-column): New command (Bug#11337).
11861         * buff-menu.el (list-buffers): Move C-x C-b binding from
11862         buff-menu.el to bindings.el.
11864         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11865         :advertised-binding feature.
11867 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
11869         * progmodes/compile.el (compilation-internal-error-properties):
11870         Calculate start position correctly when end-col is set but
11871         end-line is not (Bug#11382).
11873 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
11875         * man.el (Man-unindent): Use text-property-default-nonsticky to
11876         prevent untabify from inheriting face properties (Bug#11408).
11878 2012-05-05  Stefan Merten  <smerten@oekonux.de>
11880         * textmodes/rst.el: Major merge with upstream development up to
11881         Docutils SVN r7399 / rst.el V1.2.1.
11883         Clarify maintainership and authors.
11885         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11886         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11887         (rst-official-version, rst-official-cvs-rev, rst-version)
11888         (rst-package-emacs-version-alist): New functions and variables
11889         for version information.
11891         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11892         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11893         (rst-mode-syntax-table, rst-mode): New and corrected functions
11894         and variables representing reStructuredText features.
11896         (rst-re): New function for reStructuredText regexes.  Use in
11897         many places.
11899         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11900         (rst-mode-map): Rebind keys.
11902         (rst-mode-lazy, rst-font-lock-keywords)
11903         (rst-font-lock-extend-region)
11904         (rst-font-lock-extend-region-internal)
11905         (rst-font-lock-extend-region-extend)
11906         (rst-font-lock-find-unindented-line-limit)
11907         (rst-font-lock-find-unindented-line-match)
11908         (rst-adornment-level, rst-font-lock-adornment-level)
11909         (rst-font-lock-adornment-match)
11910         (rst-font-lock-handle-adornment-pre-match-form)
11911         (rst-font-lock-handle-adornment-matcher): Major revision of
11912         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
11914         (rst-preferred-adornments, rst-adjust-hook)
11915         (rst-new-adornment-down, rst-preferred-bullets)
11916         (rst-preferred-bullets, rst-indent, rst-indent-width)
11917         (rst-indent-field, rst-indent-literal-normal)
11918         (rst-indent-literal-minimized, rst-indent-comment): Change,
11919         extend and improve customization.
11921         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11922         (rst-normalize-cursor-position, rst-get-decoration)
11923         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11924         (rst-rstrip, rst-toc-insert-find-delete-contents)
11925         (rst-shift-fill-region, rst-compute-bullet-tabs)
11926         (rst-debug-print-tabs, rst-debug-mark-found)
11927         (rst-shift-region-guts, rst-shift-region-right)
11928         (rst-shift-region-left, rst-use-char-classes)
11929         (rst-font-lock-keywords-function)
11930         (rst-font-lock-indentation-point)
11931         (rst-font-lock-find-unindented-line-begin)
11932         (rst-font-lock-find-unindented-line-end)
11933         (rst-font-lock-find-unindented-line)
11934         (rst-font-lock-adornment-point, rst-font-lock-level)
11935         (rst-adornment-level-alist): Remove functions and variables.
11937         (rst-compare-adornments, rst-get-adornment-match)
11938         (rst-suggest-new-adornment, rst-get-adornments-around)
11939         (rst-adornment-complete-p, rst-get-next-adornment)
11940         (rst-adjust-adornment, rst-display-adornments-hierarchy)
11941         (rst-straighten-adornments): Standardize function names to
11942         use "adornment" instead of "decoration".  Correct callers.
11943         Similar standardizing in many places.
11945         (rst-update-section, rst-adjust, rst-promote-region)
11946         (rst-enumerate-region, rst-bullet-list-region)
11947         (rst-repeat-last-character): Correct use of `interactive'.
11949         (rst-classify-adornment, rst-find-all-adornments)
11950         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11951         (rst-find-leftmost-column, rst-repeat-last-character):
11952         Refactor functions.
11954         (rst-find-title-line, rst-reset-section-caches)
11955         (rst-get-adornments-around, rst-adjust-adornment-work)
11956         (rst-arabic-to-roman, rst-roman-to-arabic)
11957         (rst-insert-list-pos, rst-insert-list-new-item)
11958         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11959         New functions.
11961         (rst-all-sections, rst-section-hierarchy)
11962         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11963         New variables.
11965         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11966         configuration instead of only buffer.  Change where necessary.
11968         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11969         (rst-shift-region, rst-adaptive-fill): New functions for
11970         indentation and filling.
11972         (rst-comment-line-break, rst-comment-indent)
11973         (rst-comment-insert-comment, rst-comment-region)
11974         (rst-uncomment-region): New functions for handling comments.
11976         (rst-compile): Quote shell arguments.
11978         (rst-compile-pdf-preview, rst-compile-slides-preview):
11979         Delete temporary files after use.
11981 2012-05-05  Glenn Morris  <rgm@gnu.org>
11983         * calendar/cal-html.el: Optionally include holidays in the output.
11984         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11985         (cal-html-holidays): New option.
11986         (cal-html-css-default): Add holiday entry.
11987         (holiday-in-range): Autoload it.
11988         (cal-html-htmlify-entry): Add optional class argument.
11989         (cal-html-htmlify-list): Add optional holidays argument.
11990         (cal-html-insert-agenda-days): Include holidays in the output.
11991         (cal-html-one-month): Maybe include holidays.
11993         * calendar/holidays.el (holiday-in-range):
11994         Move here from cal-tex-list-holidays.
11995         * calendar/cal-tex.el (cal-tex-list-holidays):
11996         Make it an obsolete alias for holiday-in-range.  Update all callers.
11998 2012-05-05  Chong Yidong  <cyd@gnu.org>
12000         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12001         Nextstep.
12003 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
12005         * files.el (file-auto-mode-skip): New var.
12006         (set-auto-mode-1): Use it.
12008 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12010         * repeat.el: Use lexical-binding.
12011         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12012         (repeat-undo-count): Remove.
12013         (repeat):
12014         * progmodes/octave-mod.el (octave-abbrev-start):
12015         * progmodes/f90.el (f90-abbrev-start):
12016         * face-remap.el (text-scale-adjust):
12017         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12019         * emacs-lisp/pcase.el (pcase--let*): New function.
12020         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12021         a bit more.
12022         (pcase--split-pred): Be more clever about ruling out overlap between
12023         a predicate and some constant pattern.
12024         (pcase--q1): Use `null' instead of (eq foo nil).
12026         * subr.el (setq-local, defvar-local): New macros.
12027         (kbd): Redefine as an alias.
12028         (with-selected-window): Leave unrelated frames alone.
12029         (set-temporary-overlay-map): New function.
12031 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12033         * subr.el (user-error): New function.
12034         * window.el (switch-to-buffer):
12035         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12036         (smerge-match-conflict):
12037         * simple.el (previous-matching-history-element)
12038         (next-matching-history-element, goto-history-element, undo-more)
12039         (undo-start):
12040         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12041         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12042         (next-file, tags-loop-scan, list-tags, complete-tag):
12043         * progmodes/compile.el (compilation-loop):
12044         * mouse.el (mouse-minibuffer-check):
12045         * man.el (Man-bgproc-sentinel, Man-goto-page):
12046         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12047         (Info-history-forward, Info-follow-reference, Info-menu)
12048         (Info-extract-menu-item, Info-extract-menu-counting)
12049         (Info-forward-node, Info-backward-node, Info-next-menu-item)
12050         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12051         (Info-next-reference, Info-prev-reference, Info-index)
12052         (Info-index-next, Info-follow-nearest-node)
12053         (Info-copy-current-node-name):
12054         * imenu.el (imenu--make-index-alist)
12055         (imenu-default-create-index-function, imenu-add-to-menubar):
12056         * files.el (basic-save-buffer, recover-file):
12057         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12058         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12059         (checkdoc-message-text, checkdoc-defun):
12060         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12061         * cus-edit.el (customize-changed-options, customize-rogue)
12062         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12063         (custom-variable-mark-to-reset-standard)
12064         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12065         (custom-file):
12066         * completion.el (check-completion-length):
12067         * comint.el (comint-search-arg)
12068         (comint-previous-matching-input-string-position)
12069         (comint-previous-matching-input)
12070         (comint-replace-by-expanded-history-before-point, comint-send-input)
12071         (comint-copy-old-input, comint-backward-matching-input)
12072         (comint-goto-process-mark, comint-set-process-mark):
12073         * calendar/calendar.el (calendar-cursor-to-date): Use it.
12074         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12076 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12078         * dabbrev.el (dabbrev--ignore-case-p): New function.
12079         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12080         Use it.
12082         * files.el (automount-dir-prefix): Mark as obsolete.
12084 2012-05-04  Glenn Morris  <rgm@gnu.org>
12086         * patcomp.el, play/bruce.el: Move to obsolete/.
12088 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
12090         Fix minor Y10k bugs.
12091         * arc-mode.el (archive-unixdate):
12092         * autoinsert.el (auto-insert-alist):
12093         * calc/calc-forms.el (math-this-year):
12094         * emacs-lisp/copyright.el (copyright-current-year)
12095         (copyright-update-year, copyright):
12096         * tar-mode.el (tar-clip-time-string):
12097         * time.el (display-time-update):
12098         Don't assume years have 4 digits.
12100 2012-05-04  Chong Yidong  <cyd@gnu.org>
12102         * dos-w32.el (file-name-buffer-file-type-alist)
12103         (direct-print-region-use-command-dot-com):
12104         * ffap.el (ffap-menu-regexp):
12105         * find-file.el (ff-special-constructs):
12106         * follow.el (follow-debug):
12107         * forms.el (forms--debug):
12108         * iswitchb.el (iswitchb-all-frames):
12109         * ido.el (ido-all-frames):
12110         * emacs-lisp/timer.el (timer-max-repeats):
12111         * mail/feedmail.el (feedmail-mail-send-hook)
12112         (feedmail-mail-send-hook-queued):
12113         * mail/footnote.el (footnote-signature-separator):
12114         * mail/mailabbrev.el (mail-alias-separator-string)
12115         (mail-abbrev-mode-regexp):
12116         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12117         * progmodes/idlwave.el (idlwave-libinfo-file)
12118         (idlwave-default-completion-case-is-down)
12119         (idlwave-library-routines): Convert defvars to defcustoms.
12121         * mail/rmail.el (rmail-decode-mime-charset):
12122         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12123         (idlwave-shell-fix-inserted-breaks)
12124         (idlwave-shell-activate-alt-keybindings)
12125         (idlwave-shell-use-breakpoint-glyph):
12126         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12128 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12130         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12132 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
12134         * progmodes/verilog-mode.el (font-lock-keywords):
12135         Fix mis-highligting auto.  Reported by Craig Barner.
12136         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12137         defines from global name space.  Reported by Dan Dever.
12138         (verilog-auto-reset, verilog-auto-reset-widths)
12139         (verilog-auto-tieoff): Support using unbased numbers for
12140         AUTORESET and AUTOTIEOFF.
12141         (verilog-submit-bug-report): Update variable list.
12142         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12143         parenthesis from not matching.  Reported by Michael Rytting.
12144         (verilog-auto-template-lint): Fix hash error when linting modules
12145         with no used templates.
12146         (verilog-warn, verilog-warn-error)
12147         (verilog-warn-fatal): When non-interactive report multiple
12148         warnings before exiting.  Suggested by Brad Dobbie.
12149         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12150         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12151         to report unused template errors.  Reported by Brad Dobbie.
12152         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12153         nets, bug438.  Reported by Vns Blore.
12154         (verilog-auto-inout-module, verilog-auto-reg)
12155         (verilog-read-decls, verilog-read-sub-decls-sig)
12156         (verilog-signals-edit-wire-reg, verilog-signals-with):
12157         Fix passing of Verilog data types in ANSI input/output ports
12158         such as "output logic" into the AUTOs.  Special case "wire" and
12159         "reg" for backwards compatibility presuming Verilog 2001.
12160         (verilog-auto-ascii-enum): Add "auto enum" as alias.
12161         (verilog-preprocess): Fix replication of preprocess output.
12162         Reported by Brad Dobbie.
12163         (verilog-auto-inst-interfaced-ports):
12164         Create verilog-auto-inst-interfaced-ports, bug429.
12165         Reported by Julian Gorfajn.
12166         (verilog-after-save-font-hook)
12167         (verilog-before-save-font-hook): New variable.
12168         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12169         (verilog-save-font-mods): Wrap disabling fontification, reported
12170         by David Rogoff.
12171         (verilog-do-indent, verilog-pretty-declarations-auto)
12172         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12173         Reported by Pierre-David Pfister.
12174         (verilog-set-auto-endcomments): Fix endtask auto comments outside
12175         of class declarations, bug292.  Reported by Kevin Heilman.
12176         (verilog-read-decls): Fix 'parameter type' not appearing in
12177         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
12178         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12179         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
12180         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12181         Reported by David Kravitz.
12183 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
12185         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12186         assignment with tests in ifs and for loops.
12187         (verilog-extended-complete-re, verilog-complete-reg): Change so
12188         that DPI inport functions don't look like fuction declarations.
12189         (verilog-pretty-expr): Don't line up assignment
12190         operations to the test and increment in if and for loops
12191         (verilog-extended-complete-re, verilog-complete-reg): Change so
12192         that DPI inport functions don't look like fuction declarations.
12194 2012-05-03  Kenichi Handa  <handa@m17n.org>
12196         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12197         decoding, and show a warning message without signaling an error
12198         (Bug#11282).
12200 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12202         * emacs-lisp/bytecomp.el
12203         (byte-compile-file-form-custom-declare-variable): Compile all elements,
12204         since cconv.el might have introduced :fun-body, internal-make-closure,
12205         and friends for bytecomp to handle (bug#11391).
12206         * custom.el (defcustom): Avoid ((λ ..) ..).
12208 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12210         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12212 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
12214         * notifications.el (dbus-debug):
12215         * term/linux.el (gpm-mouse-enable):
12216         * term/screen.el (xterm-register-default-colors): Declare.
12218 2012-05-02  Chong Yidong  <cyd@gnu.org>
12220         * cus-start.el (gc-cons-percentage, exec-suffixes)
12221         (dos-display-scancodes, dos-hyper-key, dos-super-key)
12222         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12223         (make-cursor-line-fully-visible, void-text-area-pointer)
12224         (font-list-limit): Add customization data.
12226         * allout.el (allout-exposure-change-functions)
12227         (allout-structure-added-functions)
12228         (allout-structure-deleted-functions)
12229         (allout-structure-shifted-functions): Rename abnormal hooks from
12230         *-hook, and convert to defcustoms.
12231         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12232         Convert to defcustoms.
12233         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12235         * allout-widgets.el: Hook callers changed.
12237 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
12239         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12240         the yanked message in preference to the default value of
12241         buffer-file-coding-system.
12243 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
12245         * window.el (display-buffer--action-function-custom-type):
12246         Fix entry.
12248 2012-05-02  Alan Mackenzie  <acm@muc.de>
12250         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12252 2012-05-01  Glenn Morris  <rgm@gnu.org>
12254         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12256         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
12258         * cus-edit.el (custom-variable-documentation): Simplify with format.
12260 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12261             Stefan Monnier  <monnier@iro.umontreal.ca>
12263         * simple.el (suggest-key-bindings, execute-extended-command):
12264         Move from keyboard.c.
12266 2012-05-01  Chong Yidong  <cyd@gnu.org>
12268         * follow.el: Eliminate advice.
12269         (set-process-filter, process-filter, sit-for): Advice deleted.
12270         (follow-mode-off-hook): Obsolete hook removed.
12271         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12272         Vars deleted.
12273         (follow-auto): Use a :set function.
12274         (follow-mode): Rewritten.  Don't advise process filters.
12275         (follow-switch-to-current-buffer-all, follow-scroll-up)
12276         (follow-scroll-down): Assume follow-mode is bound.
12277         (follow-comint-scroll-to-bottom)
12278         (follow-align-compilation-windows): New functions.
12279         (follow--window-sorter): New function.
12280         (follow-all-followers): Use it to explicitly sort windows by their
12281         positions; don't make assumptions about next-window order.
12282         (follow-windows-start-end, follow-delete-other-windows-and-split)
12283         (follow-calc-win-start): Doc fix.
12284         (follow-windows-aligned-p, follow-select-if-visible): Don't call
12285         vertical-motion unnecessarily.
12286         (follow-adjust-window): New function.
12287         (follow-post-command-hook): Use it.
12288         (follow-call-set-process-filter, follow-call-process-filter)
12289         (follow-intercept-process-output, follow-tidy-process-filter-alist)
12290         (follow-stop-intercept-process-output, follow-generic-filter):
12291         Functions deleted.
12292         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12293         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12294         New functions, replacing advice on scroll-bar-* commands.
12295         (follow-mwheel-scroll): New function (Bug#4112).
12297         * comint.el (comint-adjust-point): New function.
12298         (comint-postoutput-scroll-to-bottom): Use it.
12299         Call follow-comint-scroll-to-bottom for Follow mode buffers.
12301 2012-05-01  Glenn Morris  <rgm@gnu.org>
12303         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12304         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12305         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12306         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12307         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12308         Remove no-byte-compile setting.
12310 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12312         * minibuffer.el (completion-table-with-quoting): Fix compatibility
12313         all-completions code to not return a number in the last cdr.
12315 2012-04-30  Leo Liu  <sdl.web@gmail.com>
12317         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12318         read-only error.
12320 2012-04-29  Chong Yidong  <cyd@gnu.org>
12322         * follow.el (follow-calc-win-end): Rewrite to handle partial
12323         screen lines correctly (Bug#8390).
12324         (follow-avoid-tail-recenter): Minor cleanup.
12326 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12328         Avoid the obsolete `assoc' package.
12329         * speedbar.el (speedbar-refresh): Avoid adelete.
12330         (speedbar-file-lists): Simplify and avoid aput.
12331         * man.el (Man--sections, Man--refpages): New vars, replacing
12332         Man-sections-alist and Man-refpages-alist.
12333         (Man-build-section-alist, Man-build-references-alist):
12334         Use them; avoid aput.
12335         (Man--last-section, Man--last-refpage): New vars.
12336         (Man-follow-manual-reference): Use them.
12337         Use the `default' arg of completing-read.
12338         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
12340 2012-04-27  Chong Yidong  <cyd@gnu.org>
12342         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12344         * startup.el (x-apply-session-resources): New function.
12346         * term/ns-win.el (ns-initialize-window-system):
12347         * term/w32-win.el (w32-initialize-window-system):
12348         * term/x-win.el (x-initialize-window-system): Use it to properly
12349         set menu-bar-mode and other vars from X resources, even if the
12350         initial frame is not a window-system frame (Bug#2299).
12352         * subr.el (read-key): Avoid running filter function when setting
12353         up temporary tool bar entries (Bug#9922).
12355 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
12357         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12358         (Bug#11344)
12360 2012-04-27  Chong Yidong  <cyd@gnu.org>
12362         * select.el (xselect--encode-string): New function, split from
12363         xselect-convert-to-string.
12364         (xselect-convert-to-string): Use it.
12365         (xselect-convert-to-filename, xselect-convert-to-os)
12366         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12367         returned strings are properly encoded (Bug#11315).
12369 2012-04-27  Chong Yidong  <cyd@gnu.org>
12371         * simple.el (delete-active-region): Move to killing custom group.
12373 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
12375         * progmodes/which-func.el (which-func-current): Quote %
12376         characters for mode-line processing.
12378 2012-04-27  Chong Yidong  <cyd@gnu.org>
12380         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12381         reaching eob (Bug#11286).
12383 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
12385         * progmodes/gdb-mi.el (gdb-control-level): New variable.
12386         (gdb): Make it buffer-local and init to zero.
12387         (gdb-control-commands-regexp): New variable.
12388         (gdb-send): Don't wrap in "-interpreter-exec console" if
12389         gdb-control-level is positive.  Increment gdb-control-level
12390         whenever the command matches gdb-control-commands-regexp, and
12391         decrement it each time the command is "end".  (Bug#11279)
12393 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
12395         * window.el (adjust-window-trailing-edge, enlarge-window)
12396         (shrink-window, window-resize):
12397         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12398         windows (Bug#11276).
12400 2012-04-27  Chong Yidong  <cyd@gnu.org>
12402         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12403         fix "missing prefix" warning.  All callers changed.
12405 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12407         * emacs-lisp/assoc.el: Move to obsolete/.
12409 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12411         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12413         * term/ns-win.el (ns-define-service):
12414         * progmodes/pascal.el (pascal-goto-defun):
12415         * progmodes/js.el (js--read-tab):
12416         * progmodes/etags.el (tags-lazy-completion-table):
12417         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12418         * emacs-lisp/ewoc.el (ewoc--wrap):
12419         * emacs-lisp/assoc.el (aput, adelete, amake):
12420         * doc-view.el (doc-view-convert-current-doc):
12421         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12423 2012-04-26  Chong Yidong  <cyd@gnu.org>
12425         * image.el (image-type-from-buffer): Only return supported image
12426         type (Bug#9045).
12428         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12429         value, for symmetry with diff-end-of-hunk.
12430         (diff-split-hunk, diff-find-source-location)
12431         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12432         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12433         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12434         compute the relevant hunk or file properly (Bug#6005).
12435         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12437 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12439         * vc/vc-mtn.el:
12440         * vc/vc-hg.el:
12441         * vc/vc-git.el:
12442         * vc/vc-dir.el:
12443         * vc/vc-cvs.el:
12444         * vc/vc-bzr.el:
12445         * vc/vc-arch.el:
12446         * vc/vc.el: Replace lexical-let by lexical-binding.
12447         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12448         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12449         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12451 2012-04-26  Chong Yidong  <cyd@gnu.org>
12453         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12454         (diff-mode-shared-map): Bind it to / and [remap undo].
12456         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12457         (ediff-window-setup-function): Use it as the default, to set up
12458         windows based on whether the current frame is graphical (Bug#2138).
12459         (ediff-choose-window-setup-function-automatically): Make obsolete.
12461         * vc/ediff-init.el: Always define ediff-pixel-width/height.
12463 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12465         * ffap.el: Remove old code for obsolete package.
12466         (ffap-complete-as-file-p): Remove.
12468         Use completion-table-with-quoting for comint and pcomplete.
12469         * comint.el (comint--unquote&requote-argument)
12470         (comint--unquote-argument, comint--requote-argument): New functions.
12471         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12472         (comint-quote-filename): Use regexp-opt-charset.
12473         (comint--common-suffix, comint--common-quoted-suffix)
12474         (comint--table-subvert): Remove.
12475         (comint-unquote-function, comint-requote-function): New vars.
12476         (comint--complete-file-name-data): Use them with
12477         completion-table-with-quoting.
12478         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12479         * pcomplete.el (pcomplete-arg-quote-list)
12480         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12481         (pcomplete-unquote-argument-function): Default to non-nil.
12482         (pcomplete-unquote-argument): Simplify.
12483         (pcomplete--common-quoted-suffix): Remove.
12484         (pcomplete-requote-argument-function): New var.
12485         (pcomplete--common-suffix): New function.
12486         (pcomplete-completions-at-point): Use completion-table-with-quoting
12487         and completion-table-subvert.
12489         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12490         (minibuffer--double-dollars): Preserve properties.
12491         (completion--sifn-requote): New function.
12492         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12494         * minibuffer.el: Add support for completion of quoted/escaped data.
12495         (completion-table-with-quoting, completion-table-subvert): New funs.
12496         (completion--twq-try, completion--twq-all): New functions.
12497         (completion--nth-completion): New function.
12498         (completion-try-completion, completion-all-completions): Use it.
12500 2012-04-25  Leo Liu  <sdl.web@gmail.com>
12502         * progmodes/python.el (python-pdbtrack-get-source-buffer):
12503         Use compilation-message if available to find real filename.
12505 2012-04-25  Chong Yidong  <cyd@gnu.org>
12507         * vc/diff-mode.el (diff-setup-whitespace): New function.
12508         (diff-mode): Use it.
12510         * vc/diff.el (diff-sentinel):
12511         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12512         Whitespace mode variables based on diff style (Bug#8612).
12514 2012-04-25  Leo Liu  <sdl.web@gmail.com>
12516         * progmodes/python.el (python-send-region): Add suffix .py to the
12517         temp file.
12519         * files.el (auto-mode-alist): Use javascript-mode instead.
12521 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
12523         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
12525         * net/soap-client.el (soap-resolve-references-for-sequence-type)
12526         (soap-resolve-references-for-array-type): Hack to prevent self
12527         references, see Bug#9.
12528         (soap-parse-envelope): Report the contents of the 'detail' node
12529         when receiving a fault reply.
12530         (soap-parse-envelope): Report the contents of the entire 'detail' node.
12532         * net/soap-inspect.el (soap-sample-value-for-simple-type)
12533         (soap-inspect-simple-type): New function.
12535         * net/soap-client.el (soap-simple-type): New struct.
12536         (soap-default-xsd-types, soap-default-soapenc-types)
12537         (soap-decode-basic-type, soap-encode-basic-type):
12538         support unsignedInt and double basic types.
12539         (soap-resolve-references-for-simple-type)
12540         (soap-parse-simple-type, soap-encode-simple-type): New function.
12541         (soap-parse-schema): Parse xsd:simpleType declarations.
12543         * net/soap-client.el (soap-default-xsd-types)
12544         (soap-default-soapenc-types): Add integer, byte and anyURI types.
12545         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12546         the local name of "soapenc:Array".
12547         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12548         decoding integer, byte and anyURI xsd types.
12550 2012-04-25  Chong Yidong  <cyd@gnu.org>
12552         * cus-edit.el (custom-buffer-create-internal): Update header text.
12554 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
12556         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12557         settings on 'system-type', not on 'window-system'.  On MS-Windows,
12558         set interactive-mode on in GDB.
12560 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12562         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12563         (ruby-syntax-propertize-regexp): Remove.
12564         (ruby-syntax-propertize-function): Split regexp into chunks.
12565         Match following code directly.
12567 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
12569         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12570         (ruby-syntax-propertize-regexp): New function.
12571         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12572         by a special keyword.
12574         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12575         (ruby-syntax-general-delimiters-goto-beg)
12576         (ruby-syntax-propertize-general-delimiters): New functions.
12577         (ruby-syntax-propertize-function): Use them to handle GDL.
12578         (ruby-font-lock-keywords): Move old handling of GDL...
12579         (ruby-font-lock-syntactic-keywords): .. to here.
12580         (ruby-calculate-indent): Adjust indentation for GDL.
12582 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
12584         * notifications.el (top): Remove unneeded declarations.
12585         (notifications-specification-version): Change to "1.2".
12586         (notifications-interface, notifications-notify-method)
12587         (notifications-close-notification-method): Fix docstring.
12588         (notifications-get-capabilities-method): New defconst.
12589         (notifications-notify): Add :action-items, :resident and
12590         :transient hints.  Change "image_data" to "image-data" and
12591         "image_path" to "image-path".
12592         (notifications-get-capabilities): New defun.
12594 2012-04-24  Leo Liu  <sdl.web@gmail.com>
12596         * progmodes/python.el: Move hideshow setup to the end.
12598 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
12600         * window.el (handle-select-window): Clear echo area since this is
12601         no more done by read_char (Bug#11304).
12603 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12605         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12606         and `/ M' to filter-derived-mode.
12607         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12608         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12609         (ibuffer-mark-by-mode): Use default rather than initial-input.
12610         (ibuffer-filter-by-derived-mode): Autoload and require-match.
12612 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
12614         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12615         (ibuffer-filter-by-derived-mode): New filter.
12616         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12618 2012-04-23  Andreas Politz  <politza@fh-trier.de>
12620         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12622 2012-04-23  Chong Yidong  <cyd@gnu.org>
12624         * cus-edit.el (customize-apropos, customize-apropos-options):
12625         Disable matching of non-option variables (Bug#11176).
12626         (customize-option, customize-option-other-window)
12627         (customize-changed-options): Doc fix.
12628         (customize-apropos-options, customize-apropos-faces)
12629         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12631         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12632         Fix word list splitting (Bug#11132).
12633         (apropos-symbol, apropos-keybinding, apropos-label)
12634         (apropos-property, apropos-function-button)
12635         (apropos-variable-button, apropos-misc-button): New faces.
12636         (apropos-symbol-face, apropos-keybinding-face)
12637         (apropos-label-face, apropos-property-face, apropos-match-face):
12638         Variables removed (Bug#8396).
12639         (apropos-library-button, apropos-format-plist, apropos-print)
12640         (apropos-print-doc, apropos-describe-plist): Callers changed.
12642 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
12644         * net/xesam.el (xesam-mode-map): Use let-bound map in
12645         initialization.  (Bug#11292)
12647 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12649         Preserve ispell session localwords when switching back to
12650         original buffer.
12652         * textmodes/ispell.el (ispell-buffer-session-localwords):
12653         New buffer-local variable to hold buffer session localwords.
12654         (ispell-kill-ispell): Add option 'clear to delete session
12655         localwords.
12656         (ispell-command-loop, ispell-change-dictionary)
12657         (ispell-buffer-local-words): Preserve session localwords when
12658         needed.
12660         * textmodes/flyspell.el (flyspell-process-localwords)
12661         (flyspell-do-correct): Preserve session localwords when needed.
12663 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12665         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12666         using obsolete `translation-table-for-input'.
12667         (ispell-word, ispell-process-line, ispell-complete-word):
12668         Use plain `insert' instead of removed `ispell-insert-word'.
12670 2012-04-22  Chong Yidong  <cyd@gnu.org>
12672         * cus-edit.el (custom-variable-menu)
12673         (custom-variable-reset-saved, custom-face-menu)
12674         (custom-face-reset-saved): If there is no saved value, make the
12675         "reset-saved" operation bring back the default (Bug#9509).
12676         (custom-face-state): Properly detect themed faces.
12678         * faces.el (face-spec-set): Stop supporting deprecated form of
12679         third arg.
12681 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
12683         Move functions from C to Lisp.  Make non-blocking method calls
12684         the default.  Implement further D-Bus standard interfaces.
12686         * net/dbus.el (dbus-message-internal): Declare function.
12687         Remove unneeded function declarations.
12688         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12689         (dbus-message-type-method-return, dbus-message-type-error)
12690         (dbus-message-type-signal): Declare variables.  Remove local
12691         definitions.
12692         (dbus-interface-dbus, dbus-interface-peer)
12693         (dbus-interface-introspectable, dbus-interface-properties)
12694         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12695         Adapt docstring.
12696         (dbus-interface-objectmanager): New defconst.
12697         (dbus-call-method, dbus-call-method-asynchronously)
12698         (dbus-send-signal, dbus-method-return-internal)
12699         (dbus-method-error-internal, dbus-register-service)
12700         (dbus-register-signal, dbus-register-method): New defuns, moved
12701         from dbusbind.c
12702         (dbus-call-method-handler, dbus-setenv)
12703         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12704         New defuns.
12705         (dbus-call-method-non-blocking): Make it an obsolete function.
12706         (dbus-unregister-object, dbus-unregister-service)
12707         (dbus-handle-event, dbus-register-property)
12708         (dbus-property-handler): Obey the new structure of
12709         `bus-registered-objects'.
12710         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
12711         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12712         Use `dbus-call-method'.
12714 2012-04-22  Chong Yidong  <cyd@gnu.org>
12716         * cus-edit.el (custom-commands, custom-reset-menu)
12717         (Custom-reset-standard): Tweak labels.
12718         (custom-reset-button-menu): Change default to t.
12719         (custom-buffer-create-internal): For the custom-reset-button-menu
12720         case, put the revert button first.
12721         (custom-group-subtitle): New face.
12722         (custom-group-value-create): Align docstring to a specific column.
12724         * wid-edit.el (widget-documentation-link-add): Don't handle
12725         indentation in this function.
12726         (widget-documentation-string-indent-to): New function.
12727         (widget-documentation-string-value-create): Use it.
12729         * autorevert.el (auto-revert):
12730         * epg-config.el (epg):
12731         * ibuffer.el (ibuffer):
12732         * mpc.el (mpc):
12733         * ses.el (ses):
12734         * eshell/eshell.el (eshell):
12735         * net/ange-ftp.el (ange-ftp):
12736         * progmodes/ebnf2ps.el (postscript):
12737         * progmodes/flymake.el (flymake):
12738         * progmodes/prolog.el (prolog):
12739         * progmodes/verilog-mode.el (verilog-mode):
12740         * progmodes/which-func.el (which-func):
12741         * term/xterm.el (xterm):
12742         * textmodes/picture.el (picture):
12743         * textmodes/tildify.el (tildify):
12744         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12745         customization buffers.
12747 2012-04-22  Alan Mackenzie  <acm@muc.de>
12749         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12750         Adding a ) can hide the resulting (..) from searches.  Fix it.
12751         Bound the backward search to the position of the existing (.
12753 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
12755         * progmodes/verilog-mode.el (verilog-mode): Check whether
12756         which-func-modes is t before adding verilog-mode.
12757         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12759 2012-04-21  Leo Liu  <sdl.web@gmail.com>
12761         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12763 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
12765         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12766         filling of the last column of a table (Bug#5635).
12767         (woman-find-next-control-line): New arg, specifying an additional
12768         regexp component for the control line.
12769         (woman2-roff-buffer): Use it.
12770         (woman-break-table): New function.
12771         (woman2-TS): Use it.
12773 2012-04-21  Chong Yidong  <cyd@gnu.org>
12775         * woman.el (woman-set-buffer-display-table, woman-decode-region)
12776         (woman-horizontal-escapes, woman-negative-vertical-space)
12777         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12778         (WoMan-warn-ignored): Use ?\s instead of ?\ .
12780 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12782         * minibuffer.el (completion-file-name-table): Complete user names.
12784 2012-04-20  Leo Liu  <sdl.web@gmail.com>
12786         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12787         and pcase-let*.
12789 2012-04-20  Chong Yidong  <cyd@gnu.org>
12791         * server.el (server-execute): Respect initial-buffer-choice if it
12792         is a string and there are no files to open (Bug#2825).
12793         (server-create-window-system-frame, server-create-tty-frame):
12794         Don't switch buffers here.
12795         (server-process-filter): Only try to open a window system frame if
12796         compiled with graphical support (Bug#8314).
12798 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
12800         * battery.el (battery-echo-area-format): Display remaining time
12801         for sysfs backend too (Bug#11269).
12802         (battery-linux-sysfs): Fix conditional for the charge.
12804 2012-04-20  Chong Yidong  <cyd@gnu.org>
12806         * progmodes/gdb-mi.el (gdb): Revert previous change.
12807         (gdb-inferior-io--init-proc): New function.
12808         (gdb-init-1): Use it.
12809         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12810         responsible for allocating a new pty and hooking it to gdb when
12811         the old pty gets an EIO due to process exit.
12812         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
12813         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12814         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12816 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
12818         * window.el (window-min-size, window-sizable, window-min-delta)
12819         (window-max-delta, window--resizable, window-resizable)
12820         (window-total-size, window-full-height-p, window-full-width-p)
12821         (window-in-direction, window--resize-mini-window, window-resize)
12822         (window--resize-child-windows-normal)
12823         (window--resize-child-windows, window--resize-siblings)
12824         (window--resize-this-window, adjust-window-trailing-edge)
12825         (enlarge-window, shrink-window): Doc fixes.
12827 2012-04-20  Chong Yidong  <cyd@gnu.org>
12829         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12830         New function to call delete-process on the gdb-inferior buffer's pty.
12831         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12832         pty process (Bug#11273).
12833         (gdb-update): New arg to suppress talking to the gdb process.
12834         (gdb-done-or-error): Use it.
12835         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12836         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12837         sentinel not being called.
12839         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12841         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12843 2012-04-20  Glenn Morris  <rgm@gnu.org>
12845         * net/network-stream.el (open-network-stream): Doc fix.
12847 2012-04-20  Chong Yidong  <cyd@gnu.org>
12849         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12851 2012-04-20  Alan Mackenzie  <acm@muc.de>
12853         Ensure searching for keywords is case sensitive.
12855         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12856         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12857         (c-defun-name, c-mark-function, c-cpp-define-name)
12858         (c-comment-indent, c-scan-conditionals, c-indent-defun)
12859         (c-context-line-break): Bind case-fold-search to nil.
12861         * progmodes/cc-mode.el (c-font-lock-fontify-region):
12862         Bind case-fold-search to nil.
12864 2012-04-20  Chong Yidong  <cyd@gnu.org>
12866         * mail/sendmail.el (mail-bury): Call return action with the right
12867         Rmail buffer (Bug#11242).
12869         * server.el (server-process-filter): Handle corner case where both
12870         tty and nowait options are present (Bug#11102).
12872 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
12874         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12875         (top level): Put into the executable the ident-style '$Id:' tag on
12876         windows-nt as well.
12878 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12880         * electric.el (electric-indent-post-self-insert-function): Check that
12881         electric-indent-mode is enabled in current buffer.
12883 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
12885         * imenu.el (imenu-progress-message): Restore; it is "used" in
12886         erc/erc-imenu.el and net/snmp-mode.el.
12888 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
12890         * avoid.el (mouse-avoidance-mode): Mark unused arg.
12891         (mouse-avoidance-nudge-mouse): Remove unused binding.
12893         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12895         * descr-text.el (describe-char):
12896         * progmodes/python.el (python-describe-symbol):
12897         Don't call `toggle-read-only', set `buffer-read-only'.
12899         * imenu.el (imenu-default-goto-function): Mark unused args.
12900         (imenu-progress-message): Remove obsolete macro; all callers changed.
12902         * subr.el (keymap-canonicalize): Remove unused binding.
12903         (read-passwd): Mark unused arg.
12905         * tutorial.el (tutorial--display-changes): Remove unused binding.
12906         (tutorial--save-tutorial-to): Remove unused variable.
12908         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12909         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12910         (package-generate-autoloads, package-menu--generate)
12911         (package-menu--find-upgrades): Remove unused bindings.
12913         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12914         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
12915         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12916         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12917         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12918         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12919         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12920         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12921         (cua-delete-char-rectangle): Mark unused args.
12922         (cua-align-rectangle): Remove unused binding.
12924         * mail/rmail.el (compilation--message->loc)
12925         (epa--find-coding-system-for-mime-charset): Declare.
12927         * net/dbus.el (dbus-register-service): Declare.
12928         (dbus-name-owner-changed-handler): Remove unused binding.
12930         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12931         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12932         (nxml-scan-backward-within): Mark unused arg.
12933         (nxml-dynamic-markup-word): Remove unused binding.
12935         * mouse.el (mouse-menu-major-mode-map):
12936         * emacs-lisp/authors.el (authors-scan-change-log)
12937         (authors-add-to-author-list):
12938         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12939         * emacs-lisp/smie.el (smie-auto-fill):
12940         * mail/sendmail.el (mail-bury):
12941         * mail/unrmail.el (unrmail):
12942         * net/tls.el (open-tls-stream):
12943         * textmodes/picture.el (picture-mouse-set-point):
12944         Remove unused bindings.
12946 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
12948         * net/tramp.el (tramp-action-password): Let-bind
12949         `enable-recursive-minibuffers' to t.
12951 2012-04-18  Sam Steingold  <sds@gnu.org>
12953         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12954         instead of 'string to accommodate values like [f11].
12955         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12956         * progmodes/gdb-mi.el: Likewise.
12958 2012-04-18  Leo Liu  <sdl.web@gmail.com>
12960         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12961         current buffer.
12962         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12963         LOCAL is nil.
12965 2012-04-18  Chong Yidong  <cyd@gnu.org>
12967         * simple.el (line-move): Use forward-line if in batch mode
12968         (Bug#11053).
12970 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
12972         * files.el (after-find-file): Do not try to add a final newline if
12973         the buffer is read-only (Bug#11156).
12975 2012-04-17  Richard Stallman  <rms@gnu.org>
12977         * mail/rmail.el (rmail-start-mail):
12978         Pass (rmail-mail-return...) for the return-action.
12979         Pass (rmail-yank-current-message...) for the yank-action.
12980         (rmail-yank-current-message): New function.
12981         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12982         (rmail-reply): Likewise.
12983         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12985         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12986         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
12987         buffer, not newbuf.
12989 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
12991         * server.el (server-ensure-safe-dir): Simplify.
12993 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12995         * emacs-lisp/smie.el: Provide smarter auto-filling.
12996         (smie-auto-fill): New function.
12997         (smie-setup): Use it.
12999         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13001 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
13003         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13004         (comment-indent): Use it.
13006 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13008         * ses.el: The overall change is to add cell renaming, that is
13009         setting fancy names for cell symbols other than name matching
13010         "\\`[A-Z]+[0-9]+\\'" regexp .
13011         (ses-localvars): Add ses--renamed-cell-symb-list.
13012         (ses-create-cell-variable): New defun.
13013         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13014         (ses-relocate-formula): Relocate formulas only for cells the
13015         symbols of which are not renamed, i.e. symbols whose names do not
13016         match regexp "\\`[A-Z]+[0-9]+\\'".
13017         (ses-relocate-all): Relocate values only for cells the symbols of
13018         which are not renamed.
13019         (ses-load): Create cells variables as the (ses-cell ...) are read,
13020         in order to check row col consistency with cell symbol name only
13021         for cells that are not renamed.
13022         (ses-replace-name-in-formula): New defun.
13023         (ses-rename-cell): New defun.
13025 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
13027         * progmodes/perl-mode.el (perl-indent-parens-as-block):
13028         New option (bug#11118).
13029         (perl-calculate-indent): Respect it.
13031 2012-04-17  Glenn Morris  <rgm@gnu.org>
13033         * dired-aux.el (dired-mark-read-string): Doc fix.
13035 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
13037         * dired-aux.el (dired-mark-read-string): Offer optional completion.
13038         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
13040 2012-04-17  Glenn Morris  <rgm@gnu.org>
13042         * mouse.el (mouse-drag-track):
13043         * speedbar.el (speedbar-frame-mode):
13044         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13046 2012-04-16  Leo Liu  <sdl.web@gmail.com>
13048         * progmodes/python.el: Trivial cleanup.
13050 2012-04-16  Glenn Morris  <rgm@gnu.org>
13052         * vc/vc.el (vc-string-prefix-p):
13053         * vc/pcvs-util.el (cvs-string-prefix-p):
13054         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13055         * mpc.el (mpc-string-prefix-p):
13056         Make all of these into obsolete aliases for string-prefix-p.
13057         Update callers.
13058         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13060         * textmodes/two-column.el: Move custom options to the start.
13061         (frame-width): Remove compat definition.
13062         (2C-associate-buffer, 2C-dissociate):
13063         Use with-current-buffer rather than save-excursion.
13064         (2C-dissociate): Force a mode-line update.
13065         (2C-autoscroll): Use ignore-errors.
13067         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13068         Autoload trivia.
13070         * emacs-lisp/cl-extra.el (*random-state*):
13071         Remove unnecessary declaration.
13073         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13075         * play/cookie1.el (cookie-snarf):
13076         Give an explicit error if input file cannot be read.
13078         * play/yow.el (yow-file): Use expand-file-name rather than concat.
13080         * progmodes/perl-mode.el (c-macro-expand):
13081         Remove unnecessary autoload (it is in loaddefs.el).
13083         * textmodes/picture.el (picture-desired-column)
13084         (picture-update-desired-column): Convert comments to doc-strings.
13085         (picture-substitute): Remove function.
13086         (picture-mode-map): Initialize in the defvar.
13088         * woman.el: Remove eval-after-load for tar-mode.
13089         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13090         (woman-tar-extract-file): Autoload it.
13092         * frame.el (automatic-hscrolling): Make this alias obsolete.
13094 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13096         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13097         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13098         (ispell-dictionary-base-alist): Revert to original XEmacs
13099         friendly version for default.  [:alpha:] will be added in
13100         `ispell-set-spellchecker-params' if needed.
13102 2012-04-16  Chong Yidong  <cyd@gnu.org>
13104         * image.el (imagemagick--file-regexp): New variable.
13105         (imagemagick-register-types): Use it.
13106         (imagemagick-types-inhibit): Add :set function.  Allow new value
13107         of t to inhibit all types.
13109         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13110         so we can preload it.
13112         * loadup.el (fboundp): Preload regexp-opt, needed by
13113         imagemagick-register-types.
13115 2012-04-15  Chong Yidong  <cyd@gnu.org>
13117         * frame.el (scrolling): Remove nearly unused customization group.
13119         * scroll-all.el (scroll-all-mode): Move to windows group.
13121 2012-04-15  Chong Yidong  <cyd@gnu.org>
13123         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13125 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13127         Avoid the use of ((lambda ...) ...) in lexical-binding code.
13128         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13130 2012-04-15  Glenn Morris  <rgm@gnu.org>
13132         * simple.el (process-file-side-effects): Doc fix.
13134 2012-04-15  Glenn Morris  <rgm@gnu.org>
13136         * international/mule-cmds.el (set-language-environment): Doc fix.
13138 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
13140         * server.el (server-auth-key, server-generate-key): Doc fixes.
13141         (server-get-auth-key): Doc fix.  Use `string-match-p'.
13142         (server-start): Reflow docstring.
13144 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
13146         * server.el (server-generate-key): `called-interactively-p'
13147         requires a parameter.
13149 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
13151         * server.el (server-auth-key): New variable.
13152         (server-generate-key, server-get-auth-key): New function.
13153         (server-start): Use the new variable and functions to allow
13154         setting a permanent server key (bug#9423).
13156 2012-04-14  Leo Liu  <sdl.web@gmail.com>
13158         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13160 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
13162         Spelling fixes.
13163         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13164         Emacs uses American spelling.
13166 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
13168         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13169         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
13170         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13171         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
13173 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13175         * progmodes/which-func.el (which-func-modes): Change default.
13177 2012-04-14  Kim F. Storm  <storm@cua.dk>
13179         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13180         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13182 2012-04-14  Chong Yidong  <cyd@gnu.org>
13184         * custom.el (custom-theme-set-variables): Doc fix.
13186 2012-04-14  Glenn Morris  <rgm@gnu.org>
13188         * international/mule.el (set-auto-coding-for-load): Doc fix.
13190 2012-04-14  Alan Mackenzie  <acm@muc.de>
13192         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13193         imenu work again for Objective C Mode.  Correct the *-index values,
13194         these having been disturbed by a previous change in 2011-08.
13196         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13197         Correct two search limits.
13199 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13201         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13203 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
13205         * international/characters.el: Fix sorting.
13207 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13209         * international/characters.el: Add more missing Latin case pairs.
13211 2012-04-14  Glenn Morris  <rgm@gnu.org>
13213         * files.el (dir-locals-set-class-variables): Doc fix.
13215 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13217         * international/characters.el: Add set-case-syntax-pair call for
13218         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13219         counterpart.  (Bug#11209)
13221         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
13223 2012-04-14  Glenn Morris  <rgm@gnu.org>
13225         * calendar/holidays.el (calendar-check-holidays): Doc fix.
13227 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13229         * textmodes/ispell.el (ispell-dictionary-base-alist):
13230         Add data for Hebrew.
13232 2012-04-14  Chong Yidong  <cyd@gnu.org>
13234         * net/rcirc.el (rcirc-cmd-quit):
13235         Revert 2012-03-18 change (Bug#11192).
13237 2012-04-14  Glenn Morris  <rgm@gnu.org>
13239         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13241 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
13243         * minibuffer.el (completion-in-region-mode-map):
13244         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
13246 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
13248         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13250 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
13252         * minibuffer.el (minibuffer-local-filename-syntax): New variable
13253         to allow `C-M-f' and `C-M-b' to move to the nearest path
13254         separator (bug#9511).
13256 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
13258         * avoid.el: Require cl when compiling.  And also move the
13259         `provide' to the end.
13261 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13263         * avoid.el (mouse-avoidance-banish-position): New variable.
13264         (mouse-avoidance-banish-destination): Use it (bug#10165).
13266 2012-04-13  Leo Liu  <sdl.web@gmail.com>
13268         * progmodes/which-func.el (which-func-modes): Add objc-mode.
13270 2012-04-13  Ken Brown  <kbrown@cornell.edu>
13272         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13273         this is no longer needed now that cygstart understands file:// URLs.
13274         (browse-url-filename-alist): For the same reason, don't modify
13275         file:// URLs on Cygwin.
13277 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13279         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13280         the region on shift if the binding is already shifted (bug#11221).
13282 2012-04-12  Glenn Morris  <rgm@gnu.org>
13284         * mail/mailpost.el: Move to obsolete/.
13286 2012-04-12  Drew Adams  <drew.adams@oracle.com>
13288         * imenu.el (imenu--generic-function): Ignore invisible definitions
13289         (bug#10123).
13291 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
13293         * hexl.el (hexl-bits): New variable.
13294         (hexl-options): Mention the variable in the doc string.
13295         (hexl-rulerise, hexl-line-displen): New functions.
13296         (hexl-mode): Mention the new variable.
13297         (hexl-mode, hexl-current-address, hexl-current-address):
13298         Use the displen.
13299         (hexl-ascii-start-column): New function.
13300         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13301         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13303 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13305         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13306         '("-i" ENCODING), in 2 separate command-line arguments, to specify
13307         the encoding, as expected by hunspell.
13309 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13311         * battery.el (battery--linux-sysfs-regexp): New const.
13312         (battery-status-function): Use it.  Remove yeeloong special case.
13313         (battery-yeeloong-sysfs): Remove.
13314         (battery-echo-area-format): Remove yeeloong special case.
13316 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13318         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13319         Reported by Noah Friedman.
13321         * subr.el (read-passwd): Use read-string.
13323 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13325         * vcursor.el (vcursor-move): Increase the priority of the overlay
13326         (bug#9663).
13328 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13330         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13331         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13333 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
13335         * textmodes/artist.el (artist-mode): Convert artist-mode to use
13336         define-minor-mode (bug#10760).
13338 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
13340         * progmodes/grep.el (rgrep): Tweak the find command line so
13341         that directories matching `grep-find-ignored-files' won't be
13342         pruned (bug#10351).
13344 2012-04-11  Chong Yidong  <cyd@gnu.org>
13346         * startup.el (command-line): Remove support for long-obsolete
13347         variable font-lock-face-attributes.
13349 2012-04-11  Glenn Morris  <rgm@gnu.org>
13351         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13353 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13355         * window.el (window--state-get-1): Obey window-point-insertion-type.
13357 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
13359         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13360         to previous function when point is on the first character of a
13361         function.  Take care of that in `narrow-to-defun' (bug#6157).
13363 2012-04-11  Glenn Morris  <rgm@gnu.org>
13365         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13366         not just file-errors.
13368         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13369         (vc-bzr-sha1): Use internal sha1.
13371 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13373         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13375 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
13377         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13378         that start in the middle of the line (bug#10496).
13380 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
13382         * battery.el (battery-linux-proc-acpi): Only one battery is
13383         discharged at a time, but that seems to confuse battery.el when
13384         computing `rate-type' for the battery not being discharged
13385         (bug#10332).
13387 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13389         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13391         * international/quail.el: Use dolist and simplify.
13392         (quail-define-package, quail-update-keyboard-layout)
13393         (quail-define-rules): Use dolist.
13394         (quail-insert-kbd-layout, quail-get-translation): CSE.
13396         * tmm.el: Use dolist, remove left over hook.
13397         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13398         Use dolist.
13399         (calendar-load-hook): Don't mess with it.
13401         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13402         Use derived-mode-p.  Run the diff asynchronously.
13404 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13406         * obsolete/mouse-sel.el: Add an Obsolete-since header.
13408 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
13410         * misc.el: Display absolute path of loaded DLLs (bug#10424).
13411         (list-dynamic-libraries--loaded): New function.
13412         (list-dynamic-libraries--refresh): Use it.
13414 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
13416         * progmodes/python.el (python-fill-paragraph):
13417         Make python-fill-region in a multiline string work when font-lock is
13418         disabled (bug#7018).
13420 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
13422         * language/european.el (cp775): Add oem/legacy (en)coding on
13423         DOS/MS Windows for the Baltic languages.  There are still plenty
13424         of texts written in this encoding/codepage (bug#6519).
13426 2012-04-10  Glenn Morris  <rgm@gnu.org>
13428         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13429         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13431 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
13433         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13434         next-line "n" and previous-line "p" in order to make recentf more
13435         consistent with ibuffer, dired or org-mode (bug#9387).
13437 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13439         * image.el (put-image): Return the overlay created instead of the
13440         optional input string (bug#7834).  Note that this may break code
13441         that is (for some reason or other) depending on `put-image'
13442         returning the string.
13444         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13446         * simple.el (zap-to-char): Allow zapping using input methods
13447         (bug#1580).
13449         * textmodes/fill.el (fill-region): Leave point and mark where they
13450         were before filling (bug#5399).
13452 2012-04-09  Glenn Morris  <rgm@gnu.org>
13454         * version.el (emacs-bzr-get-version):
13455         Handle lightweight checkouts of local branches.
13457 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
13459         * international/characters.el: Recover lost case pairs.  (Bug#11209)
13461 2012-04-09  Chong Yidong  <cyd@gnu.org>
13463         * custom.el (custom-variable-p): Return nil for non-symbol
13464         arguments instead of signaling an error.
13465         (user-variable-p): Obsolete alias for custom-variable-p.
13467         * apropos.el (apropos-variable):
13468         * files-x.el (read-file-local-variable):
13469         * simple.el (set-variable):
13470         * woman.el (woman-mini-help):
13471         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13473 2012-04-09  Glenn Morris  <rgm@gnu.org>
13475         * startup.el (normal-top-level): Don't look for leim-list.el
13476         in places where it will not be found.  (Bug#910)
13478         * international/mule-cmds.el (set-default-coding-systems):
13479         * files.el (normal-mode):
13480         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
13481         This function was removed with ucs-tables.el in 2008.
13483 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
13485         * textmodes/ispell.el (ispell-check-version): For hunspell, set
13486         ispell-encoding8-command to "-i", without a trailing space.
13487         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13488         separate command-line arguments, to specify the encoding, since
13489         that's how hunspell expects it.
13491 2012-04-08  Glenn Morris  <rgm@gnu.org>
13493         * loadup.el: Load bindings before cus-start.
13494         This reduces somewhat the number of "rogue" settings in emacs -Q.
13496 2012-04-07  Glenn Morris  <rgm@gnu.org>
13498         * version.el (emacs-bzr-get-version): New function.
13499         (emacs-bzr-version): New variable.
13500         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
13501         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13503 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
13505         * international/uni-bidi.el, international/uni-category.el:
13506         * international/uni-combining.el, international/uni-decimal.el:
13507         * international/uni-decomposition.el, international/uni-digit.el:
13508         * international/uni-lowercase.el, international/uni-mirrored.el:
13509         * international/uni-name.el, international/uni-numeric.el:
13510         * international/uni-titlecase.el, international/uni-uppercase.el:
13511         Update for Unicode 6.1.
13513 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
13515         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13517 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13519         * window.el (shrink-window): Mention the `window-min-height'
13520         variable in the doc string.
13522 2012-04-05  Bastien Guerry  <bzg@altern.org>
13524         * color.el (color-lighten-name): Fix typo.
13526 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13528         * server.el (server--on-display-p): New function.
13529         (server--on-display-p): Use it.
13531 2012-04-04  Gábor Vida  <vidagabor@gmail.com>  (tiny change)
13533         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13534         (bug#11145).
13536 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13538         * comint.el (comint--common-quoted-suffix): Check string boundary
13539         before comparing (bug#11158).
13540         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13542 2012-04-04  Chong Yidong  <cyd@gnu.org>
13544         * minibuffer.el (completion-extra-properties): Doc fix.
13546         * subr.el (delayed-warnings-hook): Doc fix.
13548 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
13550         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13551         selection (Bug#11159).
13552         (epa-insert-keys): Inform that the default public key will be
13553         exported if no key is selected.
13555 2012-04-04  Richard Stallman  <rms@gnu.org>
13557         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13559 2012-04-03  Chong Yidong  <cyd@gnu.org>
13561         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13562         mail-insert-file, not its obsolete alias mail-attach-file.
13564 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
13566         * notifications.el (notifications-notify): Fix docstring.
13568 2012-04-02  Glenn Morris  <rgm@gnu.org>
13570         * emacs-lisp/authors.el (authors-aliases): Another addition.
13572 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
13574         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13575         `tramp-compat-call-process' instead of `tramp-local-call-process'.
13576         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13578 2012-04-01  Chong Yidong  <cyd@gnu.org>
13580         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13581         Handle root directory properly.
13582         (copy-directory): Caller changed.
13584         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13585         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13587 2012-03-31  Glenn Morris  <rgm@gnu.org>
13589         * term/xterm.el (xterm-extra-capabilities): Doc fix.
13591         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
13593         * calendar/calendar.el (calendar-window-list)
13594         (calendar-hide-window): Restore.  (Bug#11140)
13595         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13597         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13599 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13601         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13602         Check if file is a symlink (Bug#10489).
13604         * files.el (copy-directory): Likewise.
13606 2012-03-30  Chong Yidong  <cyd@gnu.org>
13608         * image.el (imagemagick-types-inhibit)
13609         (imagemagick-register-types): Doc fix.
13611 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13613         * textmodes/ispell.el (ispell-get-extended-character-mode):
13614         Disable extended-char-mode for hunspell.  hunspell does not support it
13615         and treats ~word as ordinary words in pipe mode.
13617 2012-03-30  Glenn Morris  <rgm@gnu.org>
13619         * tutorial.el (help-with-tutorial): Ensure local variables don't
13620         happen to make the buffer read-only.  (Bug#11127)
13622 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13624         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13625         (perl-calculate-indent): Return `noindent' in strings.
13627 2012-03-28  Sam Steingold  <sds@gnu.org>
13629         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13630         instead of the broken adhockery which does not prevent calendar
13631         buffers from being displayed at random after exit.
13632         (calendar-window-list, calendar-hide-window): Remove the broken
13633         adhockery.
13635 2012-03-28  Glenn Morris  <rgm@gnu.org>
13637         * replace.el (query-replace-map): Doc fix.
13639 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
13641         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13642         contents.  (Bug#11109)
13644 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13646         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13647         (bug#11077).
13648         (avl-tree--check, avl-tree--check-node): New funs.
13650 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
13652         * window.el (switch-to-visible-buffer): New option.
13653         (switch-to-prev-buffer, switch-to-next-buffer):
13654         Observe switch-to-visible-buffer.  Make sure that checking for a window
13655         showing a buffer already is done on the same frame.
13657 2012-03-27  Glenn Morris  <rgm@gnu.org>
13659         * startup.el (mail-host-address): Doc fix.
13661 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13663         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13664         than 197 variables.
13666 2012-03-26  Ami Fischman  <ami@fischman.org>
13668         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13670 2012-03-26  Glenn Morris  <rgm@gnu.org>
13672         * files.el (save-buffers-kill-emacs): Doc fix.
13674         * startup.el (normal-top-level, command-line, command-line-1):
13675         Give them doc strings.
13677 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
13679         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13680         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13682 2012-03-25  Chong Yidong  <cyd@gnu.org>
13684         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13685         theme if it was previously enabled before (Bug#11031).
13687         * cus-theme.el (custom-theme-write-faces): Retrieve current face
13688         spec with custom-face-get-current-spec if its :shown-value is not
13689         determined yet (Bug#9337).
13690         (customize-create-theme, custom-theme-revert): Doc fixes.
13692         * button.el (button-at): Minor addition to docstring.
13694 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
13696         * vc/vc.el (vc-merge): Fix a prompt.
13698 2012-03-24  Chong Yidong  <cyd@gnu.org>
13700         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13701         point (Bug#9623).
13703         * button.el (button-at): Minor addition to docstring.
13705 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13707         * newcomment.el (comment-choose-indent): No space after BOL.
13709 2012-03-22  Sam Steingold  <sds@gnu.org>
13711         * window.el (switch-to-prev-buffer): Revert last patch because the
13712         bug turned out to be an advertised feature (Elisp manual 28.14).
13714 2012-03-22  Glenn Morris  <rgm@gnu.org>
13716         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
13717         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13719 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13721         * net/network-stream.el (network-stream-open-starttls): Make error
13722         message under Windows be less misleading.
13724 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
13726         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13727         understands (bug#9942).
13729 2012-03-22  Chong Yidong  <cyd@gnu.org>
13731         * simple.el (end-of-visible-line): Handle return value of
13732         next-single-property-change properly (Bug#9371).
13734 2012-03-22  Kenichi Handa  <handa@m17n.org>
13736         * international/quail.el (quail-insert-kbd-layout): Fix previous
13737         change.  To avoid unwanted bidi reordering, use
13738         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13740 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
13742         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13743         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13744         (ruby-beginning-of-indent): Be more careful with the difference
13745         between word-boundary and symbol boundary.
13746         (ruby-mode-syntax-table): Make : a symbol constituent.
13748 2012-03-21  Andreas Politz  <politza@fh-trier.de>
13750         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13752 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13754         * progmodes/etags.el (tags-completion-at-point-function):
13755         Improve last fix.
13757         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13759 2012-03-21  Sam Steingold  <sds@gnu.org>
13761         * progmodes/etags.el (tags-completion-at-point-function):
13762         Avoid the error when point is inside the pattern.
13764 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
13766         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13767         line (Bug#10855).
13769 2012-03-21  Drew Adams  <drew.adams@oracle.com>
13771         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13773 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
13775         * ido.el (ido-set-current-directory, ido-read-internal)
13776         (ido-choose-completion-string, ido-completion-help): Handle nil
13777         value of ido-completion-buffer (Bug#11008).
13779 2012-03-21  Sam Steingold  <sds@gnu.org>
13781         * window.el (switch-to-prev-buffer): Do not switch to a visible
13782         window previous buffer, just like with the frame previous buffers.
13784 2012-03-21  Chong Yidong  <cyd@gnu.org>
13786         * faces.el (make-face, make-empty-face, copy-face):
13787         * face-remap.el (face-remap-add-relative, face-remap-set-base):
13788         Doc fixes.
13790 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13792         * wid-edit.el (widget-complete-field): Remove (bug#11051).
13793         (widget-complete): Remove broken use of it.
13795 2012-03-20  Chong Yidong  <cyd@gnu.org>
13797         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13798         Use string-width and truncate-string-width to handle arbitrary
13799         characters.
13801 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
13803         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13804         to draw rectangles, not squares.  (Regression introduced by revno
13805         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13807 2012-03-18  Chong Yidong  <cyd@gnu.org>
13809         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13810         it is not yet defined (for temacs).
13812 2012-03-18  Leo Liu  <sdl.web@gmail.com>
13814         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13815         prefix.
13817 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
13819         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13820         (ispell-choices-win-default-height, ispell-silently-savep)
13821         (ispell-dictionary-alist, ispell-encoding8-command)
13822         (ispell-check-version, ispell-aspell-find-dictionary)
13823         (ispell-valid-dictionary-list, ispell-words-keyword)
13824         (ispell-get-word, ispell-internal-change-dictionary)
13825         (ispell-region, ispell-skip-region-list)
13826         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13827         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13828         (ispell-message-text-end, ispell-message)
13829         (ispell-buffer-local-parsing): Doc fix.
13831 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
13833         * htmlfontify.el: Add support for code block fontification for ODT
13834         export (Bug #9914).
13835         (hfy-optimisations): Define new option
13836         `body-text-only'
13837         (hfy-fontify-buffer): Honor above setting.
13838         (hfy-begin-span, hfy-end-span): New routines factored out form
13839         `hfy-fontify-buffer'.
13840         (hfy-begin-span-handler, hfy-end-span-handler): New variables
13841         that permit insertion of custom tags.
13842         (hfy-fontify-buffer): Use above handlers.
13843         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13844         (hfy-face-to-css): Re-defined to be a variable.
13845         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
13846         over multiple runs.  This is made possible by having the caller let
13847         bind a special variable `hfy-user-sheet-assoc'.
13848         (htmlfontify-string): New defun.
13849         (hfy-compile-face-map): Make sure that the last char in the
13850         buffer is correctly fontified.
13851         (hfy-face-resolve-face): Whitespace only change.
13853 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
13855         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13856         message more clear.
13858 2012-03-16  Leo Liu  <sdl.web@gmail.com>
13860         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13862 2012-03-16  Alan Mackenzie  <acm@muc.de>
13864         Further optimize the handling of large macros.
13866         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13867         limit to a call of `c-literal-limits'.
13868         (c-determine-+ve-limit): New function.
13869         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13870         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13871         In CASE 5B, restrict a search limit to 500.
13872         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13874         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13875         Restrict macro bounds to +-500 from after-change's BEG END.
13877 2012-03-16  Leo Liu  <sdl.web@gmail.com>
13879         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13881 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
13883         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13884         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
13886 2012-03-16  Glenn Morris  <rgm@gnu.org>
13888         * view.el (view-buffer, view-buffer-other-window)
13889         (view-buffer-other-frame): Doc fixes re special mode-class.
13891         * subr.el (eval-after-load): If named feature is provided not from
13892         a file, run after-load forms.  (Bug#10946)
13894         * calendar/calendar.el (calendar-insert-at-column):
13895         Handle non-unit-width characters a bit better.  (Bug#10978)
13897 2012-03-15  Chong Yidong  <cyd@gnu.org>
13899         * emacs-lisp/ring.el (ring-extend): New function.
13900         (ring-insert+extend): Extend the ring correctly (Bug#11019).
13902         * comint.el (comint-read-input-ring)
13903         (comint-add-to-input-history): Grow comint-input-ring lazily.
13905 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13907         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13908         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13910         * imenu.el: Fix multiple inheritance breakage (bug#9199).
13911         (imenu-add-to-menubar): Don't add a redundant index.
13912         (imenu-update-menubar): Handle a dynamically composed keymap.
13914 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
13916         * mail/sendmail.el (mail-encode-header):
13917         Bind rfc2047-encode-encoded-words to nil.
13919 2012-03-13  Glenn Morris  <rgm@gnu.org>
13921         * calendar/calendar.el (calendar-string-spread):
13922         Handle non-unit-width characters a bit better.  (Bug#10978)
13924 2012-03-13  Leo Liu  <sdl.web@gmail.com>
13926         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13927         directory and file as argument (Bug#10822).
13929 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
13931         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13932         For dynamically generated code, follow $PC.
13933         (gdb-disassembly-handler-custom): Handle no function name case.
13935 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
13937         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13938         * emulation/ws-mode.el (ws-query-replace):
13939         * sort.el (sort-regexp-fields):
13940         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
13942 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13944         * dabbrev.el: Fix cycle completion order (bug#10963).
13945         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13946         (dabbrev-completion): Don't use an obarray; provide
13947         a cycle-sort-function.
13949 2012-03-12  Leo Liu  <sdl.web@gmail.com>
13951         * simple.el (kill-new): Use equal-including-properties for comparison.
13952         (kill-do-not-save-duplicates): Doc fix.
13954 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13956         * dabbrev.el: Fix cycle completion (bug#10963).
13957         Use lexical binding and wrap to 80 columns.
13958         (dabbrev-completion): Delay computing the list of completions.
13960 2012-03-12  Kenichi Handa  <handa@m17n.org>
13962         * international/quail.el (quail-insert-kbd-layout): Surround each
13963         row by LRO and PDF instead of inserting many LRMs.  Pad the left
13964         and right of each non-spacing marks.  Insert invisible space
13965         between lower and upper characters to prevent composition.
13967 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13969         * minibuffer.el (minibuffer-complete): Don't get confused when the
13970         function is run twice via different commands (bug#10958).
13971         (complete-with-action): Fix docstring.
13973 2012-03-12  Chong Yidong  <cyd@gnu.org>
13975         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13976         (nxml-completion-at-point-function): New function.
13977         (nxml-mode): Use it.
13978         (nxml-bind-meta-tab-to-complete-flag): Default to t.
13980         * emacs-lisp/package.el (package-unpack, package-unpack-single):
13981         Load generated autoloads file before byte compiling (Bug#10970).
13982         (package--make-autoloads-and-compile): New helper fun.
13984 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
13986         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13988 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
13990         * autorevert.el (auto-revert-handler): Ensure, that
13991         file-readable-p is applied only for local files or in
13992         auto-revert-tail-mode.
13994 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
13996         * server.el (server-eval-at): Handle non-tcp connections.
13997         Decode result string.
13999         * server.el (server-msg-size): New constant.
14000         (server-reply-print): New function.
14001         (server-eval-and-print): Use it.
14002         (server-eval-at): Use server-quote-arg and server-unquote-arg.
14003         Handle -print-nonl.
14005 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
14007         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14008         (Bug#10987).
14010 2012-03-11  Chong Yidong  <cyd@gnu.org>
14012         * simple.el (goto-line): Doc fix (Bug#9938).
14014         * subr.el (save-window-excursion): Doc fix (Bug#9979).
14016         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14017         when finished (Bug#10963).
14019 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
14021         * window.el (split-window-below): Fix bug in case where
14022         split-window-keep-point is nil (Bug#10971).
14024 2012-03-11  Juri Linkov  <juri@jurta.org>
14026         * replace.el (replace-highlight): Set isearch-word to nil
14027         unconditionally.  (Bug#10887)
14029 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
14031         * net/mairix.el (mairix-replace-invalid-chars): Rename from
14032         mairix-replace-illegal-chars; all callers changed.  Don't remove
14033         ^, ~, and = characters: they are meaningful in mairix search specs.
14034         (mairix-widget-create-query): Add usage information about mairix
14035         search forms: negating words, searching for substrings, etc.
14037 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
14039         * international/fontset.el (font-encoding-alist): Add an entry for
14040         ksx1001 (Bug#5667).
14042 2012-03-10  Richard Stallman  <rms@gnu.org>
14044         * mail/sendmail.el (mail-encode-header):
14045         Set rfc2047-encode-encoded-words.
14047         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14049         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14050         view buffer means not swapped.
14051         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14052         (rmail-write-region-annotate): Error if real text has disappeared.
14054         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14056 2012-03-10  Chong Yidong  <cyd@gnu.org>
14058         * emulation/cua-rect.el (cua--init-rectangles):
14059         * emulation/cua-base.el (cua--init-keymaps):
14060         Add delete-forward-char to remappings (Bug#9666).
14062 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
14064         * speedbar.el (speedbar-unhighlight-one-tag-line):
14065         Avoid unhighlighting due to frame switching (Bug#10275).
14067 2012-03-10  Chong Yidong  <cyd@gnu.org>
14069         * minibuffer.el (completion-in-region, completion-help-at-point):
14070         Give the completion field overlay a high priority (Bug#6830).
14072         * dired.el (dired-goto-file): Recognize absolute file name
14073         listings (Bug#7126).
14074         (dired-goto-file-1): New helper function.
14075         (dired-toggle-read-only): Inhibit warnings.
14077 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
14079         * net/dbus.el (dbus-property-handler): Return empty array if
14080         there are no properties.
14082 2012-03-09  Leo Liu  <sdl.web@gmail.com>
14084         * savehist.el (savehist-printable): Stricter check for string
14085         value (Bug#10937).
14087 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
14089         * mail/smtpmail.el (smtpmail-send-it):
14090         Bind coding-system-for-write to *-unix, so that FCC files are kept in
14091         valid mbox format.
14093 2012-03-09  Glenn Morris  <rgm@gnu.org>
14095         * files.el (dir-locals-find-file):
14096         Don't check result is regular, readable.
14097         (dir-locals-read-from-file): Demote errors.
14099 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
14101         * international/quail.el (quail-insert-kbd-layout):
14102         Insert invisible LRM characters before each character in a keyboard
14103         layout cell, to prevent their reordering by bidi display engine.
14104         For details, see the discussion in
14105         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14107 2012-03-08  Alan Mackenzie  <acm@muc.de>
14109         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14110         the starting position; make it extend the marked region when
14111         invoked repeatedly - all under appropriate circumstances.
14112         Fixes bugs #5525, #10906.
14114 2012-03-08  Glenn Morris  <rgm@gnu.org>
14116         * files.el (locate-dominating-file, dir-locals-find-file):
14117         Undo 2012-03-06 change.
14119 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
14121         * international/quail.el (quail-help):
14122         Force bidi-paragraph-direction be left-to-right.  See discussion in
14123         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14124         for the reason.
14126 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
14128         Avoid superfluous registering of signals.  (Bug#10807)
14130         * notifications.el (notifications-on-action-object)
14131         (notifications-on-close-object): New defvars.
14132         (notifications-on-action-signal, notifications-on-closed-signal):
14133         Unregister the signal if not needed any longer.
14134         (notifications-notify): Register `notifications-action-signal' or
14135         `notifications-closed-signal', if :on-action or :on-close has been
14136         passed as argument.
14138 2012-03-07  Chong Yidong  <cyd@gnu.org>
14140         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14141         non-X platforms.
14143 2012-03-06  Glenn Morris  <rgm@gnu.org>
14145         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14146         (x-disown-selection-internal, x-get-selection-internal):
14147         Doc fix (add arglist signatures).  (Bug#10783)
14149 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
14151         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14152         Handle breakpoints with no "type".
14154 2012-03-06  Glenn Morris  <rgm@gnu.org>
14156         * files.el (locate-dominating-file): Add optional predicate argument.
14157         (dir-locals-find-file): Make use of above change.
14159 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
14161         * info.el (Info-insert-dir): Also try "dir.gz".
14163 2012-03-06  Glenn Morris  <rgm@gnu.org>
14165         * files.el (dir-locals-find-file):
14166         Ignore non-readable or non-regular files.  (Bug#10928)
14168         * files.el (locate-dominating-file): Doc fix.
14170 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
14172         * calendar/calendar.el (calendar-set-mode-line):
14173         `getenv' returns a string.  (Bug#10951)
14175 2012-03-05  Leo Liu  <sdl.web@gmail.com>
14177         * simple.el (backward-delete-char-untabify): Constrain point to
14178         field (Bug#10939).
14180         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14182 2012-03-05  Chong Yidong  <cyd@gnu.org>
14184         * simple.el (count-words): If called from Lisp, return the word
14185         count, for symmetry with `count-lines'.  Arglist changed.
14186         (count-words--message): Args changed.  Consolidate counting code
14187         from count-words and count-words-region.
14188         (count-words-region): Caller changed.
14189         (count-lines-region): Make it an obsolete alias.
14191 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
14193         * saveplace.el (save-place-to-alist)
14194         (save-place-ignore-files-regexp): Allow value nil to disable this
14195         feature.
14197 2012-03-04  Chong Yidong  <cyd@gnu.org>
14199         * faces.el (face-spec-reset-face): For the default face, reset the
14200         attributes to default values (Bug#10748).
14202 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14204         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14205         previous patch: Check `message-send-mail-function', and not the
14206         default function (bug#10897).
14208 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
14210         * notifications.el (notifications-on-action-signal)
14211         (notifications-on-closed-signal): Check for unique service name of
14212         incoming event.  Fix error in removing entry.
14213         (top): Register for signals with wildcard service name.
14214         (notifications-notify): Use daemon unique service name for map entries.
14216 2012-03-04  Chong Yidong  <cyd@gnu.org>
14218         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14220 2012-03-04  Glenn Morris  <rgm@gnu.org>
14222         * abbrev.el (copy-abbrev-table, abbrev-table-p)
14223         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14224         (expand-abbrev, define-abbrev-table): Doc fixes.
14226 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14228         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14229         `message-default-send-mail-function' and not `send-mail-function'
14230         when doing the prompting for `sendmail-query-once' before sending
14231         in Message buffers (bug#10897).
14233         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14234         This is inconsistent with all the other stream functions, which leave
14235         the setting up to the higher levels (if so wanted) (bug#10931).
14237 2012-03-02  Alan Mackenzie  <acm@muc.de>
14239         Depessimize the handling of very large macros.
14241         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14242         (c-macro-cache-syntactic): New variables to implement a one
14243         element macro cache.
14244         (c-invalidate-macro-cache): New function.
14245         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14246         Adapt to use the new cache.
14247         (c-state-safe-place): Use better the cache of safe positions.
14248         (c-state-semi-nonlit-pos-cache)
14249         (c-state-semi-nonlit-pos-cache-limit):
14250         New variables for...
14251         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
14252         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14253         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14254         Use c-state-semi-safe-place.
14256         * progmodes/cc-langs.el (c-get-state-before-change-functions):
14257         Add c-invalidate-macro-cache to the C, C++, Obj entries.
14259 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
14261         * jka-compr.el (jka-compr-call-process):
14262         Apply `file-accessible-directory-p' only when the default directory is
14263         not remote.
14265 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
14267         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
14268         access of FILE2, if FILE1 does not exist.
14270         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14271         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14273         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14274         Add "PAGER=" to `process-environment'.
14276 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
14278         * progmodes/sql.el: Bug fix
14279         (sql-get-login-ext): Save login values in globals.
14280         (sql-get-login): Use new version of `sql-get-login-ext'.
14281         (sql-interactive-mode): Set global `sql-connection' to nil.
14282         (sql-connect): Set global values for connection.
14283         (sql-product-interactive): Save global values as buffer local.
14285 2012-02-29  Leo Liu  <sdl.web@gmail.com>
14287         * abbrev.el (define-abbrevs): Reset sys to nil.
14289 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14291         * files.el (file-equal-p): Rename from `files-equal-p'.
14292         Return nil when one or both files don't exist.
14293         (file-subdir-of-p): Now only top directory must exists,
14294         return nil if it doesn't.
14295         (copy-directory): No need to test with `file-subdir-of-p' after
14296         creating dir.
14297         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14298         to `file-equal-p'.
14300 2012-02-28  Glenn Morris  <rgm@gnu.org>
14302         * shell.el (shell-mode):
14303         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14304         * play/landmark.el (landmark-font-lock-face-O):
14305         * play/handwrite.el (handwrite):
14306         * play/gomoku.el (gomoku-O):
14307         * net/browse-url.el (browse-url-browser-display):
14308         * international/mule.el (define-charset):
14309         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14310         * filesets.el (filesets-find-file-delay):
14311         * eshell/em-xtra.el (eshell-xtra):
14312         * eshell/em-unix.el (eshell-grep):
14313         * emulation/viper.el (viper-mode):
14314         * emacs-lisp/regexp-opt.el (regexp-opt-group):
14315         * emacs-lisp/easymenu.el (easy-menu-define):
14316         * calendar/timeclock.el (timeclock-use-display-time):
14317         * bs.el (bs-mode):
14318         * bookmark.el (bookmark-save-flag):
14319         Doc fix (standardize possessive apostrophe usage).
14321 2012-02-27  Chong Yidong  <cyd@gnu.org>
14323         * emulation/viper-cmd.el (viper-intercept-ESC-key):
14324         Fix key-binding lookup for ESC key (Bug#9146).
14326         * font-lock.el (font-lock-specified-p): Rename from
14327         font-lock-spec-present.  Callers changed.
14329 2012-02-27  Daniel Hackney  <dan@haxney.org>
14331         * emacs-lisp/package.el (package-compute-transaction):
14332         Handle holding a package version to t in package-load-list.
14334 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
14336         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14337         (tramp-get-inode, tramp-get-device): Use cached values.
14339 2012-02-26  Alan Mackenzie  <acm@muc.de>
14341         Check there is a font-lock specification before doing initial
14342         fontification.
14344         * font-core.el (font-lock-mode): Move the conditional from
14345         :after-hook to font-lock-initial-fontify.
14346         (font-lock-default-function): Move the check for a specification
14347         to font-lock-spec-present.
14349         * font-lock.el (font-lock-initial-fontify): Call ...
14350         (font-lock-spec-present): New function.
14352 2012-02-26  Jim Blandy  <jimb@red-bean.com>
14354         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14355         (gdb-send): Apply it to the operand of the '-interpreter-exec
14356         console' command, so that we can pass arguments with (say) quotes
14357         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
14359 2012-02-26  Chong Yidong  <cyd@gnu.org>
14361         * help-fns.el (describe-function-1): Clarify description of
14362         remapping (Bug#10844).
14364         * files.el (files-equal-p): Doc fix.
14365         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
14366         and quit the loop once a mismatch is found.
14368 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
14370         * bs.el (bs--show-with-configuration): Don't throw an error
14371         if the window cannot be split; otherwise, subsequent calls to
14372         bs-show fail, restoring a stale window config.  (Bug#10882)
14374 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
14376         * term/ns-win.el (global-map): Bind ns-drag-file to
14377         ns-find-file (Bug#5855, Bug#10050).
14379 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
14381         * calendar/parse-time.el (parse-time-string): Allow extractor to
14382         return nil.
14384 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
14386         * net/tramp.el (tramp-file-name-for-operation):
14387         Add `files-equal-p' and `file-subdir-of-p'.
14389         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14390         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14391         Add COPY-CONTENTS argument.
14393 2012-02-25  Chong Yidong  <cyd@gnu.org>
14395         Add custom groups for VC backends, for consistency with vc-bzr.
14397         * vc/vc-arch.el (vc-arch):
14398         * vc/vc-cvs.el (vc-cvs):
14399         * vc/vc-git.el (vc-git):
14400         * vc/vc-hg.el (vc-hg):
14401         * vc/vc-mtn.el (vc-mtn):
14402         * vc/vc-rcs.el (vc-rcs):
14403         * vc/vc-sccs.el (vc-sccs):
14404         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14405         All relevant defcustoms reassigned.
14407 2012-02-25  Chong Yidong  <cyd@gnu.org>
14409         * newcomment.el (comment-styles): Add autoload (Bug#10868).
14411         * term/x-win.el (x-initialize-window-system): Reduce default for
14412         x-selection-timeout to 5 seconds (Bug#8869).
14414 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14416         * files.el (files-equal-p, file-subdir-of-p): New functions.
14417         (copy-directory): Error when trying to copy a directory on itself.
14418         Add missing copy-contents arg to tramp handler.
14419         * dired-aux.el (dired-copy-file-recursive): Same.
14420         (dired-create-files): Modify destination when source is equal to
14421         dest when copying files.
14422         Return also when dest is a subdir of source.  (Bug#10489)
14424 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
14426         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14427         (Bug#10874)
14429 2012-02-23  Alan Mackenzie  <acm@muc.de>
14431         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14432         parameter "after-hook:" to allow the expansion to run code after
14433         the execution of the mode hooks.
14435         * font-lock.el (font-lock-initial-fontify): New function extracted
14436         from font-lock-mode-internal.
14438         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14439         :after-hook.
14441 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14443         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14444         (completion--cache-all-sorted-completions): New function.
14445         (completion-all-sorted-completions): Use it.
14446         (completion--do-completion, minibuffer-force-complete):
14447         Use it to re-instate the flush hook.
14449         * icomplete.el (icomplete-completions): Replace last fix with a better
14450         one (bug#10850).
14452 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
14454         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14455         when it might call us back infinitely (bug#10797).
14457 2012-02-23  Glenn Morris  <rgm@gnu.org>
14459         * minibuffer.el (completion-category-overrides): Doc fix.
14461 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14463         * minibuffer.el (completion-table-with-context): Fix inf-loop.
14464         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14466 2012-02-23  Glenn Morris  <rgm@gnu.org>
14468         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14469         (authors-obsolete-files-regexps, authors-ignored-files)
14470         (authors-ambiguous-files, authors-renamed-files-alist):
14471         Add more entries.
14473 2012-02-23  Juri Linkov  <juri@jurta.org>
14475         * isearch.el (isearch-occur): Sync interactive spec with occur's
14476         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
14478         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14480 2012-02-22  Juri Linkov  <juri@jurta.org>
14482         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14483         (ucs-insert): Doc fix.  Check for hex digits in the string.
14484         Don't display `nil' in the error message.  (Bug#10857)
14486 2012-02-22  Alan Mackenzie  <acm@muc.de>
14488         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14490 2012-02-22  Glenn Morris  <rgm@gnu.org>
14492         * ffap.el (ffap-c-path):
14493         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
14495 2012-02-22  Chong Yidong  <cyd@gnu.org>
14497         * custom.el (load-theme): Doc fix.
14499 2012-02-22  Glenn Morris  <rgm@gnu.org>
14501         * dired-x.el (dired-guess-shell-alist-default):
14502         Remove escape sequences from nroff output.  (Bug#172)
14504 2012-02-21  Glenn Morris  <rgm@gnu.org>
14506         * vc/emerge.el (emerge-defvar-local):
14507         Set `permanent-local' property rather than unused `preserved'.
14509         * textmodes/picture.el (picture-delete-char): New alias.
14510         (picture-mode-map): Use it.  (Bug#10860)
14511         (picture-mode): Doc fix.
14513 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
14515         * newcomment.el (uncomment-region-default): Remove unused binding.
14517 2012-02-21  Glenn Morris  <rgm@gnu.org>
14519         * textmodes/picture.el (picture-motion, picture-motion-reverse)
14520         (picture-self-insert, picture-tab-chars): Doc fix.
14521         (picture-mode-map): Fix C-a, C-e.
14523 2012-02-20  Glenn Morris  <rgm@gnu.org>
14525         * emacs-lisp/authors.el (authors-aliases): Add another entry.
14527 2012-02-20  Leo Liu  <sdl.web@gmail.com>
14529         * icomplete.el (icomplete-completions): Check FROM arg before
14530         passing to substring (Bug#10850).
14532 2012-02-19  Chong Yidong  <cyd@gnu.org>
14534         * comint.el: Require ansi-color.
14535         (comint-output-filter-functions): Add ansi-color-process-output.
14537         * ansi-color.el: Don't set comint-output-filter-functions; it is
14538         now in the initial value defined in comint.el.
14539         (ansi-color-apply-face-function): New variable.
14540         (ansi-color-apply-on-region): Use it.
14541         (ansi-color-apply-overlay-face): New function.
14543         * shell.el (shell): No need to require ansi-color.
14544         (shell-mode): Use ansi-color-apply-face-function to highlight
14545         color escapes using font-lock-face property (Bug#10835).
14547 2012-02-19  Chong Yidong  <cyd@gnu.org>
14549         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14550         mode-line formats (Bug#10839).
14552 2012-02-18  Glenn Morris  <rgm@gnu.org>
14554         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14556         * mail/undigest.el (unforward-rmail-message): Doc fix.
14558         * saveplace.el (save-place-ignore-files-regexp): Add :version.
14560 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
14562         * international/characters.el (script-list): Sync with the latest
14563         Unicode Character Database.
14565 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
14567         * international/titdic-cnv.el: Remove duplicate coding tag.
14568         * language/cham.el: Likewise.
14569         * language/tai-viet.el: Likewise.
14571 2012-02-18  Glenn Morris  <rgm@gnu.org>
14573         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14574         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14575         (calendar-bahai-all-holidays-flag, calendar-other-dates):
14576         * calendar/diary-lib.el (diary-abbreviated-year-flag):
14577         * calendar/holidays.el (holiday-bahai-holidays)
14578         (calendar-holidays, list-holidays):
14579         Use utf-8 Bahá'í in doc-strings, menus, etc.
14581 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
14583         * saveplace.el (save-place-ignore-files-regexp): New variable
14584         allowing for excluding files from saving their location of point.
14585         The default value matches the temporary commit message editing
14586         files from Git, SVN, Bazaar, and Mercurial.
14587         (save-place-to-alist): Use it.
14589 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
14590             Stefan Monnier  <monnier@iro.umontreal.ca>
14592         * newcomment.el (uncomment-region-default): Don't leave extra space
14593         when an arg is provided (bug#8150).
14595 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
14597         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14599 2012-02-17  Glenn Morris  <rgm@gnu.org>
14601         * net/socks.el: Require network-stream.  (Bug#10599)
14603 2012-02-17  Kenichi Handa  <handa@m17n.org>
14605         * international/charprop.el:
14606         * international/uni-name.el:
14607         * international/uni-old-name.el:
14608         * international/uni-comment.el: Regenerate.
14610 2012-02-16  Glenn Morris  <rgm@gnu.org>
14612         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14613         Interactively in calendar buffer, give an error if not on a date.
14615 2012-02-15  Glenn Morris  <rgm@gnu.org>
14617         * shell.el (shell-delimiter-argument-list):
14618         Revert 2011-02-17 change.  (Bug#8027)
14620 2012-02-15  Chong Yidong  <cyd@gnu.org>
14622         * minibuffer.el (completion-at-point-functions): Doc fix.
14624         * custom.el (defcustom): Doc fix; note use of defvar.
14626 2012-02-15  Glenn Morris  <rgm@gnu.org>
14628         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14629         Doc fixes.
14631 2012-02-14  Glenn Morris  <rgm@gnu.org>
14633         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14635 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
14637         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14638         way the ports list is computed.
14639         (smtpmail-query-smtp-server): Prompt the user for a port number if
14640         we can't connect to any of the standard ports (bug#10810).
14642 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
14644         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14646 2012-02-13  Glenn Morris  <rgm@gnu.org>
14648         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
14650 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
14652         * net/gnutls.el (gnutls-trustfiles): New variable.
14653         (gnutls-negotiate): Use it.
14655 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
14657         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14658         does its stuff if Gnus is running.
14660 2012-02-13  Alan Mackenzie  <acm@muc.de>
14662         Fix a loop in c-set-fl-decl-start.
14664         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14665         c-backward-syntactic-ws actually moves backwards.
14667 2012-02-13  Leo Liu  <sdl.web@gmail.com>
14669         * net/rcirc.el (rcirc-markup-attributes): Move point to the
14670         beginning so that all \C-o chars are removed.
14672 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
14674         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14676 2012-02-12  Alan Mackenzie  <acm@muc.de>
14678         Fix infinite loop with long macros.
14679         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14681 2012-02-12  Chong Yidong  <cyd@gnu.org>
14683         * window.el (display-buffer): Doc fix (Bug#10785).
14685 2012-02-12  Glenn Morris  <rgm@gnu.org>
14687         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14688         (x-disown-selection-internal, x-get-selection-internal):
14689         Sync docs with the xselect.c versions.
14691         * allout-widgets.el: Add missing license notice.
14693 2012-02-11  Glenn Morris  <rgm@gnu.org>
14695         * select.el (x-get-selection-internal, x-own-selection-internal)
14696         (x-disown-selection-internal):
14697         * x-dnd.el (x-get-selection-internal): Update declarations.
14699         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14701         * window.el (window-sides-slots):
14702         * tool-bar.el (tool-bar-position):
14703         * term/xterm.el (xterm-extra-capabilities):
14704         * ses.el (ses-self-reference-early-detection):
14705         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14706         (verilog-auto-wire-type)
14707         (verilog-auto-delete-trailing-whitespace)
14708         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14709         (verilog-auto-tieoff-declaration):
14710         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14711         (sql-oracle-statement-starters, sql-oracle-scan-on):
14712         * progmodes/prolog.el (prolog-align-comments-flag)
14713         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14714         (prolog-left-indent-regexp, prolog-paren-indent-p)
14715         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14716         (prolog-types, prolog-mode-specificators)
14717         (prolog-determinism-specificators, prolog-directives)
14718         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14719         (prolog-electric-dot-flag)
14720         (prolog-electric-dot-full-predicate-template)
14721         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14722         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14723         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14724         (prolog-program-switches, prolog-prompt-regexp)
14725         (prolog-debug-on-string, prolog-debug-off-string)
14726         (prolog-trace-on-string, prolog-trace-off-string)
14727         (prolog-zip-on-string, prolog-zip-off-string)
14728         (prolog-use-standard-consult-compile-method-flag)
14729         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14730         (prolog-imenu-max-lines, prolog-info-predicate-index)
14731         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14732         (prolog-char-quote-workaround):
14733         * progmodes/cc-vars.el (c-defun-tactic):
14734         * net/tramp.el (tramp-encoding-command-interactive)
14735         (tramp-local-end-of-line):
14736         * net/soap-client.el (soap-client):
14737         * net/netrc.el (netrc-file):
14738         * net/gnutls.el (gnutls):
14739         * minibuffer.el (completion-category-overrides)
14740         (completion-cycle-threshold)
14741         (completion-pcm-complete-word-inserts-delimiters):
14742         * man.el (Man-name-local-regexp):
14743         * mail/feedmail.el (feedmail-display-full-frame):
14744         * international/characters.el (glyphless-char-display-control):
14745         * eshell/em-ls.el (eshell-ls-date-format):
14746         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14747         (lisp-lambda-list-keyword-parameter-indentation)
14748         (lisp-lambda-list-keyword-parameter-alignment):
14749         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14750         * dired-x.el (dired-omit-verbose):
14751         * cus-theme.el (custom-theme-allow-multiple-selections):
14752         * calc/calc.el (calc-highlight-selections-with-faces)
14753         (calc-lu-field-reference, calc-lu-power-reference)
14754         (calc-note-threshold):
14755         * battery.el (battery-mode-line-limit):
14756         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14757         (archive-7z-update):
14758         * allout.el (allout-prefixed-keybindings)
14759         (allout-unprefixed-keybindings)
14760         (allout-inhibit-auto-fill-on-headline)
14761         (allout-flattened-numbering-abbreviation):
14762         * allout-widgets.el (allout-widgets-auto-activation)
14763         (allout-widgets-icons-dark-subdir)
14764         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14765         (allout-widgets-theme-dark-background)
14766         (allout-widgets-theme-light-background)
14767         (allout-widgets-item-image-properties-emacs)
14768         (allout-widgets-item-image-properties-xemacs)
14769         (allout-widgets-run-unit-tests-on-load)
14770         (allout-widgets-time-decoration-activity)
14771         (allout-widgets-hook-error-post-time)
14772         (allout-widgets-track-decoration):
14773         Add missing :version tags to new defcustoms and defgroups.
14775         * progmodes/sql.el (sql-ansi-statement-starters)
14776         (sql-oracle-statement-starters): Add custom type.
14778         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14779         (prolog-system-version): Give it a type.
14781 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
14783         * term/pc-win.el (x-select-text, x-selection-owner-p)
14784         (x-own-selection-internal, x-disown-selection-internal)
14785         (x-get-selection-internal): Sync doc strings and argument lists
14786         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
14788 2012-02-11  Leo Liu  <sdl.web@gmail.com>
14790         * progmodes/python.el (python-end-of-statement): Fix infinite
14791         loop.  (Bug#10788)
14793 2012-02-10  Glenn Morris  <rgm@gnu.org>
14795         * international/mule-cmds.el (unify-8859-on-encoding-mode)
14796         (unify-8859-on-decoding-mode): Properly mark as obsolete.
14798 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
14800         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14801         about SMTP before checking the From header.
14803         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14804         into own function for reuse by emacsbug.el.
14806 2012-02-10  Leo Liu  <sdl.web@gmail.com>
14808         * subr.el (condition-case-unless-debug): Rename from
14809         condition-case-no-debug.  All callers changed.
14810         (with-demoted-errors): Fix caller.
14812         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14813         * nxml/rng-valid.el (rng-do-some-validation):
14814         * emacs-lisp/package.el (package-refresh-contents)
14815         (package-menu-execute):
14816         * desktop.el (desktop-create-buffer):
14817         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14819 2012-02-10  Glenn Morris  <rgm@gnu.org>
14821         * textmodes/bibtex.el:
14822         Add missing :version tags for new/changed defcustoms.
14824         * files.el (remote-file-name-inhibit-cache): Doc fixes.
14826 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
14828         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14829         (smtpmail-via-smtp): Use it, or fall back on the From address.
14830         (smtpmail-send-it): Ditto.
14832 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14834         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14835         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
14836         (byte-compile-tmp-var): New const.
14837         (byte-compile-defvar): Use it to minimize .elc size.
14838         Just use `defvar' rather than simulate it (bug#10761).
14840 2012-02-09  Glenn Morris  <rgm@gnu.org>
14842         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
14844         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14845         Add :version tags.
14847         * progmodes/compile.el (compilation-error-screen-columns)
14848         (compilation-first-column, compilation-filter-start): Doc fixes.
14850         * vc/log-view.el (log-view-toggle-entry-display):
14851         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14853         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14854         (report-emacs-bug-can-use-xdg-email):
14855         (report-emacs-bug-insert-to-mailer): Doc fixes.
14856         (report-emacs-bug): Message fix.
14858         * net/browse-url.el (browse-url-can-use-xdg-open)
14859         (browse-url-xdg-open): Doc fixes.
14861         * electric.el (electric-indent-mode, electric-pair-mode)
14862         (electric-layout-rules, electric-layout-mode): Doc fixes.
14863         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14865 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
14867         * server.el (server-unselect-display): Don't inadvertently kill
14868         the current buffer.  (Bug#10729)
14870 2012-02-08  Glenn Morris  <rgm@gnu.org>
14872         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14873         (sql-list-table): Doc fixes.
14875         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14876         Comment out (does nothing).
14878         * completion.el (dynamic-completion-mode):
14879         * dirtrack.el (dirtrack-debug-mode):
14880         * electric.el (electric-layout-mode):
14881         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14882         * face-remap.el (text-scale-mode, buffer-face-mode):
14883         * iimage.el (iimage-mode):
14884         * image-mode.el (image-transform-mode):
14885         * minibuffer.el (completion-in-region-mode):
14886         * scroll-lock.el (scroll-lock-mode):
14887         * simple.el (next-error-follow-minor-mode):
14888         * tar-mode.el (tar-subfile-mode):
14889         * tooltip.el (tooltip-mode):
14890         * vcursor.el (vcursor-use-vcursor-map):
14891         * wid-browse.el (widget-minor-mode):
14892         * emulation/tpu-edt.el (tpu-edt-mode):
14893         * emulation/tpu-extras.el (tpu-cursor-free-mode):
14894         * international/iso-ascii.el (iso-ascii-mode):
14895         * language/thai-util.el (thai-word-mode):
14896         * mail/supercite.el (sc-minor-mode):
14897         * net/goto-addr.el (goto-address-mode):
14898         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14899         * progmodes/cwarn.el (cwarn-mode):
14900         * progmodes/flymake.el (flymake-mode):
14901         * progmodes/glasses.el (glasses-mode):
14902         * progmodes/hideshow.el (hs-minor-mode):
14903         * progmodes/pascal.el (pascal-outline-mode):
14904         * textmodes/enriched.el (enriched-mode):
14905         * vc/smerge-mode.el (smerge-mode):
14906         Doc fixes (minor mode argument).
14908 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
14910         * ls-lisp.el (ls-lisp-sanitize): New function.
14911         (ls-lisp-insert-directory): Use it to fix or remove any elements
14912         in file-alist with missing attributes.  (Bug#4673)
14914 2012-02-07  Alan Mackenzie  <acm@muc.de>
14916         Fix spurious recognition of c-in-knr-argdecl.
14918         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14919         putative K&R region.
14921 2012-02-07  Alan Mackenzie  <acm@muc.de>
14923         * progmodes/cc-engine.el (c-forward-objc-directive):
14924         Prevent looping in "#pragma mark @implementation".
14926 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
14928         * notifications.el (notifications-on-closed-signal): Make `reason'
14929         optional.  (Bug#10744)
14931 2012-02-07  Glenn Morris  <rgm@gnu.org>
14933         * emacs-lisp/easy-mmode.el (define-minor-mode):
14934         Doc fixes for the macro and the mode it defines.
14936         * image.el (imagemagick-types-inhibit): Doc fix.
14938         * cus-start.el (imagemagick-render-type): Add it.
14940 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
14942         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14943         Set the default at load time, too, so that `font-lock-fontify-buffer'
14944         can be called without setting up the entire mode first.  This fixes
14945         a bug in `mm-inline-text' with C MIME parts.
14947 2012-02-06  Chong Yidong  <cyd@gnu.org>
14949         * simple.el (list-processes--refresh): Delete exited processes
14950         (Bug#8094).
14952         * comint.el (comint-next-prompt): next-single-char-property-change
14953         and prev-single-char-property-change never return nil (Bug#8657).
14955         * custom.el (defcustom): Doc fix (Bug#9711).
14957 2012-02-05  Chong Yidong  <cyd@gnu.org>
14959         * cus-edit.el (custom-variable-reset-backup): Quote the value
14960         before storing it in the customized-value property (Bug#6712).
14961         (custom-display): Add a customization type tag.
14962         (custom-buffer-create-internal): Improve tooltip message.
14964         * wid-edit.el (widget-field-value-get): New optional arg to
14965         suppress trailing whitespace truncation.
14966         (character): Use it (Bug#2689).
14968 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
14970         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14971         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14973 2012-02-05  Chong Yidong  <cyd@gnu.org>
14975         * cus-edit.el (custom-variable-value-create): For mismatched
14976         types, show the current value (Bug#7600).
14978         * custom.el (defcustom): Doc fix.
14980 2012-02-05  Glenn Morris  <rgm@gnu.org>
14982         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14984 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
14986         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14987         (pp-buffer): Use `ignore-errors', `looking-at-p'.
14988         (pp-last-sexp): Use `looking-at-p'.
14990 2012-02-04  Glenn Morris  <rgm@gnu.org>
14992         * files.el (revert-buffer):
14993         Doc fix (mention revert-buffer-in-progress-p).
14995         * emacs-lisp/ert-x.el (ert-simulate-command):
14996         Check deferred-action-list (which is obsolete) is bound.
14998         * subr.el (with-wrapper-hook): Doc fixes.
15000         * simple.el (filter-buffer-substring-functions)
15001         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15003 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
15005         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15006         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
15008 2012-02-04  Leo Liu  <sdl.web@gmail.com>
15010         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15012 2012-02-04  Glenn Morris  <rgm@gnu.org>
15014         * image.el (image-extension-data): Add obsolete alias.
15016         * isearch.el (isearch-update): Doc fix.
15018         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15020         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15022 2012-02-03  Glenn Morris  <rgm@gnu.org>
15024         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
15025         (image-animate-timeout): Doc fix.
15027         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15029 2012-02-02  Glenn Morris  <rgm@gnu.org>
15031         * server.el (server-auth-dir): Doc fix.
15032         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
15034         * subr.el (run-mode-hooks): Doc fix.
15036 2012-02-02  Juri Linkov  <juri@jurta.org>
15038         * image-mode.el (image-toggle-display-image): Remove tautological
15039         `major-mode' from the `derived-mode-p' test.
15041 2012-02-02  Kenichi Handa  <handa@m17n.org>
15043         * composite.el (compose-region): Cancel previous change.
15045 2012-02-02  Kenichi Handa  <handa@m17n.org>
15047         * composite.el (compose-region, compose-string): Signal error for
15048         a null string component (Bug#6988).
15050 2012-02-01  Chong Yidong  <cyd@gnu.org>
15052         * view.el (view-buffer-other-window, view-buffer-other-frame):
15053         Handle special modes like view-buffer (Bug#10650).
15054         (view-buffer): Simplify.
15056         * frame.el (set-frame-font): Tweak meaning of third argument.
15058         * dynamic-setting.el (font-setting-change-default-font):
15059         Use set-frame-font (Bug#9982).
15061 2012-02-01  Glenn Morris  <rgm@gnu.org>
15063         * progmodes/compile.el (compilation-internal-error-properties):
15064         Respect compilation-first-column in the "*compilation*" buffer.
15066         * emacs-lisp/easy-mmode.el (define-minor-mode):
15067         Relax :variable's test for a named function.
15069 2012-01-31  Alan Mackenzie  <acm@muc.de>
15071         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15072         off by one error.
15074 2012-01-31  Chong Yidong  <cyd@gnu.org>
15076         * frame.el (set-frame-font): New arg ALL-FRAMES.
15078         * menu-bar.el (menu-set-font): Use set-frame-font.
15080         * faces.el (face-spec-reset-face): Don't apply unspecified
15081         attribute values to the default face.
15083 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
15085         * progmodes/cwarn.el (cwarn): Remove dead link.
15086         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15087         Remove * from defcustom docstrings.
15088         (turn-on-cwarn-mode): Make obsolete.
15089         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15090         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15092 2012-01-31  Glenn Morris  <rgm@gnu.org>
15094         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15095         Fix :variable handling of mode a symbol not equal to modefun.
15096         Allow named functions to be used as the cdr of :variable.
15098 2012-01-30  Glenn Morris  <rgm@gnu.org>
15100         * emacs-lisp/authors.el (authors-fixed-entries):
15101         Remove reference to deleted file rnewspost.el.
15103 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
15105         * window.el (window-with-parameter): Remove unused variable `windows'.
15106         (window--side-check): Remove unused variable `code'.
15107         (window--resize-siblings): Remove unused variable `first'.
15108         (adjust-window-trailing-edge): Remove unused variable `failed'.
15109         (window-deletable-p, window--delete): Remove unused variable `buffer'.
15110         Use `let', not `let*'.
15111         (balance-windows-2): Remove unused variable `found'.
15112         (window--state-put-2): Remove unused variable `splits'.
15113         (window-state-put): Remove unused variable `selected'.
15114         (same-window-p): Use `string-match-p'.
15115         (display-buffer-assq-regexp): Remove unused variable `value'.
15116         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15117         Mark argument ALIST as ignored.
15118         (pop-to-buffer): Remove unused variable `old-window'.
15120 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
15122         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15123         and .lzma compressed files.
15125 2012-01-29  Chong Yidong  <cyd@gnu.org>
15127         * frame.el (window-system-default-frame-alist): Doc fix.
15129         * dynamic-setting.el (font-setting-change-default-font): Don't
15130         change the default face if SET-FONT argument is non-nil (Bug#9982).
15132 2012-01-29  Samuel Bronson  <naesten@gmail.com>
15134         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15136 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
15138         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15139         breakpoints in files outside current directory (Bug#6098).
15141 2012-01-29  Chong Yidong  <cyd@gnu.org>
15143         * progmodes/python.el: Require ansi-color at top-level.
15145         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15146         Define and use in Emacs Lisp mode (Bug#9360).
15147         (lisp-mode-abbrev-table): Add doc.
15148         (lisp-mode-variables): Don't set local-abbrev-table.
15149         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15151 2012-01-28  Roland Winkler  <winkler@gnu.org>
15153         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15155 2012-01-28  Roland Winkler  <winkler@gnu.org>
15157         * textmodes/bibtex.el (bibtex-entry-alist): New function.
15158         (bibtex-set-dialect): Use it.  Either set global values of
15159         dialect-dependent variables or bind these variables buffer-locally
15160         (Bug#10254).
15161         (bibtex-mode): Call bibtex-set-dialect via
15162         hack-local-variables-hook.
15163         (bibtex-dialect): Update docstring.
15164         Add safe-local-variable predicate.
15165         (bibtex-entry-alist, bibtex-field-alist): Initialize via
15166         bibtex-set-dialect.
15167         (bibtex-mode-map): Define menu for each dialect.
15168         (bibtex-entry): Fix docstring.
15170 2012-01-28  Chong Yidong  <cyd@gnu.org>
15172         * eshell/esh-arg.el (eshell-quote-argument): New function.
15174         * eshell/esh-ext.el (eshell-invoke-batch-file):
15175         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15176         first arg to eshell-parse-command (Bug#10523).
15178 2012-01-28  Drew Adams  <drew.adams@oracle.com>
15180         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15181         `default-directory' is non-nil.
15183 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
15185         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15186         line that displays system-configuration-options.  (Bug#9924)
15188 2012-01-28  Drew Adams  <drew.adams@oracle.com>
15190         * descr-text.el (describe-char): Show information about POS, in
15191         addition to information about the character at POS.  Improve and
15192         update the doc string.  Change "code point" to "code point in
15193         charset", to avoid confusion with the character's Unicode code
15194         point shown above that.  (Bug#10129)
15196 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
15198         * descr-text.el (describe-char): Show the raw character, not only
15199         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
15200         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15201         for the reasons.
15203 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
15205         * emacs-lisp/package.el (package-install):
15206         Run package-refresh-contents if there is no archive yet (Bug#9798).
15208 2012-01-28  Chong Yidong  <cyd@gnu.org>
15210         * emacs-lisp/package.el (package-maybe-load-descriptor):
15211         New function, split from package-maybe-load-descriptor.
15212         (package-maybe-load-descriptor): Use it.
15213         (package-download-transaction): Fully load required packages
15214         inside the loop, so that `require' calls work (Bug#10593).
15215         (package-install): No need to call package-initialize now.
15217 2012-01-28  Chong Yidong  <cyd@gnu.org>
15219         * simple.el (deactivate-mark): Doc fix (Bug#8614).
15221         * tooltip.el (tooltip-mode): Doc fix.
15222         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15224         * frame.el (set-cursor-color): Doc fix (Bug#352).
15226         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15227         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15229         * cus-edit.el (custom-buffer-create-internal): Fix search button
15230         action (Bug#10542).
15231         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15233 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
15235         * dired.el (dired-mark-files-regexp):
15236         Include any subdirectory components.  (Bug#10445)
15238 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
15240         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15241         Handle [host]:port syntax.  (Bug#10533)
15243 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
15245         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15247 2012-01-26  Glenn Morris  <rgm@gnu.org>
15249         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15250         * term.el (term-raw-escape-map): Use Control-X-prefix.
15251         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
15253 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
15255         * window.el (window-state-get, window--state-get-1): Don't deal
15256         with fixed-sizeness of windows.  Simplify code.
15258 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
15260         * window.el (window--state-get-1, window--state-put-2):
15261         Don't save and restore the mark.
15263 2012-01-25  Chong Yidong  <cyd@gnu.org>
15265         * custom.el (custom-variable-p): Doc fix.
15267 2012-01-25  Glenn Morris  <rgm@gnu.org>
15269         * dired.el (dired-goto-file): Handle some of the more common
15270         characters that `ls -b' escapes.  (Bug#10596)
15272         * progmodes/compile.el (compilation-next-error-function):
15273         Respect compilation-first-column in the "*compilation*" buffer.
15274         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
15276         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
15278 2012-01-24  Glenn Morris  <rgm@gnu.org>
15280         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
15282 2012-01-24  Julien Danjou  <julien@danjou.info>
15284         * color.el (color-rgb-to-hsl): Fix value computing.
15285         (color-hue-to-rgb): New function.
15286         (color-hsl-to-rgb): New function.
15287         (color-clamp, color-saturate-hsl, color-saturate-name)
15288         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15289         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15291 2012-01-24  Glenn Morris  <rgm@gnu.org>
15293         * vc/vc-rcs.el (vc-rcs-create-tag):
15294         * vc/vc-sccs.el (vc-sccs-create-tag):
15295         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
15297 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
15299         * eshell/esh-util.el (eshell-read-hosts-file):
15300         Skip comment lines.  (Bug#10549)
15302         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
15304 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
15306         * subr.el (display-delayed-warnings): Doc fix.
15307         (collapse-delayed-warnings): New function to collapse identical
15308         adjacent warnings.
15309         (delayed-warnings-hook): Add it.
15311 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
15313         * net/tramp.el (tramp-action-login): Set connection property "login-as".
15315         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15316         (tramp-default-user-alist): Don't add "pscp".
15317         (tramp-do-copy-or-rename-file-out-of-band): Use connection
15318         property "login-as", if set.  (Bug#10530)
15320 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
15322         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15323         "plink1" and "psftp".  (Bug#10530)
15325 2012-01-21  Kenichi Handa  <handa@m17n.org>
15327         * international/mule-cmds.el (prefer-coding-system): Show a
15328         warning message if the default value of file-name-coding-system
15329         was not changed.
15331 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
15333         * windmove.el (windmove-reference-loc):
15334         Fix windmove-reference-loc miscalculation.
15336 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
15338         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15339         default unit.
15341 2012-01-21  Glenn Morris  <rgm@gnu.org>
15343         * international/mule.el (auto-coding-alist): Add .tbz.
15345         * files.el (local-enable-local-variables): Doc fix.
15346         (inhibit-local-variables-regexps): Rename from
15347         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
15348         Doc fix.  Add some extensions from auto-coding-alist.
15349         (inhibit-local-variables-suffixes):
15350         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
15351         (inhibit-local-variables-p):
15352         New function, extracted from set-auto-mode-1.
15353         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
15354         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
15355         (hack-local-variables): Doc fix.  Make the mode-only case
15356         respect enable-local-variables and friends.
15357         Respect inhibit-local-variables-regexps for file-locals, but
15358         not for directory-locals.
15359         (set-visited-file-name):
15360         Take account of inhibit-local-variables-regexps.
15361         Whether it applies may change as the file name is changed.
15362         * jka-cmpr-hook.el (jka-compr-install):
15363         * jka-compr.el (jka-compr-uninstall):
15364         Update for inhibit-first-line-modes-suffixes name change.
15366 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
15368         * help-macro.el (make-help-screen): Temporarily restore original
15369         binding for minor-mode-map-alist (Bug#10454).
15371 2012-01-19  Julien Danjou  <julien@danjou.info>
15373         * color.el (color-name-to-rgb): Use the white color to find the max
15374         color component value and return correctly computed values.
15375         (color-name-to-rgb): Add missing float conversion for max value.
15377 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
15379         * window.el (window--state-get-1, window-state-get): Do not use
15380         special state value for window-persistent-parameters.
15381         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
15382         (window--state-put-2): Reset all window parameters to nil before
15383         assigning values of persistent parameters.
15385 2012-01-18  Alan Mackenzie  <acm@muc.de>
15387         Eliminate sluggishness and hangs in fontification of "semicolon
15388         deserts".
15390         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15391         Change value 10000 -> 3000.
15392         (c-state-safe-place): Reformulate so it doesn't stack up an
15393         infinite number of wrong entries in c-state-nonlit-pos-cache.
15394         (c-determine-limit-get-base, c-determine-limit): New functions to
15395         determine backward search limits disregarding literals.
15396         (c-find-decl-spots): Amend commenting.
15397         (c-cheap-inside-bracelist-p): New function which detects "={".
15399         * progmodes/cc-fonts.el
15400         (c-make-font-lock-BO-decl-search-function): Give a limit to a
15401         backward search.
15402         (c-font-lock-declarations): Fix an occurrence of point being
15403         undefined.  Check additionally for point being in a bracelist or
15404         near a macro invocation without a semicolon so as to avoid a
15405         fruitless time consuming search for a declarator.  Give a more
15406         precise search limit for declarators using the new
15407         c-determine-limit.
15409 2012-01-18  Glenn Morris  <rgm@gnu.org>
15411         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15412         (set-auto-mode): Doc fixes.
15414 2012-01-17  Glenn Morris  <rgm@gnu.org>
15416         * isearch.el (search-nonincremental-instead): Fix doc typo.
15418         * dired.el (dired-insert-directory): Handle newlines in directory name.
15419         (dired-build-subdir-alist): Unescape newlines in directory name.
15421 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
15423         * net/tramp.el (tramp-local-end-of-line): New defcustom.
15424         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15425         (tramp-action-terminal): Use it.  (Bug#10530)
15427 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15429         * minibuffer.el (completion--replace): Strip properties (bug#10062).
15431 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
15433         * window.el (window-state-ignored-parameters): Remove variable.
15434         (window--state-get-1): Rename argument MARKERS to IGNORE.
15435         Handle persistent window parameters.  Make copy of clone-of
15436         parameter only if requested.  (Bug#10348)
15437         (window--state-put-2): Install a window parameter only if it has
15438         a non-nil value or an existing parameter shall be overwritten.
15440 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
15442         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15444 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
15446         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15447         don't pass the (nil) value of `upnode' to string-match.
15449 2012-01-14  Chong Yidong  <cyd@gnu.org>
15451         * startup.el (command-line): Fix X resource class for cursorColor.
15452         Fix values recognized by the cursorBlink resource.
15454 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
15456         * epg.el (epg--make-temp-file): Avoid permission race condition
15457         when running on old Emacs versions (bug#10403).
15459 2012-01-14  Glenn Morris  <rgm@gnu.org>
15461         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15463 2012-01-13  Alan Mackenzie  <acm@muc.de>
15465         Fix filling for when filladapt mode is enabled.
15467         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15468         c-mask-paragraph, pass in `fill-paragraph' rather than
15469         `fill-region-as-paragraph'.  (This is a reversion of a previous
15470         change.)
15471         * progmodes/cc-mode.el (c-basic-common-init):
15472         Make fill-paragraph-handle-comment buffer local and set it to nil.
15474 2012-01-13  Glenn Morris  <rgm@gnu.org>
15476         * dired.el (dired-switches-escape-p): New function.
15477         (dired-insert-directory): Use dired-switches-escape-p.
15478         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
15480         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
15482 2012-01-12  Glenn Morris  <rgm@gnu.org>
15484         * mail/sendmail.el (mail-mode): Update paragraph-separate for
15485         changes in adaptive-fill-regexp.  (Bug#10276)
15487 2012-01-11  Alan Mackenzie  <acm@muc.de>
15489         Fix Emacs bug #10463 - put `widen's around the critical spots.
15491         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15492         widen around each invocation of c-state-pp-to-literal.  Remove an
15493         unused let variable.
15495 2012-01-11  Glenn Morris  <rgm@gnu.org>
15497         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
15498         Doc fix.
15500 2012-01-10  Chong Yidong  <cyd@gnu.org>
15502         * net/network-stream.el (network-stream-open-starttls):
15503         Avoid emitting a confusing error message when the server gives a bad
15504         response to the capability command.
15506 2012-01-10  Glenn Morris  <rgm@gnu.org>
15508         * mail/unrmail.el (unrmail): Tweak previous change.
15510 2012-01-09  Chong Yidong  <cyd@gnu.org>
15512         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15514 2012-01-08  Alan Mackenzie  <acm@muc.de>
15516         Optimize font locking in long enum definitions.
15518         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15519         arm to a cond form to handle enums.
15520         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15521         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15523 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
15525         * files.el (move-file-to-trash): Preserve default file modes on error.
15526         (Bug#10401)
15528 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15530         * faces.el (set-face-attribute): Clarify the meaning of the nil
15531         frame (bug#10294).
15533         * subr.el (with-selected-frame): Mention that the selected frame
15534         is restored (bug#9980).
15536         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15537         (bug#9759).
15539         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15540         (password-read): Don't autoload unused function.
15542 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
15544         * progmodes/which-func.el (which-func-mode): Turn into a
15545         non-interactive function and mark as obsolete (bug#10428).
15547 2012-01-06  Chong Yidong  <cyd@gnu.org>
15549         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15550         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15551         functions, along with 1 and -1.
15553 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
15555         * time.el (display-time-load-average)
15556         (display-time-default-load-average): Doc fixes.  See the thread
15557         starting at
15558         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15559         for the details.
15561 2012-01-06  Glenn Morris  <rgm@gnu.org>
15563         * mail/unrmail.el (unrmail): Give an explicit error if the input file
15564         has no messages.  (Bug#10377)
15566         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15567         than Info-edit.  (Bug#10385)
15569         * time.el (display-time-load-average, display-time-next-load-average):
15570         Doc fixes.
15572         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15573         local setting of buffer-read-only to the input buffer.  (Bug#10419)
15575         * calendar/calendar.el (calendar-mode):
15576         Locally set scroll-margin to 0.  (Bug#10379)
15578 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
15580         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
15582 2012-01-05  Glenn Morris  <rgm@gnu.org>
15584         * eshell/em-unix.el (diff-no-select): Autoload it.
15585         (eshell/diff): Use diff-no-select.  (Bug#10420)
15587 2012-01-05  Chong Yidong  <cyd@gnu.org>
15589         * shell.el (shell-dynamic-complete-functions): Revert last change.
15590         (shell-command-completion-function): New function.
15591         (shell-completion-vars): Use it to implement
15592         shell-completion-execonly (Bug#10417).
15594         * custom.el (enable-theme): Don't set custom-safe-themes.
15596         * cus-theme.el (custom-theme-merge-theme):
15597         Ignore custom-enabled-themes and custom-safe-themes.
15599 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
15601         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15602         first prompt in `sql-interacive-mode'.
15603         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15604         keywords.
15605         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15606         (sql-product-interactive): Bug fix: Set `sql-buffer' in
15607         context of original buffer.  Invoke `sql-login-hook'.
15609 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
15611         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15612         letters in cite-prefix.
15614 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15616         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15618 2012-01-03  Chong Yidong  <cyd@gnu.org>
15620         * shell.el (shell-dynamic-complete-functions):
15621         Put pcomplete-completions-at-point, so as to try
15622         comint-filename-completion first (Bug#10417).
15624 2012-01-02  Richard Stallman  <rms@gnu.org>
15626         * battery.el (battery-status-function):
15627         Detect when to use battery-yeeloong-sysfs.
15628         (battery-echo-area-format): Add string for Yeeloong.
15629         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15630         (battery-yeeloong-sysfs): New function.
15632 2012-01-02  Chong Yidong  <cyd@gnu.org>
15634         * dirtrack.el (dirtrack-list): Eliminate unused third element.
15635         (dirtrack): Merge code for handling relative filenames in prompt
15636         from shell-dir-cookie-watcher.
15637         (dirtrack-debug-message): New arg to avoid excess format calls.
15639         * shell.el (shell-dir-cookie-re): Variable deleted.
15640         (shell-dir-cookie-watcher): Function deleted.
15641         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15642         with dirtrack-mode.
15644 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
15646         * term/w32-win.el (dynamic-library-alist) <gnutls>:
15647         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15648         libgnutls-26.dll.
15650 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
15652         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15654 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
15656         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15657         headers of non-MIME messages, when rmail-enable-mime is non-nil.
15659 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
15661         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15662         also for alternative shells.
15663         (tramp-open-connection-setup-interactive-shell): Check, whether
15664         the shell is a busybox.
15665         (tramp-send-command): Don't suppress multiple prompts for
15666         busyboxes, it hurts.
15668 2011-12-28  Chong Yidong  <cyd@gnu.org>
15670         * progmodes/gdb-mi.el (gdb-get-source-file-list)
15671         (gdb-get-source-file): Move mode line update to
15672         gdb-get-source-file (Bug#10087).
15674 2011-12-25  Chong Yidong  <cyd@gnu.org>
15676         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15677         gud-gdb-marker-filter without taking it as an argument.
15678         (gud-gdb-run-command-fetch-lines): Caller changed.
15679         (gud-gdb-completion-function): New variable.
15680         (gud-gdb-completion-at-point): Use it.
15681         (gud-gdb-completions-1): Split from gud-gdb-completions.
15683         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15684         function as separate arguments.
15685         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15686         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15687         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15688         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15689         (gdb-stopped, def-gdb-auto-update-trigger)
15690         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15691         (gdb-get-changed-registers, gdb-get-main-selected-frame):
15692         Callers changed.
15693         (gud-gdbmi-completions): New function.
15694         (gdb): Use it for generating the completion table.
15696 2011-12-24  Alan Mackenzie  <acm@muc.de>
15698         Introduce a mechanism to widen the region used in context font
15699         locking.  Use this to protect declarations from losing their contexts.
15701         * progmodes/cc-langs.el (c-before-font-lock-functions):
15702         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15703         (c-before-context-fontification-functions): New defvar, a list of
15704         functions to be run just before context (etc.) font locking.
15706         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15707         New, functionality extracted from
15708         c-neutralize-syntax-in-and-mark-CPP.
15709         (c-in-after-change-fontification): New variable.
15710         (c-after-change): Set c-in-after-change-fontification.
15711         (c-set-fl-decl-start): Rejig its interface, so it can be called
15712         from both after-change and context fontifying.
15713         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15714         New functions.
15715         (c-standard-font-lock-fontify-region-function): New variable.
15716         (c-font-lock-fontify-region): New function.
15718 2011-12-24  Juri Linkov  <juri@jurta.org>
15720         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15721         (Bug#10348)
15723 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
15725         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15726         existence of source file.  (Bug#10325)
15728 2011-12-23  Alan Mackenzie  <acm@muc.de>
15730         Fix unstable fontification inside templates.
15732         * progmodes/cc-langs.el (c-before-font-lock-functions):
15733         Newly created from the singular version.  The (c c++ objc) entry now
15734         additionally has c-set-fl-decl-start.  The other languages (apart
15735         from AWK) have that as a single entry.
15737         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15738         The functionality for "local" declarations has been extracted to
15739         c-set-fl-decl-start.
15741         * progmodes/cc-mode.el (c-common-init, c-after-change):
15742         Changes due to pluralisation of c-before-font-lock-functions.
15743         (c-set-fl-decl-start): New function, extracted from
15744         c-font-lock-enclosing-decls and enhanced.
15746 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
15748         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15750 2011-12-22  Juri Linkov  <juri@jurta.org>
15752         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
15754 2011-12-22  Chong Yidong  <cyd@gnu.org>
15756         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15758 2011-12-21  Drew Adams  <drew.adams@oracle.com>
15760         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
15762 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
15764         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15766 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
15768         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
15769         highlighting and support.  Fix up comments for capitalization.
15770         (cfengine-mode-debug): New var.
15771         (cfengine3-mode): Change the modeline indicator to "CFE3".
15772         (cfengine3-font-lock-keywords): Improve defun highlighting.
15773         (cfengine2-actions): Rename from `cfengine-actions'.
15774         (cfengine2-font-lock-keywords): Rename from
15775         `cfengine-font-lock-keywords'.
15776         (cfengine2-imenu-expression): Rename from
15777         `cfengine-imenu-expression'.
15778         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15779         (cfengine2-beginning-of-defun): Rename from
15780         `cfengine-beginning-of-defun'.
15781         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15782         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15783         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
15784         modeline indicator to "CFE2".
15785         (cfengine-mode): Defalias to `cfengine-auto-mode'.
15786         (cfengine-mode-abbrevs): Mark obsolete.
15788 2011-12-21  Chong Yidong  <cyd@gnu.org>
15790         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15791         filename argument.
15793 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
15795         * window.el (window-normalize-buffer-to-display): Remove.
15796         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15798 2011-12-19  Chong Yidong  <cyd@gnu.org>
15800         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15801         Don't signal an error in a predicate function; return non-nil.
15802         (vc-dir-mark-file): Move the error here.
15803         (vc-dir-mark-unmark): If acting on the region, keep going if one
15804         of the entries cannot be marked/unmarked.
15805         (vc-dir-mark-all-files): If current entry is a directory, mark
15806         only child files, as documented.
15808 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15810         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15811         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15812         addition.
15814 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
15816         * term/ns-win.el (ns-get-selection-internal)
15817         (ns-store-selection-internal): Declare.
15818         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15819         Declare as obsolete.
15820         (ns-get-pasteboard, ns-paste-secondary):
15821         Use ns-get-selection-internal.
15822         (ns-set-pasteboard, ns-copy-including-secondary):
15823         Use ns-store-selection-internal.
15825 2011-12-17  Chong Yidong  <cyd@gnu.org>
15827         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15828         (vc-deduce-fileset): Doc fix.
15830 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
15832         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15834 2011-12-13  Sam Steingold  <sds@gnu.org>
15836         * man.el (Man-getpage-in-background): When running under a
15837         window-system, ignore $MANWIDTH and $COLUMNS.
15839 2011-12-15  Kenichi Handa  <handa@m17n.org>
15841         * language/ethio-util.el: Change coding tag to utf-8-emacs.
15842         (setup-ethiopic-environment-internal): Comment out key-binding for
15843         ethio-toggle-punctuation.
15845 2011-12-13  Alan Mackenzie  <acm@muc.de>
15847         Add the switch statement to AWK Mode.
15849         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15850         "default" to the keywords regexp.
15852         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15853         expression as the rest.
15854         (c-nonlabel-token-key): Allow string literals for AWK.
15855         Refactor for the other modes.
15857         Large brace-block initialisation makes CC Mode slow: Fix.
15858         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15859         routines.  Limit backward searching in c-font-lock-enclosing.decl.
15861         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15862         pp-state and literal type in addition to the limits.
15863         (c-state-safe-place): New defun, extracted from c-state-literal-at.
15864         (c-state-literal-at): Use the above new defun.
15865         (c-slow-in-literal, c-fast-in-literal): Remove.
15866         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15868         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15869         being in a literal.  Add a limit for backward searching.
15871         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15872         c-slow-in-literal.
15874 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15876         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15878 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
15880         * window.el (delete-other-windows): Use correct frame in call to
15881         window-with-parameter.
15883 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
15885         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15886         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15887         (makefile-gmake-statements, makefile-makepp-statements):
15888         Use it and add new makepp keywords.
15889         (makefile-makepp-font-lock-keywords): Add new patterns.
15890         (makefile-match-function-end): Match new [...] and [[...]].
15892 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
15894         * ses.el (ses-call-printer-return, ses-cell-property-get)
15895         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15896         (ses-create-cell-variable, ses-reset-header-string)
15897         (ses-cell-set-formula, ses-repair-cell-reference-all)
15898         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15899         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15900         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15901         (ses-aset-with-undo, ses-load, ses-truncate-cell)
15902         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15903         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15904         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15905         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15906         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15907         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15908         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15909         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15911 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15913         * ses.el: The overall change is to add cell renaming, that is
15914         setting fancy names for cell symbols other than name matching
15915         "\\`[A-Z]+[0-9]+\\'" regexp .
15916         (ses-create-cell-variable): New defun.
15917         (ses-relocate-formula): Relocate formulas only for cells the
15918         symbols of which are not renamed, i.e. symbols whose names do not
15919         match regexp "\\`[A-Z]+[0-9]+\\'".
15920         (ses-relocate-all): Relocate values only for cells the symbols of
15921         which are not renamed.
15922         (ses-load): Create cells variables as the (ses-cell ...) are read,
15923         in order to check row col consistency with cell symbol name only
15924         for cells that are not renamed.
15925         (ses-replace-name-in-formula): New defun.
15926         (ses-rename-cell): New defun.
15928 2011-12-11  Chong Yidong  <cyd@gnu.org>
15930         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15931         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15933 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
15935         * window.el (other-window): Fix docstring.
15937 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
15939         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15940         `from' or `to' address before taking its substring.
15941         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15942         encoded name is chopped in the middle of the encoded string, and
15943         thus displayed encoded.
15945 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
15947         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15949 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
15951         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
15952         to use texinfo-update-node and commands that call it if the
15953         Texinfo file uses @node lines without next/prev/up pointers.
15954         Correct outdated description about texinfo-master-menu.
15955         (texinfo-all-menus-update, texinfo-master-menu)
15956         (texinfo-update-node, texinfo-every-node-update)
15957         (texinfo-multiple-files-update): Doc fix.  Warn against updating
15958         all the @node lines.
15959         (texinfo-master-menu): Only call texinfo-update-node if the prefix
15960         argument is numeric.  Explain better in the doc string what the
15961         function really does.
15962         (texinfo-insert-master-menu-list): Improve the error message
15963         displayed if there's no menu in the Top node.
15964         (Bug#2975)  See also this thread:
15965         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15967 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
15969         * speedbar.el (speedbar-supported-extension-expressions):
15970         Add .adb and .ads, commonly used for Ada source code (bug#10256).
15972 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
15974         * printing.el (pr-mode-alist):
15975         * simple.el (filter-buffer-substring-functions)
15976         (completion-list-insert-choice-function):
15977         * window.el (window-with-parameter, window-atom-root)
15978         (window-sides-slots, window-size-fixed, window-min-delta)
15979         (window-max-delta, window--resize-mini-window)
15980         (window--resize-child-windows-normal, window-tree)
15981         (delete-other-windows, quit-window, split-window)
15982         (display-buffer-record-window, special-display-buffer-names)
15983         (special-display-regexps, special-display-popup-frame)
15984         (same-window-p, split-window-sensibly)
15985         (display-buffer-overriding-action, display-buffer-alist)
15986         (display-buffer-base-action, display-buffer, switch-to-buffer)
15987         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15988         (fit-window-to-buffer, recenter-positions)
15989         (mouse-autoselect-window-state, mouse-autoselect-window-select):
15990         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15991         and remove unneeded backslashes in docstrings.
15993 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15995         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15997         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15998         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15999         end in ".mk".
16000         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16001         when reading the makefile (bug#10116).
16003 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16005         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16006         (bug#10116).
16008 2011-12-06  Glenn Morris  <rgm@gnu.org>
16010         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16012 2011-12-06  Chong Yidong  <cyd@gnu.org>
16014         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16016 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
16018         * textmodes/table.el (table-shorten-cell): Fix typo.
16020 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
16022         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16024 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
16026         * descr-text.el (describe-char): Fix display of strong
16027         right-to-left characters and directional embeddings and overrides.
16029         * simple.el (what-cursor-position): Fix display of codepoints of
16030         strong right-to-left characters.
16032 2011-12-05  Chong Yidong  <cyd@gnu.org>
16034         * faces.el (read-color): Doc fix.
16036 2011-12-05  Glenn Morris  <rgm@gnu.org>
16038         * align.el (align--set-marker): Add doc-string.
16039         Don't try to move something that is not a marker.  (Bug#10216)
16041 2011-12-04  Glenn Morris  <rgm@gnu.org>
16043         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16044         overly zealous deletion of trailing whitespace.
16046 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
16048         * server.el (server-delete-client): On Windows, do not try to delete
16049         the only terminal.
16050         (server-process-filter): On Windows, treat requests for a tty frame as
16051         if they were for a GUI frame if the running server is in GUI mode.
16053 2011-12-03  Glenn Morris  <rgm@gnu.org>
16055         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
16057 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16059         * electric.el: Streamline electric-indent's hook.
16060         (electric-indent-chars): Revert to simple list.
16061         (electric-indent-functions): New var.
16062         (electric-indent-post-self-insert-function): Use it.
16064         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16065         there's no inferior buffer (bug#10196).
16066         (prolog-consult-compile): Don't use toggle-read-only.
16068 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
16070         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16071         interrupt.  (Bug#10187)
16073 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16075         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16076         (bug#9160).
16078         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16079         (bug#10191).
16081 2011-12-02  Juri Linkov  <juri@jurta.org>
16083         * info.el (Info-search): Display "end of manual" when Isearch
16084         reaches the end of single-file Info manual.  (Bug#9918)
16086 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
16088         * isearch.el (isearch-message-prefix): Run the input method part
16089         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
16091 2011-12-02  Juri Linkov  <juri@jurta.org>
16093         * isearch.el (isearch-occur): Use `word-search-regexp' for
16094         `isearch-word'.
16095         (isearch-search-and-update): Add condition for `isearch-word' and
16096         call `word-search-regexp'.  (Bug#10145)
16098 2011-12-01  Glenn Morris  <rgm@gnu.org>
16100         * eshell/em-hist.el (eshell-hist-initialize):
16101         Handle eshell-history-size nil and HISTSIZE set or unset.
16102         (eshell-history-file-name, eshell-history-size): Fix custom type.
16104 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16106         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16108 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
16110         * progmodes/verilog-mode.el (verilog-pretty-expr):
16111         Rework verilog-pretty-expr to handle new assignment operators in system
16112         verilog, such as += *= and the like.
16113         (verilog-assignment-operator-re): Regular expression to find the
16114         assigment operator in a verilog assignment.
16115         (verilog-assignment-operation-re): Regular expression to find an
16116         assignment statement for pretty-expr.
16117         (verilog-in-attribute-p): Query returns true if point is in an
16118         attribute context; used to skip these for expression line up from
16119         pretty-expr.
16120         (verilog-in-parameter-p): Query returns true if point is in an
16121         parameter definition context; used to skip these for expression
16122         line up from pretty-expr.
16123         (verilog-in-parenthesis-p): Query returns true if point is in a
16124         parenthetical expression, specifically ( ) but not [ ] or { };
16125         used by pretty-expr.
16126         (verilog-just-one-space): If there is no space, don't add one.
16127         (verilog-get-lineup-indent-2): Specifically skip just attribute
16128         contexts for expression lineup, rather than skipping all
16129         parenthetical expressions.
16130         (verilog-calculate-indent): Fix comment, and fix indent.
16131         (verilog-do-indent): Indent declarations in lists (suggested by
16132         Joachim Lechner).
16133         (verilog-mode-abbrev-table): Populate abbrev mode with the various
16134         skeleton items.
16135         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16136         by Alain Mellan).
16138 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
16140         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16141         parameters with embedded comments.  Reported by Ray Stevens.
16142         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16143         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16144         Reported by Tim Holt.
16145         (verilog-auto): Fix AUTOing a upper module then AUTOing module
16146         instantiated by upper module causing wrong expansion until AUTOed a
16147         second time.  Reported by K C Buckenmaier.
16148         (verilog-diff-auto): Fix showing .* as a difference when
16149         `verilog-auto-star-save' off.  Reported by Dan Dever.
16150         (verilog-auto-reset, verilog-read-always-signals)
16151         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16152         temporary signals in reset list if
16153         verilog-auto-reset-blocking-in-non is nil, and match assignment
16154         style to each signal's assignment type, bug381.
16155         Reported by Thomas Esposito.
16156         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16157         (verilog-uvm-statement-re): Support UVM indentation and
16158         highlighting, with old OVM keywords only.
16159         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16160         Support AUTOTIEOFF creating non-wire data types.
16161         Suggested by Jonathan Greenlaw.
16162         (verilog-auto-insert-lisp, verilog-delete-to-paren)
16163         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16164         (verilog-inject-sense, verilog-read-inst-pins)
16165         (verilog-read-sub-decls, verilog-read-sub-decls-line):
16166         Fix mismatching parenthesis inside commented out code when deleting
16167         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
16168         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16169         non-numeric vector width.  Reported by Alex Reed.
16170         (verilog-auto-ascii-enum): Add "onehot" option to work around not
16171         detecting signals with parameter widths.  Reported by Alex Reed.
16172         (verilog-auto-delete-trailing-whitespace):
16173         With `verilog-auto-delete-trailing-whitespace' remove trailing
16174         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
16175         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16176         Fix verilog-scan-cache corruption when running user AUTO expansion
16177         hooks that call indentation routines.
16178         (verilog-simplify-range-expression): Fix typo ignoring lower case
16179         identifiers.
16180         (verilog-delete-auto): Fix delete-autos to also remove user created
16181         automatics, as long as they start with AUTO.
16182         (verilog-batch-diff-auto, verilog-diff-auto)
16183         (verilog-diff-function): Add `verilog-diff-auto' and bind to
16184         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
16185         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16186         (verilog-in-paren-quick, verilog-re-search-backward-quick)
16187         (verilog-re-search-forward-quick, verilog-syntax-ppss):
16188         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16189         is disabled and its cache will get corrupt, causing AUTOS not to
16190         expand.  Instead use only -quick functions.
16191         (verilog-scan-region): Fix scanning over escaped quotes.
16192         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16193         (verilog-re-search-backward-quick)
16194         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16195         related functions now ignore strings, to fix misparsing of strings
16196         with magic comments embedded in them.
16197         (verilog-read-auto-template):
16198         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16199         Reported by Brad Dobbie.
16200         (verilog-read-auto-template):
16201         Fix 'verilog-auto-inst-template-numbers' with comments.
16202         Reported by Brad Dobbie.
16203         (verilog-auto-inst, verilog-auto-inst-param)
16204         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16205         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
16206         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16207         debugging templates without merge conflicts, bug357.
16208         Reported by Brad Dobbie.
16209         (verilog-read-auto-template):
16210         Fix verilog-auto-inst-template-numbers with multiple templates.
16211         Reported by Brad Dobbie.
16212         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16213         abbrevs so user won't be asked to save.
16214         (verilog-read-auto-lisp-present): Fix to start at beginning of
16215         buffer in case called outside of verilog-auto.
16216         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16217         to "X-2".  Reported by Matthew Myers.
16218         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16219         all inputs from module templates.  Reported by Leith Johnson.
16220         (verilog-module-inside-filename-p): Fix locating programs as with
16221         modules.
16222         (verilog-auto-inst-port): Fix vl-width expressions when using
16223         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
16224         (verilog-decls-get-regs, verilog-decls-get-signals,
16225         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16226         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16227         verilog-read-decls): Combine reg and wire structures into one var
16228         structure to represent SystemVerilog concepts.
16229         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16230         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16231         (verilog-auto-wire-type, verilog-insert-definition):
16232         Add verilog-auto-wire-type and AUTOLOGIC to support using
16233         SystemVerilog "logic" keyword instead of "wire"/"reg".
16234         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16235         to declares outputs that also have assignments (presumably in an
16236         ifdef or generate if so there's not a driver conflict).
16237         Reported by Matthew Myers.
16238         (verilog-auto-declare-nettype, verilog-insert-definition):
16239         Add verilog-auto-declare-nettype to fix declarations using
16240         `default_nettype none.  Reported by Julian Gorfajn.
16241         (verilog-read-always-signals-recurse, verilog-read-decls)
16242         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16243         malformed end statement, bug325.  Reported by Joshua Wise and
16244         Andrew Drake.
16245         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16246         (verilog-inst-comment-re): Fix not deleting Interfaced comment
16247         when expanding .* in interfaces, bug320.
16248         Reported by Pierre-David Pfister.
16249         (verilog-read-module-name): Fix import statements between module
16250         name and open parenthesis, bug317.
16251         Reported by Pierre-David Pfister.
16252         (verilog-simplify-range-expression): Fix simplification of
16253         multiplications inside AUTOWIRE connections, bug303.
16254         (verilog-auto-inst-port): Support parameter expansion in
16255         multidimensional arrays.
16256         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16257         after "assert property".  Reported by Julian Gorfajn.
16258         (verilog-simplify-range-expression): Fix "couldn't merge" errors
16259         with multiplication, bug303.
16260         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16261         Reported by Jan Frode Lonnum.
16263 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
16265         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16266         (hfy-shell-file-name, hfy-shell):
16267         * international/fontset.el (x-decompose-font-name): Fix typos.
16269 2011-11-29  Ken Brown  <kbrown@cornell.edu>
16271         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16272         (gdb-version): Remove defvar.
16273         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16274         (gdb-gud-context-command, gdb-non-stop-handler)
16275         (gdb-current-context-command, gdb-stopped): Use it.
16276         (gdb-init-1): Enable pretty printing here.
16277         (gdb-non-stop-handler): Don't enable pretty-printing here.
16278         Check to see if the target supports non-stop mode; if not, turn off
16279         non-stop mode.  Use the following.
16280         (gdb-check-target-async): New defun.
16281         (gud-watch, gdb-stopped): Fix whitespace.
16282         (gdb-get-source-file): Don't try to display the source file if
16283         `gdb-main-file' is nil.
16285 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16287         * align.el: Try to generate fewer markers (bug#10047).
16288         (align--set-marker): New macro.
16289         (align-region): Use it.
16291 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16293         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16295 2011-11-29  Chong Yidong  <cyd@gnu.org>
16297         * indent.el (indent-for-tab-command, indent-according-to-mode):
16298         Doc fix.
16299         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
16301 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
16303         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16304         aware of remote file names.  (Bug#10124)
16306 2011-11-29  Chong Yidong  <cyd@gnu.org>
16308         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16310 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16312         * files.el (find-file): Don't use force-same-window (bug#10144).
16313         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16314         use pop-to-buffer if the selected window can't be used.
16315         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16317 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
16319         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16320         special-mode-map.
16322 2011-11-28  Chong Yidong  <cyd@gnu.org>
16324         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16326 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
16328         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16329           gdb-get-source-file-list on gdb-create-source-file-list.
16331 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
16333         * whitespace.el (whitespace-newline): Use a different foreground
16334         color for 16-color light-background displays.
16336 2011-11-24  Chong Yidong  <cyd@gnu.org>
16338         * window.el (display-buffer--special-action): Doc fix.
16340 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
16342         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16343         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16344         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16345         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16346         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16347         (avl-tree-stack-first):
16348         * emacs-lisp/cconv.el (cconv--analyse-use):
16349         * net/gnutls.el (gnutls-negotiate): Fix typos.
16351 2011-11-24  Glenn Morris  <rgm@gnu.org>
16353         * lpr.el (lpr-windows-system, lpr-lp-system):
16354         * mail/binhex.el (binhex-begin-line):
16355         * progmodes/grep.el (grep-history, grep-find-history):
16356         * textmodes/flyspell.el:
16357         * vc/pcvs-defs.el (cvs-global-menu):
16358         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16359         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16360         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16362         * net/tls.el: Fix case of "GnuTLS".
16364         * paths.el (rmail-file-name): Format doc-string for make-docfile.
16366         * version.el (emacs-build-system): Give it a doc-string.
16368 2011-11-24  Juri Linkov  <juri@jurta.org>
16370         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16372 2011-11-24  Glenn Morris  <rgm@gnu.org>
16374         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16375         if called on a non-mime message just toggle the headers.  (Bug#8006)
16377 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
16379         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16380         (allout-lead-with-comment-string, allout-structure-deleted-hook)
16381         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16382         (allout-rebullet-heading, allout-open-sibtopic)
16383         (allout-toggle-current-subtree-encryption)
16384         (allout-toggle-subtree-encryption, allout-encrypt-string)
16385         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16386         (allout-distinctive-bullets-string, allout-auto-activation):
16387         * window.el (window-normalize-buffer-to-display):
16388         * progmodes/verilog-mode.el (verilog-batch-indent):
16389         * textmodes/bibtex.el (bibtex-field-braces-opt)
16390         (bibtex-field-strings-opt):
16391         * vc/cvs-status.el (cvs-tree-merge):
16392         Fix typos.
16394 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
16396         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16397         `non-essential' to t, in order to avoid remote connections.
16399 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
16401         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16402         On MS-DOS and MS-Windows, compare with loaddefs.el
16403         case-insensitively.
16405 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16407         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
16409 2011-11-23  Glenn Morris  <rgm@gnu.org>
16411         * paths.el (rmail-file-name): Reformat the doc-string so that it
16412         is picked up.
16414         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16415         (rmail-auto-file): Ignore case in the "special" field names,
16416         as mail-fetch-field does for all others.
16418         * mail/rmail.el (rmail-forward):
16419         * mail/rmailkwd.el (rmail-set-label):
16420         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16421         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
16423         * mail/rmail.el (rmail-current-message): Doc fix.
16425         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
16427 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         * server.el (server-eval-and-print): Allow C-g (bug#6585).
16431 2011-11-22  Glenn Morris  <rgm@gnu.org>
16433         * mail/rmailmm.el (test-rmail-mime-handler)
16434         (test-rmail-mime-bulk-handler)
16435         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16437 2011-11-21  Juri Linkov  <juri@jurta.org>
16439         * calc/calc.el (calc-read-key-sequence):
16440         Let-bind `input-method-function' to nil.  (Bug#10018)
16442 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16444         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16445         Tell the caller that the next line needs recomputation, even
16446         though it doesn't start a sexp (bug#10094).
16448 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16450         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16452 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16454         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16455         Use force-same-window.
16457 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
16459         * descr-text.el (describe-char-unicode-data):
16460         * json.el (json-string-escape):
16461         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16462         (Footnote-unicode, Footnote-style-p):
16463         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16465 2011-11-20  Chong Yidong  <cyd@gnu.org>
16467         * window.el (replace-buffer-in-windows): Restore interactive spec.
16469 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16471         * electric.el (electric-indent-mode): Fix last change (too optimistic).
16473         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16474         (byte-compile-global-not-obsolete-vars): New var.
16475         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16476         Use it.
16477         (byte-compile-warn-obsolete): Align text with the one in *Help*.
16479 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
16481         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16482         * progmodes/pascal.el (electric-pascal-equal):
16483         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16484         * xml.el (xml-substitute-special): Fix typos.
16486 2011-11-20  Glenn Morris  <rgm@gnu.org>
16488         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16489         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16490         Doc fixes.
16491         (rmail-decode-mime-charset): Mark as obsolete.
16493         * mail/rmailsum.el (rmail-message-regexp-p-1):
16494         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16495         Before using mime functions, check they are set.  (Bug#10077)
16497 2011-11-19  Juri Linkov  <juri@jurta.org>
16499         * info.el (Info-finder-find-node): Use `package--builtins' instead
16500         of `package-alist'.  Use node names formed by the pattern "Keyword "
16501         and the keyword name.
16503 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
16505         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16507 2011-11-19  Juri Linkov  <juri@jurta.org>
16509         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16510         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
16511         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16512         `old-history', `old-history-forward'.  Add let-binding
16513         `window-selected'.  Remove calls to `kill-buffer',
16514         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
16515         before calling `Info-find-node', so `Info-find-node-2' will reread
16516         the Info file.  Restore window positions only when `window-selected'
16517         is non-nil.
16519 2011-11-19  Juri Linkov  <juri@jurta.org>
16521         * isearch.el (isearch-lazy-highlight-new-loop):
16522         Remove condition `(not isearch-error)'.  (Bug#9918)
16524         * misearch.el (multi-isearch-search-fun): Add condition
16525         `(not bound)' to ignore lazy-highlighting search.
16526         Add the search-failed message "end of multi" when the end of
16527         multi-sequence is reached.  Uncapitalize the search-failed
16528         message "Repeat for next buffer".
16530         * info.el (Info-search): Add the search-failed message
16531         "end of the manual" when the end of the manual is reached
16532         in Isearch mode.
16534 2011-11-19  Juri Linkov  <juri@jurta.org>
16536         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16537         Use non-destructive `remove' instead of `delete' because
16538         `Info-history-list' stored to `Info-isearch-initial-history-list' in
16539         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16541 2011-11-19  Juri Linkov  <juri@jurta.org>
16543         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16544         to nil instead of binding `search-ring' and `regexp-search-ring'.
16545         (Bug#9185)
16547 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
16549         * simple.el (line-move): Force movement by logical lines for any
16550         hscrolled window, not only when auto-hscroll-mode is on.
16551         (line-move-visual): Update doc string to that effect.  (Bug#10076)
16553 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
16555         * language/european.el (macintosh): Define as alias for mac-roman.
16557 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
16559         * mail/rmailmm.el (rmail-mime-display-header)
16560         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16561         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16562         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16563         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16564         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16565         of a raw aref.
16566         (rmail-mime-entity-segment): To get past the tagline, move forward
16567         2 more lines, to account for the 2 empty lines that precede and
16568         follow the line with the buttons.
16569         (rmail-mime-update-tagline): Move one more line, to get past the
16570         empty line that follows the buttons in the tagline.  (Bug#9520)
16572 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
16574         * window.el (window-max-delta-1, window-min-delta-1)
16575         (window-min-size-1, window-state-get-1, window-state-put-1)
16576         (window-state-put-2): Use "window--" prefix.
16578 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16580         * emacs-lisp/smie.el: Improve warnings and conflict detection.
16581         (smie-warning-count): New var.
16582         (smie-set-prec2tab): Use it.
16583         (smie-bnf->prec2): Improve warnings.  Add docstring.
16584         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16585         (smie-bnf--set-class): New function.
16586         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
16587         corner case.
16589         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16590         (compilation-error-properties, compilation-move-to-column):
16591         Handle compilation-first-column while in the target buffer.
16593         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16594         Don't hardcode point-min==1.
16596         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16597         (eshell-rewrite-for-command): Remove workaround.
16598         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16599         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16600         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16602         * files-x.el (modify-file-local-variable): Obey commenting conventions.
16604 2011-11-17  Glenn Morris  <rgm@gnu.org>
16606         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16607         Ignore buffer-local generated-autoload-file if it is the same
16608         as the global value.  (Bug#10049)
16610 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
16612         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16613         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16614         (reftex-toc-previous-heading, reftex-toc-max-level)
16615         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16616         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16617         (reftex-toc-do-promote, reftex-toc-promote-prepare)
16618         (reftex-toc-promote-action, reftex-toc-extract-section-number)
16619         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16620         (reftex-toc-rename-label, reftex-toc-visit-location)
16621         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16622         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16623         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16624         leaving "*toc*" only for references to the buffer.
16626 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
16628         * window.el (window-resize, delete-window, split-window):
16629         Replace window-splits by window-combination-resize.
16630         * cus-start.el (window-splits): Replace by window-combination-resize.
16632 2011-11-17  Glenn Morris  <rgm@gnu.org>
16634         * progmodes/sh-script.el (sh-font-lock-keywords-var):
16635         Make bash entry derive from sh entry, not shell entry.
16637 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
16639         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16640         local file name.
16642 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
16644         * menu-bar.el (menu-bar-file-menu):
16645         * printing.el (pr-ps-utility):
16646         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16647         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16648         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16649         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16650         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16651         (icalendar--convert-cyclic-to-ical)
16652         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16653         (icalendar--convert-ical-to-diary)
16654         (icalendar--convert-recurring-to-diary)
16655         (icalendar--convert-non-recurring-all-day-to-diary)
16656         (icalendar-import-format-sample):
16657         * progmodes/idlw-shell.el (idlwave-shell-mode):
16658         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16659         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16660         (vhdl-ps-print-init): Fix typos.
16662 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
16664         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16665         FSF and collapse date sequence, obscure author/maintainer email address
16666         better, remove extra version line, track relocation of author's webpage.
16668         * progmodes/python.el (python-pdbtrack-input-prompt)
16669         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16670         regular python pdb prompts.  Adjustments shamelessly taken exactly as
16671         suggested in EmacsWiki page (tiny change):
16672         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16674 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
16676         * expand.el (expand-pos, expand-index, expand-point):
16677         Remove redundant info from docstring.
16678         (expand-add-abbrevs): Doc fix.
16679         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16680         (expand-sample-perl-mode-expand-list): Fix typos.
16682         * net/dbus.el (dbus-event-member-name):
16683         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16684         * term/pc-win.el (msdos-create-frame-with-faces):
16685         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16687 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
16689         * window.el (split-window, window-state-get-1)
16690         (window-state-put-1, window-state-put-2): Rename occurrences of
16691         window-nest to window-combination-limit.
16692         * cus-start.el (window-nest): Rename to window-combination-limit.
16694 2011-11-16  Chong Yidong  <cyd@gnu.org>
16696         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16697         regexp (Bug#10033).
16699 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16701         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16702         `completing-read' will remove *Completions* and will preserve
16703         current-buffer for us.
16704         (tmm-add-prompt): Users of *Completions* will always (re)set its
16705         major mode.
16706         (tmm-old-comp-map): Remove.
16708 2011-11-16  Glenn Morris  <rgm@gnu.org>
16710         * mail/rmailedit.el: Require rmailmm when compiling.
16711         (rmail-old-mime-state): New declaration.
16712         (rmail-edit-current-message): If editing a mime message,
16713         edit the "raw" message from the mbox buffer.
16714         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
16716 2011-11-15  Glenn Morris  <rgm@gnu.org>
16718         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16719         which wasn't being used.  Add optional arg to force given state.
16720         (rmail-mime): Add optional arg to force given state.
16722 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
16724         * allout.el (allout-encryption-plaintext-sanitization-regexps):
16725         * frame.el (display-mm-dimensions-alist):
16726         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16727         (outline-move-subtree-down):
16728         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16729         (newsticker--treeview-do-get-node):
16730         * net/quickurl.el (quickurl-list-buffer-name):
16731         * progmodes/dcl-mode.el (dcl-mode):
16732         * progmodes/gdb-mi.el (gdb-mapcar*):
16733         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16735 2011-11-15  Glenn Morris  <rgm@gnu.org>
16737         * mail/rmail.el (rmail-file-coding-system): It's only ever used
16738         in a boolean sense, so just make it a boolean, and fix the doc.
16739         (rmail-show-mime-function, rmail-mime-feature)
16740         (rmail-require-mime-maybe): Doc fixes.
16741         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16743         * mail/rmailmm.el (rmail-show-mime): Doc fix.
16745 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
16747         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16748         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16749         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16750         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16752 2011-11-15  Glenn Morris  <rgm@gnu.org>
16754         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16755         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16756         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16757         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16758         (rmail-mime, rmail-show-mime): Doc fixes.
16760         * term/ns-win.el (mode-line-frame-identification):
16761         Leave it alone.  (Bug#10051)
16763         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
16765         * mail/rmailout.el (rmail-output-to-rmail-buffer):
16766         Handle empty buffers.  (Bug#9978)
16768 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
16770         * international/mule.el (define-charset):
16771         * mail/rmailmm.el (rmail-mime-find-header-encoding):
16772         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16773         * progmodes/verilog-mode.el (verilog-backward-token):
16774         * textmodes/ispell.el (lookup-words):
16775         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16777 2011-11-14  Glenn Morris  <rgm@gnu.org>
16779         * progmodes/executable.el
16780         (executable-make-buffer-file-executable-if-script-p):
16781         Handle file-modes returning nil.
16783         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16784         message - not necessary, and causes problems.  (Bug#9831)
16786         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16788         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16790         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16791         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
16792         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16794 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
16796         * window.el (window-resize, delete-window): Use window-splits
16797         variable instead of function.
16798         (window-state-get-1, window-state-put-2, window-state-put):
16799         Don't deal with windows' splits status.
16801 2011-11-12  Glenn Morris  <rgm@gnu.org>
16803         * apropos.el (apropos-do-all, apropos-library, apropos-value)
16804         (apropos-documentation): Doc fixes.
16806 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
16808         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16809         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16811 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16813         * electric.el (electric-indent-post-self-insert-function): Make it
16814         possible for a char to only indent in some circumstances.
16815         (electric-indent-mode): Simplify.
16817 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
16819         * window.el (windows-with-parameter): Remove unused function.
16820         (windows-at-side): Rename to window-at-side-list.
16821         (window-check, window-atom-check, window-atom-check-1)
16822         (window-side-check, window-size-ignore, window-size-fixed-1)
16823         (window-in-direction-2): Prefix with "window--".
16824         (window-tree-1): Rename to window--subtree, fix doc-string.
16826 2011-11-11  Glenn Morris  <rgm@gnu.org>
16828         * subr.el (eval-after-load): If FILE is already loaded,
16829         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
16831 2011-11-10  Glenn Morris  <rgm@gnu.org>
16833         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16834         Call svn via vc-svn-command rather than vc-do-command.
16835         (vc-svn-command): Add --non-interactive.  (Bug#9993)
16836         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16838         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16839         Add toggle-read-only.  (Bug#7292)
16840         * files.el (toggle-read-only): Mention that it should only
16841         be used interactively.  (Bug#10006)
16843 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16845         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16846         Adjust regexp for OCaml warnings.
16848         * electric.el (electric-pair-post-self-insert-function): Let user
16849         turn it off buffer-locally (bug#9932).
16851         * progmodes/python.el (python-beginning-of-statement):
16852         Rewrite (bug#2703).
16854         * progmodes/compile.el: Better handle TABs (bug#9749).
16855         (compilation-internal-error-properties)
16856         (compilation-next-error-function): Obey the target buffer's
16857         compilation-error-screen-columns.
16859 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
16861         * progmodes/meta-mode.el: Remove obsolete comments.
16862         (meta-right-comment-regexp, meta-ignore-comment-regexp):
16863         Fix typos in docstrings.
16865 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
16867         * window.el (window-size-fixed-p): Rewrite doc-string.
16868         (window-resizable-p): Rename to window--resizable-p.  Update callers.
16869         (window--resizable): New function.  Make all callers of
16870         window-resizable call window--resizable instead.
16871         (window-resizable): Rewrite in terms of window--resizable.
16873 2011-11-08  Glenn Morris  <rgm@gnu.org>
16875         * progmodes/delphi.el (delphi-mode-syntax-table):
16876         Let define-derived-mode define a proper syntax table.  (Bug#9994)
16878 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16880         * window.el: Stay away from defsubst.
16881         (window-list-no-nils): Remove.
16882         (window-state-get-1, window-state-get): Use backquote instead.
16884 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16886         * emacs-lisp/find-func.el (find-function-read):
16887         Fix incorrect use of default argument in `completing-read'.
16889 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
16891         * window.el (display-buffer-function, special-display-function):
16892         Mention display-buffer-record-window but do not mention
16893         help-setup parameter in doc-strings.
16894         (window-min-delta): Fix doc-string typo.
16896 2011-11-08  Chong Yidong  <cyd@gnu.org>
16898         * window.el (window-total-height, window-total-width): Doc fix.
16899         (window-body-size): Move from C.
16900         (window-body-height, window-body-width): Move to C.
16902 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16904         * window.el: Make special-display like display-buffer-alist (bug#9532).
16905         (display-buffer--special-action): New function, morphed
16906         from display-buffer--special.
16907         (display-buffer): Use it to handle special-display-buffers at higher
16908         priority (just after display-buffer-alist).
16909         (display-buffer-fallback-action, display-buffer--other-frame-action)
16910         (pop-to-buffer-same-window): Remove display-buffer--special.
16912 2011-11-07  Glenn Morris  <rgm@gnu.org>
16914         * calendar/cal-menu.el (cal-menu-set-date-title):
16915         Do nothing if not in a calendar.  (Bug#9976)
16917 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16919         * files.el (find-file): Always use selected-window.
16921 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
16923         * window.el (window-combinations): Make WINDOW argument
16924         mandatory.  Rewrite doc-string.
16925         (walk-window-subtree, window-atom-check, window-min-delta)
16926         (window-max-delta, window--resize-this-window)
16927         (window--resize-root-window-vertically, window-tree)
16928         (balance-windows, window-state-put): Rewrite doc-strings as to
16929         not mention the term "subwindow".
16930         (window--resize-subwindows-skip-p): Rename to
16931         window--resize-child-windows-skip-p.
16932         (window--resize-subwindows-normal): Rename to
16933         window--resize-child-windows-normal.
16934         (window--resize-subwindows): Rename to
16935         window--resize-child-windows.
16936         (window-or-subwindow-p): Rename to window--in-subtree-p.
16938 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16940         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16941         Ensure that mbox format messages end in two newlines (Bug#9974).
16943 2011-11-06  Chong Yidong  <cyd@gnu.org>
16945         * window.el (window-combination-p): Function deleted; its
16946         side-effect is not used in any existing code.
16947         (window-combinations, window-combined-p): Call window-*-child
16948         directly.
16950 2011-11-05  Chong Yidong  <cyd@gnu.org>
16952         * window.el (window-valid-p): Rename from window-any-p.
16953         (window-size-ignore, window-state-get): Callers changed.
16954         (window-normalize-window): Rename from window-normalize-any-window.
16955         New arg LIVE-ONLY, replacing window-normalize-live-window.
16956         (window-normalize-live-window): Delete.
16957         (window-combination-p, window-combined-p, window-combinations)
16958         (walk-window-subtree, window-atom-root, window-min-size)
16959         (window-sizable, window-sizable-p, window-size-fixed-p)
16960         (window-min-delta, window-max-delta, window-resizable)
16961         (window-resizable-p, window-full-height-p, window-full-width-p)
16962         (window-current-scroll-bars, window-point-1, set-window-point-1)
16963         (window-at-side-p, window-in-direction, window-resize)
16964         (adjust-window-trailing-edge, maximize-window, minimize-window)
16965         (window-deletable-p, delete-window, delete-other-windows)
16966         (record-window-buffer, unrecord-window-buffer)
16967         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16968         (quit-window, split-window, window-state-put)
16969         (set-window-text-height, fit-window-to-buffer)
16970         (shrink-window-if-larger-than-buffer): Callers changed.
16972 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
16974         * mail/rmail.el (rmail-simplified-subject): Decode subject with
16975         rfc2047-decode-string.
16976         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16977         warnings.
16979         * window.el (window-body-height, window-body-width): Mention in
16980         the doc string that the return values are in frame's canonical
16981         units.  (Bug#9949)
16983 2011-11-03  Alan Mackenzie  <acm@muc.de>
16985         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16986         change in cc-engine.el.
16988 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16990         * window.el (switch-to-buffer): Use `force-same-window' interactively.
16992 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
16994         * window.el (quit-window): Call unrecord-window-buffer after
16995         showing another buffer in the window.  (Bug#9937)
16996         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16998 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
17000         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17001         Accept status with more than 9 shelves.  (Bug#9935)
17002         Reported by Colin D Bennett <colin@gibibit.com>.
17004 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
17006         * help.el (with-help-window): Don't reference
17007         temp-buffer-show-specifiers in doc-string.
17009 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17011         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17012         menu-item.
17014 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17016         * whitespace.el: New version 13.2.2.
17017         (whitespace-newline-mode): Disable properly.  Reported by Sarah
17018         <EmacsWiki>.
17020 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
17022         * net/newst-treeview.el: Remove "Time-stamp".
17023         (newsticker--group-manage-orphan-feeds): Do not call
17024         newsticker--treeview-tree-update.
17025         (newsticker-treeview-update, newsticker-treeview):
17026         Call newsticker--treeview-tree-update if necessary.
17028 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
17030         * window.el (window-iso-combination-p, window-iso-combined-p)
17031         (window-iso-combinations): Remove "iso-" infix.
17032         Suggested by Chong Yidong.
17033         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17034         (window-max-delta-1, window-resize, window--resize-siblings)
17035         (window--resize-this-window, adjust-window-trailing-edge)
17036         (split-window, balance-windows-1)
17037         (shrink-window-if-larger-than-buffer):
17038         * calendar/calendar.el (calendar-generate-window):
17039         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17041 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17043         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17044         in place (bug#9907).
17045         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17046         (eshell-rewrite-if-command, eshell-rewrite-for-command)
17047         (eshell-structure-basic-command, eshell-rewrite-while-command)
17048         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17049         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17050         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17051         (eshell-do-pipelines-synchronously, eshell-eval-command):
17052         Use backquotes and prefer setq to set.
17053         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17054         (eshell-macrop): Use functionp.
17055         (eshell-do-eval): Handle multiple expressions in `while' body.
17057 2011-10-30  Chong Yidong  <cyd@gnu.org>
17059         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17060         instead of set-mark (Bug#9810).
17062 2011-10-30  Chong Yidong  <cyd@gnu.org>
17064         * window.el (split-window-below, split-window-right): Rename from
17065         split-window-above-each-other and split-window-side-by-side
17066         respectively.  All callers changed.
17067         (split-window-sensibly, split-window-sensibly): Use them.
17068         (split-window-keep-point): Doc fix.
17070         * isearch.el: Add isearch-scroll property to split-window-below
17071         and split-window-right.
17073         * follow.el (follow-mode):
17074         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17075         * progmodes/ada-xref.el (ada-gdb-application):
17076         * emulation/vip.el (vip-buffer-in-two-windows):
17077         * image-dired.el (image-dired-dired-with-window-configuration):
17078         * dired-x.el (dired-do-find-marked-files):
17079         * dired.el (dired-pop-to-buffer):
17080         * bs.el (bs--show-with-configuration):
17081         * vc/emerge.el (emerge-setup-windows):
17082         * textmodes/two-column.el (2C-two-columns):
17083         * textmodes/reftex-toc.el (reftex-toc):
17084         * progmodes/gdb-mi.el (gdb-setup-windows):
17085         * progmodes/fortran.el (fortran-window-create):
17086         * net/newst-treeview.el (newsticker--treeview-window-init):
17087         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17088         * emulation/tpu-edt.el (tpu-gold-map):
17089         * emulation/crisp.el (crisp-mode-map):
17090         * calendar/calendar.el (calendar-basic-setup): Callers changed.
17092 2011-10-29  Chong Yidong  <cyd@gnu.org>
17094         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17096         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17098         * textmodes/flyspell.el (flyspell-word): Fix char offset for
17099         forged Ispell output (Bug#7904).
17101         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17103 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17105         * doc-view.el: Avoid ugly errors about not finding nil.
17106         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17107         (doc-view-dvipdf-program, doc-view-unoconv-program)
17108         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17109         Avoid nil or absolute file name as default value.
17110         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17112 2011-10-28  Alan Mackenzie  <acm@muc.de>
17114         * progmodes/cc-defs.el (c-version): -> 5.32.2.
17116 2011-10-28  Alan Mackenzie  <acm@muc.de>
17118         Amend the handling of c-beginning/end-of-defun in nested declaration
17119         scopes.
17121         * progmodes/cc-vars.el (c-defun-tactic): Move here from
17122         cc-langs.el.  Change it to a defcustom.
17124         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17125         cc-vars.el.
17127         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17128         Prevent "class foo : bar" being spuriously recognized as a label.
17130         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17131         Add parameter `inclusive' (to include enclosing braces in the region).
17132         (c-widen-to-enclosing-decl-scope): New function.
17133         (c-while-widening-to-decl-block): New macro.
17134         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17135         outward for defun boundaries, and correspondingly change symbol
17136         `respect-enclosure' to `go-outward'.
17137         (c-declaration-limits): Change algorithm to report only the "innermost"
17138         defun's boundaries.
17140 2011-10-28  Deniz Dogan  <deniz@dogan.se>
17142         * net/rcirc.el (rcirc-mode): Use hard newlines.
17144 2011-10-28  Alan Mackenzie  <acm@muc.de>
17146         Amend to indent and fontify macros "which include their own semicolon"
17147         correctly, using the "virtual semicolon" mechanism.
17149         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17151         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17152         Recode to scan one line at a time rather than having \n and \r
17153         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17154         (c-forward-label): Amend for virtual semicolons.
17155         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17157         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17158         of the new C macros.
17160         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17161         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17162         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17163         (c-opt-cpp-macro-define): Make into a full language variable.
17164         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17165         AWK Mode (including \n, \r) removed, no longer needed.
17167         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17168         Invoke c-make-macro-with-semi-re.
17170         * progmodes/cc-vars.el (c-macro-with-semi-re):
17171         (c-macro-names-with-semicolon): New variables.
17172         (c-make-macro-with-semi-re): New function.
17174 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17176         * vc/log-edit.el: Fill empty field rather than adding new one.
17177         (log-edit-add-field): New function.
17178         (log-edit-insert-changelog): Use it.
17180 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
17182         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17184 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17186         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17187         (gdb--check-interpreter): New function.
17188         (gdb): Use it.
17190 2011-10-27  Glenn Morris  <rgm@gnu.org>
17192         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17193         (least-positive-float, least-negative-float)
17194         (least-positive-normalized-float, least-negative-normalized-float)
17195         (float-epsilon, float-negative-epsilon):
17196         Remove unnecessary declarations.
17198         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17199         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17200         (least-positive-float, least-negative-float)
17201         (least-positive-normalized-float, least-negative-normalized-float)
17202         (float-epsilon, float-negative-epsilon): Add doc-strings,
17203         based on those in cl.texi.
17205         * files.el (set-visited-file-name): If the major-mode changed,
17206         reload the local variables.  (Bug#9796)
17208 2011-10-27  Chong Yidong  <cyd@gnu.org>
17210         * subr.el (change-major-mode-after-body-hook): New hook.
17211         (run-mode-hooks): Run it.
17213         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17214         Use change-major-mode-before-body-hook.
17216         * simple.el (fundamental-mode):
17217         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17218         change introducing fundamental-mode-hook.
17220 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
17222         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17224 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
17226         * ido.el (ido-file-name-all-completions-1): Do not require
17227         tramp.el explicitly.  (Bug#7583)
17229 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17231         * progmodes/octave-mod.el:
17232         * progmodes/octave-inf.el: Update maintainer.
17234 2011-10-26  Chong Yidong  <cyd@gnu.org>
17236         * subr.el (with-wrapper-hook): Rewrite doc.
17238 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
17240         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17241         filenames "/method:foo:".  (Bug#9793)
17243 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17245         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17246         (bug#9865).
17248 2011-10-24  Glenn Morris  <rgm@gnu.org>
17250         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
17252 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
17254         * notifications.el: Add the requirement of a running D-Bus session
17255         bus to the Commentary.
17257 2011-10-24  Juri Linkov  <juri@jurta.org>
17259         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17260         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17261         (Bug#9364)
17263 2011-10-24  Juri Linkov  <juri@jurta.org>
17265         * info.el (Info-following-node-name-re): Add newline to the list
17266         of allowed characters for leading space.  (Bug#9824)
17268 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17270         * progmodes/octave-inf.el (inferior-octave-mode-map):
17271         Fix C-c C-h binding.
17272         * progmodes/octave-mod.el (octave-help): Remove.
17274 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
17276         Sync with Tramp 2.2.3.
17278         * net/tramp-cache.el (top): Pacify byte-compiler using
17279         `init-file-user' and `site-run-file'.
17281         * net/trampver.el: Update release number.
17283 2011-10-23  Chong Yidong  <cyd@gnu.org>
17285         * files.el (toggle-read-only): Remove obsolete comment about
17286         version control.
17288         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17289         for toggle-read-only.  Note that this hasn't called vc-next-action
17290         since 2008-05-02, though it wasn't documented at the time.
17292         * vc/ediff-init.el (ediff-toggle-read-only-function):
17293         Use toggle-read-only.
17295 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
17297         Fix bug #9560, sporadic wrong indentation; improve instrumentation
17298         of c-parse-state.
17300         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17301         correct faulty logical expression.
17302         (c-parse-state-state, c-record-parse-state-state):
17303         (c-replay-parse-state-state): New defvar/defuns.
17304         (c-debug-parse-state): Use new functions.
17306 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
17308         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17309         last fix.  Use window-in-direction correctly.
17311 2011-10-21  Chong Yidong  <cyd@gnu.org>
17313         * progmodes/idlwave.el (idlwave-mode):
17314         * progmodes/vera-mode.el (vera-mode): No need to set
17315         require-final-newline; that's done in prog-mode.
17316         Suggested by Stefan Monnier.
17318 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
17320         * mouse.el (mouse-drag-window-above)
17321         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17322         (mouse-drag-mode-line-1, mouse-drag-header-line)
17323         (mouse-drag-vertical-line-rightward-window): Remove.
17324         (mouse-drag-line): New function.
17325         (mouse-drag-mode-line, mouse-drag-header-line)
17326         (mouse-drag-vertical-line): Call mouse-drag-line.
17327         * window.el (window-at-side-p, windows-at-side): New functions.
17329 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
17331         * tar-mode.el (tar-grind-file-mode):
17332         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
17334 2011-10-21  Chong Yidong  <cyd@gnu.org>
17336         * progmodes/idlwave.el (idlwave-mode):
17337         * progmodes/vera-mode.el (vera-mode):
17338         Use mode-require-final-newline.
17340 2011-10-20  Glenn Morris  <rgm@gnu.org>
17342         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
17344 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
17346         * emulation/cua-base.el (cua-set-mark): Fix case of string.
17348 2011-10-20  Chong Yidong  <cyd@gnu.org>
17350         * emulation/cua-base.el (cua-mode):
17351         * mail/footnote.el (footnote-mode):
17352         * mail/mailabbrev.el (mail-abbrevs-mode):
17353         * net/xesam.el (xesam-minor-mode):
17354         * progmodes/bug-reference.el (bug-reference-mode):
17355         * progmodes/cap-words.el (capitalized-words-mode):
17356         * progmodes/compile.el (compilation-minor-mode)
17357         (compilation-shell-minor-mode):
17358         * progmodes/gud.el (gud-tooltip-mode):
17359         * progmodes/hideif.el (hide-ifdef-mode):
17360         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17361         * progmodes/subword.el (subword-mode):
17362         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17363         * progmodes/which-func.el (which-function-mode):
17364         * term/tvi970.el (tvi970-set-keypad-mode):
17365         * term/vt100.el (vt100-wide-mode):
17366         * textmodes/flyspell.el (flyspell-mode):
17367         * textmodes/ispell.el (ispell-minor-mode):
17368         * textmodes/nroff-mode.el (nroff-electric-mode):
17369         * textmodes/paragraphs.el (use-hard-newlines):
17370         * textmodes/refill.el (refill-mode):
17371         * textmodes/reftex.el (reftex-mode):
17372         * textmodes/rst.el (rst-minor-mode):
17373         * textmodes/sgml-mode.el (html-autoview-mode)
17374         (sgml-electric-tag-pair-mode):
17375         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17376         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17377         * emulation/crisp.el (crisp-mode):
17378         * emacs-lisp/eldoc.el (eldoc-mode):
17379         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17380         minor mode behavior.
17382 2011-10-19  Juri Linkov  <juri@jurta.org>
17384         * descr-text.el (describe-char): Add #x2010 and #x2011 to
17385         the list of hard-coded chars with escape-glyph face.
17387 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17389         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17391 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
17393         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17394         running process.
17396 2011-10-19  Glenn Morris  <rgm@gnu.org>
17398         * vc/vc-bzr.el (vc-bzr-after-dir-status):
17399         Ignore ignored files.  (Bug#9726)
17401 2011-10-19  Chong Yidong  <cyd@gnu.org>
17403         Doc fix for minor modes, stating that an omitted argument enables
17404         the mode unconditionally when called from Lisp.
17406         * abbrev.el (abbrev-mode):
17407         * allout.el (allout-mode):
17408         * autoinsert.el (auto-insert-mode):
17409         * autoarg.el (autoarg-mode, autoarg-kp-mode):
17410         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17411         (global-auto-revert-mode):
17412         * battery.el (display-battery-mode):
17413         * composite.el (global-auto-composition-mode)
17414         (auto-composition-mode):
17415         * delsel.el (delete-selection-mode):
17416         * desktop.el (desktop-save-mode):
17417         * dired-x.el (dired-omit-mode):
17418         * dirtrack.el (dirtrack-mode):
17419         * doc-view.el (doc-view-minor-mode):
17420         * double.el (double-mode):
17421         * electric.el (electric-indent-mode, electric-pair-mode):
17422         * emacs-lock.el (emacs-lock-mode):
17423         * epa-hook.el (auto-encryption-mode):
17424         * follow.el (follow-mode):
17425         * font-core.el (font-lock-mode):
17426         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17427         * help.el (temp-buffer-resize-mode):
17428         * hilit-chg.el (highlight-changes-mode)
17429         (highlight-changes-visible-mode):
17430         * hi-lock.el (hi-lock-mode):
17431         * hl-line.el (hl-line-mode, global-hl-line-mode):
17432         * icomplete.el (icomplete-mode):
17433         * ido.el (ido-everywhere):
17434         * image-file.el (auto-image-file-mode):
17435         * image-mode.el (image-minor-mode):
17436         * iswitchb.el (iswitchb-mode):
17437         * jka-cmpr-hook.el (auto-compression-mode):
17438         * linum.el (linum-mode):
17439         * longlines.el (longlines-mode):
17440         * master.el (master-mode):
17441         * mb-depth.el (minibuffer-depth-indicate-mode):
17442         * menu-bar.el (menu-bar-mode):
17443         * minibuf-eldef.el (minibuffer-electric-default-mode):
17444         * mouse-sel.el (mouse-sel-mode):
17445         * msb.el (msb-mode):
17446         * mwheel.el (mouse-wheel-mode):
17447         * outline.el (outline-minor-mode):
17448         * paren.el (show-paren-mode):
17449         * recentf.el (recentf-mode):
17450         * reveal.el (reveal-mode, global-reveal-mode):
17451         * rfn-eshadow.el (file-name-shadow-mode):
17452         * ruler-mode.el (ruler-mode):
17453         * savehist.el (savehist-mode):
17454         * scroll-all.el (scroll-all-mode):
17455         * scroll-bar.el (scroll-bar-mode):
17456         * server.el (server-mode):
17457         * shell.el (shell-dirtrack-mode):
17458         * simple.el (auto-fill-mode, transient-mark-mode)
17459         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17460         (line-number-mode, column-number-mode, size-indication-mode)
17461         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17462         * strokes.el (strokes-mode):
17463         * time.el (display-time-mode):
17464         * t-mouse.el (gpm-mouse-mode):
17465         * tool-bar.el (tool-bar-mode):
17466         * tooltip.el (tooltip-mode):
17467         * type-break.el (type-break-mode-line-message-mode)
17468         (type-break-query-mode):
17469         * view.el (view-mode):
17470         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17471         (global-whitespace-mode, global-whitespace-newline-mode):
17472         * xt-mouse.el (xterm-mouse-mode): Doc fix.
17474         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17475         Fix autogenerated docstring.
17477 2011-10-19  Juri Linkov  <juri@jurta.org>
17479         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17480         by checking environment variables "DESKTOP_SESSION" and
17481         "XDG_CURRENT_DESKTOP".  (Bug#9779)
17483 2011-10-19  Juri Linkov  <juri@jurta.org>
17485         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17486         (browse-url-chromium-program, browse-url-chromium-arguments):
17487         New defcustoms.
17488         (browse-url-default-browser): Check for `browse-url-chromium' and
17489         call `browse-url-chromium-program'.
17490         (browse-url-chromium): New command.  (Bug#9779)
17492 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
17494         * facemenu.el (list-colors-duplicates): On Windows, detect more
17495         duplicates by assuming that only colors matching "^System" are
17496         special "system colors".  (Bug#9722)
17498 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17501         to distinguish the author from the committer.
17503 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
17505         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17507 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
17509         * international/mule.el (sgml-html-meta-auto-coding-function):
17510         Add support for detecting encoding in HTML5 specified only as
17511         <meta charset="UTF-8">.  Implementation just makes http-equiv and
17512         content-type parts from HTML4 encoding string optional.  (Bug#9716)
17514 2011-10-18  Glenn Morris  <rgm@gnu.org>
17516         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
17518 2011-10-18  Chong Yidong  <cyd@gnu.org>
17520         * faces.el (cursor): Doc fix.
17522 2011-10-17  Chong Yidong  <cyd@gnu.org>
17524         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17526 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
17528         * dirtrack.el (dirtrack): Support shell buffers with path
17529         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
17531 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
17533         * json.el: Bump version to 1.3 and note change in History.
17534         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17536 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17538         * comint.el (comint-insert-input, comint-send-input)
17539         (comint-get-old-input-default, comint-backward-matching-input)
17540         (comint-next-prompt): Use nil instead of `input' for field property of
17541         past user input (bug#114).
17543         * minibuffer.el (completion--replace): Inherit surrounding properties
17544         (bug#114).
17545         (minibuffer-complete-and-exit): Use it.
17547         * comint.el (comint--table-subvert): Quote the all-completions output
17548         (bug#9160).
17550 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
17552         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17554         * menu-bar.el (menu-bar-file-menu): Add entry for making new
17555         window on right of selected.  (Bug#9350) Reword other window
17556         entries and separate them from frame entries.
17558 2011-10-15  Glenn Morris  <rgm@gnu.org>
17560         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17561         Doc fixes.
17563 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
17565         * net/network-stream.el (network-stream-open-starttls):
17566         Improve detection of failure due to lack of TLS support.
17568         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17569         putting the input text in front and in bold.
17571 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17573         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17575         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17576         empty buffer.
17578         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17579         unread-command-events rather than pushing yet-another event.
17581 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
17583         * mail/sendmail.el (sendmail-query-once): Improve the wording of
17584         the explanation of the possible choices.  Make the options passed
17585         to completing-read shorter.
17587 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17589         * textmodes/flyspell.el (flyspell-large-region): Make sure
17590         extended character mode is used if defined (Bug#1339).
17592 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
17594         * simple.el (what-cursor-position): Fix the display of the
17595         character info for LRE, LRO, RLE, and RLO characters by appending
17596         an invisible PDF.
17598 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17600         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17601         even in case of error; add debug spec; simplify data flow.
17602         (with-timeout-handler): Remove.
17604 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
17606         Fix Bug#6019, Bug#9315.
17608         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17609         complete `buffer-file-name', the local file name part could look
17610         remotely (for example on VMS).
17612         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17613         `tramp-run-real-handler'.
17614         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17615         already quoted by '"'.
17617         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17618         Let `file-name-handler-alist' be nil, the local file name part
17619         could look remotely (for example on VMS).
17621 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17623         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17624         from here...
17625         (flyspell-post-command-hook): ...to here.
17627 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17629         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17630         if not needed.
17631         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
17632         using completion.  Protect against "slow" callers.
17633         Remove the "message hack".
17635 2011-10-11  Juri Linkov  <juri@jurta.org>
17637         * isearch.el (isearch-lazy-highlight-word): New variable.
17638         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17639         Use it.  (Bug#9727)
17641 2011-10-11  Glenn Morris  <rgm@gnu.org>
17643         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17644         like f90-previous-statement does.
17646 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17648         * eshell/eshell.el (eshell-command): History should be saved
17649         only in interactive use, to avoid error.
17651 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17653         * minibuffer.el (completion-file-name-table): Fix last change,
17654         i.e. ignore normal errors but not the other ones.
17656 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
17658         * window.el (special-display-buffer-names)
17659         (special-display-regexps): Remove some remnants of earlier
17660         changes from doc-strings.
17661         (quit-windows-on): New function.
17663         * vc/vc.el (vc-revert, vc-rollback):
17664         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17665         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
17666         (Bug#6183) (Bug#7074) (Bug#7447)
17668 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
17670         * window.el (frame-auto-hide-function): Add version tag.
17671         (Bug#9699)
17673 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
17675         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17676         condition.
17678 2011-10-09  Leo Liu  <sdl.web@gmail.com>
17680         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17681         (Bug#9701)
17683 2011-10-08  Glenn Morris  <rgm@gnu.org>
17685         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17686         before the first code statement zero indent.  (Bug#9690)
17688 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
17690         * simple.el (count-words-region): Always count in the region.
17691         Report the number of lines and characters too.
17692         (count-words): New command, which counts in the buffer if the
17693         region is inactive, as count-words-region used to.
17694         (count-words--message): New function.  Handle plurals.
17695         (count-lines-region): Make it an alias for count-words-region.
17697         * bindings.el (esc-map): Replace count-lines-region with
17698         count-words-region.
17700 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
17702         * window.el (window--delete): Delete dedicated frame
17703         unconditionally when argument KILL is non-nil.  (Bug#9699)
17704         (switch-to-buffer): Fix doc-string typo.
17706 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17708         * eshell/eshell.el (eshell-command): Avoid using hooks.
17710 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
17712         * bindings.el ([M-left],[M-right]): Bind to left-word and
17713         right-word respectively.
17715 2011-10-07  Glenn Morris  <rgm@gnu.org>
17717         * cus-start.el (debug-on-quit): Fix custom type.
17719 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17721         * subr.el (define-key-after): Clarify that the function is not
17722         useful for non-menu keymaps.
17724         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17726 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17728         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17729         in current minibuffer (Fix bug with recursive minibuffers).
17731 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
17733         * progmodes/gdb-mi.el (gdb): Doc fix.
17735 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
17737         * window.el (frame-auto-hide-function): New option replacing
17738         frame-auto-delete.  Suggested by Stefan Monnier.
17739         (window--delete): Call frame-auto-hide-function instead of
17740         investigating frame-auto-delete.
17741         (window-point-1, set-window-point-1): New functions.
17742         (window-in-direction, record-window-buffer, window-state-get-1)
17743         (display-buffer-record-window): Use window-point-1 instead of
17744         window-point.
17745         (set-window-buffer-start-and-point): Use set-window-point-1.
17747 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17749         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17751 2011-10-05  Glenn Morris  <rgm@gnu.org>
17753         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17754         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
17756 2011-10-05  Leo Liu  <sdl.web@gmail.com>
17758         * subr.el (read-char-choice): Fix argument to buffer-live-p which
17759         works with buffer object.
17761 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17763         * mpc.el (mpc-tool-bar-map): Add labels.
17765 2011-10-04  Glenn Morris  <rgm@gnu.org>
17767         * calendar/holidays.el (calendar-check-holidays): Doc fix.
17769 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
17771         * window.el (window--delete): New function.
17772         (frame-auto-delete): Resuscitate option.
17773         (bury-buffer, replace-buffer-in-windows)
17774         (quit-window): Rewrite using window--delete.
17775         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17776         Pass display-buffer-mark-dedicated to window--display-buffer-2
17777         (Bug#9639).
17779 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17781         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17782         returns a list (bug#9554).  Add remote file name completion.
17783         * comint.el (comint--table-subvert): Curry and get quote&unquote
17784         functions as arguments.
17785         (comint--complete-file-name-data): Adjust call accordingly.
17786         * pcomplete.el (pcomplete--table-subvert): Remove.
17787         (pcomplete-completions-at-point): Use comint--table-subvert instead.
17789         * minibuffer.el (completion-table-case-fold): Use currying.
17790         (completion--styles-type, completion--cycling-threshold-type):
17791         New constants.
17792         (completion-styles, completion-category-overrides)
17793         (completion-cycle-threshold): Use them.
17794         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17795         completion-table-case-fold.
17797 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
17799         * minibuffer.el (completion-category-overrides): Fix type of styles
17800         and add more user friendly tags (bug#9660).
17802 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17804         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17805         (mule-input-method-string): New widget.
17806         (default-input-method, language-info-custom-alist): Use it.
17808 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17810         * pcomplete.el: Require comint.
17811         (pcomplete--common-suffix): Remove.
17812         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17813         (pcomplete--table-subvert): Sync with comint--table-subvert.
17814         (pcomplete--entries): Use comint-completion-file-name-table.
17815         * comint.el (comint-unquote-filename): Simplify.
17816         (comint-completion-file-name-table): New function (bug#9616).
17817         (comint--complete-file-name-data): Use it.
17819         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17820         (pcmpl-gnu-tar-buffer): Remove.
17821         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17822         around.  Make sure pcomplete-suffix-list is only changed temporarily.
17823         Don't look inside the tar's file if it's too large.
17825 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
17827         * cus-edit.el (custom-mode-map):
17828         * epa.el (epa-key-list-mode-map):
17829         * man.el (Man-mode-map):
17830         * startup.el (splash-screen-keymap):
17831         * simple.el (special-mode-map): Use scroll-up-command and
17832         scroll-down-command.
17834         * progmodes/idlw-help.el (idlwave-help-mode-map):
17835         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17836         * net/newst-plainview.el (newsticker-mode-map):
17837         * emulation/ws-mode.el (wordstar-mode-map):
17838         * emulation/vi.el (vi-com-map):
17839         * calc/calc-graph.el (calc-graph-show-dumb):
17840         * term/sun.el (terminal-init-sun):
17841         * term/ns-win.el (global-map):
17842         * progmodes/grep.el (grep-mode-map):
17843         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17844         * mail/rmail.el (rmail-mode-map):
17845         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17847         * custom.el (custom-safe-themes, load-theme): Treat value of t for
17848         custom-safe-themes as special.
17850 2011-10-01  Julien Danjou  <julien@danjou.info>
17852         * notifications.el (notifications-notify): Fix docstring.
17854 2011-10-01  Per Starbäck  <per@starback.se>
17856         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
17858 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
17860         * startup.el (command-line-1): Fix last fix by inserting
17861         initial-scratch-message into *scratch* before displaying it.
17862         (Bug#9605) and (Bug#9636)
17864 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
17866         * simple.el (line-move): If auto-hscroll-mode is disabled and the
17867         window is hscrolled, move by logical lines.  (Bug#9607)
17868         (line-move-visual): Update the doc string to the above effect.
17870 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
17872         * window.el (display-buffer-record-window): When WINDOW is the
17873         selected window use `point' instead of `window-point'.  (Bug#9626)
17875         * startup.el (command-line-1): Use insert-before-markers when
17876         inserting initial-scratch-message.  (Bug#9605)
17878         * help.el (help-window): Remove variable.
17880 2011-09-29  Glenn Morris  <rgm@gnu.org>
17882         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17884 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
17886         * descr-text.el (describe-char-categories): Accept category
17887         descriptions more than one line long.
17889 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17891         * simple.el (delete-trailing-whitespace): Fix last change.
17893         * progmodes/perl-mode.el (perl-syntax-propertize-function):
17894         Don't confuse "y => 3" as the beginning of a `y' operation.
17896         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17897         object has more than 4 slots (bug#9613).
17899 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
17901         * subr.el (with-output-to-temp-buffer):
17902         * net/quickurl.el (quickurl, quickurl-browse-url):
17903         Fix typos in docstrings.
17905 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
17907         * minibuffer.el (completion-styles)
17908         (completion-category-overrides): Cross reference each other in doc
17909         strings.
17911 2011-09-27  Glenn Morris  <rgm@gnu.org>
17913         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17914         to split-string.  (Bug#9606)
17916 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17918         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17919         (bug#9615).
17921 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
17923         * emacs-lisp/package.el (list-packages): Fix echo area message.
17925 2011-09-27  Leo Liu  <sdl.web@gmail.com>
17927         * ido.el (ido-read-internal): Accept cons cell HIST arg.
17929 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
17931         * net/dbus.el (dbus-unregister-object): Don't release services for
17932         registered signals.  (Bug#9581)
17934 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
17936         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17937         function that picks between cfengine 2 and 3 support
17938         automatically.  Update docs accordingly.
17940 2011-09-22  Kenichi Handa  <handa@m17n.org>
17942         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17943         ZERO.
17944         (indian-itrans-v5-table-for-tamil): New variable.
17945         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17947 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
17949         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17950         that's true if the current command involved collapsing of text.
17951         It's reset to false at the beginning of the next command.
17952         (allout-post-command-business): Move the cursor to the beginning
17953         of entry if the cursor is hidden and collapsing activity just
17954         happened.
17956 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
17958         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17959         tracking (Bug#9541).
17961 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
17963         * net/newst-reader.el (newsticker-html-renderer)
17964         (newsticker-show-news): Automatically load html rendering package
17965         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
17966         because w3m-fill-column is let-bound" and the error "Symbol's value
17967         as variable is void: w3m-fill-column".
17969 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
17971         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17972         Release services only if they are defined.  (Bug#9581)
17974 2011-09-23  Richard Stallman  <rms@gnu.org>
17976         * textmodes/paragraphs.el (forward-sentence): For backwards case,
17977         distinguish start of paragraph from start of its text.
17979         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17981         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17982         (rmail-generate-viewer-buffer): Put that hook on view buffer.
17983         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17985 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
17987         * international/mule-diag.el (mule-diag): Insert a newline after
17988         each fontset description.
17990 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17992         * simple.el (delete-trailing-whitespace):
17993         Document last change; simplify.
17995 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
17997         * simple.el (delete-trailing-whitespace): Also delete
17998         extra newlines at the end of the buffer.
18000         * textmodes/picture.el: Make motion commands obey shift-select-mode.
18001         (picture-newline): Use forward-line so as to ignore fields.
18003 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18005         * subr.el (with-wrapper-hook): Fix edebug spec.
18007 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18009         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18010         (bug#4538).
18012 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
18014         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18015         Fix nasty bug using wrong cached values.
18017 2011-09-23  Alan Mackenzie  <acm@muc.de>
18019         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18021 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
18023         * window.el (pop-to-buffer): Ensure right window is selected if we
18024         chose another frame.
18026 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
18028         * simple.el (what-cursor-position): Use get-char-property-change
18029         and next-single-char-property-change, to be able to show display
18030         properties that come from overlays as well as text properties.
18032 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
18034         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18036         * cmuscheme.el (run-scheme, switch-to-scheme):
18037         * cus-edit.el (customize-group, custom-buffer-create)
18038         (customize-browse):
18039         * info.el (info):
18040         * shell.el (shell):
18041         * mail/sendmail.el (mail):
18042         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18044 2011-09-22  Richard Stallman  <rms@gnu.org>
18046         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18047         move back only to line beg, don't move back over blank lines.
18049 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
18051         * files.el (copy-directory): Set directory attributes only in case
18052         they could be retrieved from the source directory.  (Bug#9565)
18054 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
18056         * progmodes/hideshow.el (hs-looking-at-block-start-p)
18057         (hs-find-block-beginning, hs-hide-level-recursive):
18058         Ignore strings as well as comments.  (Bug#9502)
18060 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
18062         * progmodes/sql.el (sql-comint-postgres):
18063         Convert port number to a string.  (Bug#9566)
18065 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
18067         * window.el (quit-window): Undedicate window when switching to
18068         previous buffer.  Reported by Thierry Volpiatto
18069         <thierry.volpiatto@gmail.com>.
18070         (special-display-popup-frame): When popping up a new frame reset
18071         its previous buffers to nil.  Simplify code.
18073 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
18075         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18076         and process filter, as done also in `shell-command'.
18078 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
18080         * window.el (set-window-buffer-start-and-point):
18081         Call set-window-start with NOFORCE argument t.
18082         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18083         (quit-window): Reword doc-string.  Handle new format of
18084         quit-restore parameter.  Don't delete window if it has a
18085         previous buffer we can show instead of the present one.
18086         (display-buffer-record-window): Rewrite using a new format for
18087         the quit-restore window parameter
18088         (special-display-popup-frame, display-buffer-same-window)
18089         (display-buffer-reuse-window, display-buffer-pop-up-frame)
18090         (display-buffer-pop-up-window, display-buffer-use-some-window):
18091         Adapt symbol passed to display-buffer-record-window.
18092         * help.el (help-window-setup): Handle new format of quit-restore
18093         parameter.
18095 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18097         * faces.el (face-list): Fix docstring (bug#9564).
18099         * window.el (display-buffer--action-function-custom-type):
18100         Don't include internal functions in the Custom interface.
18102 2011-09-20  Juri Linkov  <juri@jurta.org>
18104         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18105         (Info-forward-node, Info-backward-node, Info-next-preorder)
18106         (Info-last-preorder): Use it.  (Bug#9528)
18108 2011-09-20  Juri Linkov  <juri@jurta.org>
18110         * info.el (Info-last-preorder): Visit last menu item only when
18111         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18113 2011-09-20  Julien Danjou  <julien@danjou.info>
18115         * password-cache.el (password-cache-remove): Remove entries even if the
18116         value is nil, so that password with a nil value (negative caching) is
18117         possible to invalidate.
18119 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
18121         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18122         all whitespace around breakpoint.  (Bug#9553)
18123         (f90-find-breakpoint): Only break at whitespace inside a comment.
18125 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18127         * minibuffer.el (completion-file-name-table): Keep track of errors.
18128         (completion-table-with-predicate): Handle the case where pred1 is nil.
18129         * pcomplete.el (pcomplete-completions-at-point): Simplify.
18131 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18133         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18134         (debugger-return-value): Signal an error if the debugging context does
18135         not await any return value.
18137         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18138         * image-mode.el (image-toggle-display-text)
18139         (image-toggle-display-image): Stay away from evil `intangible'.
18141 2011-09-19  Leo Liu  <sdl.web@gmail.com>
18143         * replace.el (occur-revert-arguments): Make it permanent-local.
18144         (occur-mode): Don't call font-lock-defontify.
18146 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
18148         * net/ldap.el (ldap-search-internal): Don't push empty search
18149         result (Bug#9508).
18151 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18153         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18155 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
18157         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18158         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18160 2011-09-18  Juri Linkov  <juri@jurta.org>
18162         * buff-menu.el (Buffer-menu-mode-map):
18163         * dired.el (dired-mode-map):
18164         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18165         (lisp-interaction-mode-map):
18166         * emacs-lisp/package.el (package-menu-mode-map):
18167         * epa.el (epa-key-list-mode-map):
18168         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18169         (menu-bar-options-menu):
18170         * outline.el (outline-mode-menu-bar-map):
18171         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18172         * vc/vc-dir.el (vc-dir-menu-map):
18173         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18174         Capitalize non-function content words in menu item strings.
18176         * dired.el (dired-mode-map): Add menu item for
18177         `image-dired-dired-toggle-marked-thumbs'.
18179 2011-09-18  Juri Linkov  <juri@jurta.org>
18181         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18182         to `isearch-case-fold-search' and restore its original value
18183         after the `isearch-mode' call.
18185 2011-09-18  Juri Linkov  <juri@jurta.org>
18187         * progmodes/grep.el (grep-process-setup): Don't check code for 1
18188         because `zgrep' returns 1 for successful matches (bug#9226).
18190 2011-09-18  Juri Linkov  <juri@jurta.org>
18192         * info.el (Info-extract-menu-node-name): Check the second match
18193         for empty string (second test-case of bug#9528).
18194         (Info-last-preorder): Let-bind `Info-history' to nil to not add
18195         intermediate nodes to the history (first test-case of bug#9528).
18197 2011-09-18  Juri Linkov  <juri@jurta.org>
18199         * info.el (Info-mode-syntax-table): New variable.
18200         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18202 2011-09-18  Juri Linkov  <juri@jurta.org>
18204         * info.el (Info-file-supports-index-cookies):
18205         Increment line-beginning-position's arg from 3 to 4 because makeinfo
18206         outputs one more line for long file names (bug#4142).
18208 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
18210         * newcomment.el (comment-normalize-vars): If prompting for
18211         comment-start, set comment-start-skip too (Bug#8424).
18213 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
18215         * icomplete.el: Fix previous fix of Bug#5849.
18216         (icomplete-mode): Don't set completion-show-inline-help.
18217         (icomplete-minibuffer-setup): Set completion-show-inline-help
18218         locally during icompletion.
18220 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
18222         * woman.el (woman2-process-escapes): Don't delete unrecognized
18223         escapes (Bug#7843).
18225         * files.el (inhibit-first-line-modes-regexps): Add image files.
18226         (hack-local-variables-prop-line): Return nil for malformed
18227         prop-lines (Bug#9044).
18229 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
18231         * net/tramp.el (top): Don't require 'shell.
18232         (tramp-methods): Fix docstring.
18233         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18234         Return complete remote file name.  Handle "smb" case.
18235         Use `tramp-tmpdir', if defined for the respective method.
18236         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18238         * net/tramp-compat.el (top): Require 'shell.
18240         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18241         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18242         `tramp-current-host'.
18243         (tramp-get-remote-tmpdir): Remove.
18245         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18246         `tramp-tmpdir' entries.
18247         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18248         (tramp-smb-handle-file-attributes): Ignore errors.
18249         (tramp-smb-wait-for-output): Check also for process end.
18251 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18253         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18254         when sending QUIT (bug#9312).
18256 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
18258         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18259         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18260         occur-mode-display-occurrence.
18261         (occur-edit-mode): Add usage message.
18262         (occur-cease-edit): New command.
18263         (occur-after-change-function): Use text properties to find the
18264         position of the prefix text.
18265         (occur-engine): Set stickiness of prefix text properties.
18267 2011-09-17  Glenn Morris  <rgm@gnu.org>
18269         * progmodes/etags.el (complete-tag):
18270         Fix call to completion-in-region.  (Bug#9526)
18272 2011-09-17  Juri Linkov  <juri@jurta.org>
18274         * textmodes/ispell.el (ispell-word): Add to the error message
18275         the word, ispell program name and current dictionary (bug#9121).
18276         (ispell-tex-arg-end): Capitalize "error" in the error message.
18278 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
18280         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18281         check.  (Bug#4251)
18283 2011-09-17  Juri Linkov  <juri@jurta.org>
18285         * window.el (window-safe-min-height, window-safe-min-width):
18286         Fix typos (followup to bug#9522).
18288 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
18290         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18292 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
18294         * simple.el (line-move): If goal-column is set, move by logical
18295         lines, not by display lines.  (Bug#971)
18296         (next-line, previous-line, goal-column, line-move-visual): Doc fix
18297         to reflect the above change.
18299 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18301         * image.el (imagemagick-register-types): Use regexp-opt.
18303 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
18305         * window.el (display-buffer-base-action): Rename from
18306         display-buffer-default-action.  Make default value empty.
18307         (display-buffer-overriding-action): Convert to defvar.
18308         (display-buffer-fallback-action): New var.
18310 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
18312         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18313         declaration.
18314         (package--add-to-archive-contents): If there is a duplicate entry
18315         with an older version, remove it.
18316         (package-menu-mark-delete, package-menu-mark-install)
18317         (package-menu-mark-unmark): Make unused args optional.
18318         (package-menu-mark-obsolete-for-deletion):
18319         Use package-menu-get-status instead of a regexp search.
18320         (package-menu-get-status): Use tabulated-list-entry.
18321         (package-menu-mark-upgrades): New command.
18322         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
18323         (package-menu-execute): Do installation before deletion.
18324         (package-menu-refresh, package-menu-execute): Use derived-mode-p
18325         instead of checking major-mode.
18326         (package-menu--find-upgrades): New function.
18328 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18330         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18331         passwords in the log buffer.
18332         (smtpmail-process-filter): Update the process marker so that the
18333         "broken by peer" status message is inserted in the right place.
18335 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18337         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18338         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18339         bibtex-completion-at-point-function.
18340         (bibtex-completion-at-point-function): Use them.
18342         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18344         * mpc.el (mpc-constraints-tag-lookup): New function.
18345         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18346         also to browser "album|playlist".
18348 2011-09-14  Juri Linkov  <juri@jurta.org>
18350         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
18351         (isearch-edit-string): Use length of `isearch-string' when
18352         `isearch-fail-pos' returns nil.
18353         (isearch-message): Remove duplicate code and call
18354         `isearch-fail-pos' with arg `t'.
18356 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
18358         * replace.el (occur-mode-goto-occurrence): Don't force using other
18359         window (Bug#9499).
18361         * dired-aux.el (dired-do-chmod): Don't provide initial input.
18363 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
18365         * window.el (display-buffer-window): Remove.
18366         (display-buffer-record-window): Use help-setup window parameter
18367         instead of variable display-buffer-window.
18368         (display-buffer-function, special-display-buffer-names)
18369         (special-display-function): Mention help-setup parameter instead
18370         of display-buffer-window in doc-string.
18371         * help.el (help-window-setup): New argument help-window.
18372         Use help-window-setup parameter instead of display-buffer-window.
18373         Reword some messages.
18374         (with-help-window): Pass window used for displaying the buffer
18375         to help-window-setup.  Don't set display-buffer-window.
18377 2011-09-13  Glenn Morris  <rgm@gnu.org>
18379         * emacs-lisp/debug.el (debugger-make-xrefs):
18380         Preserve point.  (Bug#9462)
18382 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
18384         * window.el (window-deletable-p): Use next-frame.
18386 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
18388         * window.el (window-auto-delete): Remove.
18389         (window-deletable-p): Remove argument FORCE.  Don't deal with
18390         dedication and previous buffers.
18391         (switch-to-prev-buffer): Don't delete window.
18392         (delete-windows-on): Delete a window's frame if and only if the
18393         window is dedicated.
18394         (replace-buffer-in-windows): Delete buffer's window or frame if
18395         and only if window is dedicated.
18396         (quit-window): Handle quit-restore as before last change.
18397         (bury-buffer): Delete window only if window-deletable-p returns t.
18399 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
18401         * window.el (window-deletable-p): Never delete the last frame on a
18402         given terminal.
18404 2011-09-13  Glenn Morris  <rgm@gnu.org>
18406         * help.el (describe-key-briefly): Copy previous standard-output change.
18408 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
18410         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
18412 2011-09-13  Glenn Morris  <rgm@gnu.org>
18414         * emacs-lisp/lisp-mode.el (lisp-indent-function):
18415         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18417 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
18419         * dired-aux.el (dired-mark-read-string): Don't return default
18420         value on empty input (Bug#9361).
18421         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18422         Omit initial minibuffer contents.
18423         (dired-do-chmod): Signal an error on empty input.
18424         (dired-mark-read-string): Don't return default on empty input.
18426         * files.el (file-modes-symbolic-to-number): Doc fix.
18428 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18430         * international/mule-cmds.el (ucs-completions): Remove.
18431         (read-char-by-name): Use complete-with-action instead; add metadata.
18433 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
18435         * window.el (display-buffer--action-function-custom-type)
18436         (display-buffer--action-custom-type): New vars.
18437         (display-buffer-alist, display-buffer-default-action)
18438         (display-buffer-overriding-action): Add defcustom types.
18440         * frame.el (delete-other-frames): Doc fix (Bug#276).
18442 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18444         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18446 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
18448         Change modes that used same-window-* vars to use switch-to-buffer.
18450         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18451         Use switch-to-buffer.
18453         * cus-edit.el (customize-group, custom-buffer-create)
18454         (customize-browse, custom-buffer-create-other-window):
18455         Use switch-to-buffer or switch-to-buffer-other-window.
18457         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18458         (Info-prev, Info-up, Info-speedbar-goto-node)
18459         (info-display-manual): Use switch-to-buffer.
18460         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18462         * mail/sendmail.el (mail): Use switch-to-buffer.
18463         (mail-recover): Use switch-to-buffer-other-window.
18465         * cmuscheme.el (run-scheme, switch-to-scheme):
18466         * ielm.el (ielm):
18467         * shell.el (shell):
18468         * net/rlogin.el (rlogin):
18469         * net/telnet.el (telnet, rsh):
18470         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18472 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18474         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18476 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18478         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18479         so don't mention it (bug#9301).
18480         (dired-sort-toggle-or-edit): Clarify string further.
18482         * faces.el (face-spec-set-match-display): Make `(type graphic)'
18483         match `x', `w32' and `ns', like the manual says (bug#9029).
18485         * subr.el (eval-after-load): Doc string clarification (bug#9125).
18486         (process-kill-buffer-query-function): Mention the buffer name in
18487         the query.
18489         * image-mode.el (image-next-line): The line parameter is mandatory
18490         (bug#9258).
18492         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18493         which can be useful (bug#9301).
18495         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18497         * subr.el (match-string): Mention that the current buffer should
18498         be the same as the search was done in (bug#9282).
18500         * facemenu.el: Disable the remove-* commands if the mark isn't
18501         active (bug#9162).
18503 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
18505         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18506         of display-buffer.
18507         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18509         * replace.el (occur-mode-goto-occurrence)
18510         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18511         and display-buffer.
18513         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18514         display-buffer.
18516         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18517         special-display and same-window variables.
18518         (mail-other-window): Use switch-to-buffer-other-window.
18519         (mail-other-frame): USe switch-to-buffer-other-frame.
18521         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18522         Use display-buffer-other-frame.
18523         (gdb-display-gdb-buffer): Use pop-to-buffer.
18525         * progmodes/gud.el (gud-goto-info): Use info-other-window.
18527         * progmodes/python.el: Don't set same-window-buffer-names.
18529         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18531         * window.el (display-buffer-alist): Add *Python*.
18533 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
18535         * window.el (display-buffer-alist): Add entry for buffers
18536         previously handled same-window-*.
18537         (display-buffer-alist, display-buffer-default-action)
18538         (display-buffer-overriding-action): Mark as risky.
18539         (display-buffer-alist): Document action function changes.
18540         (display-buffer--same-window-action)
18541         (display-buffer--other-frame-action): New variables.
18542         (switch-to-buffer, display-buffer-other-frame): Use them.
18543         (display-buffer): Rename reuse-frame entry to reusable-frames.
18544         (display-buffer-reuse-selected-window): Function deleted.
18545         (display-buffer-reuse-window): Handle reusable-frames alist entry.
18546         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18547         (display-buffer-special): New function.
18548         (display-buffer--maybe-pop-up-frame-or-window): Rename from
18549         display-buffer-reuse-or-pop-window.  Split off special-display
18550         part into display-buffer-special.
18551         (display-buffer-use-some-window): Don't perform any special
18552         pop-up-frames handling.
18553         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18554         (display-buffer--maybe-same-window): Rename from
18555         display-buffer-maybe-same-window.
18557         * info.el: Don't set same-window-regexps.
18558         (info-setup): New function.
18559         (info-other-window, info): Call it.
18561         * cus-edit.el: Don't set same-window-regexps.
18562         (customize-group): New argument.
18563         (customize-group-other-window): Use it.
18564         (customize-face, customize-face-other-window): Likewise.
18565         (custom-buffer-create-other-window): Use pop-to-buffer directly.
18567         * net/rlogin.el:
18568         * net/telnet.el:
18569         * progmodes/gud.el: Don't set same-window-regexps.
18571         * cmuscheme.el:
18572         * ielm.el:
18573         * shell.el:
18574         * mail/sendmail.el:
18575         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18577 2011-09-10  Juri Linkov  <juri@jurta.org>
18579         * isearch.el (isearch-edit-string): Remove obsolete mention of
18580         `C-w' (`isearch-yank-word-or-char') from docstring.
18581         (isearch-query-replace): Fix typo in docstring (bug#9466).
18583 2011-09-10  Juri Linkov  <juri@jurta.org>
18585         * paren.el (show-paren-function): Don't show escaped parens.
18586         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
18588 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
18590         * mail/sendmail.el (mml-to-mime, mml-attach-file)
18591         (mm-default-file-encoding): Remove autoload forms, they are
18592         replaced with autoload cookies in mml.el and mm-encode.el.
18593         (mail-add-attachment): New command.
18594         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18595         (mail-mode): Mention mail-insert-file and mail-add-attachment in
18596         the doc string.
18597         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18599 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
18601         * simple.el (count-words-region): Use buffer if there's no region
18602         (bug#9429).
18604 2011-09-09  Juri Linkov  <juri@jurta.org>
18606         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18607         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18608         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
18610 2011-09-09  Alan Mackenzie  <acm@muc.de>
18612         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18613         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
18615 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
18617         Fix for Savannah bug#9392.
18618         * simple.el (mail-encode-mml): New defvar.
18620         * mail/rmail.el (mail-encode-mml): Add a defvar.
18621         (rmail-enable-mime-composing): Default to t.
18622         (rmail-forward): Use MIME method of forwarding only if both
18623         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18624         Set mail-encode-mml non-nil if the MIME method was used.
18626         * mail/sendmail.el (mml-to-mime): Add autoload form.
18627         (mail-encode-mml): Add a defvar.
18628         (mail-mode): Make mail-encode-mml buffer-local and initialize it
18629         to nil.
18630         (mail-send): If mail-encode-mml is non-nil, run the outgoing
18631         message through mml-to-mime, and reset mail-encode-mml to nil.
18633 2011-09-09  Glenn Morris  <rgm@gnu.org>
18635         * woman.el (woman-if-body): When processing an .el block,
18636         do not delete the next .el block as well.  (Bug#9447)
18637         (woman-special-characters): Add oq, cq, and hy characters.
18639 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
18641         * window.el (window-deletable-p): Make sure window is live before
18642         invoking window-prev-buffers.
18644 2011-09-08  Leo Liu  <sdl.web@gmail.com>
18646         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
18648 2011-09-08  Juri Linkov  <juri@jurta.org>
18650         * progmodes/compile.el (compilation-environment): Make it
18651         a defcustom (bug#8340).
18653 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
18655         * window.el (frame-auto-delete): Rename to window-auto-delete.
18656         Make it control auto-deletion of windows and/or frames.
18657         (window-deletable-p): New argument FORCE.  Rewrite conditions
18658         for deleting window/frame.  (Bug#9419)
18659         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18660         Rewrite handling of case when window/frame can be deleted.
18661         (delete-windows-on): Call window-deletable-p with new FORCE
18662         argument t.  (Bug#9456)
18664 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
18666         * help-mode.el (help-mode): Restore autoload.
18668 2011-09-07  Juri Linkov  <juri@jurta.org>
18670         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18671         `compilation-environment'.  Set buffer-local
18672         `compilation-environment' to `thisenv' later after (funcall mode).
18673         (Bug#8340)
18675         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
18676         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18677         instead of replacing its value.  (Bug#8340)
18679 2011-09-07  Juri Linkov  <juri@jurta.org>
18681         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18682         based on text properties put by `grep-filter' instead of matching
18683         escape sequences.
18684         (grep-mode): Set buffer-local `compilation-error-screen-columns'
18685         to the value of `grep-error-screen-columns' (bug#9438).
18687 2011-09-07  Juri Linkov  <juri@jurta.org>
18689         * simple.el (next-error-highlight, next-error-highlight-no-select):
18690         Doc fix (bug#9432).
18692 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
18694         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18695         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
18697 2011-09-07  Leo Liu  <sdl.web@gmail.com>
18699         * net/rcirc.el (rcirc-mode): Conditionally initialize
18700         rcirc-input-ring.
18702 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18704         * emacs-lisp/find-func.el (find-function-C-source): Only set
18705         find-function-C-source-directory after checking that we found a source
18706         file there (bug#9440).
18708 2011-09-06  Alan Mackenzie  <acm@muc.de>
18710         * isearch.el (isearch-other-meta-char): Wherever a key list is
18711         unread, "unread" the prefix arg, too.  This fixes bug #8901.
18713 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
18715         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18717 2011-09-05  Juri Linkov  <juri@jurta.org>
18719         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18721 2011-09-05  Juri Linkov  <juri@jurta.org>
18723         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18724         keeping point where processing of grep matches begins, and
18725         continue to delete remaining escape sequences from the same point.
18726         (grep-filter): Make leading zero optional in "0?1;31m" because
18727         git-grep emits "\033[1;31m" escape sequences unlike expected
18728         "\033[01;31m" as GNU Grep does (bug#9408).
18729         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18731 2011-09-05  Juri Linkov  <juri@jurta.org>
18733         * subr.el (y-or-n-p): Capitalize "yes".
18735 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
18737         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
18738         `tramp-cache-unload-hook' where appropriate.
18739         (tramp-methods): Rename `tramp-remote-sh' to
18740         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
18741         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18743         * net/tramp-sh.el (top): Don't require 'shell.
18744         (tramp-methods): Add `tramp-remote-shell' and
18745         `tramp-remote-shell-args' entries.
18746         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18747         (tramp-sh-handle-shell-command): Remove.
18748         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18749         Use `tramp-remote-shell'.
18751 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
18753         * mail/sendmail.el (sendmail-query-once-function): Delete.
18754         (sendmail-query-once): Save directly to send-mail-function.
18755         Update message-send-mail-function too.
18757         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18759 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
18761         * progmodes/python.el (python-mode-map): Use correct function to
18762         start python interpreter from menu-bar (as reported by Geert
18763         Kloosterman).
18764         (inferior-python-mode-map): Fix typo.
18765         (python-shell-map): Remove.
18767 2011-09-03  Deniz Dogan  <deniz@dogan.se>
18769         * net/rcirc.el (rcirc-print): Simplify code for
18770         rcirc-scroll-show-maximum-output.  There is no need to walk
18771         through all windows to find the right one.
18773 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
18775         * help.el (help-return-method): Doc fix.
18777 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
18779         * window.el (window-deletable-p): Don't return a non-nil value
18780         when there's a buffer that was shown in the window before.
18781         (Bug#9419)
18782         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18783         Set window's previous buffers to nil.
18785 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
18787         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18788         newline before and after the tag line, so it doesn't interfere
18789         with determining the paragraph direction of bidirectional text.
18791 2011-09-03  Leo Liu  <sdl.web@gmail.com>
18793         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
18795 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
18797         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18798         (pop-to-buffer): Change interactive spec.  Pass second argument
18799         directly to display-buffer.
18800         (display-buffer): Fix interactive spec.  Use functionp to
18801         distinguish between a function and a list of functions.
18803         * abbrev.el (edit-abbrevs):
18804         * arc-mode.el (archive-extract):
18805         * autoinsert.el (auto-insert):
18806         * bookmark.el (bookmark-bmenu-list):
18807         * files.el (find-file):
18808         * view.el (view-buffer):
18809         * progmodes/compile.el (compilation-goto-locus):
18810         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18812 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
18814         * window.el (display-buffer-alist): Doc fix.
18815         (display-buffer): Add docstring.  Don't treat
18816         display-buffer-default specially.
18817         (display-buffer-reuse-selected-window)
18818         (display-buffer-same-window, display-buffer-maybe-same-window)
18819         (display-buffer-reuse-window, display-buffer-pop-up-frame)
18820         (display-buffer-pop-up-window)
18821         (display-buffer-reuse-or-pop-window)
18822         (display-buffer-use-some-window): New functions.
18823         (display-buffer-default-action): Use them.
18824         (display-buffer-default): Delete.
18825         (pop-to-buffer-1): Fix choice of actions.
18827 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18829         * minibuffer.el (completion--insert-strings): Don't get confused by
18830         completion entries that end with an LF char.
18832 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
18834         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18836 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
18838         * window.el (display-buffer): Restore interactive spec.
18839         (display-buffer-same-window, display-buffer-other-window):
18840         New functions.
18841         (pop-to-buffer-1): New function.  Use the above.
18842         (pop-to-buffer, pop-to-buffer-same-window): Use it.
18843         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18845         * view.el (view-buffer-other-window, view-buffer-other-frame):
18846         Just use pop-to-buffer.
18848 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18850         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
18852 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
18854         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
18856 2011-08-31  Richard Stallman  <rms@gnu.org>
18858         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18859         of the separation of rmail-view-buffer from rmail-buffer.
18860         If you say no to "replace original", the decrypt is in the
18861         view buffer.  If you say yes, the decrypt goes into the
18862         rmail buffer also.
18864 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
18866         * window.el (display-buffer-window): Rewrite doc-string.
18867         (display-buffer-record-window): New function.
18868         (display-buffer-macro-specifiers)
18869         (display-buffer-even-window-sizes, display-buffer-set-height)
18870         (display-buffer-set-width, display-buffer-in-window)
18871         (display-buffer-reuse-window, display-buffer-split-specifiers)
18872         (display-buffer-side-specifiers, display-buffer-split-window-1)
18873         (display-buffer-split-window, display-buffer-split-atom-window)
18874         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18875         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18876         (display-buffer-other-window-means-other-frame)
18877         (display-buffer-normalize-special)
18878         (display-buffer-normalize-default)
18879         (display-buffer-normalize-argument)
18880         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18881         (display-buffer-normalize-specifiers, display-buffer-frame)
18882         (display-buffer-same-window, display-buffer-same-frame)
18883         (display-buffer-other-window)
18884         (display-buffer-same-frame-other-window)
18885         (display-buffer-other-frame, pop-to-buffer-same-window)
18886         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18887         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18888         (switch-to-buffer-same-frame)
18889         (switch-to-buffer-other-window-same-frame)
18890         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18891         (display-buffer-alist-set-1, display-buffer-alist-set-2)
18892         (display-buffer-alist-set): Remove.
18893         (display-buffer-function, special-display-buffer-names)
18894         (special-display-regexps, special-display-function):
18895         In doc-string refer to display-buffer-window and quit-restore
18896         parameter.
18897         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18898         (special-display-frame-alist, special-display-popup-frame)
18899         (same-window-buffer-names, same-window-regexps, same-window-p)
18900         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18901         (split-window-preferred-function, split-height-threshold)
18902         (split-width-threshold, window-splittable-p)
18903         (split-window-sensibly, window--try-to-split-window)
18904         (window--frame-usable-p, even-window-heights)
18905         (window--even-window-heights, window--display-buffer-1)
18906         (window--display-buffer-2, display-buffer-other-frame):
18907         Restore old Emacs 23 code, order and doc-strings where applicable.
18908         (display-buffer-default, display-buffer-assq-regexp): New functions.
18909         (display-buffer-alist): Rewrite doc-string.
18910         (display-buffer-default-action)
18911         (display-buffer-overriding-action): New variables.
18912         (display-buffer, switch-to-buffer): Rewrite.
18913         (pop-to-buffer): Restore Emacs 23 behavior but use
18914         window-normalize-buffer-to-display.
18915         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18916         Restore Emacs 23 behavior but use
18917         window-normalize-buffer-to-switch-to.
18918         (pop-to-buffer-same-window): Rewrite.
18919         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18920         Rewrite using Emacs 23 options.
18922 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
18924         * net/tramp.el (tramp-root-regexp): Remove.
18925         (tramp-completion-file-name-regexp-unified)
18926         (tramp-completion-file-name-regexp-separate)
18927         (tramp-completion-file-name-regexp-url): Don't use leading volume
18928         letter on w32 systems.  (Bug#5303, Bug#9311)
18929         (tramp-drop-volume-letter): Simplify definition.
18930         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18932 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18934         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18935         (bug#9356).
18937 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
18939         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18941 2011-08-29  Juri Linkov  <juri@jurta.org>
18943         * isearch.el (isearch-done): Don't display message "Mark saved"
18944         when arg `edit' is non-nil to prevent its flicker in the echo area.
18946 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
18948         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18949         obsolete packages for deletion.
18951 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
18953         * help-mode.el (help-mode-map): Add special-mode-map to parent.
18954         (help-mode): Derive help-mode from special-mode.  Don't invoke
18955         view-mode from help-mode.
18956         (help-xref-override-view-map): Remove.
18957         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18958         view-mode is not used anymore.
18960 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
18962         * server.el (server-port): Doc fix.
18964         * cus-theme.el (custom-theme-choose-mode): Inherit from
18965         special-mode (Bug#9124).
18966         (custom-theme-choose-mode-map): Add special-mode to parent.
18968 2011-08-28  Alan Mackenzie  <acm@muc.de>
18970         * progmodes/cc-fonts.el
18971         (c-make-font-lock-BO-decl-search-function): New function.
18972         (c-basic-matchers-after - "Fontify the clauses after various
18973         keywords"): Extract the three keyword lists for the 3 erroneous
18974         constructs from the list of four, and use the new function above
18975         in place of an old one.
18977 2011-08-28  Deniz Dogan  <deniz@dogan.se>
18979         * net/rcirc.el (rcirc-insert-prev-input)
18980         (rcirc-insert-next-input): Remove unused argument.
18982 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18984         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18986 2011-08-27  Alan Mackenzie  <acm@muc.de>
18988         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18989         handle function pointer parameters properly.
18991 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
18993         * window.el (display-buffer-reuse-window): Fix case where
18994         selected window was reused with non-nil OTHER-WINDOW argument.
18995         (Bug#9381)
18997 2011-08-27  Deniz Dogan  <deniz@dogan.se>
18999         * net/rcirc.el (rcirc-check-auth-status): Adding support for
19000         oftc's NickServ messages.
19002 2011-08-27  Glenn Morris  <rgm@gnu.org>
19004         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
19006 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
19008         * emacs-lisp/package.el (package-install): Call package-initialize
19009         if called interactively.
19011 2011-08-26  Leo Liu  <sdl.web@gmail.com>
19013         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
19015 2011-08-25  Juri Linkov  <juri@jurta.org>
19017         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19018         `search-whitespace-regexp' (bug#9364).
19020 2011-08-25  Juri Linkov  <juri@jurta.org>
19022         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19023         `regexp-search-ring' to their global values to protect from
19024         updating by `read-from-minibuffer' (bug#9185).
19026 2011-08-25  Juri Linkov  <juri@jurta.org>
19028         * textmodes/ispell.el (ispell-command-loop): Add newline
19029         at the end of the "Use option `i'..." line.
19031 2011-08-25  Juri Linkov  <juri@jurta.org>
19033         * battery.el (display-battery-mode): If `battery-status-function'
19034         or `battery-mode-line-format' is nil, display the message and set
19035         `display-battery-mode' to nil (bug#9363).
19037 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
19039         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19040         bidi-string-mark-left-to-right; they are unnecessary now.
19042 2011-08-25  Deniz Dogan  <deniz@dogan.se>
19044         * net/quickurl.el: Documentation typo fixes.
19046 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
19048         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19050 2011-08-25  Glenn Morris  <rgm@gnu.org>
19052         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19054         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19055         (smtpmail-via-smtp): Handle nil response from smtp.
19057 2011-08-24  Juri Linkov  <juri@jurta.org>
19059         * proced.el (proced-marked): Inherit from `error' instead of
19060         `font-lock-warning-face'.
19062         * ibuffer.el (ibuffer-marked-face): Change default face from
19063         `font-lock-warning-face' to `warning'.
19064         (ibuffer-deletion-face): Change default face from
19065         `font-lock-type-face' to `error'.
19067         * battery.el (battery-update): Use the face `error' instead of
19068         `font-lock-warning-face' (bug#6117).
19070 2011-08-24  Juri Linkov  <juri@jurta.org>
19072         * faces.el (success): Change face color from "Green3" to
19073         "ForestGreen" on light background (bug#9353).
19075 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
19077         * window.el (quit-window): Rename from quit-restore-window.
19078         Use same arglist as old quit-window.
19079         (frame-auto-delete): Doc fix.
19081         * view.el (view-mode-exit): Use quit-window.
19083 2011-08-24  Juri Linkov  <juri@jurta.org>
19085         * isearch.el (isearch-ring-adjust1): Start visiting previous
19086         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19087         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19088         for empty search string (when the last search string is reused
19089         automatically) to adjust the isearch ring to the last element and
19090         prepare the correct index for further M-p commands (bug#9185).
19092 2011-08-24  Kenichi Handa  <handa@m17n.org>
19094         * international/ucs-normalize.el: If decomposition property of
19095         CHAR is the default one (i.e. a list of CHAR itself), treat it as
19096         nil.
19097         (nfd, nfkd): Likewise.
19099 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19101         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19102         from process filters aren't reliably transmitted to the surrounding
19103         accept-process-output.
19104         (mpc-proc-check): New function.
19105         (mpc-proc-sync): Use it (bug#8293)
19107 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19109         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19110         Add compatibility functions (bug#9313).
19112 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
19114         * cus-start.el (all): Add entry for bidi-paragraph-direction.
19116         * international/uni-bidi.el: Regenerate.
19118 2011-08-23  Kenichi Handa  <handa@m17n.org>
19120         * international/charprop.el:
19121         * international/uni-bidi.el:
19122         * international/uni-category.el:
19123         * international/uni-combining.el:
19124         * international/uni-comment.el:
19125         * international/uni-decimal.el:
19126         * international/uni-decomposition.el:
19127         * international/uni-digit.el:
19128         * international/uni-lowercase.el:
19129         * international/uni-mirrored.el:
19130         * international/uni-name.el:
19131         * international/uni-numeric.el:
19132         * international/uni-old-name.el:
19133         * international/uni-titlecase.el:
19134         * international/uni-uppercase.el: Regenerate.
19136 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
19138         * help.el (help-window-setup): Fix message displayed when other
19139         window is reused.  (Bug#9341)
19141 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19143         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19144         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19146         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19147         Mark obsolete.
19148         * shell.el (shell-parse-pcomplete-arguments): New function.
19149         (shell-completion-vars): Use it instead (bug#9160).
19151 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19153         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19154         strings and comments (bug#9333).
19156         * emacs-lisp/debug.el (debug-arglist): New function.
19157         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
19158         (debug-on-entry-1): Handle interpreted closures (bug#9120).
19160 2011-08-22  Juri Linkov  <juri@jurta.org>
19162         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19163         Revert regexp that highlights output switches to its old
19164         pre-2010-10-28 value and remove one `?' from it (bug#9319).
19166         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19167         to check for empty output (bug#9226).
19169 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
19171         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19172         symbol-constituent as the default, as that stops font-lock from
19173         working properly (Bug#8843).
19175 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19177         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19178         `coding-system-for-*' around the process open call to avoid
19179         auth-source side effects.
19180         (smtpmail-try-auth-methods): Expand the secret password.
19181         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19182         probe hangs.
19184 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
19186         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19188         * emacs-lisp/find-func.el (find-function-noselect): New arg
19189         lisp-only.
19191         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19192         signal an error for built-in functions (Bug#6664).
19194 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19196         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19197         (smtpmail-try-auth-methods): Use it.
19199 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
19201         * font-lock.el (font-lock-fontify-region)
19202         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19203         (font-lock-default-unfontify-buffer)
19204         (font-lock-default-fontify-region)
19205         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19207         * progmodes/compile.el (compilation-error-properties):
19208         Fix confusion between file struct and message struct (Bug#9319).
19209         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19210         `ant' regexp.
19212         * net/browse-url.el (browse-url-firefox): Don't call
19213         browse-url-firefox-sentinel unless using -remote (Bug#9328).
19215 2011-08-20  Glenn Morris  <rgm@gnu.org>
19217         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19219         * tutorial.el (tutorial--default-keys): Update some default bindings.
19221         * files.el (hack-local-variables): Fully ignore case for "mode:".
19223 2011-08-20  Alan Mackenzie  <acm@muc.de>
19225         Resolve invalid use of a regexp in regexp-opt.
19227         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19228         detection for a java annotation.
19230         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19231         detection for a java annotation.
19233         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19234         handling for java.
19235         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19237 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
19239         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19240         (Bug#9274).
19242 2011-08-20  Alan Mackenzie  <acm@muc.de>
19244         Fontify CPP expressions correctly when starting in the middle of
19245         such a construct.  Mainly for when jit-lock etc. starts a chunk
19246         here.
19248         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19249         variable.
19250         (c-make-font-lock-search-form): New function, extracted from
19251         c-make-font-lock-search-function.
19252         (c-make-font-lock-search-function): Use the above function.
19253         (c-make-font-lock-context-search-function): New function.
19254         (c-cpp-matchers): Enhance the preprocessor expression case with
19255         the above function
19256         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19257         which takes an expression.
19259         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19261 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
19263         * window.el (display-buffer-reuse-window)
19264         (display-buffer-pop-up-window): Don't reuse or split a side
19265         window.
19267 2011-08-19  Glenn Morris  <rgm@gnu.org>
19269         * files.el (hack-local-variables-prop-line, hack-local-variables):
19270         Downcase "Mode:".  (Bug#9331)
19272 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
19274         * international/characters.el: Add L and R categories.
19276         * subr.el (bidi-string-mark-left-to-right): Rename from
19277         string-mark-left-to-right.  Use category search.
19279         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19281 2011-08-18  Juri Linkov  <juri@jurta.org>
19283         * faces.el (error, warning, success): New faces with definitions
19284         copied from old default values of `font-lock-warning-face',
19285         `compilation-warning', `compilation-info' (bug#6117).
19287         * font-lock.el (font-lock-warning-face): Inherit from `error'.
19289         * progmodes/compile.el (compilation-error): Inherit from `error'.
19290         (compilation-warning): Inherit from `warning'.
19291         (compilation-info): Inherit from `success'.
19293         * dired.el (dired-marked): Inherit from `warning'.
19294         (dired-flagged): Inherit from `error'.
19296 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19298         * mail/smtpmail.el (auth-source): Require to avoid problems with
19299         binding variables (bug#9298).  Also clean up some unused
19300         autoloads.
19302         * net/network-stream.el (network-stream-open-starttls):
19303         Support using starttls.el without using gnutls-cli.
19305 2011-08-17  Juri Linkov  <juri@jurta.org>
19307         * progmodes/grep.el (rgrep): Handle the case when
19308         `grep-find-command' is a cons cell (bug#9278).
19310 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
19312         * window.el (display-buffer-pop-up-frame): Run frame creation
19313         function with BUFFER current (as special-display-popup-frame
19314         does).  Reported by Drew Adams.
19316 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
19318         * epa-mail.el: Simplify GnuPG group expansion using
19319         epg-expand-group.
19320         (epa-mail-group-alist, epa-mail-group-modtime)
19321         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19322         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19323         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19324         Remove.
19326 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
19328         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19330 2011-08-16  Alan Mackenzie  <acm@muc.de>
19332         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19333         Correct, to avoid the inside of macros.
19335 2011-08-16  Richard Stallman  <rms@gnu.org>
19337         * epa-mail.el: Handle GnuPG group definitions.
19338         (epa-mail-group-alist, epa-mail-group-modtime)
19339         (epa-mail-gnupg-conf-file): New variables.
19340         (epa-mail-parse-groups, epa-mail-sync-groups)
19341         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19342         (epa-mail-expand-recipients): New functions.
19343         (epa-mail-encrypt): Call epa-mail-expand-recipients.
19345         * mail/rmail.el (rmail-epa-decrypt): New command.
19347         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19348         Don't bind buffer-read-only, just inhibit-read-only.
19349         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19350         (epa-decrypt-armor-in-region): Make error message clearer.
19352 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19354         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19355         and "a2b" to "ab" for `prefix'.
19357 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
19359         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19360         filter groups.
19361         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
19362         Fourquet (Bug#8804).
19364 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
19366         * startup.el (argi): Declare as global variable (bug#9275).
19368 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
19370         * subr.el (string-mark-left-to-right): Search the entire string
19371         for RTL script, not just the terminating character.  Doc fix.
19373 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19375         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19376         New function.
19377         (js--regexp-literal, js-syntax-propertize-function): Remove.
19378         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19379         (js-mode-map): Don't rebind electric keys.
19380         (js-insert-and-indent): Remove.
19381         (js-mode): Setup electric-layout and electric-indent instead.
19383         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19385 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
19387         * epa.el (epa-progress-callback-function): Fix the logic of
19388         displaying progress.
19389         * epa-file.el (epa-file-insert-file-contents): Make progress
19390         display more user-friendly.
19391         (epa-file-write-region): Ditto.
19393 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
19395         * subr.el (string-mark-left-to-right): New function.
19397         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19398         Use string-mark-left-to-right.
19399         (list-buffers-noselect): Caller changed.
19401         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19402         Use string-mark-left-to-right.
19403         (tabulated-list-print): Recenter after moving point.
19405 2011-08-10  Juri Linkov  <juri@jurta.org>
19407         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19408         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19409         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19411 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
19413         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19414         (Bug#7554).
19416 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19418         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19419         character.  (Bug#6594)
19421 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
19423         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19424         (image-dired--with-db-file): New macro.
19425         (image-dired-write-tags, image-dired-remove-tag)
19426         (image-dired-create-gallery-lists, image-dired-write-comments)
19427         (image-dired-get-comment, image-dired-mark-tagged-files)
19428         (image-dired-list-tags, image-dired-gallery-generate): Use it.
19429         (image-dired-gallery-generate): Use insert-file-contents.
19431         * time.el (display-time-world-list, display-time-world-display):
19432         * time-stamp.el (time-stamp-string):
19433         * vc/add-log.el (add-change-log-entry): Use setenv instead of
19434         set-time-zone-rule (Bug#7337).
19436 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
19438         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19439         (epg-error-to-string, epg-errors-to-string): New function.
19440         (epg-wait-for-completion): Reverse errors list.
19441         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19442         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19443         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19444         (epg-sign-keys, epg-generate-key-from-file)
19445         (epg-generate-key-from-string): Format errors by using
19446         epg-errors-to-string (bug#9255).
19447         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19449 2011-08-07  Juri Linkov  <juri@jurta.org>
19451         * faces.el (list-faces-display): Remove extra angle bracket
19452         from `help-mode-map'.
19454         * info.el (Info-history-toc-nodes): Doc fix.
19456         * longlines.el (longlines-mode): Doc fix.
19458 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19460         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19461         of statements and in a few more cases (bug#9183).
19463         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19464         New functions.
19465         (cl-transform-lambda): Use them (bug#9239).
19467 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
19469         * window.el (display-buffer-same-window)
19470         (display-buffer-same-frame, display-buffer-other-window)
19471         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19472         (pop-to-buffer-other-window)
19473         (pop-to-buffer-same-frame-other-window)
19474         (pop-to-buffer-other-frame): Make them defuns.
19475         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19477 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19479         * subr.el (make-composed-keymap): Move from C.  Change calling
19480         convention, and improve docstring to bring attention to a subtle point.
19481         * minibuffer.el (completing-read-default): Adjust accordingly.
19483 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
19485         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19486         (tramp-open-shell): Use `tramp-shell-quote-argument'.
19488         * net/trampver.el: Update release number.
19490 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19492         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19493         "in" (bug#9190).
19495 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19497         * mail/sendmail.el (sendmail-query-once): Restore the current
19498         buffer after querying (bug#9074).
19500         * dired.el (dired-flagged): Use different faces for marked and
19501         flagged files (bug#6117).
19503         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19504         (bug#4433).
19506         * ido.el (ido-mode): Switch off the message if called
19507         non-interactively.
19509         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19510         before 587, since it appears that that's more likely to work for
19511         more people.
19513         * cus-edit.el (custom-file): When running under emacs -q, always
19514         refuse to save the customizations, even if the .emacs file doesn't
19515         exist.
19517         * info.el: Remove the `Info-beginning-of-buffer' function
19518         (bug#8325).
19520         * net/network-stream.el (network-stream-open-starttls):
19521         Use `starttls-available-p' to see whether starttls.el can be used.
19523 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
19525         * window.el (display-buffer-in-window): Don't set dedicated status
19526         of window here (Bug#9215).
19527         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19528         (display-buffer-pop-up-side-window)
19529         (display-buffer-in-side-window): Set dedicated status of window here.
19531 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19533         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19534         before binding generated-autoload-file.
19536 2011-08-01  Deniz Dogan  <deniz@dogan.se>
19538         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19540 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
19542         Sync with Tramp 2.2.2.
19544         * net/trampver.el: Update release number.
19546 2011-07-30  Juri Linkov  <juri@jurta.org>
19548         * dired-aux.el (dired-touch-initial): Remove function.
19549         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19550         current time, and `default' to the last modification time of the
19551         current marked file (bug#6887).
19553 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
19555         * simple.el (goto-line): Use string-to-number to provide a
19556         numeric argument to read-number (bug#9163).
19558 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
19560         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19561         connection process, it could be nil.
19563 2011-07-27  Leo Liu  <sdl.web@gmail.com>
19565         Simplify url handling in rcirc-mode.
19567         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19568         (rcirc-browse-url-at-mouse): Remove.
19569         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19571 2011-07-26  Alan Mackenzie  <acm@muc.de>
19573         Fontify bitfield declarations properly.
19575         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19576         (c-symbol-chars): Now exported as a lang variable.
19577         (c-not-primitive-type-keywords): New lang variable.
19579         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19580         QT keyword "more" to prevent "more slots: ...." being spuriously
19581         parsed as a bitfield declaration.
19583         * progmodes/cc-engine.el (c-beginning-of-statement-1):
19584         Refactor and enhance to handle bitfield declarations.
19585         (c-punctuation-in): New function.
19586         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19587         declarations properly.
19589 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
19591         * calendar/icalendar.el (icalendar--all-events): Take care of
19592         multiple vcalendars in a single file.
19593         (icalendar--convert-float-to-ical): Checkdoc fixes.
19595 2011-07-25  Deniz Dogan  <deniz@dogan.se>
19597         * image.el (insert-image): Clarifying docstring.
19599 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
19601         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19602         `tramp-send-command-and-check' if there is no error.
19603         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19605 2011-07-22  Alan Mackenzie  <acm@muc.de>
19607         Prevent cc-langs.elc being loaded at run time.
19609         * progmodes/cc-mode.el: Remove two autoload forms which loaded
19610         cc-langs.
19612         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19613         "(require 'cc-langs)".  Quote a form so it will evaluate at
19614         (cc-mode's) compilation time.
19616 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
19618         * net/tramp.el (tramp-file-name-handler): Avoid recursive
19619         loading.  (Bug#9114)
19621 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
19623         * window.el (display-buffer-pop-up-window)
19624         (display-buffer-pop-up-side-window)
19625         (display-buffer-in-side-window): Call display-buffer-set-height
19626         and display-buffer-set-width after setting the new window's
19627         buffer so `fit-window-to-buffer' and friends work on the right buffer.
19629 2011-07-20  Sam Steingold  <sds@gnu.org>
19631         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19632         (etags-tags-included-tables): Call `convert-standard-filename' on
19633         the file names contained in TAGS so that windows Emacs can handle
19634         TAGS files created by cygwin ctags.
19636 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19638         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19639         which apparently didn't work.
19641 2011-07-19  Roland Winkler  <winkler@gnu.org>
19643         * proced.el (proced-send-signal): For *Marked Processes* buffer
19644         put point at beginning of buffer.
19646 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
19648         * proced.el (proced-format): Make header lines align with the text
19649         (bug#1779).
19651 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19653         * view.el (view-buffer): Allow running in `special' modes if we're
19654         visiting a file (bug#8615).
19656 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
19658         * window.el (display-buffer-alist-of-strings-p)
19659         (display-buffer-alist-set-1, display-buffer-alist-set-2):
19660         New functions.
19661         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19662         more accurately.
19664 2011-07-18  Alan Mackenzie  <acm@muc.de>
19666         Fontify declarators properly when, e.g., a jit-lock chunk begins
19667         inside a declaration.
19669         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19671         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19672         New function.
19673         (c-complex-decl-matchers): Insert reference to
19674         c-font-lock-enclosing-decls.
19676         * progmodes/cc-engine.el (c-backward-single-comment):
19677         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19678         to nil around calls to (forward-comment -1).
19680 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19682         * image.el (put-image): Doc typo fix.
19684         * progmodes/etags.el (tags-search): Doc typo fix.
19686         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19687         password if we get errors 550 to 554.
19689 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19691         * net/gnutls.el (gnutls-log-level): Remove.
19693         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19694         indentation character (bug#6380).
19696         * files.el (buffer-offer-save): Made permanently local (bug#6241).
19698         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19699         to clarify what the problem is (bug#4291).
19701         * simple.el (current-kill): Clarify what
19702         `interprogram-paste-function' does (bug#7500).
19703         (auto-fill-mode): Document `auto-fill-function' in relation to
19704         `auto-fill-mode' (bug#2470).
19706 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
19708         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19709         method if slot is read-only (bug#9035).
19711 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
19713         * frame.el (select-frame-set-input-focus): New argument NORECORD.
19714         * window.el (pop-to-buffer): Select window used even if it was
19715         selected before, see discussion of (Bug#8615), (Bug#6954).
19716         Pass argument NORECORD on to select-frame-set-input-focus.
19718 2011-07-15  Glenn Morris  <rgm@gnu.org>
19720         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
19721         Respect help-form.
19723 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
19725         * net/gnutls.el (gnutls-min-prime-bits): New variable.
19726         (gnutls-negotiate): Use it.
19728 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19730         * net/gnutls.el (gnutls-negotiate):
19731         Upcase `gnutls-algorithm-priority'.
19733 2011-07-15  Glenn Morris  <rgm@gnu.org>
19735         * jka-compr.el (jka-compr-verbose): Move from here...
19736         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
19737         Add missing :version tag.
19738         * info.el: No need to require jka-compr when compiling.
19740 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19742         * net/gnutls.el (gnutls-algorithm-priority): New variable.
19743         (gnutls-negotiate): Use it.
19745         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19747         * info.el (Info-beginning-of-buffer): New command.
19748         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19749         announcing `b' as the key (bug#8325).
19750         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19752         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19754         * international/mule-cmds.el
19755         (describe-specified-language-support): Make the error message
19756         clearer (bug#8905).
19758         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19760         * isearch.el (isearch-barrier): Add a doc string, since it's
19761         mentioned in a function doc string (bug#8678).
19763 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
19765         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19766         buffer argument (Bug#9083) and self-identifying label argument.
19768 2011-07-15  Glenn Morris  <rgm@gnu.org>
19770         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
19772 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19774         * man.el (Man-fontify-manpage): Fix message when formatting the
19775         man page (bug#7929).
19777 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
19779         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19780         argument LRM; if non-nil, append an invisible LRM character to the
19781         buffer name.
19782         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19783         last argument non-nil, when formatting buffer names.
19784         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19785         paragraph direction.
19787 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19789         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19790         the man page name (bug#7929).
19792         * image.el (put-image): Mention the `put-image' overlay property
19793         (bug#7834).
19795         * scroll-bar.el (set-scroll-bar-mode): Mention that
19796         `scroll-bar-mode' lists the values (bug#7772).
19798         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19799         command (bug#7729).
19801         * rect.el (apply-on-rectangle): Return the point after the last
19802         operation.
19803         (string-rectangle): Go to the point after the last operation
19804         (bug#7522).
19806         * printing.el (pr-toggle-region): Clarify the documentation
19807         slightly (bug#7493).
19809         * time.el (display-time-update):
19810         Allow `display-time-mail-function' to return nil (bug#7158).
19811         Fix suggested by Detlev Zundel.
19813         * vc/diff.el (diff): Clarify the order the file names are read
19814         (bug#7111).
19816         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19817         the doc string (bug#7015).
19819         * font-lock.el (font-lock-maximum-decoration): Mention what
19820         numeric levels mean (bug#6935).
19822         * startup.el (initial-buffer-choice): Don't mention the `none'
19823         selection, which is against policy.
19825 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
19827         * window.el (display-buffer-normalize-special):
19828         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19830 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
19832         * subr.el (version<, version<=, version=): Mention "-CVS" and
19833         "-12345" alpha version numbers.
19835 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
19837         * bindings.el: Add advertised binding for set-mark-command
19838         (Bug#5772).
19840 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
19842         * bindings.el (mode-line-other-buffer):
19843         * bookmark.el (bookmark-bmenu-2-window):
19844         * bs.el (bs-cycle-next, bs-cycle-previous):
19845         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19846         switch-to-buffer.
19848         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19849         Delete.
19851 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
19853         * follow.el (follow-debug-message, follow-redisplay):
19854         * jka-cmpr-hook.el (with-auto-compression-mode):
19855         Fix typos in docstrings.
19857 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19859         * subr.el (with-silent-modifications): Clarify somewhat what the
19860         macro inhibits (bug#6525).
19862         * simple.el (eval-expression): Note what it does if called
19863         interactively (bug#6495).
19865 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
19867         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19868         Use pop-to-buffer buffer-or-name if it is nil.
19870         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19871         Remove switch-to-buffer.
19873 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19875         * files.el (make-directory): Clarify that an error will be raised
19876         if there's an error (bug#6397).
19878         * startup.el (initial-buffer-choice): Add `none' as a choice
19879         (bug#6234).
19881         * subr.el (add-hook): Clarify section about buffer-local hooks
19882         (bug#6218).
19884         * dired.el (dired-flagged): Clarify doc string (bug#6117).
19886 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
19888         * tabify.el (untabify): Preserve the current column so that point
19889         doesn't move (bug#6032).
19891 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19893         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19894         Rewrite to avoid awkward possessive "s" (bug#5986).
19896 2011-07-13  Glenn Morris  <rgm@gnu.org>
19898         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
19899         (dired-insert-directory): Give a message the first time
19900         if ls is found not to support --dired.
19902 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19904         * simple.el (toggle-truncate-lines): Clarify what is toggled
19905         (bug#5580).  Text by Drew Adams.
19907 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
19909         * simple.el (blink-matching-open): Make the error message from the
19910         last change less verbose.
19912 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
19914         * font-lock.el (font-lock-comment-face): Use the high contrast
19915         "yellow" color for font-lock-comment-face on low color terminals
19916         using a dark background color (bug#4221).
19918 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19920         * dired.el (dired-insert-set-properties): Make the doc string
19921         reflect what it does now (bug#5325).
19923         * simple.el (blink-matching-open): Say that we were unable to find
19924         the match within the limit, if we're limited (bug#5122).
19926         * international/mule-cmds.el (prefer-coding-system): Add an
19927         example (bug#4869).
19929         * progmodes/etags.el (tags-search): Document `file-list-form'
19930         (bug#4731).
19932 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
19934         * net/browse-url.el (browse-url-default-browser)
19935         (browse-url-browser-function): Make the default browser choice a
19936         bit more logical (bug#4300).  Also clean up the doc string.
19938 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
19940         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19941         binary endings (bug#4440).
19943 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19945         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19946         which can be pretty annoying (bug#8971).
19948         * jka-compr.el (jka-compr-verbose): New variable, and use
19949         throughout (bug#8971).
19951         * info.el (Info-find-file): Fall back on the installation
19952         directory if we can't find the info node anywhere else.
19954 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
19956         * vc/vc.el (vc-revert-file):
19957         Don't set file time-stamp in the past.  (Bug#5181)
19959 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19961         * files.el (after-find-file): Give a better error message when
19962         trying to find a symlink that points to a file that doesn't exist
19963         (bug#4398).
19965         * progmodes/cc-vars.el: Remove (probably) misleading comment
19966         (bug#4396).
19968 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
19970         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19972 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
19974         * mouse-sel.el: Hack restoring functionality, while keeping
19975         compatibility with 2010-07-03 changes to mouse selection.
19976         (mouse-sel-primary-overlay): New var.
19977         (mouse-sel-selection-alist): Use it.
19978         (mouse-sel-mode): Doc fix; remove points that are default features
19979         of mouse.el.
19981 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
19983         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19984         Fix previous fix (bug#2490).
19986 2011-07-12  Roland Winkler  <winkler@gnu.org>
19988         * textmodes/bibtex.el (bibtex-initialize):
19989         Use pop-to-buffer-same-window.
19990         (bibtex-search-entries): Fix interactive call.
19992 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19994         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19995         Fontise bytecomp Error lines more correctly (bug#2490).
19996         Fix suggested by Johan Bockgård.
19998         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20000         * dired-x.el (dired-guess-default): Use `delete-dups'.
20002 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
20004         * dired.el (dired-mark-prompt):
20005         * dired-aux.el (dired-read-shell-command): Doc fix.
20007 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20009         * mail/sendmail.el (sendmail-query-once):
20010         Use `customize-save-variable' unconditionally, now that it works under
20011         emacs -Q.
20013         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20015         * cus-edit.el (custom-file): Take an optional no-error variable.
20016         (customize-save-variable): Set the variable, and give a warning if
20017         running under "emacs -q".
20019 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
20021         * loadhist.el (unload-feature-special-hooks):
20022         Add `auto-coding-functions', `fill-nobreak-predicate' and
20023         `find-directory-functions' (bug#5327).
20025 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20027         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20029         * cus-edit.el (custom-guess-name-alist): -alist variables should
20030         use the `alist' type (bug#3120).  Suggested by Drew Adams.
20032         * printing.el: Add documentation to all the `pr-toggle-' commands.
20034 2011-07-11  Leo Liu  <sdl.web@gmail.com>
20036         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20037         backends where it makes sense (bug#2623).
20039 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20041         * dired-x.el (dired-guess-default): Remove duplicate shell command
20042         entries (bug#2028).
20043         (dired-guess-default): Fix grammar in doc string (bug#2028).
20044         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20046         * subr.el (remove-duplicates): New conveniency function.
20048 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20050         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20051         (bug#1526).
20053 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
20055         * window.el (display-buffer-normalize-default): Don't invert
20056         meaning of even-window-heights.  Reported by Eli Zaretskii
20057         <eliz@gnu.org>.
20059 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
20061         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20063 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
20065         * window.el (display-buffer): Fix arguments to
20066         display-buffer-reuse-window in last change.
20068         * faces.el (link): Use a less saturated blue on light backgrounds.
20070         * startup.el (fancy-startup-text, fancy-about-text)
20071         (fancy-startup-tail): Use font-lock faces, for background safety.
20073 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
20075         * emulation/viper-cmd.el (viper-change-state-to-vi):
20076         Limit triggering of abbrev expansion (Bug#9038).
20078 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
20080         * window.el (display-buffer-default-specifiers): Remove.
20081         (display-buffer-macro-specifiers): Remove default specifiers.
20082         (display-buffer-alist): Default to nil.
20083         (display-buffer-reuse-window): New optional argument other-window.
20084         (display-buffer-pop-up-window): Allow splitting internal
20085         windows.  Check whether a live window was created.
20086         (display-buffer-other-window-means-other-frame)
20087         (display-buffer-normalize-arguments): Rename to
20088         display-buffer-normalize-argument and rewrite.  Set the
20089         other-window specifier.
20090         (display-buffer-normalize-special): New function.
20091         (display-buffer-normalize-options): Rename to
20092         display-buffer-normalize-default and rewrite.
20093         (display-buffer-normalize-options-inhibit): Remove.
20094         (display-buffer-normalize-specifiers): Rewrite.
20095         (display-buffer): Process other-window specifier and call
20096         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
20097         more faithfully.
20098         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20099         (display-buffer-alist-set): Don't handle 'unset default values.
20100         (display-buffer-in-window, display-buffer-alist-set):
20101         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
20102         <tassilo@member.fsf.org>.
20104 2011-07-09  Leo Liu  <sdl.web@gmail.com>
20106         * register.el (insert-register): Restore accidental change on
20107         2011-06-26.  (Bug#9028)
20109 2011-07-09  Glenn Morris  <rgm@gnu.org>
20111         * subr.el (remq): Handle the empty list.  (Bug#9024)
20113 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
20115         * mail/sendmail.el (send-mail-function): No longer delay custom
20116         initialization.
20117         * custom.el (custom-initialize-delay): Doc fix.
20119 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20121         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20123 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
20125         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20126         human-friendly prompt.
20128 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20130         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20131         provided by a particular plugin.
20133 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20135         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20136         save customizations (with "emacs -Q"), just set the variable
20137         instead of erroring out.
20139         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20141 2011-07-08  Juri Linkov  <juri@jurta.org>
20143         * arc-mode.el (archive-zip-expunge, archive-zip-update)
20144         (archive-zip-update-case): Use 7z if found by `executable-find'.
20145         The order of searching the available programs is the same as in
20146         `archive-zip-extract' (bug#8968).
20148 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
20150         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20151         (menu-bar-options-menu): Tweak descriptions.
20153 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20155         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20156         menu items into verb phrases (bug#1421).  Also refill to fit under
20157         80 columns.
20159 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
20161         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20162         (Info-read-node-name): Doc fix (Bug#1084).
20164         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20165         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20166         (end-of-sexp, beginning-of-sexp)
20167         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20168         (forward-symbol, forward-same-syntax, word-at-point)
20169         (sentence-at-point): Doc fix (Bug#1144).
20171 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20173         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20174         should cover it (bug#1281).
20176         * cus-edit.el (custom-show): Mark as obsolete.
20178         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20179         negotiation fails, then possibly try again with a non-encrypted
20180         connection (bug#9017).
20182         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20183         be used.
20185 2011-07-07  Richard Stallman  <rms@gnu.org>
20187         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20188         property, and handle its changed format.
20189         Look for the correct line number.
20190         Use file's line contents (but not past first =) to find
20191         correct line in message.
20193 2011-07-07  Kenichi Handa  <handa@m17n.org>
20195         * international/characters.el (build-unicode-category-table):
20196         Delete it.
20197         (unicode-category-table): Set it by unicode-property-table-internal.
20199         * international/mule-cmds.el (char-code-property-alist): Move to
20200         to src/chartab.c.
20201         (get-char-code-property): Call unicode-property-table-internal to
20202         load a file.  Call get-unicode-property-internal where necessary.
20203         (put-char-code-property): Call unicode-property-table-internal to
20204         load a file.  Call put-unicode-property-internal where necessary.
20205         put-unicode-property-internal where necessary.
20206         (char-code-property-description):
20207         Call unicode-property-table-internal to load a file.
20209         * international/charprop.el:
20210         * international/uni-bidi.el:
20211         * international/uni-category.el:
20212         * international/uni-combining.el:
20213         * international/uni-comment.el:
20214         * international/uni-decimal.el:
20215         * international/uni-decomposition.el:
20216         * international/uni-digit.el:
20217         * international/uni-lowercase.el:
20218         * international/uni-mirrored.el:
20219         * international/uni-name.el:
20220         * international/uni-numeric.el:
20221         * international/uni-old-name.el:
20222         * international/uni-titlecase.el:
20223         * international/uni-uppercase.el: Regenerate.
20225         * loadup.el: Load international/charprop.el before
20226         international/characters.
20228 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
20230         * window.el (next-buffer, previous-buffer): Signal an error if
20231         called from a minibuffer window.
20233         * bindings.el: Revert 2011-07-04 change.
20235 2011-07-06  Richard Stallman  <rms@gnu.org>
20237         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20238         (rmail-mime-insert-bulk, rmail-mime-insert-text):
20239         Treat markers like ints.
20240         (rmail-mime-entity): Doc fix.
20242 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20244         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20245         defcustom again for backwards compatibility.
20247         * simple.el (shell-command-on-region): Fill.
20249         * dired-aux.el (dired-kill-line): Add a doc string.
20251         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20252         to "\\sw\\|\\s_" (bug#358).
20254         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20255         (dired-unmark-backward): Ditto.
20256         (dired-flag-backup-files): Ditto.
20258         * dired-x.el (dired-mark-sexp): Ditto.
20260 2011-07-06  Richard Stallman  <rms@gnu.org>
20262         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20263         (rmail-mime-entity): New arg TRUNCATED.
20264         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20265         New functions.
20266         (rmail-mime-save): Warn if entity is truncated.
20267         (rmail-mime-toggle-hidden): Likewise, for showing.
20268         (rmail-mime-process-multipart): Record when an entity is truncated.
20270         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20271         if ENTITY is a string.
20273 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20275         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20276         of faces when `M-C-x'-ing their definitions (bug#8378).
20277         Also clean up the code slightly.
20279         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20280         because that makes the colors go away.
20282         * mail/sendmail.el (send-mail-function): Change the default to
20283         `sendmail-query-once'.
20284         (sendmail-query-once): Add an autoload cookie.
20286         * net/network-stream.el (network-stream-open-starttls): Try using
20287         a plain connection even if the server offered STARTTLS, and we
20288         kinda wanted to use it, if Emacs doesn't have any STARTTLS
20289         capability.  This should make smtpmail.el work in slightly more
20290         configurations.
20292 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
20294         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20295         New defun.
20296         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20298 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
20300         * progmodes/sql.el: Version 3.0
20301         (sql-product-alist): Add product :completion-object,
20302         :completion-column, and :statement attributes.
20303         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20304         (sql-mode-syntax-table): Mark all punctuation.
20305         (sql-font-lock-keywords-builder): Temporarily remove fallback on
20306         ansi keywords.
20307         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20308         (sql-mode-oracle-font-lock-keywords): Improve.
20309         (sql-oracle-show-reserved-words): New function for development.
20310         (sql-product-font-lock): Simplify for source code buffers.
20311         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20312         New functions.
20313         (sql-highlight-product): Set product specific syntax table.
20314         (sql-mode-map): Add statement movement functions.
20315         (sql-ansi-statement-starters, sql-oracle-statement-starters):
20316         New variable.
20317         (sql-statement-regexp, sql-beginning-of-statement)
20318         (sql-end-of-statement, sql-signum): New functions.
20319         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20320         (sql-show-sqli-buffer): Bug fix.
20321         (sql-interactive-mode): Store connection data as buffer local.
20322         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
20323         with sql-interactive-mode.
20324         (sql-save-connection): Save buffer local settings.
20325         (sql-connection-menu-filter): Change menu entry name.
20326         (sql-product-interactive): Bug fix.
20327         (sql-preoutput-hold): New variable.
20328         (sql-interactive-remove-continuation-prompt): Bug fixes.
20329         (sql-debug-redirect): New variable.
20330         (sql-str-literal): New function.
20331         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20332         Redesign.
20333         (sql-oracle-save-settings, sql-oracle-restore-settings)
20334         (sql-oracle-list-all, sql-oracle-list-table): New functions.
20335         (sql-completion-object, sql-completion-column)
20336         (sql-completion-sqlbuf): New variables.
20337         (sql-build-completions-1, sql-build-completions)
20338         (sql-try-completion): New functions.
20339         (sql-read-table-name): Use them.
20340         (sql-contains-names): New buffer local variable.
20341         (sql-list-all, sql-list-table): Use it.
20342         (sql-oracle-completion-types): New variable.
20343         (sql-oracle-completion-object, sql-sqlite-completion-object)
20344         (sql-postgres-completion-object): New functions.
20346 2011-07-06  Glenn Morris  <rgm@gnu.org>
20348         * window.el (pop-to-buffer): Doc fix.
20350 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
20352         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20354 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
20356         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20358         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20360 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
20362         * button.el (button): Inherit from link face.  Suggested by Dan
20363         Nicolaescu.
20365 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20367         * progmodes/gdb-mi.el: Fit in 80 columns.
20368         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20369         switch-to-buffer.
20371         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20372         if imenu is simply not configured (bug#8941).
20374 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
20376         * allout.el (allout-post-undo-hook): New allout outline-change
20377         event hook to signal undo activity.
20378         (allout-post-command-business): Run allout-post-undo-hook if an
20379         undo just occurred.
20380         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20381         * allout-widgets.el (allout-widgets-after-undo-function):
20382         Ensure the integrity of the current item's decoration after it has been
20383         in the vicinity of an undo.
20384         (allout-widgets-mode): Include allout-widgets-after-undo-function
20385         on the new allout-post-undo-hook.
20387 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20389         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20390         Let define-derived-mode define it.
20391         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20392         cycles of abbrev-table inheritance (bug#8998).
20394 2011-07-05  Roland Winkler  <winkler@gnu.org>
20396         * textmodes/bibtex.el: Add support for biblatex.
20397         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20398         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20399         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20400         (bibtex-entry-alist, bibtex-field-alist): New variables.
20401         (bibtex-entry-field-alist): Obsolete alias for
20402         bibtex-BibTeX-entry-alist.
20403         (bibtex-entry-alist, bibtex-field-alist): New widgets.
20404         (bibtex-set-dialect): New command.
20405         (bibtex-entry-type, bibtex-entry-head)
20406         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20407         Bind via bibtex-set-dialect.
20408         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20409         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20410         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20411         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20412         Define via bibtex-set-dialect.
20413         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20414         Obey bibtex-no-opt-remove-re.
20415         (bibtex-vec-push, bibtex-vec-incr): New functions.
20416         (bibtex-format-entry, bibtex-field-list)
20417         (bibtex-print-help-message, bibtex-validate)
20418         (bibtex-search-entries): Use new format of bibtex-entry-alist.
20420 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20422         * progmodes/compile.el (compilation-goto-locus):
20423         * net/tramp-cmds.el (tramp-append-tramp-buffers):
20424         * bs.el (bs-cycle-next, bs-cycle-previous):
20425         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20426         * bindings.el (mode-line-other-buffer):
20427         * autoinsert.el (auto-insert):
20428         * arc-mode.el (archive-extract):
20429         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20431 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20433         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20434         Fix check of `emacs-lock-unlockable-modes'.
20435         Coerce true values of `emacs-lock--try-unlocking' to t.
20437 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20439         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20440         * emacs-lock.el: New file.
20442 2011-07-05  Julien Danjou  <julien@danjou.info>
20444         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20445         than `boundp' to check if face is set.
20447 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
20449         * register.el (registerv-make):
20450         * window.el (window-min-height): Fix typos in docstrings.
20452 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
20454         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20455         Update doc string.
20457 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
20459         * server.el (server-execute): Catch quit and call
20460         `server-return-error' to pass the error back to emacsclient and
20461         close the connection (bug#8942).
20463 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
20465         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20466         insecure exception for current topic.  Also note that auto-saves
20467         are handled differently.
20469         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20470         State variables for tracking auto-save inhibition situation.
20472         (allout-write-contents-hook-handler): Rename from
20473         'allout-write-file-hook-handler', and describe how it depends on
20474         write-contents-functions sensitivity to non-nil value to prevent
20475         file write.
20477         (allout-auto-save-hook-handler): Remove.  auto-save does not check
20478         this in individual buffers, only in the starting buffer, so this
20479         is not the right way for us to inhibit auto-save in a buffer
20480         according to its condition.
20482         (allout-mode): Use new allout-write-contents-hook-handler, and
20483         only with write-contents-functions.  Remove auto-save provisions -
20484         they're implemented elsewhere.
20486         (allout-before-change-handler): If undo is in progress, note that
20487         for attention of allout-post-command-business.
20489         (allout-post-command-business): If the command we're following was
20490         an undo, check for change in the status of encrypted items and
20491         adjust auto-save inhibitions accordingly.
20493         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20494         according to whether there are or aren't any plain-text topics
20495         pending encryption.
20497         (allout-inhibit-auto-save-info-for-decryption):
20498         Adjust buffer-saved-size and some allout state to inhibit auto-saves
20499         if there are plain-text topics pending encryption.
20501         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20502         buffer-saved-size and some allout state to not inhibit auto-saves
20503         if there are no longer any plain-text topics pending encryption.
20505         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20506         No longer provide for exemption of the current topic.
20508 2011-07-04  Juri Linkov  <juri@jurta.org>
20510         Add 7z operations to delete and save changed members (bug#8968).
20511         * arc-mode.el (archive-7z-expunge, archive-7z-update):
20512         New defcustoms.
20513         (archive-7z-write-file-member): New function.
20514         (archive-7z-summarize): Fix the number of dashes in the
20515         listing output.
20517 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20519         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20520         (bug#8958).
20522 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
20524         * bindings.el: Ignore next-buffer and previous-buffer in
20525         minibuffer-local-map.
20527         * font-lock.el (font-lock-builtin-face): Change light background
20528         color to dark slate blue (Bug#6693).
20530 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
20532         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20534 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20536         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20537         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20538         Add switch-to-buffer.
20540 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20542         * isearch.el (isearch-search-fun-function): Clarify further the
20543         meaning of the function returned.
20545 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
20547         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20549         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20550         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20551         Use it.
20552         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
20553         `tramp-default-remote-path' does not exist.
20554         (tramp-send-command-and-read): New optional argument NOERROR.
20555         (tramp-open-connection-setup-interactive-shell)
20556         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20557         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20558         (tramp-process-sentinel): Flush also process' connection property.
20559         (tramp-sh-handle-start-file-process): Do not set process
20560         sentinel.  It is done now ...
20561         (tramp-maybe-open-connection): ... here.  (Bug#8929)
20563 2011-07-04  MON KEY  <monkey@sandpframing.com>
20565         * play/animate.el (animate-string): Doc fixes and allow changing
20566         the buffer name (bug#5417).
20568 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20570         * play/animate.el (animation-buffer-name): Rename from *animate*.
20572 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
20574         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20575         This is simpler and helps future-proof the code.
20576         (timer-until): Use time-subtract and float-time.
20577         (timer--time-less-p): Use time-less-p.
20579 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
20581         * type-break.el (timep): Use the value of `float-time' to avoid a
20582         byte-compiler warning.
20584         * server.el (server-eval-and-print): Return any result, even nil.
20586 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
20588         * type-break.el: Accept time formats that the builtins accept.
20589         (timep, type-break-time-difference): Accept any format that
20590         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20591         This is simpler and helps future-proof the code.
20592         (type-break-time-difference): Round rather than ignoring
20593         subseconds components.
20595 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20597         * info.el (Info-apropos-matches): Make non-interactive, since it
20598         doesn't seem to do anything useful as a command (bug#8829).
20600 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
20602         * frame.el (frame-background-mode, frame-set-background-mode):
20603         Move from faces.el.
20604         (frame-default-terminal-background): New function.
20606         * custom.el (custom-push-theme): Don't record faces in `changed'
20607         theme; this doesn't work correctly for per-frame face settings.
20608         (disable-theme): Use face-set-after-frame-default to reset faces.
20609         (custom--frame-color-default): New function.
20611 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20613         * dired.el (dired-flagging-regexp): Remove unused variable
20614         (bug#8769).
20616 2011-03-29  Kevin Ryde  <user42@zip.com.au>
20618         * progmodes/compile.el (compilation-error-regexp-alist-alist):
20619         `perl-Test2' extend to match possible "fail #N" rep count
20620         (bug#8377).
20622 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20624         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20625         `smtpmail-via-smtp' now returns the error instead of nil.
20627         * isearch.el (isearch-search-fun-function): Clarify the doc string
20628         (bug#8101).
20630 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
20632         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20633         unnecessary spaces (bug#8987).
20635 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20637         * net/network-stream.el (open-network-stream): Use the
20638         :end-of-capability command thoughout.
20640 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
20642         * net/network-stream.el (open-network-stream): Add the
20643         :end-of-capability command parameter, used by pop3.el.
20645 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20647         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20649         * fringe.el (fringe-query-style): Remove redundant text " (type ?
20650         for list)" (bug#6475).
20652         * files.el (file-expand-wildcards): Ignore non-readable
20653         sub-directories while trying to find matches instead of signaling
20654         an error (bug#6297).
20656         * man.el (Man-reference-regexp): Allow matching possible
20657         word-wrapped references (bug#6289).
20659         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20660         for consistency with the other vc buffers (bug#6197).
20661         (vc-checkin): Ditto.
20663         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20665         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20667 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20669         * custom.el (defcustom): Clarify that :set is only used in the
20670         Customize user interface (bug#6089).
20672         * progmodes/flymake.el (flymake-mode): If the buffer isn't
20673         associated with a file, refuse to run instead of erroring out
20674         (bug#6084).
20676         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20677         the doc string, since it appears that using `fill-column' always
20678         controls the width (bug#7845).
20680         * simple.el (shell-command-on-region): Say where the error output
20681         went if `shell-command-default-error-buffer' is set (bug#6857).
20683 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
20685         * allout.el (allout-yank-processing): Adjust cursor position for
20686         backwards-deleted space.
20688         (allout-rebullet-heading): Register changes with
20689         allout-exposure-changed-hook, so the modified topic is properly
20690         decorated.
20692 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20694         * minibuffer.el (completion-in-region): Document PREDICATE
20695         (bug#7136).
20697         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20698         of keyword/argument pairs (bug#6904).
20700         * replace.el (multi-occur):
20701         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20703 2011-07-02  Drew Adams  <drew.adams@oracle.com>
20705         * dired.el (dired-mark-if): Make the message about whether it's
20706         marking or unmarking clearer (bug#8523).
20708 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20710         * disp-table.el (display-table-print-array): New function.
20711         (describe-display-table): Use it to print the vectors more pretty
20712         (Bug#8859).
20714 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
20716         * window.el (window-state-get-1): Don't assign clone numbers.
20717         Add clone-of item to list of window parameters.
20718         (window-state-put-2): Don't process clone numbers.
20719         (display-buffer-alist): Fix doc-string.
20721 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20723         * subr.el (remq): Don't allocate if it's not needed.
20724         (keymap--menu-item-binding, keymap--menu-item-with-binding)
20725         (keymap--merge-bindings): New functions.
20726         (keymap-canonicalize): Use them to refine the canonicalization.
20727         * minibuffer.el (minibuffer-local-completion-map)
20728         (minibuffer-local-must-match-map): Move initialization from C.
20729         (minibuffer-local-filename-completion-map): Move initialization from C;
20730         don't inherit from anything here.
20731         (minibuffer-local-filename-must-match-map): Make obsolete.
20732         (completing-read-default): Use make-composed-keymap to combine
20733         minibuffer-local-filename-completion-map with either
20734         minibuffer-local-must-match-map or
20735         minibuffer-local-filename-completion-map.
20737 2011-07-01  Glenn Morris  <rgm@gnu.org>
20739         * type-break.el (type-break-time-sum): Use dolist.
20741         * textmodes/flyspell.el (flyspell-word-search-backward):
20742         Replace CL function.
20744 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20746         * mouse.el (mouse--strip-first-event): New function.
20747         (function-key-map): Use it to map fringe clicks to normal clicks
20748         by default.
20750         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20751         (vc-bzr-revision-completion-table): Add support for annotate and date.
20753         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20754         inherit from parent.
20756 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20758         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20759         (dired-show-file-type): Doc fixup (bug#8818).
20761         * dired.el (dired-mode): Fix up the doc string as suggested by
20762         Drew Adams (bug#8817).
20764         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20765         cookie, since the manual says that it should be possible to add
20766         this function to `find-file-hook' (bug#8709).
20768 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
20770         * progmodes/cfengine.el: Moved all cfengine3.el functionality
20771         here.  Noted Ted Zlatanov as the maintainer.
20772         (cfengine-common-settings, cfengine-common-syntax): New functions
20773         to set up common things between `cfengine-mode' and
20774         `cfengine3-mode'.
20775         (cfengine3-mode): New mode.
20776         (cfengine3-defuns cfengine3-defuns-regex
20777         (cfengine3-class-selector-regex cfengine3-category-regex)
20778         (cfengine3-vartypes cfengine3-font-lock-keywords)
20779         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20780         (cfengine3-indent-line): Add from cfengine3.el.
20782 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
20784         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20786         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20788 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
20790         * window.el (same-window-buffer-names, same-window-regexps)
20791         (same-window-p, special-display-frame-alist)
20792         (special-display-popup-frame, special-display-function)
20793         (special-display-buffer-names, special-display-regexps)
20794         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20795         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20796         (split-window-preferred-function, split-height-threshold)
20797         (split-width-threshold, even-window-heights)
20798         (display-buffer-mark-dedicated, window-splittable-p)
20799         (split-window-sensibly, window-safely-shrinkable-p):
20800         Un-obsolete.
20801         (display-buffer): Don't spread args with function specifier
20802         because special-display-popup-frame won't like it.
20804 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
20806         Time-stamp simplifications and fixes.
20807         These improve accuracy slightly, and future-proof the code
20808         against some potential changes to current-time format.
20810         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20811         by using time-since and float-time.
20813         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20814         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
20815         + NNN microseconds".
20817         * type-break.el (type-break-time-sum): Rewrite using time-add.
20819         * play/hanoi.el (hanoi-current-time-float): Remove.
20820         All uses replaced by float-time.
20822         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20823         This yields a more-accurate answer.
20824         (rng-time-to-float): Remove; no longer needed.
20826         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20828         * calendar/timeclock.el (timeclock-seconds-to-time):
20829         Defalias to seconds-to-time, since they're the same thing.
20831         * emacs-lisp/elp.el (elp-elapsed-time):
20832         * emacs-lisp/benchmark.el (benchmark-elapse):
20833         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20835 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20837         * window.el (bury-buffer): Don't iconify the only frame.
20838         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20839         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
20841 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
20843         * eshell/em-smart.el (eshell-smart-display-navigate-list):
20844         Add mouse-yank-primary.
20846 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
20848         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20850 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20852         * emacs-lisp/find-func.el (find-library--load-name): New fun.
20853         (find-library-name): Use it to find relative load names when provided
20854         absolute file name (bug#8803).
20856 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20858         * textmodes/flyspell.el (flyspell-word): Consider words that
20859         differ only in case as potential doublons (bug#5687).
20861         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20862         Remove two rather uninteresting debugging-like messages to make
20863         debbugs.el more silent.
20865         * comint.el (comint-password-prompt-regexp): Accept "Response" as
20866         a password-like phrase.
20868 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
20870         * progmodes/cc-guess.el: New file.
20872         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20874         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20875         derived from `c-basic-common-init'.
20877         * progmodes/cc-mode.el (top-level): Require cc-guess.
20878         (c-basic-common-init): Use `cc-choose-style-for-mode'.
20880 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
20882         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20884 2011-06-30  Alan Mackenzie  <acm@muc.de>
20886         * progmodes/cc-engine.el (c-guess-continued-construct):
20887         Correct the handling of template-args-cont, particularly for when font
20888         lock is disabled.  Name this case as "CASE G".
20890 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
20892         * allout.el (allout-yank-processing): Fix injection of extra space
20893         between bullet and non-whitespace character in first topic when
20894         pasting, ensuring that the actual spacing in the pasted topic
20895         following the bullet char is preserved.  This extra space was
20896         causing pasted encrypted topics to get a decrypted status even
20897         when the content was actually still encrypted.  Now the decryption
20898         status from before the paste is preserved.
20900         (allout-flag-region): Set all allout overlays so they evaporate
20901         when reduced to zero length (evanescent), to prevent overlay
20902         leakage.
20904 2011-06-30  Glenn Morris  <rgm@gnu.org>
20906         * w32-fns.el (w32-charset-info-alist): Declare.
20908         * find-dired.el (find-grep-options): Simplify.
20910         * term/ns-win.el (ns-set-resource): Declare.
20912         * ses.el (row, col): Declare dynamic variables honestly.
20914         * textmodes/reftex-parse.el (index-tags): Declare.
20916 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
20918         * cus-edit.el (customize-push-and-save): New function.
20920         * files.el (hack-local-variables-confirm): Use it.
20922         * custom.el (load-theme): New arg NO-CONFIRM.
20923         Use customize-push-and-save (Bug#8720).
20924         (custom-enabled-themes): Doc fix.
20926         * cus-theme.el (customize-create-theme)
20927         (custom-theme-merge-theme): Callers to load-theme changed.
20929 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20931         * thingatpt.el (thing-at-point-short-url-regexp): Require that
20932         short URLs have at least one dot in them (bug #7614).
20934         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20935         nil, because using a pty is apparently too slow (bug #895).
20937 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20939         * mail/sendmail.el (sendmail-query-once): New function.
20940         (sendmail-query-once-function): New variable.
20942 2011-06-29  Glenn Morris  <rgm@gnu.org>
20944         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20946         * ses.el (top-level): Require cl when compiling.
20947         (ses-set-localvars): Fix error statement.
20948         Call it at compile time to silence a storm of warnings.
20950 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
20952         * window.el (normalize-live-buffer): Rename to
20953         window-normalize-buffer.
20954         (normalize-live-frame): Rename to window-normalize-frame.
20955         (normalize-any-window): Rename to window-normalize-any-window.
20956         (normalize-live-window): Rename to window-normalize-live-window.
20957         (make-window-atom): Rename to window-make-atom.
20958         (window-resize-reset): Rename to window--resize-reset.
20959         (window-resize-reset-1): Rename to window--resize-reset-1.
20960         (resize-mini-window): Rename to window--resize-mini-window.
20961         (resize-subwindows-skip-p): Rename to
20962         window--resize-subwindows-skip-p.
20963         (resize-subwindows-normal): Rename to
20964         window--resize-subwindows-normal.
20965         (resize-subwindows): Rename to window--resize-subwindows.
20966         (resize-other-windows): Rename to window--resize-siblings.
20967         (resize-this-window): Rename to window--resize-this-window.
20968         (resize-root-window): Rename to window--resize-root-window.
20969         (resize-root-window-vertically): Rename to
20970         window--resize-root-window-vertically.
20971         (normalize-buffer-to-display): Rename to
20972         window-normalize-buffer-to-display.
20973         (normalize-buffer-to-switch-to): Rename to
20974         window-normalize-buffer-to-switch-to.
20975         Correspondingly update all callers of the functions listed
20976         above.
20977         (display-buffer-alist, display-buffer-normalize-arguments)
20978         (display-buffer-normalize-options, display-buffer)
20979         (display-buffer-alist-set): Use "function" instead of
20980         "fun-with-args".
20982 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
20984         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20985         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
20986         debbugs.gnu.org.  Mention acknowledgment email.
20988 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20990         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20991         buffer multibyteness, since it shouldn't matter.
20993 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
20995         * window.el (display-buffer-in-side-window): Handle dedicated
20996         windows as in display-buffer-reuse-window.
20997         (display-buffer-normalize-alist): Use value of override
20998         specifier.
20999         (display-buffer-normalize-specifiers): Use value of
21000         other-window-means-other-frame specifier.
21001         (display-buffer-alist): Rewrite some texts in widgets.
21002         (display-buffer): Spread arguments when calling function
21003         specified by fun-with-args.
21005 2011-06-28  Deniz Dogan  <deniz@dogan.se>
21007         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21008         Unnest `let'.
21010         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21011         selectors (Bug#5732).
21012         (css-proprietary-nmstart-re): Use `regexp-opt'.
21014 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
21016         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21017         (eshell-ls-date-format): New defcustom.
21018         (eshell-ls-file): Use it.
21020 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21022         * help-fns.el (describe-variable): Fix message for terminal-local vars.
21024 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
21026         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21027         (ange-ftp-make-tmp-name): New arg.
21028         (ange-ftp-file-local-copy): Use it.
21030 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
21032         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21033         no-conversion (Bug#8870).
21035 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
21037         * window.el (window-right, window-left, window-child)
21038         (window-child-count, window-last-child)
21039         (window-iso-combination-p, walk-window-tree-1)
21040         (window-atom-check-1, window-tree-1, delete-window)
21041         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21042         new naming conventions - window-vchild, window-hchild,
21043         window-next and window-prev are now called window-top-child,
21044         window-left-child, window-next-sibling and window-prev-sibling
21045         respectively.
21046         (resize-window-reset): Rename to window-resize-reset.
21047         (resize-window-reset-1): Rename to window-resize-reset-1.
21048         (resize-window): Rename to window-resize.
21049         (window-min-height, window-min-width)
21050         (resize-mini-window, resize-this-window, resize-root-window)
21051         (resize-root-window-vertically, adjust-window-trailing-edge)
21052         (enlarge-window, shrink-window, maximize-window)
21053         (minimize-window, delete-window, quit-restore-window)
21054         (split-window, balance-windows, balance-windows-area-adjust)
21055         (balance-windows-area, window-state-put-2)
21056         (display-buffer-even-window-sizes, display-buffer-set-height)
21057         (display-buffer-set-width, set-window-text-height)
21058         (fit-window-to-buffer): Rename all "resize-window" prefixed
21059         calls to use the "window-resize" prefix convention.
21060         (display-buffer-alist): Fix symbol for label specifier.
21061         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21062         corresponding specifier.
21063         Reported by Juanma Barranquero <lekktu@gmail.com>.
21065 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21067         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21068         convention.
21069         (ses-call-printer): Does not pass an empty string to formatter when the
21070         cell is empty to keep from barking printer Calc math-format-value.
21072 2011-06-27  Richard Stallman  <rms@gnu.org>
21074         * battery.el (battery-mode-line-limit): New variable.
21075         (battery-update): Handle it.
21077         * mail/rmailmm.el (rmail-mime-process-multipart):
21078         Handle truncated messages.
21080 2011-06-27  Glenn Morris  <rgm@gnu.org>
21082         * progmodes/flymake.el (flymake-err-line-patterns):
21083         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
21085 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21087         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21088         (ses--clean-!, ses--clean-_): New functions.
21089         (ses-range): Add configurability of readout order, and conversion
21090         to Calc vector.
21092         * ses.el (ses-repair-cell-reference-all): New function.
21093         (ses-cell-symbol): Set macro as safe, so that it can be used in
21094         formulas.
21096         * ses.el: Update cycle detection algorithm.
21097         (ses-localvars): Add ses--Dijkstra-attempt-nb and
21098         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21099         (ses-set-localvars): New function.
21100         (ses-make-cell): Add property-list as a cell element.
21101         (ses-cell-property-get-fun, ses-cell-property-get)
21102         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21103         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21104         New functions.
21105         (ses-cell-property-set, ses-cell-property-pop)
21106         (ses-cell-property-get-handle): New macro.
21107         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21108         New aliases, used for code readability.
21109         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21110         cycle detection.
21111         (ses-self-reference-early-detection): New defcustom.
21112         (ses-formula-references): Robustify against self-referring cells.
21113         (ses-mode): Use ses-set-localvars.
21114         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21115         before lauching the update processing.
21116         (ses-initialize-Dijkstra-attempt): New function.
21117         (ses-recalculate-cell): Update for cycle detection based on
21118         Dijkstra algorithm.
21120         * ses.el: Fix commenting and indenting convention.
21122 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21124         * bs.el (bs-cycle-next): Complete last change.
21126 2011-06-27  Drew Adams  <drew.adams@oracle.com>
21128         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21130 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21132         * net/network-stream.el (network-stream-open-starttls):
21133         Don't re-get capabilities unless we've reestablished connection.
21134         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21136         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21137         to binary to possibly avoid line encoding issues on Windows (among
21138         other things).
21140 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21142         * net/network-stream.el (open-network-stream): Return an :error
21143         saying what the problem was, if possible.
21145         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21146         server.
21148         * net/network-stream.el (network-stream-open-starttls): If we
21149         wanted to use STARTTLS, and the server offered it, but we weren't
21150         able to because we had no STARTTLS support, then close the connection.
21151         (open-network-stream): Return an :error element, if present.
21153 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
21155         * hl-line.el (hl-line-sticky-flag): Doc fix.
21156         (global-hl-line-sticky-flag): New option (Bug#8323).
21157         (global-hl-line-highlight): Obey it.
21159         * vc/vc.el (vc-revert-show-diff): Default to t.
21161 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
21163         * allout-widgets.el (allout-widgets-post-command-business):
21164         Stop decorating intermediate isearch matches.  They're not being
21165         undecorated when an isearch is continued past, and isearch
21166         automatically collapses them.  This leads to "widget leaks", where
21167         decorated items accumulate in collapsed areas.  Lines with lots of
21168         hidden widgets can slow down cursor travel, substantially.
21169         Too much complicated machinery would be needed to ensure undecoration,
21170         so we're doing without this nicety.
21172         (allout-widgets-tally-string): Don't try to do a hash-table-count
21173         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
21174         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21175         *Messages* when allout-widgets-maintain-tally is t.
21177 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
21179         * window.el (display-buffer-normalize-argument): Rename to
21180         display-buffer-normalize-arguments.  Handle special meaning of
21181         LABEL argument.  Respect special-display-function when popping up
21182         a new frame.  Fix code searching for a window showing the buffer
21183         on another frame.
21184         (display-buffer-normalize-specifiers):
21185         Call display-buffer-normalize-arguments.
21186         (display-buffer-in-window): Don't undedicate the window if its
21187         buffer remains the same.
21188         Reported by Drew Adams <drew.adams@oracle.com>.
21189         (display-buffer-alist): Add choice for same-window macro
21190         specfier.
21191         (display-buffer): Mention special meaning of LABEL argument in
21192         doc-string.  Fix quoting.  Don't pop up a new frame even as
21193         fallback.
21195 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
21197         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21198         avoid deleting the current window in some cases (bug#8911).
21200 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
21202         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21203         (Bug#8934)
21205 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21207         * net/network-stream.el (network-stream-open-starttls):
21208         Use built-in TLS support if `gnutls-available-p' is true.
21209         (network-stream-open-tls): Ditto.
21211 2011-06-26  Leo Liu  <sdl.web@gmail.com>
21213         * register.el (registerv): New struct.
21214         (registerv-make): New function.
21215         (jump-to-register, describe-register-1, insert-register):
21216         Support the jump-func, print-func and insert-func slot of a registerv
21217         struct.  (Bug#8415)
21219 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
21221         * vc/vc.el (vc-revert-show-diff): New defcustom.
21222         (vc-diff-internal): New arg specifying diff buffer.
21223         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
21224         reuse an existing *vc-diff* buffer (Bug#8927).
21226         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21228 2011-06-26  Glenn Morris  <rgm@gnu.org>
21230         * progmodes/f90.el (f90-critical-indent): New option.
21231         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21232         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21233         (f90-mode): Doc fix.
21234         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21235         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21236         (f90-beginning-of-block, f90-next-block, f90-indent-region)
21237         (f90-match-end): Handle block, critical.
21239 2011-06-25  Glenn Morris  <rgm@gnu.org>
21241         * calendar/diary-lib.el (diary-included-files): Doc fix.
21242         (diary-include-files): New function, extracted from
21243         diary-include-other-diary-files and diary-mark-included-diary-files.
21244         (diary-include-other-diary-files, diary-mark-included-diary-files):
21245         Just call diary-include-files.
21246         (diary-mark-entries): Reset diary-included-files on first call.
21248         * calendar/diary-lib.el (diary-mark-entries)
21249         (diary-mark-included-diary-files):
21250         Visit included diary-files in temp buffers.
21252         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21253         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21254         (f90-start-block-re, f90-imenu-generic-expression)
21255         (f90-looking-at-program-block-start, f90-no-block-limit):
21256         Add support for submodules.
21258         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21259         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21261 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
21263         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21264         buffer-file-type before setting its value, to avoid disastrous
21265         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
21267 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
21269         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21271         * ses.el (ses-unload-function):
21272         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21274         * proced.el (proced-unload-function):
21275         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21277 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
21279         * server.el (server-create-window-system-frame): Add parameters arg.
21280         (server-process-filter): Doc fix.  Handle frame-parameters.
21282 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
21284         Fix bug#8730, bug#8781.
21286         * loadhist.el (unload--set-major-mode): New function.
21287         (unload-feature): Use it.
21289         * progmodes/python.el (python-after-info-look): Add autoload cookie.
21290         (python-unload-function): New function.
21292 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21294         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21296 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
21298         * net/browse-url.el (browse-url-firefox-program): Add icecat to
21299         the candidates list.
21301 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
21303         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21305 2011-06-23  Richard Stallman  <rms@gnu.org>
21307         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21308         (rmail-variables): Set next-error-move-function.
21309         (rmail-what-message): Take argument POS.
21310         (rmail-next-error-move): New function.
21312 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21314         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21315         messages for adjacent non-terminals.
21317 2011-06-23  Richard Stallman  <rms@gnu.org>
21319         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21320         (rmail-show-message-1): Preserve buffer modified flag.
21321         (rmail-start-mail): Don't specify use of rmail-mail-return;
21322         that's done by mail-bury now.
21323         (rmail-mail-return): Handle arg NEWBUF.
21325 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
21327         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21328         SIZE is a number.
21330 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
21332         * window.el (get-lru-window, get-mru-window)
21333         (get-largest-window): Never return a minibuffer window.
21334         (display-buffer-pop-up-window): Fix a bug that could lead to
21335         reusing the minibuffer window.
21336         (display-buffer): Pass original specifier argument to
21337         display-buffer-function instead of the normalized one.
21338         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21340 2011-06-22  Leo Liu  <sdl.web@gmail.com>
21342         * minibuffer.el (completing-read-function)
21343         (completing-read-default): Move from minibuf.c.
21345 2011-06-22  Richard Stallman  <rms@gnu.org>
21347         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21348         to Rmail even if not started by a special Rmail command.
21350         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21351         Copy the buffer currently showing just one message.
21353 2011-06-22  Roland Winkler  <winkler@gnu.org>
21355         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21356         (bibtex-clean-entry): First delete the old key so that a
21357         customized algorithm for generating the new key does not get
21358         confused by the old key.
21359         (bibtex-url): Obey regexp of first step.
21360         (bibtex-search-entries): Do not use add-to-list with local
21361         list-var.
21363 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21365         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21366         stored a user name, then query for the password first, instead of
21367         waiting for SMTP to give an error message and the trying again.
21369 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
21371         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21372         BUFFER in call-process.
21374 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21376         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21377         QUIT twice.
21378         (smtpmail-try-auth-methods): Require user name and password from
21379         auth-source.
21381 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
21383         * window.el (display-buffer-default-specifiers)
21384         (display-buffer-alist): Remove entries for pop-up-frame-alist.
21385         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21386         (split-window): Normalize SIDE argument (Bug#8916).
21388         * frame.el (pop-up-frame-alist, pop-up-frame-function)
21389         (special-display-frame-alist, special-display-popup-frame):
21390         Remove duplicate declarations.  These are now in window.el.
21392 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21394         * mail/smtpmail.el (smtpmail-via-smtp):
21395         Set :use-starttls-if-possible so that we always use STARTTLS if the
21396         server supports it.  SMTP servers that support STARTTLS commonly
21397         require it.
21399         * net/network-stream.el (network-stream-open-starttls): Support
21400         upgrading to STARTTLS always, even if we don't have built-in support.
21401         (open-network-stream): Add the :always-query-capabilities keyword.
21403         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21404         upgrades with `open-network-stream', and rely solely on
21405         auth-source for all credentials.  Big changes throughout the file,
21406         but in particular:
21407         (smtpmail-auth-credentials): Remove.
21408         (smtpmail-starttls-credentials): Remove.
21409         (smtpmail-via-smtp): Check for servers saying they want AUTH after
21410         MAIL FROM, too.
21412         * net/network-stream.el (network-stream-open-starttls):
21413         Provide support for client certificates both for external and built-in
21414         STARTTLS.
21415         (auth-source): Require.
21416         (open-network-stream): Document the :client-certificate keyword.
21417         (network-stream-certificate): Change cert-cert to cert and
21418         cert-key to key.
21420 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
21422         * net/tramp-cache.el (top): Don't load the persistency file when
21423         "emacs -Q" has been called.
21425 2011-06-21  Tim Harper  <timcharper@gmail.com>
21427         * term/ns-win.el (ns-initialize-window-system):
21428         Set application-specific `ApplePressAndHoldEnabled' system
21429         resource to NO as it is not yet supported by the NS port.
21431 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
21433         * misc.el (list-dynamic-libraries--refresh): Compute header here...
21434         (list-dynamic-libraries): ...not here.
21436 2011-06-21  Leo Liu  <sdl.web@gmail.com>
21438         * subr.el (sha1): Implement sha1 using secure-hash.
21440 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
21442         * window.el (display-buffer-alist): In default value do not
21443         enforce searching a window on any but the selected frame.
21444         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21445         (display-buffer-select-window): Remove function.
21446         (display-buffer-in-window): When a window on another frame gets
21447         reused, do not select it any more but just raise its frame if
21448         necessary (Bug#8851) and (Bug#8856).
21449         (display-buffer-normalize-options): Handle pop-up-frames related
21450         options more faithfully.
21451         (pop-to-buffer): Don't rely on `display-buffer' selecting the
21452         window if it is on another frame.
21453         (display-buffer-alist, display-buffer-default-specifiers):
21454         Don't make new frame unsplittable by default.
21455         (display-buffer-normalize-argument): Fix doc-string typo and use
21456         'same-frame-other-window instead of 'other-window when associating
21457         with display-buffer-macro-specifiers.
21459 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
21461         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21462         New functions.
21463         (5x5-mode-map, 5x5-mode-menu): Bind them.
21464         (5x5-draw-grid): Tweak the solver's rendering.
21466 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21468         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21469         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21471 2011-06-21  Drew Adams  <drew.adams@oracle.com>
21473         * menu-bar.el: Use function variable instead of switch-to-buffer.
21474         (menu-bar-select-buffer-function): New variable.
21475         (menu-bar-update-buffers): Use it (bug#8876).
21477 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21479         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21480         variable's status.
21482 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
21484         * x-dnd.el (x-dnd-version-from-flags)
21485         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21486         and long as number (Bug#8899).
21487         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21489 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21491         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21492         (completion-try-completion, completion-all-completions): Compute the
21493         metadata argument if it's missing; make it optional (bug#8795).
21495         * wid-edit.el: Use lex-bind and move towards completion-at-point.
21496         (widget-complete): Use new :completion-function property.
21497         (widget-completions-at-point): New function.
21498         (default): Use :completion-function instead of :complete.
21499         (widget-default-completions): Rename from widget-default-complete;
21500         Rewrite.
21501         (widget-string-complete, widget-file-complete, widget-color-complete):
21502         Remove functions.
21503         (file, symbol, function, variable, coding-system, color):
21504         * international/mule-cmds.el (default-input-method, charset)
21505         (language-info-custom-alist):
21506         * cus-edit.el (face): Use new property :completions.
21508         * progmodes/pascal.el (pascal-completions-at-point): New function.
21509         (pascal-mode): Use it.
21510         (pascal-mode-map): Use completion-at-point.
21511         (pascal-toggle-completions): Make obsolete.
21512         (pascal-complete-word, pascal-show-completions):
21513         * progmodes/octave-mod.el (octave-complete-symbol):
21514         Redefine as obsolete alias.
21515         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21516         Signal absence of completion info for old Octave,
21517         (inferior-octave-complete): Redefine as obsolete alias.
21518         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21519         (meta-completions-at-point): Rename from meta-complete-symbol and
21520         adapt it for use on completion-at-point-functions.
21521         (meta-common-mode): Use it.
21522         (meta-looking-at-backward, meta-match-buffer): Remove.
21523         (meta-complete-symbol): Redefine as obsolete alias.
21524         (meta-common-mode-map): Use completion-at-point.
21525         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21526         (makefile-mode-map): Use completion-at-point.
21527         (makefile-completions-at-point): Rename from makefile-complete and
21528         adapt it for use on completion-at-point-functions.
21529         (makefile-mode): Use it.
21530         (makefile-complete): Redefine as obsolete alias.
21532 2011-06-20  Deniz Dogan  <deniz@dogan.se>
21534         * net/rcirc.el: Delete trailing whitespaces once and for all.
21536 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
21538         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21540 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
21542         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21544         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21546 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
21548         * window.el (display-buffer-other-window-means-other-frame):
21549         Call display-buffer-normalize-alist.
21550         (display-buffer-normalize-specifiers-1): Rename to
21551         display-buffer-normalize-argument.  New argument other-frame.
21552         Rewrite.
21553         (display-buffer-normalize-specifiers-2): Rename to
21554         display-buffer-normalize-options.
21555         (display-buffer-normalize-alist-1): New function.
21556         (display-buffer-normalize-specifiers-3): Rename to
21557         display-buffer-normalize-alist.
21558         Call display-buffer-normalize-alist-1.
21559         (display-buffer-normalize-options-inhibit): New variable.
21560         (display-buffer-normalize-specifiers): Rewrite calling
21561         display-buffer-normalize-alist,
21562         display-buffer-normalize-argument, and
21563         display-buffer-normalize-options.  Don't call the latter if
21564         display-buffer-normalize-options-inhibit is non-nil.
21565         (frame-auto-delete): New option.
21566         (window-deletable-p): Use frame-auto-delete.
21567         (window-list-no-nils, window-state-ignored-parameters)
21568         (window-state-get-1, window-state-get, window-state-put-list)
21569         (window-state-put-1, window-state-put-2, window-state-put):
21570         New functions.
21571         (display-buffer-normalize-options): Move special-display-p group
21572         after pop-up-frame group (Bug#8851) and (Bug#8856).
21574 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
21576         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21577         groups (Bug#8776).
21578         (rx-submatch-n): New function.
21579         (rx): Document it.
21581         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21582         (Bug#8768).
21584         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21586         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21588         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21589         anytime existing face settings are present (Bug#8889).
21591         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21592         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21593         Remove unused argument.
21595 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
21597         * window.el (display-buffer-default-specifiers):
21598         Remove pop-up-frame.  Add pop-up-window-min-height,
21599         pop-up-window-min-width, and another reuse-window specifier
21600         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
21601         (display-buffer-normalize-specifiers-2):
21602         Handle split-height-threshold and split-width-threshold also when
21603         pop-up-windows is unset.  Add a reuse-window specifier for the
21604         case popping up a new window fails.
21605         (special-display-popup-frame): Remove double quoting.
21606         (display-buffer-normalize-specifiers-1): Fix thinko.
21608 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21610         * shell.el (shell-completion-vars): Set pcomplete-termination-string
21611         according to comint-completion-addsuffix.
21613         * pcomplete.el: Convert to lexical binding and fix bug#8819.
21614         (pcomplete-suffix-list): Mark as obsolete.
21615         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21616         pcomplete-seen in the closure.
21617         (pcomplete-comint-setup): Setup completion-at-point as well.
21618         (pcomplete--entries): New function.
21619         (pcomplete--env-regexp): New var.
21620         (pcomplete-entries): Rewrite to work with partial-completion and
21621         without relying on pcomplete-suffix-list.
21622         (pcomplete-pare-list): Remove, unused.
21624 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
21626         * window.el (display-buffer-alist): Set pop-up-window-min-height
21627         and pop-up-window-min-width in default value.  Reported by
21628         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
21629         other-window-means-other-frame.
21630         (display-buffer-macro-specifiers): Comment out entry for
21631         other-window specifier.
21632         (display-buffer-other-window-means-other-frame): New function.
21633         (display-buffer-normalize-specifiers-1): New arguments
21634         buffer-name and label.  Treat other-window case specially.
21635         (display-buffer-normalize-specifiers-2): Treat other-window case
21636         specially.
21637         (display-buffer-normalize-specifiers-3): New function.
21638         (display-buffer-normalize-specifiers):
21639         Call display-buffer-normalize-specifiers-3.
21641 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
21643         * window.el (same-window-p): Fix two typos introduced when
21644         adding with-no-warnings.
21645         (display-buffer-normalize-specifiers-1): Don't check
21646         pop-up-frames for 'unset initialization.
21647         (display-buffer-normalize-specifiers-2): Major rewrite using
21648         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21649         (pop-up-frames, display-buffer-reuse-frames)
21650         (display-buffer-mark-dedicated): Don't initialize to 'unset.
21651         Suggested by David Engster <deng@randomsample.de>.
21652         (even-window-heights): Initialize to 'unset.
21653         (display-buffer-alist-set): Handle new 'unset initializations.
21654         (display-buffer-macro-specifiers): Don't pop up a new frame in the
21655         other window case.
21657 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
21659         * window.el (display-buffer-normalize-specifiers-1):
21660         Respect current value of pop-up-frames for most reasonable values of
21661         second argument of display-buffer (Bug#8865).
21662         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21663         (switch-to-buffer-other-window-same-frame)
21664         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
21665         Adams (Bug#8875).
21666         (display-buffer): Don't check noninteractive when calling
21667         display-buffer-pop-up-frame.
21668         (display-buffer-pop-up-frame): Never pop up a frame in
21669         noninteractive mode (Bug#8857).
21670         (enlarge-window, shrink-window): Don't report an error when the
21671         window can't be resized as requested (Bug#8862).
21673 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21675         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21677         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21679         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21681 2011-06-15  Alan Mackenzie  <acm@muc.de>
21683         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21684         for declarators, disable knr checking to speed up for normal files.
21685         2: Refactor, replacing a sequence of nested if forms by a cond form.
21687 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21689         * net/network-stream.el (open-network-stream): Add the keyword
21690         :always-query-capabilities for the case where you want to force a
21691         `plain' network connection, but the protocol still requires the
21692         capabilitiy command (i.e., SMTP and EHLO).
21694         * subr.el (process-live-p): Rename from `process-alive-p' for
21695         consistency with other `-live-p' functions.
21697 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21699         * window.el (same-window-buffer-names, same-window-regexps)
21700         (special-display-frame-alist, special-display-popup-frame)
21701         (special-display-function, special-display-buffer-names)
21702         (special-display-regexps, pop-up-frame-alist)
21703         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21704         (pop-up-windows, split-window-preferred-function)
21705         (split-height-threshold, split-width-threshold, even-window-heights)
21706         (display-buffer-mark-dedicated): Don't encourage the use of
21707         display-buffer-alist from Elisp code.
21709 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
21711         * progmodes/python.el (python-mode): Derive from prog-mode.
21712         * progmodes/ps-mode.el (ps-mode):
21713         * progmodes/mixal-mode.el (mixal-mode):
21714         * progmodes/cfengine.el (cfengine-mode):
21715         * progmodes/ld-script.el (ld-script-mode): Likewise.
21717 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
21719         * window.el (display-buffer-alist): Trim default value to avoid
21720         popping up a new frame (Bug#8857) or reusing an arbitrary window
21721         on another frame.
21722         (display-buffer): Do not fall back on popping up a new frame in
21723         batch mode (Bug#8857).
21725 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
21727         * cus-theme.el (describe-theme-1): Use custom-theme-p.
21728         (custom-theme-summary): New function.
21729         (customize-themes): Use it.
21731 2011-06-13  Glenn Morris  <rgm@gnu.org>
21733         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21735 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
21737         * help.el (help-window): Remove variable.
21738         (help-window-point-marker, temp-buffer-max-height)
21739         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21740         (help-print-return-message): Don't set help-window.
21741         (resize-temp-buffer-window): Rewrite cod eand doc-string.
21742         (help-window-setup-finish): Remove.
21743         (help-window-display-message, help-window-setup)
21744         (with-help-window): Major rewrite based on new
21745         display-buffer-window variable.
21747         * help-mode.el (help-mode-finish): Remove help-window related
21748         code.
21750         * view.el (view-exits-all-viewing-windows): Remove reference to
21751         view-return-to-alist in doc-string.
21752         (view-return-to-alist): Make obsolete.
21753         (view-buffer): Call pop-to-buffer-same-window and remove
21754         undo-window code.
21755         (view-buffer-other-window): Call pop-to-buffer-other-window and
21756         simplify code.  Ignore second argument.
21757         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21758         simplify code.  Ignore second argument.
21759         (view-return-to-alist-update): Make obsolete.
21760         (view-mode-enter): Rename second argument to QUIT-RESTORE.
21761         Rewrite using quit-restore window parameters.
21762         (view-mode-exit): Rename second argument to EXIT-ONLY.
21763         Rewrite using quit-restore-window.
21764         (View-exit, View-exit-and-edit, View-leave, View-quit)
21765         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21766         appropriate arguments.
21767         (view-end-message): Use quit-restore window parameter.
21769         * window.el (display-buffer-function): Rewrite doc-string.
21770         (display-buffer-window, display-buffer-alist): New variables.
21771         (display-buffer-split-specifiers)
21772         (display-buffer-side-specifiers)
21773         (display-buffer-macro-specifiers): New constants.
21774         (display-buffer-even-window-sizes, display-buffer-set-height)
21775         (display-buffer-set-width, display-buffer-select-window)
21776         (display-buffer-in-window, display-buffer-reuse-window)
21777         (display-buffer-split-window-1, display-buffer-split-window)
21778         (display-buffer-split-atom-window, display-buffer-pop-up-window)
21779         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21780         (display-buffer-in-side-window, normalize-buffer-to-display)
21781         (display-buffer-normalize-specifiers-1)
21782         (display-buffer-normalize-specifiers-2)
21783         (display-buffer-normalize-specifiers, display-buffer-frame):
21784         New functions.
21785         (display-buffer): Major rewrite.
21786         (display-buffer-other-window, display-buffer-other-frame)
21787         (pop-to-buffer, switch-to-buffer-other-window)
21788         (switch-to-buffer-other-frame): Rewrite.
21789         (display-buffer-same-window, display-buffer-same-frame)
21790         (display-buffer-same-frame-other-window)
21791         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21792         (pop-to-buffer-other-window)
21793         (pop-to-buffer-same-frame-other-window)
21794         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21795         (switch-to-buffer-other-window-same-frame): New functions.
21796         (same-window-p, special-display-p): Rewrite disabling warnings.
21797         Make obsolete.
21798         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21799         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21800         Make obsolete
21801         (same-window-buffer-names, same-window-regexps)
21802         (special-display-frame-alist, special-display-popup-frame)
21803         (special-display-function, special-display-buffer-names)
21804         (special-display-regexps, pop-up-frame-alist)
21805         (pop-up-frame-function, split-window-preferred-function)
21806         (split-height-threshold, split-width-threshold)
21807         (even-window-heights): Make obsolete.
21809 2011-06-12  Glenn Morris  <rgm@gnu.org>
21811         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
21812         Misc simplifications.
21814 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
21816         * window.el (window-safely-shrinkable-p): Restore function which
21817         was inadvertently removed in change from 2011-06-11.  Declare as
21818         obsolete.
21820         * calendar/calendar.el (calendar-generate-window):
21821         Use window-iso-combined-p instead of combination of one-window-p and
21822         window-safely-shrinkable-p.
21824 2011-06-12  Glenn Morris  <rgm@gnu.org>
21826         * progmodes/fortran.el (fortran-mode-syntax-table):
21827         * progmodes/f90.el (f90-mode-syntax-table):
21828         Set % to punctuation.  (Bug#8820)
21829         (f90-find-tag-default): Remove, no longer needed.
21831 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
21833         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21835 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
21837         * image.el (image-animated-p): Return animation delay in seconds.
21838         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21839         (image-animate-timeout): Remove DELAY argument.  Don't assume
21840         every subimage has the same delay; get it from image-animated-p.
21841         (image-animate): Caller changed.
21843 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
21845         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21846         to ignored backtrace functions.
21848 2011-06-11  Glenn Morris  <rgm@gnu.org>
21850         * calendar/appt.el (appt-disp-window-function): Doc fix.
21851         (appt-check): Handle overlapping appointments.  (Bug#8337)
21853 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
21855         * window.el (window-tree-1, window-tree): New functions, moving
21856         the latter to window.el.
21857         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21858         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21859         (bw-refresh-edges): Remove.
21860         (balance-windows-1, balance-windows-2): New functions.
21861         (balance-windows): Rewrite in terms of window tree functions,
21862         balance-windows-1 and balance-windows-2.
21863         (bw-adjust-window): Remove.
21864         (balance-windows-area-adjust): New function with functionality of
21865         bw-adjust-window but using resize-window.
21866         (set-window-text-height): Rewrite doc-string.
21867         Use normalize-live-window and resize-window.
21868         (enlarge-window-horizontally, shrink-window-horizontally):
21869         Rename argument to DELTA.
21870         (window-buffer-height): New function.
21871         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21872         Rewrite using new window resize routines.
21873         (kill-buffer-and-window, mouse-autoselect-window-select):
21874         Use ignore-errors instead of condition-case.
21875         (quit-window): Call delete-frame instead of delete-windows-on
21876         for the only buffer on frame.
21878 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
21880         * loadup.el (top-level): Load window before files for the sake
21881         of replace-buffer-in-windows.
21883         * files.el (read-buffer-to-switch)
21884         (switch-to-buffer-other-window)
21885         (switch-to-buffer-other-frame, display-buffer-other-frame):
21886         Move to window.el.
21888         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21889         (previous-buffer): Move to window.el.
21891         * bindings.el (unbury-buffer): Move to window.el.
21893         * window.el (delete-other-windows-vertically): Move after
21894         definition of delete-other-windows.
21895         (other-window, delete-windows-on, replace-buffer-in-windows):
21896         Move here from window.c.
21897         (record-window-buffer, unrecord-window-buffer)
21898         (set-window-buffer-start-and-point, switch-to-prev-buffer)
21899         (switch-to-next-buffer): New functions.
21900         (get-next-valid-buffer, last-buffer, next-buffer): Move here
21901         from simple.el.  Call switch-to-next-buffer.
21902         (previous-buffer): Move here from simple.el.
21903         Call switch-to-prev-buffer.
21904         (bury-buffer): Move here from buffer.c.  Switch to previous
21905         buffer when window cannot be deleted.
21906         (unbury-buffer): Move here from bindings.el.
21907         (ctl-x-map): Move binding for other-window from window.c to
21908         here.
21909         (read-buffer-to-switch, switch-to-buffer-other-window)
21910         (switch-to-buffer-other-frame): Move here from files.el.
21911         (normalize-buffer-to-switch-to): New functions.
21912         (switch-to-buffer): Move here from buffer.c.
21913         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21915 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
21917         * window.el (window-min-height, window-min-width): Move here
21918         from window.c.  Add defcustoms and rewrite doc-strings.
21919         (resize-mini-window, resize-window): New functions.
21920         (adjust-window-trailing-edge, enlarge-window, shrink-window):
21921         Move here from window.c.
21922         (maximize-window, minimize-window): New functions.
21923         (delete-window, delete-other-windows, split-window): Move here
21924         from window.c.
21925         (window-split-min-size): New function.
21926         (split-window-keep-point): Mention split-window-above-each-other
21927         instead of split-window-vertically.
21928         (split-window-above-each-other, split-window-vertically):
21929         Rename split-window-vertically to split-window-above-each-other
21930         and provide defalias for old definition.
21931         (split-window-side-by-side, split-window-horizontally):
21932         Rename split-window-horizontally to split-window-side-by-side
21933         and provide defalias for the old definition.
21934         (ctl-x-map): Move bindings for delete-window,
21935         delete-other-windows and enlarge-window here from window.c.
21936         Replace bindings for split-window-vertically and
21937         split-window-horizontally by bindings for
21938         split-window-above-each-other and split-window-side-by-side.
21940         * cus-start.el (all): Remove entries for window-min-height and
21941         window-min-width.  Add entries for window-splits and
21942         window-nest.
21944 2011-06-09  Glenn Morris  <rgm@gnu.org>
21946         * calendar/appt.el (appt-mode-line): New function.
21947         (appt-check, appt-disp-window): Use it.
21949         * files.el (hack-one-local-variable-eval-safep):
21950         Allow minor-modes with explicit +/-1 arguments.
21952 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
21954         * term/xterm.el (xterm): Add defgroup.
21955         (xterm-extra-capabilities): Add defcustom to supply known xterm
21956         capabilities, skip querying them, or query them (default).
21957         (terminal-init-xterm): Use it.
21958         (terminal-init-xterm-modify-other-keys): New function to set up
21959         modifyOtherKeys support to simplify `terminal-init-xterm'.
21961 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
21963         * window.el (resize-window-reset, resize-window-reset-1)
21964         (resize-subwindows-skip-p, resize-subwindows-normal)
21965         (resize-subwindows, resize-other-windows, resize-this-window)
21966         (resize-root-window, resize-root-window-vertically)
21967         (window-deletable-p, window-or-subwindow-p)
21968         (frame-root-window-p): New functions.
21970 2011-06-09  Glenn Morris  <rgm@gnu.org>
21972         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21973         (ange-ftp-get-files): Use it.
21975 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
21977         * mail/sendmail.el (mail-recover-1, mail-recover):
21978         * files.el (recover-file, recover-session):
21979         Handle dired-listing-switches not being just a single short option.
21981 2011-06-09  Glenn Morris  <rgm@gnu.org>
21983         * calendar/appt.el (appt-display-message, appt-disp-window):
21984         Handle lists of appointments.
21986 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
21988         * window.el (one-window-p): Move down in code.
21989         Rewrite doc-string.
21990         (window-current-scroll-bars): Rewrite doc-string.
21991         Normalize live window argument.
21992         (walk-windows, get-window-with-predicate, count-windows):
21993         Rewrite doc-string.  Use window-list-1.
21994         (window-in-direction-2, window-in-direction, get-mru-window):
21995         New functions.
21997 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
21999         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22000         Doc fix (Bug#8713).
22002 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
22004         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22006 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
22008         * loadhist.el (unload-feature-special-hooks):
22009         Add `comint-output-filter-functions'.
22011 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
22013         * calendar/appt.el (appt-check): Move some initializations into the let.
22015 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
22017         * window.el (window-height): Defalias to window-total-height.
22018         (window-width): Defalias to window-body-width.
22020 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
22022         * image-mode.el (image-toggle-animation): New command.
22023         (image-mode-map): Bind it to RET.
22024         (image-mode): Update message.
22025         (image-toggle-display-image): Avoid a spurious cache flush.
22026         (image-transform-rotation): Doc fix.
22027         (image-transform-properties): Return quickly in the normal case.
22028         (image-animate-loop): Rename from image-animate-max-time.
22030         * image.el (image-animate-max-time): Move to image-mode.el.
22031         (create-animated-image): Remove unnecessary function.
22032         (image-animate): Rename from image-animate-start.  New arg.
22033         (image-animate-stop): Remove; just use image-animate-timer.
22034         (image-animate-timer): Use car-safe.
22035         (image-animate-timeout): Rename argument.
22037 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
22039         * window.el (get-lru-window, get-largest-window): Move here from
22040         window.c.  Rename first argument to ALL-FRAMES.
22041         Rephrase doc-strings.
22042         (get-buffer-window-list): Rewrite using window-list-1.
22043         Rephrase doc-string.
22044         (window-safe-min-height, window-safe-min-width): New constants.
22045         (window-size-ignore, window-min-size, window-min-size-1)
22046         (window-sizable, window-sizable-p, window-size-fixed-1)
22047         (window-size-fixed-p, window-min-delta-1, window-min-delta)
22048         (window-max-delta-1, window-max-delta, window-resizable)
22049         (window-resizable-p, window-total-height, window-total-width)
22050         (window-body-width): New functions.
22051         (window-full-height-p, window-full-width-p): Rewrite using
22052         window-total-size.
22053         (window-body-height): Rewrite using window-body-size.
22055 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
22057         * window.el (window-right, window-left, window-child)
22058         (window-child-count, window-last-child, window-any-p)
22059         (normalize-live-buffer, normalize-live-frame)
22060         (normalize-any-window, normalize-live-window)
22061         (window-iso-combination-p, window-iso-combined-p)
22062         (window-iso-combinations)
22063         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22064         (windows-with-parameter, window-with-parameter)
22065         (window-atom-root, make-window-atom, window-atom-check-1)
22066         (window-atom-check, window-side-check, window-check):
22067         New functions.
22068         (ignore-window-parameters, window-sides, window-sides-vertical)
22069         (window-sides-slots): New variables.
22070         (window-size-fixed): Move down in code.  Minor doc-string fix.
22072 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
22074         * comint.el (comint-dynamic-complete-as-filename)
22075         (comint-dynamic-complete-filename): Correctly call
22076         completion-in-region.
22078 2011-06-05  Deniz Dogan  <deniz@dogan.se>
22080         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22081         in last change.
22083 2011-06-05  Deniz Dogan  <deniz@dogan.se>
22085         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22086         (rcirc): Use it to prompt for encryption.
22088 2011-06-05  Roland Winkler  <winkler@gnu.org>
22090         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22091         (bibtex-search-entries): New command bound to C-c C-a.
22092         (bibtex-display-entries): New function.
22094 2011-06-05  Roland Winkler  <winkler@gnu.org>
22096         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22097         (bibtex-insert-kill): After yanking insert newline if necessary.
22098         (bibtex-initialize): Call bibtex-string-files-init only once.
22099         (bibtex-mode): Do not call easy-menu-add.
22100         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22101         (bibtex-yank): Set arg properly if nil.
22103 2011-06-05  Roland Winkler  <winkler@gnu.org>
22105         * textmodes/bibtex.el (bibtex-search-entry-globally):
22106         New variable.
22107         (bibtex-search-entry): Use it.
22109 2011-06-05  Roland Winkler  <winkler@gnu.org>
22111         * textmodes/bibtex.el (bibtex-entry-format): New option
22112         sort-fields.
22113         (bibtex-format-entry, bibtex-reformat): Honor this option.
22114         (bibtex-parse-entry): Return fields in proper order.
22116 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
22118         * doc-view.el (doc-view-remove-if): Move computation of result out
22119         of `dolist' to silence misleading lexical-binding warning.
22121 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
22123         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22124         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22126 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
22128         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22129         "SunOS 5.10".
22131 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
22133         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22134         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22135         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22136         (tramp-parse-putty):
22137         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22138         (tramp-completion-function-alist-ssh)
22139         (tramp-completion-function-alist-telnet)
22140         (tramp-completion-function-alist-su)
22141         (tramp-completion-function-alist-putty): Set `tramp-autoload'
22142         cookie.
22144         * net/tramp-ftp.el:
22145         * net/tramp-sh.el:
22146         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22147         load "tramp.el" `tramp-set-completion-function'.
22149 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
22151         * shell.el: Require and use pcomplete.
22152         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22153         (shell-completion-vars): Set pcomplete-default-completion-function.
22155 2011-06-04  Deniz Dogan  <deniz@dogan.se>
22157         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22158         `memq' (Bug#8799).
22160 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
22162         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22164 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
22166         * bs.el (bs--mark-unmark, bs--nth-wrapper):
22167         * mpc.el (mpc-select-extend, mpc-songpointer-context):
22168         * vc/log-view.el (log-view-beginning-of-defun):
22169         * vc/smerge-mode.el (smerge-apply-resolution-patch)
22170         (smerge-refine-forward, smerge-refine-chopup-region):
22171         Silence warning for unused `dotimes' counter variables.
22173 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
22175         * net/tramp.el (tramp-with-progress-reporter): Rename from
22176         with-progress-reporter.  Use `declare'.
22177         * net/tramp-smb.el:
22178         * net/tramp-sh.el:
22179         * net/tramp-gvfs.el: Update all uses.
22181 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
22183         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22184         buffer isn't killed before making it current.
22186 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22188         Silence various byte-compiler warnings.
22189         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22190         `access-type' and new obsolescence format.
22191         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22192         new format.
22193         (byte-compile-check-variable): New `access-type' argument.
22194         Only warn if the access-type is obsolete.
22195         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22196         (byte-compile-variable-set): Adjust callers.
22197         * help-fns.el (describe-variable): Adjust to new obsolescence format.
22198         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22199         setting it as obsolete.
22200         * simple.el (minibuffer-completing-symbol):
22201         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22202         access as obsolete.
22203         * minibuffer.el (minibuffer-completing-file-name): Don't make it
22204         obsolete yet.
22205         * international/quail.el (quail-mouse-choose-completion): Remove unused
22206         code referring to obsolete var.
22207         (quail-choose-completion-string): Remove.
22208         * server.el (server-clients-with, server-kill-buffer-query-function)
22209         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22210         * proced.el (proced-send-signal):
22211         * emacs-lisp/lisp.el (lisp-complete-symbol):
22212         Replace completion-annotate-function with completion-extra-properties.
22214 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22216         * simple.el (goto-line): Use read-number.
22217         (overriding-map-is-bound): Remove.
22218         (saved-overriding-map): Change default.
22219         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22220         Take the map as argument.
22221         (universal-argument, negative-argument, digit-argument): Use it.
22222         (restore-overriding-map): Adjust.
22223         (do-auto-fill): Use fill-forward-paragraph.
22224         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22226         * minibuffer.el (minibuffer-inactive-mode-map): New var.
22227         (minibuffer-inactive-mode): New major mode.
22228         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22229         the *Messages* buffer" hack.
22230         (mouse-popup-menubar): Don't burp if the event is a normal key.
22232         Miscellaneous tweaks.
22233         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22234         lexical scoping as in subr.el's dolist and dotimes.
22235         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22236         Silence compiler warning.
22237         * thingatpt.el (forward-whitespace): Trivial coding style fix.
22238         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22239         * international/ccl.el (ccl-compile): Trivial simplification.
22240         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22241         * emacs-lisp/testcover.el (testcover-end): Remove spurious
22242         `printflag' argument.
22243         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22244         Purecopy the whole obsolescence data.
22246 2011-06-01  Leo Liu  <sdl.web@gmail.com>
22248         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22249         improve doc-string as suggested by Marco Pessotto
22250         <melmothx@gmail.com>.
22251         (rcirc-print): Fix last change.
22253 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22255         * minibuffer.el (complete-with-action): Return nil for the metadata and
22256         boundaries of non-functional tables.
22257         (completion-table-dynamic): Return nil for the metadata.
22258         (completion-table-with-terminator): Add default case, using
22259         complete-with-action.
22260         (completion--metadata): New function.
22261         (completion-all-sorted-completions, minibuffer-completion-help): Use it
22262         to try and avoid pathological performance problems.
22263         (completion--embedded-envvar-table): Return `category' metadata.
22265 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22267         * subr.el (process-alive-p): New tiny convenience function.
22269 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22271         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22272         content but also its previous major mode.
22274 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
22276         * emacs-lisp/debug.el (debug): Restore the previous content of the
22277         *Backtrace* buffer when we exit with C-M-c.
22279 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22281         * minibuffer.el: Add metadata method to completion tables.
22282         (completion-category-overrides): New defcustom.
22283         (completion-metadata, completion--field-metadata)
22284         (completion-metadata-get, completion--styles)
22285         (completion--cycle-threshold): New functions.
22286         (completion-try-completion, completion-all-completions):
22287         Add `metadata' argument to choose completion-styles.
22288         (completion--do-completion): Use metadata to choose cycling.
22289         (completion-all-sorted-completions): Use metadata for sorting.
22290         Remove :completion-cycle-penalty which is not needed any more.
22291         (completion--try-word-completion): Add `metadata' argument.
22292         (minibuffer-completion-help): Check metadata for annotation function
22293         and sorting.
22294         (completion-file-name-table): Return `category' metadata.
22295         (minibuffer-completing-file-name): Make obsolete.
22296         * simple.el (minibuffer-completing-symbol): Make obsolete.
22297         * icomplete.el (icomplete-completions): Pass new `metadata' param to
22298         completion-try-completion.
22300 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
22302         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22304 2011-05-30  Leo Liu  <sdl.web@gmail.com>
22306         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22307         (rcirc-print): Decode all incoming messages (bug#8744).
22308         (rcirc-decode-coding-system): Allow value nil for automatic coding
22309         system detection.
22311 2011-06-01  Glenn Morris  <rgm@gnu.org>
22313         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22315 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22317         * image.el (image-animate-max-time): Allow nil and t values.
22318         Default to nil.
22319         (create-animated-image): Doc fix.
22320         (image-animate-start): Remove second arg; just use
22321         image-animate-max-time.
22322         (image-animate-timeout): Doc fix.  Args changed.
22324         * image-mode.el (image-toggle-display-image): Ensure that the
22325         image spec passed to the animate timer is the same object as in
22326         the buffer's display property (Bug#6981).
22327         (image-transform-properties): Doc fix.
22329         * image.el (image-animate-max-time): Default to nil.
22331 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
22333         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22334         entire buffer list (Bug#8184).
22336 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22338         * image.el (imagemagick-types-inhibit)
22339         (imagemagick-register-types): Doc fix.
22341 2011-05-29  Deniz Dogan  <deniz@dogan.se>
22343         * net/rcirc.el (rcirc): Use the user's stored encryption method by
22344         default.
22346 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
22348         * select.el: Don't perform clipboard-manager saving in hooks;
22349         leave the hooks empty.
22351 2011-05-28  Leo Liu  <sdl.web@gmail.com>
22353         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22354         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
22355         (occur-edit-mode): New major mode (Bug#8463).
22356         (occur-after-change-function): New function.
22357         (occur-engine): Give Occur tags a read-only property.
22359 2011-05-28  Kevin Ryde  <user42@zip.com.au>
22361         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22363 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22365         * bindings.el (help-echo): Make the initial non-indicator dash
22366         empty on graphical terminals (Bug#7295).
22368         * files.el (auto-mode-alist): Move config rule after the
22369         in-stripping one (Bug#8547).
22371         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22373         * startup.el (normal-splash-screen): Remove gratuitous mode-line
22374         setting (Bug#8740).
22376 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
22378         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22379         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22380         (Bug#8539).
22382 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22384         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22386 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
22388         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22389         (hs-hide-block-at-point, hs-find-block-beginning)
22390         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22391         (Bug#8279).
22393 2011-05-28  Glenn Morris  <rgm@gnu.org>
22395         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
22397 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
22399         * help-fns.el (describe-function-1): If the function is a derived
22400         major mode, print the parent mode.
22402         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22403         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22405 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22407         * minibuffer.el (completion--capf-wrapper): Check applicability before
22408         returning non-nil for non-exclusive completion data.
22409         * progmodes/etags.el (tags-completion-at-point-function):
22410         * info-look.el (info-lookup-completions-at-point): Mark as
22411         non-exclusive.
22412         (info-complete): Adjust accordingly.
22414         * info-look.el: Convert to lexical-binding and completion-at-point.
22415         (info-lookup-completions-at-point): New function.
22416         (info-complete): Use it and completion-in-region.
22418 2011-05-28  Drew Adams  <drew.adams@oracle.com>
22420         * isearch.el: Let M-e start with point at the first mismatched char.
22421         (isearch-fail-pos): New function.
22422         (isearch-edit-string): Use it.
22424 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
22426         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22428 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
22430         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
22431         traversal functions for avl-trees.
22432         (avl-tree--stack): New struct.
22433         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22434         (avl-tree-enter): Add optional `updatefun' arg.
22435         (avl-tree--do-enter): Add optional `updatefun' arg.
22436         Change return value.
22437         (avl-tree-delete): Add optional `test' and `nilflag' args.
22438         (avl-tree--do-delete): Add `test' and `nilflag' args.
22439         Change return value.
22440         (avl-tree-member): Add optional `nilflag'
22441         (avl-tree-member-p): New function.
22442         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22443         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22444         (avl-tree-stack-empty-p): New functions.
22446         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22447         avl-tree--del-balance1 and make it work both ways.
22448         (avl-tree--del-balance2): Remove.
22449         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22450         make it work both ways.
22451         (avl-tree--enter-balance2): Remove.
22452         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22453         New macros.
22454         (avl-tree--mapc, avl-tree-map): Add direction argument.
22456 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
22458         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22460 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
22462         * select.el: Support clipboard managers with built-in function
22463         x-clipboard-manager-save, via delete-frame-functions and
22464         kill-emacs-hook.
22465         (xselect-convert-to-targets): Add MULTIPLE target to list.
22466         (xselect-convert-to-save-targets): New function.
22468 2011-05-27  Kenichi Handa  <handa@m17n.org>
22470         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22471         let-binding rfc2047-encode-encoded-words to nil.
22473 2011-05-27  Glenn Morris  <rgm@gnu.org>
22475         * mail/emacsbug.el: Don't require url-util.
22477         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
22479         * files.el (set-auto-mode):
22480         Also respect mode: entries at the end of the file.  (Bug#8586)
22482 2011-05-26  Glenn Morris  <rgm@gnu.org>
22484         * files.el (hack-local-variables-prop-line, hack-local-variables):
22485         Downcase mode names, as seems to be traditional.
22486         (hack-local-variables, hack-local-variables-apply): Doc fixes.
22488         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22489         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
22491 2011-05-25  Julien Danjou  <julien@danjou.info>
22493         * textmodes/rst.el (rst-define-level-faces): Do not define face
22494         symbol if it is already defined.
22496 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22498         * play/5x5.el (5x5-new-game, 5x5-randomize):
22499         Reset 5x5-solver-output to nil when a new grid is cast.
22500         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22501         these debugging traces, as defmacro breaks the compiled code.
22503 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
22505         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22507 2011-05-24  Leo Liu  <sdl.web@gmail.com>
22509         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22510         (vc-bzr-sha1): Adapt.
22512         * sha1.el: Remove.  Function `sha1' is now builtin.
22514         * bindings.el: Provide sha1 feature.
22516 2011-05-24  Kenichi Handa  <handa@m17n.org>
22518         * mail/sendmail.el: Require `rfc2047'.
22519         (mail-insert-from-field): Do not perform RFC2047 encoding.
22520         (mail-encode-header): New function.
22521         (sendmail-send-it): Set buffer-file-coding-system of the work
22522         buffer to the return value of select-message-coding-system.
22523         Call mail-encode-header.
22525         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22527 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
22529         * mail/supercite.el (sc-default-cite-frame):
22530         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22532 2011-05-24  Glenn Morris  <rgm@gnu.org>
22534         * progmodes/python.el (brm-menu): Declare.
22536         * emulation/viper.el (viper-set-hooks): Declare.
22538         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22539         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22540         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22541         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22542         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22543         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22545 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
22547         Add an :exit-function for completion-at-point.
22549         * minibuffer.el (completion--done): New fun.
22550         (completion--do-completion): Use it.  New arg `expect-exact'.
22551         (minibuffer-complete, minibuffer-complete-word): Don't output message,
22552         since completion--do-completion does it for us now.
22553         (minibuffer-force-complete): Use completion--done and
22554         completion--replace.  Handle sole-completion case with more care.
22555         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22556         (completion-extra-properties): New var.
22557         (completion-annotate-function): Make obsolete.
22558         (minibuffer-completion-help): Adjust accordingly.
22559         Use completion-list-insert-choice-function.
22560         (completion-at-point, completion-help-at-point):
22561         Bind completion-extra-properties.
22562         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22563         * simple.el (completion-list-insert-choice-function): New var.
22564         (completion-setup-function): Preserve it.
22565         (choose-completion): Pay attention to it, shuffle the code a bit.
22566         (choose-completion-string): New arg `insert-function'.
22568         * textmodes/bibtex.el: Convert to lexical binding.
22569         (bibtex-mode-map): Use completion-at-point.
22570         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22571         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22572         (bibtex-complete): Define as obsolete alias.
22573         (bibtex-complete-internal): Remove.
22574         (bibtex-format-entry): Remove unused sub-group in regexp.
22575         * shell.el (shell--command-completion-data)
22576         (shell-environment-variable-completion):
22577         * pcomplete.el (pcomplete-completions-at-point):
22578         * comint.el (comint--complete-file-name-data): Use :exit-function
22579         instead of completion-table-with-terminator so it also works for
22580         choose-completion.
22582 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22584         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22586         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22587         (bug#8710).
22589         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22591 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
22593         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22594         customization variable and implement: If non-nil, auto-fill will
22595         be inhibited while on topic's header line.
22597 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22599         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22600         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
22601         always have a solution in grid size = 5 cases.
22602         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22603         (5x5-solver-output, 5x5-log-buffer): New vars.
22604         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22605         Make these variables buffer local to achieve 5x5 multi-session-ness.
22606         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22607         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22608         (5x5-solve-suggest): New funs.
22609         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22610         randomize a grid so that we ensure that there is always a solution.
22611         (5x5-make-random-grid): Allow other movement than flipping.
22613 2011-05-23  Kevin Ryde  <user42@zip.com.au>
22615         * emacs-lisp/advice.el (ad-read-advised-function):
22616         Use `function-called-at-point' as the default, if it has
22617         advice and passes PREDICATE.
22619 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22621         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22622         byte-compile-lambda if it's actually a lambda.
22624         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22625         Fix function quoting.  Use backquote better.
22627 2011-05-22  Yuanle Song  <sylecn@gmail.com>
22629         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22630         matching (Bug#8516).
22632 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
22634         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22635         different face (Bug#8178).
22637 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
22639         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22640         defface (Bug#8144).
22642 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
22644         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22645         funcall as well (bug#8712).  Warn when performing those conversions.
22646         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22648         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22650 2011-05-22  Glenn Morris  <rgm@gnu.org>
22652         * files.el (hack-local-variables-prop-line): Small simplifications.
22653         (hack-local-variables, hack-local-variables-prop-line):
22654         If MODE-ONLY, return the mode, rather than just `t'.
22656 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22658         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22660 2011-05-21  Glenn Morris  <rgm@gnu.org>
22662         * files.el (hack-local-variables-prop-line, hack-local-variables):
22663         If only interested in the mode, don't bother doing the other stuff.
22665         * image-mode.el (image-after-revert-hook):
22666         Redraw all frames on which the image is visible.  (Bug#8567)
22668         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
22670         * wid-edit.el (widget-checklist-match-inline):
22671         Fix 2011-04-19 change.  (Bug#8649)
22673 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22675         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22676         Also allow singlespace after single-letter capitals followed by a dot.
22678         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22679         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22681 2011-05-20  Nix  <nix@esperi.org.uk>
22683         * files.el (basic-save-buffer-2):
22684         Fix handling of break-hardlink-on-save with non-existent files.
22686 2011-05-19  Deniz Dogan  <deniz@dogan.se>
22688         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22689         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22691 2011-05-19  Glenn Morris  <rgm@gnu.org>
22693         * progmodes/f90.el (f90-type-def-re):
22694         Handle "type, bind(c)".  (Bug#8691)
22696         * emacs-lisp/autoload.el (batch-update-autoloads):
22697         Set autoload-excludes by parsing loadup.el rather than Makefiles.
22699 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
22701         * net/tramp.el (tramp-process-actions): Set "first-password-request"
22702         property for the correct connection in case of multihops.
22704 2011-05-18  Glenn Morris  <rgm@gnu.org>
22706         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22707         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22709         Rationalize calendar handling of day and month abbrev-arrays.
22710         * calendar/calendar.el (calendar-customized-p): New function.
22711         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22712         (calendar-day-name-array, calendar-month-name-array): Doc fix.
22713         Add :set function.
22714         (calendar-abbrev-length, calendar-day-abbrev-array)
22715         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22716         (calendar-day-abbrev-array, calendar-month-abbrev-array):
22717         Elements may no longer be nil.
22718         (calendar-day-name, calendar-month-name):
22719         Update for changed nature of abbrev arrays.
22720         * calendar/diary-lib.el (diary-name-pattern):
22721         Update for changed nature of abbrev arrays.
22722         (diary-mark-entries-1): Update calendar-make-alist calls.
22723         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22724         * calendar/cal-html.el (cal-html-day-abbrev-array):
22725         Simply inherit from calendar-day-abbrev-array.
22727 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22729         * progmodes/grep.el (grep-mode): Disable default
22730         compilation-directory-matcher setting (bug#8684).
22732 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
22734         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22735         instead of "head" and "tail".  There were problems with SunOS 5.9,
22736         and it performs better.
22738 2011-05-17  Glenn Morris  <rgm@gnu.org>
22740         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22742         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22743         Replace obsolete function.
22745         * shell.el (pcomplete-parse-arguments-function): Declare.
22747         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22748         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22749         (appt-check): Doc fixes.
22750         (appt-disp-window-function, appt-delete-window-function):
22751         Remove needless special case in custom :type.
22752         (appt-display-count): Default to 0, not nil.
22753         (appt-check): Reset appt-display-count to 0, not nil.
22755 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
22757         * progmodes/python.el (python-font-lock-keywords):
22758         Add the Python 3.X keyword "nonlocal" (bug#8639).
22760 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
22762         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22764 2011-05-16  Kevin Ryde  <user42@zip.com.au>
22766         * info-look.el (makefile-automake-mode): New setups, looking in
22767         automake manual, then makefile-mode.
22768         (makefile-mode): Remove automake manual, have it just in
22769         makefile-automake-mode since there's various things different or
22770         not relevant to plain make.
22771         (makefile-mode): Remove "other-modes" non-existent automake-mode,
22772         believe a hypothetical automake-mode would go to makefile-mode,
22773         not the other way around.
22775 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
22777         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22778         hunk-end tags (Bug#8672).
22780         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22781         vc-annotate-show-diff-revision-at-line (Bug#8671).
22783 2011-05-14  Glenn Morris  <rgm@gnu.org>
22785         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22786         in the middle of an existing one with multiple authors.  (Bug#8645)
22787         (change-log-font-lock-keywords): Also handle multiple author lines
22788         with leading tabs.  (Bug#8644)
22790         * calendar/appt.el (appt-check): Rename some local variables.
22791         Some simplification/reordering.
22793         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22794         (feedmail-sendmail-f-doesnt-sell-me-out)
22795         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22796         (feedmail-debug-sit-for, feedmail-queue-express-hook)
22797         (feedmail-queue-runner-message-sender): Set :version.
22798         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22799         (bbdb-dwim-net-address, vm-mail): Declare.
22800         (feedmail-binmail-gnulinuxish-template):
22801         Rename from feedmail-binmail-linuxish-template.
22802         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22803         Use insert-buffer-substring.
22805 2011-05-14  Bill Carpenter  <bill@carpenter.org>
22807         * mail/feedmail.el (feedmail-patch-level): Increase.
22808         (feedmail-debug): New custom group.
22809         (feedmail-confirm-outgoing-timeout)
22810         (feedmail-sendmail-f-doesnt-sell-me-out)
22811         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22812         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22813         (feedmail-sender-line, feedmail-from-line)
22814         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22815         (feedmail-spray-this-address)
22816         (feedmail-spray-address-fiddle-plex-list)
22817         (feedmail-queue-use-send-time-for-date)
22818         (feedmail-queue-use-send-time-for-message-id)
22819         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22820         (feedmail-buffer-eating-function):
22821         Doc fixes.
22822         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22823         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22824         (feedmail-message-action-scroll-down): New functions.
22825         (feedmail-queue-directory, feedmail-queue-draft-directory):
22826         Use expand-file-name.
22827         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22828         Remove C-v help entry.
22829         (feedmail-queue-buffer-file-name): New variable.
22830         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22831         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22832         (feedmail-message-action-send-strong, feedmail-message-action-edit)
22833         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22834         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22835         (feedmail-message-action-toggle-spray)
22836         (feedmail-run-the-queue-no-prompts)
22837         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22838         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22839         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22840         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22841         (feedmail-envelope-deducer, feedmail-fiddle-from)
22842         (feedmail-fiddle-sender, feedmail-default-date-generator)
22843         (feedmail-fiddle-date, feedmail-fiddle-message-id)
22844         (feedmail-fiddle-spray-address)
22845         (feedmail-fiddle-list-of-spray-fiddle-plexes)
22846         (feedmail-fiddle-list-of-fiddle-plexes)
22847         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22848         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22849         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22850         Change default.  Doc fix.
22851         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22852         (feedmail-binmail-linuxish-template): New constant.
22853         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
22854         Respect feedmail-sendmail-f-doesnt-sell-me-out.
22855         (feedmail-send-it): Add debug call.
22856         Use feedmail-queue-buffer-file-name, and
22857         feedmail-send-it-immediately-wrapper.
22858         (feedmail-message-action-send): Add debug call.
22859         Use feedmail-send-it-immediately-wrapper.
22860         (feedmail-queue-express-to-queue): Add debug call.
22861         Run feedmail-queue-express-hook.
22862         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
22863         (feedmail-message-action-help-blat):
22864         Rename from feedmail-queue-send-edit-prompt-help-first.
22865         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
22866         Check line-endings.  Handle errors better.
22867         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22868         Doc fix.  Add debug call.
22869         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
22870         Use feedmail-queue-send-edit-prompt-inner.
22871         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22872         (feedmail-queue-send-edit-prompt-inner): New function, extracted
22873         from feedmail-queue-send-edit-prompt.
22874         (feedmail-queue-send-edit-prompt-help)
22875         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22876         (feedmail-tidy-up-slug): Add debug call.
22877         Respect feedmail-queue-slug-suspect-regexp.
22878         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22879         (feedmail-dump-message-to-queue): Add debug call.
22880         Expand queue-directory.
22881         (feedmail-dump-message-to-queue): Change message slightly.
22882         Use feedmail-say-chatter.
22883         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
22884         (feedmail-send-it-immediately-wrapper): New function.
22885         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
22886         Insert empty string rather than newline.  Handle full-frame case.
22887         Use catch/throw.  Use feedmail-say-chatter.
22888         (feedmail-fiddle-from): Try mail-host-address.
22889         (feedmail-default-message-id-generator): Doc fix.
22890         Bind system-time-locale.  Handle missing end.
22891         (feedmail-fiddle-x-mailer): Add debug call.
22892         Handle feedmail-x-mailer-line being nil.
22893         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22894         Add debug call.  Use buffer-substring-no-properties.
22895         (feedmail-say-debug, feedmail-say-chatter): New functions.
22896         (feedmail-find-eoh): Give an explicit error.
22898 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
22900         * net/newst-treeview.el (newsticker-treeview-face): Change default
22901         family from helvetica to sans.
22902         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22903         etc/images/newsticker.
22905         * net/newst-reader.el (newsticker-feed-face): Change default
22906         family from helvetica to sans.
22908         * net/newst-plainview.el (newsticker-new-item-face)
22909         (newsticker-old-item-face, newsticker-immortal-item-face)
22910         (newsticker-obsolete-item-face, newsticker-date-face)
22911         (newsticker-statistics-face): Change default family from
22912         helvetica to sans.
22913         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22914         etc/images/newsticker.
22916         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22917         (newsticker--process-auto-mark-filter-match): Tell user about
22918         auto-marking.
22920 2011-05-13  Didier Verna  <didier@xemacs.org>
22922         Common Lisp indentation improvements on defmethod and lambda-lists.
22923         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22924         TODO entries.
22925         (lisp-lambda-list-keyword-parameter-indentation)
22926         (lisp-lambda-list-keyword-parameter-alignment)
22927         (lisp-lambda-list-keyword-alignment): New customizable user options.
22928         (lisp-indent-defun-method): Improve docstring.
22929         (extended-loop-p): Fix comment.
22930         (lisp-indent-lambda-list-keywords-regexp): New variable.
22931         (lisp-indent-lambda-list): New function.
22932         (lisp-indent-259): Use it.
22933         (lisp-indent-defmethod): Support for more than one
22934         method qualifier and properly indent methods lambda-lists.
22935         (defgeneric): Provide a missing common-lisp-indent-function property.
22937 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22939         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22940         bounds for the empty string (bug#8667).
22942 2011-05-13  Glenn Morris  <rgm@gnu.org>
22944         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22946         * mail/sendmail.el (sendmail-program): Try executable-find first.
22947         (sendmail-send-it): `sendmail-program' cannot be unbound.
22949         * calendar/appt.el (appt-make-list): Simplify.
22950         (appt-time-msg-list): Doc fix.
22951         (appt-check): Change mode-line message at the time of the appointment.
22953 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22955         * progmodes/ld-script.el (ld-script-keywords)
22956         (ld-script-builtins): Update keywords list.
22958 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22960         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22962         * shell.el (shell-completion-vars): New function.
22963         (shell-mode):
22964         * simple.el (read-shell-command): Use it.
22965         (blink-matching-open): No need for " [...]" in minibuffer-message.
22967 2011-05-12  Glenn Morris  <rgm@gnu.org>
22969         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22970         (appt-check): Simplify.
22972 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
22974         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22975         literal "/dev/null".
22977 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22979         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22980         Fix typo.
22982 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
22984         * progmodes/which-func.el (which-function):
22985         Use add-log-current-defun instead of add-log-current-defun-function,
22986         which might not be defined (Bug#8260).
22988 2011-05-12  Glenn Morris  <rgm@gnu.org>
22990         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22991         Let byte-compile-initial-macro-environment always take precedence.
22993 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22995         * net/rcirc.el: Add support for SSL/TLS connections.
22996         (rcirc-server-alist): New field `encryption'.
22997         (rcirc): Check `encryption' settings.
22998         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
22999         Merge make-local-variable into `set'.
23000         (rcirc--connection-open-p): New function.
23001         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23002         the process is not a network process (e.g. running gnutls-cli).
23003         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23004         Make rcirc-(en|de)code-coding-system local here.
23005         (rcirc-mode): Merge make-local-variable into `set'.
23006         (rcirc-parent-buffer): Make permanent buffer-local.
23007         (rcirc-multiline-minor-mode): Don't do it here.
23008         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23009         there's no server buffer.
23011 2011-05-11  Glenn Morris  <rgm@gnu.org>
23013         * newcomment.el (comment-kill): Prefix "unused" local.
23015         * term/w32console.el (get-screen-color): Declare.
23017         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23018         Handle symbol elements of byte-compile-initial-macro-environment.
23020 2011-05-10  Leo Liu  <sdl.web@gmail.com>
23022         * bookmark.el (bookmark-bmenu-mode-map):
23023         Bind bookmark-bmenu-search to `/'.
23025         * mail/footnote.el: Convert to utf-8 encoding.
23026         (footnote-unicode-string, footnote-unicode-regexp): New variable.
23027         (Footnote-unicode): New function.
23028         (footnote-style-alist): Add unicode style to the list.
23029         (footnote-style): Doc fix.
23031 2011-05-10  Jim Meyering  <meyering@redhat.com>
23033         Fix doubled-word typos.
23034         * international/quail.el (quail-insert-kbd-layout): and and -> and
23035         * kermit.el: and and -> and
23036         * net/ldap.el (ldap-search-internal): to to -> to
23037         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23038         * progmodes/js.el (js-mode): and and -> and
23039         * textmodes/artist.el (artist-move-to-xy): at at -> at
23040         (artist-draw-region-trim-line-endings): if if -> if
23041         And Safetyc -> Safety.
23042         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23044 2011-05-10  Glenn Morris  <rgm@gnu.org>
23045             Stefan Monnier  <monnier@iro.umontreal.ca>
23047         * files.el (hack-one-local-variable-eval-safep):
23048         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
23050 2011-05-10  Glenn Morris  <rgm@gnu.org>
23052         * calendar/diary-lib.el (diary-list-entries-hook)
23053         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23054         (diary-nongregorian-marking-hook, diary-list-entries)
23055         (diary-include-other-diary-files, diary-mark-entries)
23056         (diary-mark-included-diary-files): Doc fixes.
23058 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
23060         * misc.el: Require tabulated-list.el during compilation.
23062 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
23064         * progmodes/compile.el (compilation-start):
23065         Run compilation-filter-hook for the async case too.
23066         (compilation-filter-hook): Doc fix.
23068 2011-05-09  Deniz Dogan  <deniz@dogan.se>
23070         * wdired.el: Remove outdated installation comment.  Fix usage
23071         comment.
23073 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
23075         * misc.el: Implement new command `list-dynamic-libraries'.
23076         (list-dynamic-libraries--loaded-only-p): New variable.
23077         (list-dynamic-libraries--refresh): New function.
23078         (list-dynamic-libraries): New command.
23080 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
23082         * progmodes/compile.el (compilation-error-regexp-alist-alist):
23083         Fix the ant regexp to handle end-line and end-column info from jikes.
23084         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
23085         higher priority to avoid clobbering by gnu.
23087 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
23089         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23090         if the face has existing theme settings (Bug#8454).
23092 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
23094         * progmodes/perl-mode.el (perl-imenu-generic-expression):
23095         Only match variables declared via `my' or `our' (Bug#8261).
23097         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23098         special file names `.' and `..' (Bug#8259).
23100 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
23102         * progmodes/grep.el (grep-mode-font-lock-keywords):
23103         Remove buffer-changing entries.
23104         (grep-filter): New function.
23105         (grep-mode): Add it to compilation-filter-hook.
23107         * progmodes/compile.el (compilation-filter-hook)
23108         (compilation-filter-start): New defvars.
23109         (compilation-filter): Call compilation-filter-hook prior to
23110         updating the process mark.
23112 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23114         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23116 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
23118         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23119         mailclient-send-it even if window-system is nil.  (Bug#8595)
23121         * term/w32console.el (terminal-init-w32console):
23122         Call get-screen-color and use its output to set the frame
23123         background-mode.  (Bug#8597)
23125 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
23127         Make bytecomp.el understand that defmethod defines funs (bug#8631).
23128         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23129         New functions.
23130         (defgeneric, eieio--defmethod): Use them.
23131         (eieio-defgeneric): Remove.
23132         (defmethod): Call defgeneric in a way visible to the byte-compiler.
23134 2011-05-07  Glenn Morris  <rgm@gnu.org>
23136         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23137         Use let rather than let*.
23138         (timeclock-find-discrep): Remove unused local.
23140         * calendar/diary-lib.el (diary-comment-start): Doc fix.
23142         * calendar/appt.el (appt-time-msg-list): Doc fix.
23144 2011-05-06  Noah Friedman  <friedman@splode.com>
23146         * apropos.el (apropos-print-doc): Only use
23147         emacs-lisp-docstring-fill-column when it is bound to an integer,
23148         per that variable's documentation.
23150 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23152         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23153         and warnings are not silently discarded (e.g. use -d instead of -P).
23155 2011-05-06  Glenn Morris  <rgm@gnu.org>
23157         * calendar/appt.el (appt-message-warning-time): Doc fix.
23158         (appt-warning-time-regexp): New option.
23159         (appt-make-list): Respect appt-message-warning-time.
23161         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23162         New options.
23163         (diary-add-to-list): Strip comments from the displayed string.
23164         (diary-mode): Set comment-start and comment-end.
23166         * vc/diff-mode.el (smerge-refine-subst): Declare.
23167         (diff-refine-hunk): Don't require smerge-mode when compiling.
23169 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
23171         * simple.el (list-processes): Return nil as the docstring says.
23173 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
23175         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23176         to "".
23177         (ange-ftp-write-region, ange-ftp-insert-file-contents)
23178         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23179         determining of binary transfer.  (Bug#7383)
23181 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
23183         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23184         Fix port computation bug.  (Bug#8618)
23186 2011-05-05  Glenn Morris  <rgm@gnu.org>
23188         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23190         * simple.el (shell-dynamic-complete-functions)
23191         (comint-dynamic-complete-functions): Declare.
23193         * net/network-stream.el (gnutls-negotiate):
23194         * simple.el (tabulated-list-print): Fix declarations.
23196         * progmodes/gud.el (syntax-symbol, syntax-point):
23197         Remove unnecessary and incorrect declarations.
23199         * emacs-lisp/check-declare.el (check-declare-scan):
23200         Handle byte-compile-initial-macro-environment in bytecomp.el.
23202 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23204         Fix earlier half-done eieio-defmethod change (bug#8338).
23205         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23206         Streamline and change calling convention.
23207         (defmethod): Adjust accordingly and simplify.
23208         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23209         new eieio--defmethod.
23210         (slot-boundp): Minor CSE simplification.
23212 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
23214         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23215         (glasses-make-readable): Use glasses-separate-capital-groups.
23217 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
23219         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23220         (warning-series): Doc fix.
23221         (display-warning): Don't try to create the buffer if we just found it.
23223 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
23225         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23226         (autoload-find-generated-file): New function.
23227         (generate-file-autoloads): Bind generated-autoload-file to
23228         buffer-file-name.
23229         (update-file-autoloads, update-directory-autoloads):
23230         Use autoload-find-generated-file.  If called interactively, prompt for
23231         output file (Bug#7989).
23232         (batch-update-autoloads): Doc fix.
23234 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
23236         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23238 2011-05-04  Glenn Morris  <rgm@gnu.org>
23240         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23241         function, so it follows changes in calendar-date-style.
23242         (diary-fancy-date-matcher): New function.
23243         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23244         (diary-fancy-font-lock-fontify-region-function):
23245         Use diary-fancy-date-pattern as a function.
23247         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23248         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
23250 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
23252         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23253         instead of positional arguments.  Allow :keylist and :crlfiles
23254         arguments.
23255         (open-gnutls-stream): Call it.
23257         * net/network-stream.el (network-stream-open-starttls): Adjust to
23258         call `gnutls-negotiate' with :process and :hostname arguments.
23260 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23262         * minibuffer.el (completion--message): New function.
23263         (completion--do-completion, minibuffer-complete)
23264         (minibuffer-force-complete, minibuffer-complete-word): Use it.
23265         (completion--do-completion): Don't ignore completion-auto-help when in
23266         icomplete-mode.
23268         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23269         internal encoding (e.g. tibetan zero is not whitespace).
23270         (global-whitespace-mode): Prefer save-current-buffer.
23271         (whitespace-trailing-regexp): Remove useless save-match-data.
23272         (whitespace-empty-at-bob-regexp): Minor simplification.
23274 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
23276         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23278 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
23280         * textmodes/ispell.el (ispell-add-per-file-word-list):
23281         Use `concat' to create string for insertion.
23283 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23285         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23286         Avoid open-line which runs post-self-insert-hook.
23287         (bibtex-fill-entry): Remove unused `end' var.
23289 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
23291         * textmodes/ispell.el (ispell-add-per-file-word-list):
23292         Protect against `nil' value of `comment-start' (Bug#8579).
23294 2011-05-03  Leo Liu  <sdl.web@gmail.com>
23296         * isearch.el (isearch-yank-pop): New command.
23297         (isearch-mode-map): Bind it to `M-y'.
23298         (isearch-forward): Mention it.
23300 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23302         * simple.el (minibuffer-complete-shell-command): Remove.
23303         (minibuffer-local-shell-command-map): Use completion-at-point.
23304         (read-shell-command): Setup completion vars here instead.
23305         (read-expression-map): Bind TAB to symbol completion.
23307         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23308         error directly rather via storing it into `results'.
23310 2011-05-02  Leo Liu  <sdl.web@gmail.com>
23312         * vc/diff.el: Fix description.
23314 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23316         * server.el (server-eval-at): New function.
23318 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23320         * net/network-stream.el (open-network-stream): Take a :nowait
23321         parameter and pass it on to `make-network-process'.
23322         (network-stream-open-plain): Ditto.
23324 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
23326         * faces.el (face-spec-set-match-display): Don't match toolkit
23327         options on terminal frames.
23329 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23331         * progmodes/pascal.el: Use lexical binding.
23332         (pascal-mode-map): Remove author preferences.
23334         * pcomplete.el (pcomplete-std-complete): Don't abuse
23335         completion-at-point.
23337 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
23339         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23340         removing code that has been dead since 1991 or so.
23342         * startup.el (command-line): When warning about "_emacs", use a
23343         delayed warning to allow the user to filter it out.
23345 2011-04-28  Deniz Dogan  <deniz@dogan.se>
23347         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23348         user has not joined.
23350 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23352         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23353         aren't any completions at point.
23355 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
23357         * subr.el (display-delayed-warnings): New function.
23358         (delayed-warnings-hook): New variable.
23360 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23362         * minibuffer.el (completion-at-point, completion-help-at-point):
23363         Don't presume that a given completion-at-point-function will always
23364         use the same calling convention.
23366         * pcomplete.el (pcomplete-completions-at-point):
23367         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
23368         pcomplete-seen is non-nil.
23369         (pcomplete-comint-setup): Also recognize the new comint/shell
23370         completion functions.
23371         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23372         pcomplete-seen is non-nil.
23374 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
23376         * calendar/icalendar.el (diary-lib): Add require statement.
23377         (icalendar--create-uid): Read out a uid from a text-property on
23378         the first character in the entry.  This allows for code to add its
23379         own uid to the entry.
23380         (icalendar--convert-float-to-ical): Add export of
23381         `diary-float'-entries save for those with the optional DAY
23382         argument.
23384 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
23386         * subr.el (shell-quote-argument): Use alternate escaping strategy
23387         when we spot a variable reference in a string.
23389 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
23391         * cus-start.el (all): Define customization for debug-on-event.
23393 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
23395         * subr.el (shell-quote-argument): Escape correctly under Windows.
23397 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23399         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23401 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
23403         * net/tramp.el (tramp-process-actions): Add POS argument.
23404         Delete region between POS and (pos).
23406         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23407         Use `nil' position in `tramp-process-actions' call.
23408         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23410         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23411         position in `tramp-process-actions' call.
23413         * net/trampver.el: Update release number.
23415 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23417         * custom.el (defcustom): Obey lexical-binding.
23419         Fix octave-inf completion problems reported by Alexander Klimov.
23420         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23421         Inherit from octave-mode-syntax-table.
23422         (inferior-octave-mode): Set info-lookup-mode.
23423         (inferior-octave-completion-at-point): New function.
23424         (inferior-octave-complete): Use it and completion-in-region.
23425         (inferior-octave-dynamic-complete-functions): Use it as well, and use
23426         comint-filename-completion.
23427         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23428         symbol elements which shouldn't be word elements.
23429         (octave-font-lock-keywords, octave-beginning-of-defun)
23430         (octave-function-header-regexp): Adjust regexps accordingly.
23431         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23433 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
23435         * net/gnutls.el (gnutls-errorp): Declare before first use.
23437 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
23439         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23440         verify-error, and verify-hostname-error parameters.  Check whether
23441         default trustfile exists before going to use it.  Add missing
23442         argument to gnutls-message-maybe call.  Return value.
23443         Reported by Claudio Bley <claudio.bley@gmail.com>.
23444         (open-gnutls-stream): Add usage example.
23446         * net/network-stream.el (network-stream-open-starttls): Give host
23447         parameter to `gnutls-negotiate'.
23448         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23449         * subr.el (shell-quote-argument): Escape correctly under Windows.
23451 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
23453         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23454         Use correct match group (bug#8438).
23456 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
23458         * emacs-lisp/package.el (package-built-in-p): Fix typo.
23459         (package-menu--generate): New arg specifying packages to show.
23460         (package-menu-refresh, package-menu-execute, list-packages):
23461         Callers changed.
23462         (package-show-package-list): New function, replacing deleted
23463         package--list-packages (renamed because it is non-internal).
23465         * finder.el (finder-list-matches): Use package-show-package-list
23466         instead of deleted package--list-packages.
23468         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23469         Based on a previous implementation by Juanma Barranquero (Bug#8366).
23470         (vc-annotate-mode-map): Bind it to RET.
23472 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
23474         * progmodes/etags.el (next-file): Don't use set-buffer to change
23475         buffers (Bug#8478).
23477 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
23479         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23481         * apropos.el (apropos-label-face): Avoid variable-pitch face.
23482         (apropos-accumulator): Doc fix.
23483         (apropos-function, apropos-macro, apropos-command)
23484         (apropos-variable, apropos-face, apropos-group, apropos-widget)
23485         (apropos-plist): Add face property.
23486         (apropos-symbols-internal): Fix indentation.
23487         (apropos-print): Simplify help, and recognize apropos-multi-type.
23488         (apropos-print-doc): Use button-type-get to extract the button's
23489         face property.  Fill docstring (Bug#8352).
23491 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
23493         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23495         * play/mpuz.el (mpuz-silent): Doc fix.
23496         (mpuz-mode-map): Use mapc.
23497         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23498         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23499         Fix typos in docstrings.
23501         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23502         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23504         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23506 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
23508         * minibuffer.el (completion--do-completion): Avoid the "Next char
23509         not unique" prompt if icomplete-mode is enabled (Bug#5849).
23511         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23512         mouse-2 into unread-command-events, it is interpreted correctly.
23514         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23515         (image-toggle-display): Doc fix.
23517 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
23519         * textmodes/page.el (what-page): Use line-number-at-pos to
23520         calculate line number (Bug#6825).
23522 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
23524         * eshell/esh-mode.el (find-tag-interactive): Declare function.
23525         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23526         Pass argument NO-DEFAULT to `find-tag-interactive'.
23528 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
23530         Lexical-binding cleanup.
23532         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23533         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23534         * progmodes/ada-prj.el (ada-prj-initialize-values)
23535         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23536         (ada-prj-show-value):
23537         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23538         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23539         (antlr-invalidate-context-cache, antlr-options-menu-filter)
23540         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23541         * progmodes/bug-reference.el (bug-reference-push-button):
23542         * progmodes/fortran.el (fortran-line-length):
23543         * progmodes/glasses.el (glasses-change):
23544         * progmodes/octave-mod.el (octave-fill-paragraph):
23545         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23546         (python-pdbtrack-grub-for-buffer, python-sentinel):
23547         * progmodes/sql.el (sql-save-connection):
23548         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23549         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23550         Mark unused parameters.
23552         * progmodes/compile.el (compilation--flush-directory-cache)
23553         (compilation--flush-parse, compile-internal): Mark unused parameters.
23554         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23555         (compilation-next-error-function): Remove unused variable `timestamp'.
23557         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23558         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23560         * progmodes/dcl-mode.el (dcl-end-of-command):
23561         Remove unused variable `start'.
23562         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23563         (dcl-option-value-basic, dcl-option-value-offset)
23564         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23565         Mark unused parameters.
23566         (dcl-save-local-variable): Remove unused variable `val'.
23567         (mode): Declare.
23569         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23570         Mark unused parameters.
23571         (delphi-ignore-changes): Move before first use.
23572         (delphi-charset-token-at): Remove unused variable `start'.
23573         (delphi-else-start): Remove unused variable `if-count'.
23574         (delphi-comment-block-start, delphi-comment-block-end):
23575         Remove unused variable `kind'.
23576         (delphi-indent-line): Remove unused variable `new-point'.
23578         * progmodes/ebrowse.el (ebrowse-files-list)
23579         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23580         Mark unused parameters.  Don't quote `lambda'.
23581         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23582         Don't quote `lambda'.
23583         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23584         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23585         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23586         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23587         Use `ignore-errors'.
23588         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23589         (ebrowse-view/find-file-and-search-pattern)
23590         (ebrowse-view/find-member-declaration/definition):
23591         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23592         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23593         Rename parameter PREFIX-ARG to PREFIX.
23594         (ebrowse-tags-read-name): Remove unused variables `start' and
23595         `member-info'.
23596         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23597         to `tags-file'.
23599         * progmodes/etags.el (local-find-tag-hook): Declare.
23600         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23601         Mark unused parameters.
23603         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23604         (executable-interpret): Mark unused parameter.
23606         * progmodes/flymake.el (flymake-process-sentinel)
23607         (flymake-after-change-function)
23608         (flymake-create-temp-with-folder-structure)
23609         (flymake-get-include-dirs-dot): Mark unused parameters.
23610         (flymake-safe-delete-directory): Remove unused variable `err'.
23612         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23613         (speedbar-timer-fn, speedbar-line-text)
23614         (speedbar-change-expand-button-char, speedbar-delete-subblock)
23615         (speedbar-center-buffer-smartly): Declare functions.
23616         (gdb-find-watch-expression): Remove unused variable `array'.
23617         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23618         (gdb-starting): Mark unused parameters.
23619         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23620         (gdb-table-string): Remove unused variable `res'.
23621         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23622         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23623         (gdb-display-buffer): Remove unused variable `cur-size'.
23625         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23626         allow lexical-binding compilation.
23627         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23628         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23629         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23630         Mark unused parameters.
23631         (gud-gdb-marker-filter): Remove unused variable `match'.
23632         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23633         lambda expressions and funcall them, instead of using `fset'.
23635         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23636         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23638         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23639         variable `header-beg'; use `let'.
23641         * progmodes/icon.el (indent-icon-exp): Remove unused variables
23642         `restart', `last-sexp' and `at-do'.
23644         * progmodes/js.el (js--debug): Mark unused parameter.
23645         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23646         (js--splice-into-items): Remove unused variable `item'.
23647         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23649         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23650         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23651         (makefile-complete): Remove unused variable `try'.
23652         (makefile-fill-paragraph, makefile-match-function-end):
23653         Mark unused parameters.
23655         * progmodes/octave-inf.el (inferior-octave-complete):
23656         Remove unused variable `proc'.
23657         (inferior-octave-output-digest): Mark unused parameter.
23659         * progmodes/perl-mode.el (perl-calculate-indent):
23660         Remove unused variable `err'.
23662         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23663         (prolog-indent-line): Mark unused parameters.
23664         (prolog-indent-line): Remove unused variable `beg'.
23666         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23667         (reporter-dont-compact-list): Declare.
23669         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23670         Remove unused variable `char'.
23671         (sh-debug): Mark unused parameter.
23672         (sh-get-indent-info): Remove unused variable `start'.
23673         (sh-calculate-indent): Remove unused variable `var'.
23675         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23676         (simula-electric-keyword): Remove unused variable `null'.
23677         (simula-search-backward, simula-search-forward): Remove unused
23678         variables `begin' and `end'.
23680         * progmodes/vera-mode.el (vera-guess-basic-syntax):
23681         Remove unused variable `pos'.
23682         (vera-electric-tab, vera-comment-uncomment-region):
23683         Mark unused parameters.
23684         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23686 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
23688         * emacs-lisp/package.el (package--builtins, package-alist)
23689         (package-load-descriptor, package-built-in-p, package-activate)
23690         (define-package, package-installed-p)
23691         (package-compute-transaction, package-buffer-info)
23692         (package--push): Doc fix.  Distinguish more clearly between
23693         version strings and version lists.
23695 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
23697         Lexical-binding cleanup.
23699         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23700         (5x5-make-mutate-best):
23701         * play/fortune.el (fortune-in-buffer):
23702         * play/gomoku.el (gomoku-init-display):
23703         * play/solitaire.el (solitaire, solitaire-do-check):
23704         * play/tetris.el (tetris-default-update-speed-function):
23705         Mark unused parameters.
23707         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23708         (bubbles--shift): Remove unused variable `char-org'.
23709         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
23710         (bubbles--show-images): Remove unused variable `char'.
23712         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23713         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23714         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23715         (decipher-analyze-buffer): Use ?\s.
23716         (decipher-make-checkpoint): Remove unused variable `mapping'.
23718         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23720         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23721         Remove unused variable `result'; use `let'.
23723         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23724         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23725         (gametree-children-shown-p, gametree-compute-reduced-score):
23726         Use `ignore-errors'.
23728         * play/handwrite.el (ps-lpr-switches): Declare.
23729         (handwrite): Remove unused variables `pmin' and `lastp'.
23731         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23733         * play/landmark.el (landmark-init-display)
23734         (landmark-update-naught-weights): Mark unused parameters.
23735         (landmark-y): Remove unused variable `noise'.  Simplify.
23736         (landmark-human-plays): Remove unused variable `score'.
23738         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23739         (mpuz-try-proposal): Remove unused variable `game'.
23741         * play/zone.el (life-patterns): Declare.
23743 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
23745         * vc/vc.el (ediff-vc-internal): Declare function.
23747 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23749         * shell.el: Use lexical-binding and std completion UI.
23750         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23751         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23752         comint-preoutput-filter-functions rather than on
23753         comint-output-filter-functions.
23754         (shell-command-completion, shell--command-completion-data)
23755         (shell-filename-completion, shell-environment-variable-completion)
23756         (shell-c-a-p-replace-by-expanded-directory): New functions.
23757         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23758         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23759         (shell-dynamic-complete-environment-variable): Use them.
23760         (shell-dynamic-complete-as-environment-variable)
23761         (shell-dynamic-complete-as-command): Remove.
23762         (shell-match-partial-variable): Match past point.
23763         * comint.el: Clean up use of completion-at-point-functions.
23764         (comint-completion-at-point): New function.
23765         (comint-mode): Use it completion-at-point-functions.
23766         (comint-dynamic-complete): Make it obsolete.
23767         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23768         (comint-c-a-p-replace-by-expanded-history): New function.
23769         (comint-dynamic-complete-functions)
23770         (comint-replace-by-expanded-history): Use it.
23771         * minibuffer.el (completion-table-with-terminator): Allow dynamic
23772         termination strings.  Try harder to avoid second try-completion.
23773         (completion-in-region-mode-map): Disable bindings that don't work yet.
23775         * comint.el: Use lexical-binding.  Require CL.
23776         (comint-dynamic-complete-functions): Use comint-filename-completion.
23777         (comint-completion-addsuffix): Tweak custom type.
23778         (comint-filename-completion, comint--common-suffix)
23779         (comint--common-quoted-suffix, comint--table-subvert)
23780         (comint--complete-file-name-data): New functions.
23781         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23782         (comint-dynamic-list-filename-completions): Use them.
23783         (comint-dynamic-simple-complete): Make obsolete.
23785         * minibuffer.el (completion-in-region-mode):
23786         Keep completion-in-region-mode--predicate global.
23787         (completion-in-region--postch):
23788         Assume completion-in-region-mode--predicate is not null.
23790         * progmodes/flymake.el (flymake-start-syntax-check-process):
23791         Obey `dir'.  Simplify.
23793         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23794         we're in VC after all.
23796 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
23798         * vc/vc.el (vc-diff-build-argument-list-internal)
23799         (vc-version-ediff, vc-ediff): New commands.
23800         (vc-version-diff): Use vc-diff-build-argument-list-internal.
23802 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23804         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23805         add sanity check.
23807         * obsolete/erc-hecomplete.el: Make obsolete.
23808         * obsolete/: Standardize obsolescence info in the header.
23810 2011-04-20  Glenn Morris  <rgm@gnu.org>
23812         * calendar/solar.el (solar-horizontal-coordinates):
23813         Use the longitude argument rather than `calendar-longitude'.
23814         (solar-date-next-longitude): Remove unused locals.
23816 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
23818         * whitespace.el: New version 13.2.1.
23820 2011-04-20  felix  <EmacsWiki>  (tiny change)
23822         * whitespace.el (global-whitespace-mode): Keep highlight when
23823         switching between major modes on a file.
23825 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
23827         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23828         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23829         multi-line comments as well.
23831 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
23833         Lexical-binding cleanup.
23835         * arc-mode.el (archive-mode-revert):
23836         * cmuscheme.el (scheme-interactively-start-process):
23837         * custom.el (custom-initialize-delay):
23838         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23839         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23840         * emacs-lock.el (emacs-lock-clear-sentinel):
23841         * ezimage.el (defezimage):
23842         * follow.el (follow-avoid-tail-recenter):
23843         * fringe.el (set-fringe-mode-1):
23844         * generic-x.el (bat-generic-mode-compile):
23845         * help-mode.el (help-info-variable, help-do-xref)
23846         (help-mode-revert-buffer):
23847         * help.el (view-emacs-todo):
23848         * iswitchb.el (iswitchb-completion-help):
23849         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23850         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23851         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23852         * locate.el (locate-update):
23853         * longlines.el (longlines-encode-region)
23854         (longlines-after-change-function):
23855         * outline.el (outline-isearch-open-invisible):
23856         * ps-def.el (declare-function, charset-dimension, char-width)
23857         (encode-char):
23858         * ps-mule.el (ps-mule-plot-string):
23859         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23860         (recentf-edit-list-select, recentf-edit-list-validate)
23861         (recentf-open-files-action):
23862         * rect.el (delete-whitespace-rectangle-line)
23863         (rectangle-number-line-callback):
23864         * register.el (window-configuration-to-register)
23865         (frame-configuration-to-register):
23866         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23867         * select.el (xselect-convert-to-string, xselect-convert-to-length)
23868         (xselect-convert-to-targets, xselect-convert-to-delete)
23869         (xselect-convert-to-filename, xselect-convert-to-charpos)
23870         (xselect-convert-to-lineno, xselect-convert-to-colno)
23871         (xselect-convert-to-os, xselect-convert-to-host)
23872         (xselect-convert-to-user, xselect-convert-to-class)
23873         (xselect-convert-to-name, xselect-convert-to-integer)
23874         (xselect-convert-to-atom, xselect-convert-to-identity):
23875         * subr.el (declare, ignore, process-kill-without-query)
23876         (text-clone-maintain):
23877         * terminal.el (te-get-char, te-tic-sentinel):
23878         * tool-bar.el (tool-bar-make-keymap):
23879         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23880         * type-break.el (type-break-mode, type-break-noninteractive-query):
23881         * view.el (View-back-to-mark):
23882         * wid-browse.el (widget-browse-action, widget-browse-widget)
23883         (widget-browse-widgets, widget-browse-sexp):
23884         * widget.el (define-widget-keywords):
23885         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23886         Mark unused parameters.
23888         * align.el (align-adjust-col-for-rule): Mark unused parameter.
23889         (align-areas): Remove unused variable `look'.
23890         (align-region): Remove unused variables `real-end' and `pos-list'.
23892         * apropos.el (apropos-score-doc): Remove unused variable `i'.
23894         * bindings.el (mode-line-modified, mode-line-remote):
23895         Mark unused parameters.
23896         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23898         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23899         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23901         * comint.el (comint-history-isearch-pop-state)
23902         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23903         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23904         (comint-substitute-in-file-name): Doc fix.
23906         * completion.el (cmpl-statistics-block): Mark unused parameter.
23907         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23908         (save-completions-to-file, load-completions-from-file):
23909         Remove unused local variable `e'.
23911         * composite.el (compose-chars): Remove unused variable `len'.
23912         (lgstring-insert-glyph): Remove unused variable `g'.
23913         (compose-glyph-string): Remove unused variables `ascent',
23914         `descent', `lbearing' and `rbearing'.
23915         (compose-glyph-string-relative): Remove unused variables
23916         `lbearing', `rbearing' and `wadjust'.
23917         (compose-gstring-for-graphic): Remove unused variables `header',
23918         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
23919         (compose-gstring-for-terminal): Remove unused variables `header'
23920         and `nchars'.  Use `let', not `let*'.
23922         * cus-edit.el (Custom-set, Custom-save, custom-reset)
23923         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23924         (Custom-buffer-done, custom-buffer-create-internal)
23925         (custom-browse-visibility-action, custom-browse-group-tag-action)
23926         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23927         (widget-magic-mouse-down-action, custom-toggle-parent)
23928         (custom-add-parent-links, custom-toggle-hide-variable)
23929         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23930         (custom-toggle-hide-face, face, hook, custom-group-link-action)
23931         (custom-face-menu-create, custom-variable-menu-create, get)
23932         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23933         (custom-reset-standard-save-and-update): Remove unused variable `value'.
23934         (customize-apropos): Remove unused variable `tests'.
23935         (custom-group-value-create): Remove unused variable `hidden-p'.
23936         (sort-fold-case): Declare.
23938         * cus-theme.el (custom-reset-standard-faces-list)
23939         (custom-reset-standard-variables-list): Declare.
23940         (customize-create-theme, custom-theme-revert, custom-theme-write)
23941         (custom-theme-choose-mode, customize-themes, custom-theme-save):
23942         Mark unused parameters.
23944         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23946         * delim-col.el (delimit-columns-max): Move defvar before first use.
23948         * descr-text.el (describe-char-categories): Don't quote `lambda'.
23949         (describe-char): Don't quote `lambda'.  Mark unused parameter.
23951         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23952         (auto-insert): Declare.
23953         (desktop-restore-file-buffer): Rename desktop-* parameters;
23954         mark unused ones.
23955         (desktop-create-buffer): Rename desktop-* parameters and bind them.
23956         (desktop-buffer): Rename desktop-* parameters.
23958         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23959         (dframe-reposition-frame-xemacs, dframe-help-echo)
23960         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23961         Mark unused parameters.
23963         * dired-aux.el (backup-extract-version-start, overwrite-query)
23964         (overwrite-backup-query, rename-regexp-query)
23965         (rename-non-directory-query): Declare.
23966         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23967         (dired-add-entry): Remove unused variable `orig-file-name'.
23968         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23969         Use parameter PRESERVE-TIME instead of accessing dynamic variable
23970         `dired-copy-preserve-time' directly.
23971         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23972         (dired-insert-subdir-newpos): Rename unused variable `pos'.
23974         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23975         (dired-virtual-revert, dired-make-relative-symlink):
23976         Mark unused parameters.
23977         (manual-program): Declare.
23978         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23979         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23980         wrapped in `with-no-warnings' to avoid replacing one warning by another.
23982         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23984         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23986         * echistory.el (electric-history-in-progress, Helper-return-blurb):
23987         Declare.
23989         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23991         * electric.el (Electric-command-loop): Rename parameter
23992         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23994         * expand.el (expand-in-literal): Remove unused variable `here'.
23996         * facemenu.el (facemenu-add-new-color):
23997         Remove unused variable `docstring'.
23999         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24000         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24001         (face-attr-construct): Mark unused parameter.  Doc fix.
24002         (read-color): Remove unused variable `hex-string'.
24004         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24005         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24006         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24007         (display-buffer-other-frame): Remove unused variable `old-window'.
24008         (kill-buffer-hook): Declare.
24009         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24010         Mark unused parameters.
24011         (after-find-file): Pass 1 to `auto-save-mode', not t.
24013         * files-x.el (auto-insert): Declare.
24014         (modify-file-local-variable-prop-line): Remove unused variable `val'.
24016         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24017         variable `buf'.  Mark unused parameter.
24018         (find-lisp-insert-directory): Mark unused parameter.
24020         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24021         (format-encode-region): Remove unused variables `cur-buf' and `result'.
24022         (format-common-tail): Remove, unused.
24023         (format-deannotate-region): Remove unused variable `loc'.
24024         (format-annotate-region): Remove unused variable `p'.
24025         (format-annotate-single-property-change): Remove unused variables
24026         `default' and `tail'.
24028         * forms.el (read-file-filter): Declare.
24029         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24031         * frame.el (frame-creation-function-alist): Mark unused parameter.
24032         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24034         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24035         Remove unused parameters.
24036         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24037         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24039         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24040         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24041         (hfy-prepare-tag-map): Mark unused parameters.
24042         (htmlfontify-buffer): Use `called-interactively-p'.
24044         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24045         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24046         (ibuffer-do-occur): Mark unused parameters.
24047         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24048         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24050         * ibuffer.el: Don't quote `lambda'.
24051         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24052         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24053         Mark unused parameters.
24055         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24056         (ido-completing-read): Mark unused parameters.
24057         (ido-copy-current-word): Mark unused parameters;
24058         remove unused variable `name'.
24059         (ido-sort-merged-list): Remove unused parameter `dirs'.
24061         * ielm.el (ielm-input-sender): Mark unused parameter.
24062         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24063         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24064         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24065         `ielm-string' as a dynamic variable accessible from the IELM prompt.
24066         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
24068         * image-dired.el (image-dired-display-thumbs): Remove unused
24069         variables `curr-file' and `count'.
24070         (image-dired-remove-tag): Remove unused variable `start'.
24071         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24072         variable `curr-file'
24073         (image-dired-rotate-original): Remove unused variable `temp-file'.
24074         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24075         Remove unused variable `file'.
24076         (image-dired-gallery-generate): Remove unused variable `curr'.
24077         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24079         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24081         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24083         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24085         * isearch.el (minibuffer-history-symbol): Declare.
24086         (isearch-edit-string): Remove unused variable `err'.
24087         (isearch-message-prefix, isearch-message-suffix):
24088         Mark unused parameters.
24090         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24092         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24094         * makesum.el (double-column): Remove unused variable `cnt'.
24096         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24097         (ido-ignore-item-temp-list): Declare.
24099         * mouse-drag.el (mouse-drag-throw): Remove unused variables
24100         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24101         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24102         (mouse-drag-drag): Remove unused variables `mouse-delta' and
24103         `mouse-col-delta'.
24105         * mouse-sel.el (mouse-extend-internal):
24106         Remove unused variable `orig-window-frame'.
24108         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24109         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24110         Move declarations before first use.
24111         (pcomplete-opt): Mark unused parameters; doc fix.
24113         * proced.el (proced-revert): Mark unused parameter.
24114         (proced-send-signal): Remove unused variable `err'.
24116         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24117         Rename parameter PREFIX-ARG to ARG.
24118         (ps-basic-plot-string, ps-basic-plot-whitespace):
24119         Mark unused parameters.
24121         * replace.el (replace-count): Define.
24122         (occur-revert-function): Mark unused parameters.
24123         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24124         (isearch-case-fold-search, isearch-string): Declare.
24125         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24126         bind `case-fold-search'.  Remove unused variables `beg' and `end',
24127         and simplify.
24128         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24129         COUNT and bind `replace-count'.
24130         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24131         to COUNT.
24133         * savehist.el (print-readably, print-string-length): Declare.
24135         * shadowfile.el (shadow-expand-cluster-in-file-name):
24136         Remove unused variable `cluster'.
24137         (shadow-copy-file): Remove unused variable `i'.
24138         (shadow-noquery, shadow-clusters, shadow-site-cluster)
24139         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24140         (shadow-define-literal-group, shadow-define-regexp-group)
24141         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24143         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24144         (shell): Use `called-interactively-p'.
24145         (shell-directory-tracker): Remove unused variable `chdir-failure'.
24147         * simple.el (compilation-context-lines, comint-file-name-quote-list)
24148         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24149         (delete-backward-char): Remove unused variable `ocol'.
24150         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24151         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24152         (event-apply-hyper-modifier, event-apply-shift-modifier)
24153         (event-apply-control-modifier, event-apply-meta-modifier):
24154         Mark unused parameters.
24155         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24156         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24158         * speedbar.el (speedbar-ignored-directory-expressions)
24159         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24160         (speedbar-find-file, speedbar-dir-follow)
24161         (speedbar-directory-buttons-follow, speedbar-tag-find)
24162         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24163         (speedbar-buffers-line-directory, speedbar-buffer-click):
24164         Mark unused parameters.
24165         (speedbar-tag-file): Remove unused variable `mode'.
24166         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24168         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24170         * talk.el (talk): Remove unused variable `display'.
24172         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24173         (tar-write-region-annotate): Mark unused parameter.
24175         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24176         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24177         Declare them, wrapped in `with-no-warnings' to avoid replacing one
24178         warning by another.
24180         * time-stamp.el (time-stamp-string-preprocess):
24181         Remove unused variable `require-padding'.
24183         * tree-widget.el (widget-glyph-enable): Declare.
24184         (tree-widget-action): Mark unused parameter.
24186         * w32-fns.el (x-get-selection): Mark unused parameter.
24187         (autoload-make-program, generated-autoload-file): Declare.
24189         * wdired.el (wdired-revert): Mark unused parameters.
24190         (wdired-xcase-word): Remove unused variable `err'.
24192         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24193         (whitespace-help-scroll): Remove unused variable `data-help'.
24195         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24196         (widget-image-insert, widget-after-change, default)
24197         (widget-default-format-handler, widget-default-notify)
24198         (widget-default-prompt-value, widget-info-link-action)
24199         (widget-url-link-action, widget-function-link-action)
24200         (widget-variable-link-action, widget-file-link-action)
24201         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24202         (widget-field-prompt-internal, widget-field-action, widget-field-match)
24203         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24204         (widget-insert-button-action, widget-delete-button-action, visibility)
24205         (widget-documentation-link-action, widget-documentation-string-action)
24206         (widget-const-prompt-value, widget-regexp-match, symbol)
24207         (widget-coding-system-prompt-value)
24208         (widget-key-sequence-value-to-external, sexp)
24209         (widget-sexp-value-to-internal, character, vector, cons)
24210         (widget-choice-prompt-value, widget-boolean-prompt-value)
24211         (widget-color--choose-action): Mark unused parameters.
24212         (widget-item-match-inline, widget-choice-match-inline)
24213         (widget-checklist-match, widget-checklist-match-inline)
24214         (widget-group-match): Rename parameter VALUES to VALS.
24215         (widget-field-value-set): Remove unused variable `size'.
24216         (widget-color-action): Remove unused variables `value' and `start'.
24218         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24219         variable `dir'.  Doc fix.
24220         (windmove-find-other-window): Don't pass it.
24222         * window.el (count-windows): Mark unused parameter.
24223         (bw-adjust-window): Remove unused variable `err'.
24225         * woman.el (woman-file-name): Remove unused variable `default'.
24226         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24227         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24228         (global-font-lock-mode): Declare.
24229         (woman-decode-region): Mark unused parameter.
24230         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24232         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24233         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24234         (x-dnd-handle-moz-url): Remove unused variable `title'.
24235         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24237         * xml.el (xml-parse-tag, xml-parse-attlist):
24238         Remove unused variable `pos'.
24240 2011-04-19  Glenn Morris  <rgm@gnu.org>
24242         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24243         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24244         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24245         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24246         * calendar/cal-html.el (cal-html-insert-minical):
24247         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24248         (calendar-mark-date-pattern):
24249         Prefix "unused" locals.
24251         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24252         optional argument `style'.
24254         * calendar/appt.el (appt-make-list):
24255         * calendar/cal-china.el (calendar-chinese-date-string):
24256         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24257         (diary-hebrew-yahrzeit):
24258         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24259         * calendar/calendar.el (calendar-generate-window):
24260         * calendar/time-date.el (time-to-days):
24261         Remove unused local variables.
24263 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
24265         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24266         glyphless-char-display table.
24267         (tabulated-list-glyphless-char-display): New var.
24269 2011-04-18  Sam Steingold  <sds@gnu.org>
24271         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24272         to acknowledgments.
24274 2011-04-17  Glenn Morris  <rgm@gnu.org>
24276         * calendar/diary-lib.el (diary-sexp-entry):
24277         * calendar/holidays.el (holiday-sexp):
24278         Set debug-on-error rather than the removed stack-trace-on-error.
24280 2011-04-16  Glenn Morris  <rgm@gnu.org>
24282         * progmodes/f90.el: Use lexical-binding.
24283         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24285 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24287         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24288         (mail-mode): Setup mailalias completion here instead.
24289         * mail/mailalias.el: Use lexical-binding.
24290         (pattern, mailalias-done): Declare dynamic.
24291         (mail-completion-at-point-function): New function, from mail-complete.
24292         (mail-complete): Use it.
24293         (mail-completion-expand): New function.
24294         (mail-get-names): Use it.
24295         (mail-directory, mail-directory-process, mail-directory-stream):
24296         Don't use `pattern' for lexically bound arg.
24298         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24300         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24301         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24302         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24304         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24305         (byte-save-window-excursion, byte-temp-output-buffer-setup)
24306         (byte-interactive-p): Define them again, for use when inlining
24307         old code.
24309 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
24311         * loadup.el: Use `string-to-number', not `string-to-int'.
24313 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24315         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24316         gud-gdb-complete-command.
24317         (gud-gdb-completions): New function, from gud-gdb-complete-command.
24318         (gud-gdb-completion-at-point): New function.
24319         (gud-gdb-completions): Remove.
24321 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
24323         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24324         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
24325         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24326         whether `executable-find' is bound.
24328         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24330 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
24332         * minibuffer.el (completion-in-region-mode-predicate)
24333         (completion-in-region-mode--predicate): New vars.
24334         (completion-in-region, completion-in-region--postch)
24335         (completion-in-region-mode): Use them.
24336         (completion--capf-wrapper): Also return the hook function.
24337         (completion-at-point, completion-help-at-point):
24338         Adjust and provide a predicate.
24340         Preserve arg names for advice of subr and lexical functions (bug#8457).
24341         * help-fns.el (help-function-arglist): Consolidate the subr and
24342         new-byte-code cases.  Add argument `preserve-names' to extract names
24343         from the docstring when needed.
24344         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24345         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24346         (ad-arglist): Use help-function-arglist's new arg.
24347         (ad-definition-type): Use cond.
24349 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
24351         * autorevert.el (auto-revert-handler):
24352         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24353         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24354         Don't quote lambda.
24356         * image-mode.el (image-transform-set-scale):
24357         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24359 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24361         * net/network-stream.el (network-stream-open-starttls): Only do
24362         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24363         Upgrades via gnutls-cli are too slow to be done opportunistically.
24365 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
24367         * dframe.el (dframe-current-frame): Remove spurious quote.
24369 2011-04-12  Glenn Morris  <rgm@gnu.org>
24371         * calendar/cal-tex.el (cal-tex-end-document):
24372         Try to automatically use latin1 input if needed.
24374         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24375         Don't try to cons a mark onto an empty element.
24377 2011-04-11  Leo Liu  <sdl.web@gmail.com>
24379         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24380         buffers.
24381         (ido-kill-buffer-at-head): Support killing virtual buffers.
24383 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
24385         * minibuffer.el (completion-show-inline-help): New var.
24386         (completion--do-completion, minibuffer-complete)
24387         (minibuffer-force-complete, minibuffer-complete-word):
24388         Inhibit minibuffer messages if completion-show-inline-help is nil.
24390         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24391         to avoid interference from inline help (Bug#5849).
24393 2011-04-10  Leo Liu  <sdl.web@gmail.com>
24395         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24396         Fix typo.
24398 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
24400         * image-mode.el (image-toggle-display-image): Signal an error if
24401         not in Image mode.
24402         (image-transform-mode, image-transform-resize)
24403         (image-transform-set-rotation): Doc fix.
24404         (image-transform-set-resize): Delete.
24405         (image-transform-set-scale, image-transform-fit-to-height)
24406         (image-transform-fit-to-width): Handle image-toggle-display-image
24407         and image-transform-resize directly.
24409 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
24411         * doc-view.el (doc-view-fit-width-to-window)
24412         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24413         New functions for fitting the shown image to the Emacs window size.
24414         (doc-view-mode-map): Add bindings for the new functions.
24416 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
24418         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24419         Fix typo in docstring.
24421 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
24423         * files.el (file-size-human-readable): Produce one digit after
24424         decimal, like "ls -lh" does.
24426         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24427         the file size representation.
24429         * simple.el (list-processes): If async subprocesses are not
24430         available, error out with a clear error message.
24432 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
24434         * help.el (help-form-show): New function, to be called from C.
24435         Put help-form output in a buffer named differently than *Help*.
24437 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
24439         * files.el (file-size-human-readable): New function.
24441         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24442         computing the representation inline.  Don't require `cl'.
24444 2011-04-08  Glenn Morris  <rgm@gnu.org>
24446         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24448         * net/browse-url.el (browse-url-firefox):
24449         Test system-type, not system-configuration.
24451         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24452         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24453         Use log-edit-empty-buffer-p.  (Bug#7598)
24455         * net/rlogin.el (rlogin-process-connection-type): Simplify.
24456         (rlogin-mode-map): Initialize in the defvar.
24457         (rlogin): Use ignore-errors.
24459         * replace.el (occur-mode-map): Some fixes for menu items.
24461 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
24463         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
24465 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
24467         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24468         issuing unused warnings.
24470         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24471         macro directly.
24473         * simple.el: Lisp reimplement of list-processes.  Based on an
24474         earlier reimplementation by Leo Liu, but using tabulated-list.el.
24475         (process-menu-mode): New major mode.
24476         (list-processes--refresh, list-processes):
24477         (process-menu-visit-buffer): New functions.
24479         * files.el (save-buffers-kill-emacs): Don't assume any return
24480         value of list-processes, which is undocumented anyway.
24482 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
24484         * emacs-lisp/tabulated-list.el: New file.
24486         * emacs-lisp/package.el: Use Tabulated List mode.
24487         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24488         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
24489         table format using Tabulated List mode variables.
24490         (package--push): New macro, replacing package-list-maybe-add.
24491         (package-menu--generate): Use package--push.  Renamed from
24492         package--generate-package-list.
24493         (package-menu-refresh, list-packages): Use it.
24494         (package-menu--print-info): Rename from package-print-package.
24495         Return insertion data instead of inserting it directly.
24496         (package-menu-describe-package, package-menu-execute):
24497         Use tabulated-list-get-id.
24498         (package-menu-mark-delete, package-menu-mark-install)
24499         (package-menu-mark-unmark, package-menu-backup-unmark)
24500         (package-menu-mark-obsolete-for-deletion):
24501         Use tabulated-list-put-tag.
24502         (package--list-packages, package-menu-revert)
24503         (package-menu-get-package, package-menu-get-version)
24504         (package-menu-sort-by-column): Functions deleted.
24505         (package-menu-package-list, package-menu-sort-key): Vars deleted.
24506         (package-menu--status-predicate, package-menu--version-predicate)
24507         (package-menu--name-predicate)
24508         (package-menu--description-predicate): Handle arguments in the
24509         Tabulated List format.
24510         (package-list-packages-no-fetch): Call list-packages.
24512 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
24514         * files.el (after-find-file-from-revert-buffer): Remove variable.
24515         (after-find-file): Don't bind it.
24516         (revert-buffer-in-progress-p): New variable.
24517         (revert-buffer): Bind it.
24518         Pass nil for `after-find-file-from-revert-buffer'.
24520         * saveplace.el (save-place-find-file-hook): Use new variable
24521         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24523 2011-04-06  Glenn Morris  <rgm@gnu.org>
24525         * Makefile.in (AUTOGEN_VCS): New variable.
24526         (autoloads): Use $AUTOGEN_VCS.
24528         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24529         * calendar/calendar.el (calendar-mode-map):
24530         Check for toolkit scroll bars.  (Bug#8305)
24532 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
24534         * minibuffer.el (completion-in-region--postch)
24535         (completion-in-region-mode): Remove unnecessary messages.
24537 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
24539         * font-lock.el (font-lock-refresh-defaults):
24540         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24541         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24543         * info.el (Info-directory-list, Info-read-node-name-2)
24544         (Info-split-parameter-string): Doc fixes.
24545         (Info-virtual-nodes): Reflow docstring.
24546         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24547         (Info-apropos-toc-nodes, info-finder, Info-get-token)
24548         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24549         Fix typos in docstrings.
24550         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24551         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24552         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24553         (Info-restore-desktop-buffer): Mark unused parameters.
24554         (Info-directory-find-file, Info-directory-find-node)
24555         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24556         (Info-virtual-index-find-node, Info-apropos-find-file)
24557         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24558         Mark unused parameters; fix typos in docstrings.
24559         (Info-virtual-index): Remove unused local variable `nodename'.
24561 2011-04-05  Deniz Dogan  <deniz@dogan.se>
24563         * net/rcirc.el: Update my e-mail address.
24564         (rcirc-mode-map): Remove M-o binding.
24566 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
24568         * startup.el (command-line): Save the cursor's theme-face
24569         directly, instead of using face-override-spec.
24571         * custom.el (load-theme): Minor optimization in assigning faces.
24573 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
24575         * help-fns.el (describe-variable): Complete all variables having
24576         documentation, including keywords.
24577         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24579 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
24581         Convert to lexical-binding.
24583         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24584         (bs--get-marked-string, bs--get-modified-string)
24585         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24586         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24587         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24589         * ehelp.el (electric-help-execute-extended)
24590         (electric-help-ctrl-x-prefix):
24591         * hexl.el (hexl-revert-buffer-function):
24592         * linum.el (linum-after-change, linum-after-scroll):
24593         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24595         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24597 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
24599         * epa-dired.el:
24600         * epa-mail.el:
24601         * epa-hook.el:
24602         * epa-file.el:
24603         * epa.el:
24604         * epg.el: Use lexical binding.
24606 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
24608         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24610         * textmodes/flyspell.el (flyspell-word): Recognize default
24611         dictionary case for flyspell-mark-duplications-exceptions.
24612         Use regexp matching for languages.
24613         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24614         default dictionary (Bug#7926).
24616 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
24618         * emacs-lisp/package.el (package--with-work-buffer):
24619         Recognize https URLs.
24621         * net/network-stream.el: Move from gnus/proto-stream.el.
24622         Change prefix to network-stream throughout.
24623         (open-protocol-stream): Merge into open-network-stream, leaving
24624         open-protocol-stream as an alias.  Handle nil BUFFER args.
24626         * subr.el (open-network-stream): Move to net/network-stream.el.
24628 2011-04-02  Glenn Morris  <rgm@gnu.org>
24630         * find-dired.el (find-exec-terminator): New option.
24631         (find-ls-option): Test for -ls support.
24632         (find-ls-subdir-switches): Test for -b in find-ls-option.
24633         (find-dired, find-grep-dired): Doc fixes.
24634         (find-dired): Use find-exec-terminator.
24636         * find-dired.el (find-ls-option, find-ls-subdir-switches)
24637         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24638         (find-name-arg): Remove purecopy.
24640         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24641         (grep-compute-defaults): Check for `-exec COMMAND +' support.
24642         Set grep-find-use-xargs, grep-find-command, and grep-find-template
24643         accordingly.  Don't add the null-device if not needed.
24645         * files.el (save-some-buffers): Doc fix.
24647 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
24649         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24651 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
24653         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24654         Use `dolist' rather than `mapcar'.
24656 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
24658         Add lexical binding.
24660         * subr.el (apply-partially): Use new closures rather than CL.
24661         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24662         (dolist, dotimes): Use slightly different expansion for lexical code.
24663         (functionp): Move to C.
24664         (letrec): New macro.
24665         (with-wrapper-hook): Use it and apply-partially instead of CL.
24666         (eval-after-load): Preserve lexical-binding.
24667         (save-window-excursion, with-output-to-temp-buffer): Turn them
24668         into macros.
24670         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24672         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24673         than the arglist.
24674         (help-add-fundoc-usage): Don't add `Not documented'.
24675         (help-function-arglist): Handle closures, subroutines, and new
24676         byte-code-functions.
24677         (help-make-usage): Remove leading underscores.
24678         (describe-function-1): Handle closures.
24679         (describe-variable): Use special-variable-p for completion.
24681         * files.el (lexical-binding): Declare safe.
24683         * emacs-lisp/pcase.el: Don't use destructuring-bind.
24684         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
24685         (pcase): Add `let' pattern.
24686         Change memoization so it actually works.
24687         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24688         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24689         <let>: New case.
24691         * emacs-lisp/macroexp.el: Use lexical binding.
24692         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
24693         Don't convert ' to #' without checking that it's indeed quoting
24694         a lambda.
24696         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24697         Use eval-sexp-add-defvars.
24698         (eval-sexp-add-defvars): New fun.
24700         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24702         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24703         Don't autoload.
24704         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24705         than the internal `byte-compile-lambda'.
24706         (defmethod): Don't hide code under quotes.
24707         (eieio-defmethod): New `code' argument.
24709         * emacs-lisp/eieio-comp.el: Remove.
24711         * emacs-lisp/edebug.el (edebug-eval-defun)
24712         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24713         (edebug-toggle): Avoid `eval'.
24715         * emacs-lisp/disass.el (disassemble-internal): Handle new
24716         `closure' objects.
24717         (disassemble-1): Handle new byte codes.
24719         * emacs-lisp/cl.el (pushnew): Silence warning.
24721         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24722         (cl-byte-compile-throw): Remove.
24723         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24725         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24726         closures.
24728         * emacs-lisp/cconv.el: New file.
24730         * emacs-lisp/bytecomp.el: Use lexical binding instead of
24731         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
24732         (byte-compile-initial-macro-environment):
24733         Handle declare-function here.
24734         (byte-compile--lexical-environment): New var.
24735         (byte-stack-ref, byte-stack-set, byte-discardN)
24736         (byte-discardN-preserve-tos): New lap codes.
24737         (byte-interactive-p): Don't use any more.
24738         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24739         New macros.
24740         (byte-compile-lapcode): Use them and handle new lap codes.
24741         (byte-compile-obsolete): Remove.
24742         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24743         (byte-compile-arglist-warn): Check late def of inlinable funs.
24744         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24745         since they should have been expanded by now.
24746         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24747         (byte-compile-from-buffer): Remove unused second arg.
24748         (byte-compile-preprocess): New function.
24749         (byte-compile-toplevel-file-form): New function to distinguish
24750         file-form calls from outside from file-form calls from hunk-handlers.
24751         (byte-compile-file-form): Simplify.
24752         (byte-compile-file-form-defsubst): Remove.
24753         (byte-compile-file-form-defmumble): Simplify now that
24754         byte-compile-lambda always returns a byte-code-function.
24755         (byte-compile): Preprocess.
24756         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24757         Remove, not used any more.
24758         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24759         (byte-compile-make-args-desc): New funs.
24760         (byte-compile-lambda): Handle lexical functions.  Always return
24761         a byte-code-function.
24762         (byte-compile-reserved-constants): New var, to make up room for
24763         closed-over variables.
24764         (byte-compile-constants-vector): Obey it.
24765         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24766         (byte-compile-macroexpand-declare-function): New function.
24767         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24768         byte-code-functions.
24769         (byte-compile-form): Check obsolescence here.
24770         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24771         (byte-compile-variable-ref): Remove.
24772         (byte-compile-dynamic-variable-op): New fun.
24773         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24774         (byte-compile-variable-set): New funs.
24775         (byte-compile-discard): Add 2 args.
24776         (byte-compile-stack-ref, byte-compile-stack-set)
24777         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24778         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24779         macroexpand-all instead.
24780         (byte-compile-quote-form): Remove.
24781         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24782         (byte-compile-bind, byte-compile-unbind): New funs.
24783         (byte-compile-let): Handle let* and lexical binding.
24784         (byte-compile-let*): Remove.
24785         (byte-compile-catch, byte-compile-unwind-protect)
24786         (byte-compile-track-mouse, byte-compile-condition-case):
24787         Handle a new :fun-body form, used for lexical scoping.
24788         (byte-compile-save-window-excursion)
24789         (byte-compile-with-output-to-temp-buffer): Remove.
24790         (byte-compile-defun): Simplify.
24791         (byte-compile-stack-adjustment): New fun.
24792         (byte-compile-out): Use it.
24793         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24795         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24796         handler any more.
24798         * emacs-lisp/byte-opt.el: Use lexical binding.
24799         (byte-inline-lapcode): Remove (to bytecomp).
24800         (byte-compile-inline-expand): Pay attention to inlining to/from
24801         lexically bound code.
24802         (byte-compile-unfold-lambda): Don't handle byte-code-functions
24803         any more.
24804         (byte-optimize-form-code-walker): Don't handle save-window-excursion
24805         any more and don't call compiler-macros.
24806         (byte-compile-splice-in-already-compiled-code): Remove.
24807         (byte-code): Don't inline any more.
24808         (disassemble-offset): Receive `bytes' as argument rather than via
24809         dynamic scoping.
24810         (byte-compile-tag-number): Declare before first use.
24811         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24812         `return' even if make-spliceable.
24813         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24814         obsolete interactive-p.
24815         (byte-optimize-lapcode): Optimize new lap-codes.
24816         Don't trip up on new form of `byte-constant' lap code.
24818         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24820         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24822         * custom.el (custom-initialize-default, custom-declare-variable):
24823         Use `defvar'.
24825         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24826         New variables.
24827         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24828         (COMPILE_FIRST): Add macroexp and cconv.
24829         * makefile.w32-in: Mirror changes in Makefile.in.
24831         * vc/cvs-status.el:
24832         * vc/diff-mode.el:
24833         * vc/log-edit.el:
24834         * vc/log-view.el:
24835         * vc/smerge-mode.el:
24836         * textmodes/bibtex-style.el:
24837         * textmodes/css-mode.el:
24838         * startup.el:
24839         * uniquify.el:
24840         * minibuffer.el:
24841         * newcomment.el:
24842         * reveal.el:
24843         * server.el:
24844         * mpc.el:
24845         * emacs-lisp/smie.el:
24846         * doc-view.el:
24847         * dired.el:
24848         * abbrev.el: Use lexical binding.
24850 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
24852         * info.el (info-display-manual): New function.
24854 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24856         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24858 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
24860         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24861         an entry for that server in rcirc-authinfo.  (Bug#8385)
24863 2011-03-31  Glenn Morris  <rgm@gnu.org>
24865         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24867         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24869 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
24871         * progmodes/python.el (python-default-interpreter)
24872         (python-python-command-args, python-jython-command-args)
24873         (python-which-shell, python-which-args, python-which-bufname)
24874         (python-file-queue, python-comint-output-filter-function)
24875         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24876         variables and functions.
24878 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
24880         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24881         (completion-in-region-mode): New minor mode.
24882         (completion-in-region): Use it.
24883         (completion-in-region--data, completion-in-region-mode-map): New vars.
24884         (completion-in-region--postch): New function.
24885         (completion--capf-misbehave-funs, completion--capf-safe-funs):
24886         New vars.
24887         (completion--capf-wrapper): New function.
24888         (completion-at-point): Use it to track well-behavedness of
24889         hook functions.
24890         (completion-help-at-point): New command.
24892 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
24894         * vc/add-log.el (add-change-log-entry): Don't use whitespace
24895         syntax class to search for whitespace on a single line
24896         (Message-ID: <4D938140.4030905@redhat.com>).
24898 2011-03-30  Leo Liu  <sdl.web@gmail.com>
24900         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24901         New commands.
24902         (edit-abbrevs-map): Bind them here.
24903         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
24905 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
24907         * allout.el (allout-hide-by-annotation, allout-flag-region):
24908         Reduce possibility of overlay leakage by making them volatile.
24910         * allout-widgets.el (allout-widgets-tally): Define as nil so the
24911         hash is not shared between buffers.  Mode initialization is
24912         responsible for giving it a useful starting value.
24913         (allout-item-span): Reduce possibility of overlay leakage by
24914         making them volatile.
24915         (allout-widgets-count-buttons-in-region): Add diagnostic function
24916         for tracking down button overlay leaks.
24918 2011-03-29  Leo Liu  <sdl.web@gmail.com>
24920         * ido.el (ido-read-internal): Use the default history var
24921         minibuffer-history if no HISTORY is specified.
24923 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
24925         * net/imap.el (imap-shell-open, imap-process-connection-type):
24926         Use imap-process-connection-type for 'shell' streams as well as
24927         Kerberos, SSL, other subprocesses.
24929 2011-03-28  Leo Liu  <sdl.web@gmail.com>
24931         * abbrev.el (abbrev-table-empty-p): New function.
24932         (prepare-abbrev-list-buffer): Place empty abbrev tables after
24933         nonempty ones.  (Bug#5937)
24935 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
24937         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24939 2011-03-27  Leo Liu  <sdl.web@gmail.com>
24941         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24942         for foreground and background colors.
24943         (ansi-color-make-color-map): Adapt.
24945 2011-03-25  Leo Liu  <sdl.web@gmail.com>
24947         * midnight.el (midnight-time-float): Remove.  Note it calculates
24948         the microsecond component incorrectly and seconds-to-time does the
24949         same job.
24950         Remove redundant (require 'timer).
24952         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24953         (ido-completions): Remove unused arguments.  (Bug#8329)
24955 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
24957         * minibuffer.el (completion--flush-all-sorted-completions):
24958         Remove itself from hook.
24959         (completion-at-point): Let the functions perform the completion
24960         immediately and return nil or t.
24961         * comint.el (comint-dynamic-complete-functions): Now identical to
24962         completion-at-point-functions.
24963         (comint-dynamic-list-input-ring): Remove unused var `index'.
24964         (comint--match-partial-filename, comint--unquote&expand-filename):
24965         New funs, split from comint-match-partial-filename.
24966         (comint-dynamic-complete): Use completion-at-point.
24967         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24969 2011-03-24  Drew Adams  <drew.adams@oracle.com>
24971         * thingatpt.el: Support `defun'.
24973 2011-03-23  Leo Liu  <sdl.web@gmail.com>
24975         * abbrevlist.el: Move to obsolete/abbrevlist.el.
24977         * help-mode.el (help-mode-finish): Tweak regexp.
24979 2011-03-23  Glenn Morris  <rgm@gnu.org>
24981         * eshell/esh-opt.el (eshell-eval-using-options):
24982         Do not bind unused local variable `eshell-option-stub'.
24984         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24986 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
24988         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24989         keymap variable in `with-no-warnings' to avoid a warning when the
24990         keymap has been already `defconst'ed.
24992 2011-03-22  Leo Liu  <sdl.web@gmail.com>
24994         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24995         encode all chars in abbrevs; otherwise use emacs-mule or
24996         utf-8-emacs.  (Bug#8308)
24998 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
25000         * simple.el (backward-delete-char-untabify):
25001         Avoid warning about using `delete-backward-char'.
25003         * image.el (image-type-file-name-regexps): Make it variable.
25004         `imagemagick-register-types' modifies it, and the user may want
25005         to add new extensions for known image types.
25006         (imagemagick-register-types): Throw error if not using ImageMagick.
25008 2011-03-22  Leo Liu  <sdl.web@gmail.com>
25010         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25011         located before rcirc-prompt-end-marker.
25012         (rcirc-complete): Error if point is not after rcirc prompt.
25013         Handle the case when table is nil.
25014         (rcirc-user-authenticated): Define to fix compiler warning.
25016 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
25018         * custom.el (custom--inhibit-theme-enable): Make it affect only
25019         custom-theme-set-variables and custom-theme-set-faces.
25020         (provide-theme): Ignore custom--inhibit-theme-enable.
25021         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25022         (custom-enabling-themes): Delete variable.
25023         (enable-theme): Accept only loaded themes as arguments.
25024         Ignore the special custom-enabled-themes variable.
25025         (custom-enabled-themes): Forbid themes from setting this.
25026         Eliminate use of custom-enabling-themes.
25027         (custom-push-theme): Quote "changed" custom var entry.
25029 2011-03-21  Leo Liu  <sdl.web@gmail.com>
25031         * ido.el (ido-read-internal): Add ido-selected to history instead
25032         of user input.
25034 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
25036         * subr.el (deferred-action-list, deferred-action-function):
25037         Mark obsolete.
25039 2011-03-21  Leo Liu  <sdl.web@gmail.com>
25041         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25042         change on 2011-02-13 (bug#8309).
25044         * minibuffer.el (read-file-name-function): Change default value.
25045         (read-file-name--defaults): Rename from read-file-name-defaults.
25046         (read-file-name-default): Rename from read-file-name.
25047         (read-file-name): Call read-file-name-function.
25049 2011-03-21  Glenn Morris  <rgm@gnu.org>
25051         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25052         Doc fixes.
25054 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
25056         * cus-theme.el: Add missing provide statement.
25057         (customize-create-theme): Extract theme value correctly.
25058         (custom-theme-visit-theme): Autoload.
25059         (customize-create-theme): Prompt before inserting default faces.
25061 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
25063         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25064         units and musical notes.
25066 2011-03-20  Leo Liu  <sdl.web@gmail.com>
25068         * ido.el (ido-read-internal): Use completing-read-default.
25069         (ido-completing-read): Fix compatibility with completing-read.
25071 2011-03-20  Christian Ohler  <ohler@gnu.org>
25073         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25074         (ert-delete-all-tests): Use `called-interactively-p' rather than
25075         `interactive-p'.
25076         (ert--make-xrefs-region): Respect END.
25078 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
25080         * dired-aux.el (dired-create-directory): Signal an error if the
25081         directory already exists (Bug#8246).
25083         * facemenu.el (list-colors-display): Call list-faces-display
25084         inside with-help-window.
25085         (list-colors-print): Use display property to align the final
25086         column, instead of checking window-width.
25088 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
25090         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25091         windows-nt systems.
25092         (emerge-protect-metachars): Quote correctly for ms-dos and
25093         windows-nt systems.
25095 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
25097         * info.el (info-initialize): Replace all uses of `:' with
25098         path-separator for compatibility with non-Unix systems.
25099         Cache quoting of path-separator.  (Bug#8258)
25101 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
25103         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25104         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25105         (mouse-avoidance-mode): Fix typos in docstrings.
25107 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
25109         * startup.el (package-subdirectory-regexp): Move from package.el.
25110         Omit \\` and \\', and let callers add them.
25112         * emacs-lisp/package.el (package-strip-version)
25113         (package-load-all-descriptors): Add \\` and \\' to
25114         package-subdirectory-regexp before using it.
25115         (package-untar-buffer): New arg DIR; ensure that file untars only
25116         into this expected directory.  Remove superfluous delete-region.
25117         (package-unpack): Caller changed.
25118         (package-tar-file-info): Use package-subdirectory-regexp.
25120 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25122         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25123         diff-mode-shared-map (bug#8284).
25124         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25126 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25128         * calendar/time-date.el (format-seconds): Use assoc instead of
25129         assoc-string, since assoc-string doesn't exist in XEmacs.
25131 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
25133         * custom.el (custom-known-themes): Reflow docstring.
25134         (custom-theme-load-path): Fix typo in docstring.
25135         (load-theme): Fix typo in error message.
25136         (custom-available-themes, custom-variable-theme-value):
25137         Use `let', not `let*'.
25139 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
25141         * calc/README: Mention inclusion of musical notes.
25143         * calc/calc-units.el (calc-lu-quant): Rename from
25144         `calc-logunits-quantity'.
25145         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25146         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25147         (calc-db): Rename from `calc-dblevel'.
25148         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25149         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25150         (calc-np): Rename from `calc-nplevel'.
25151         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25152         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25153         (calc-lu-plus): Rename from `calc-logunits-add'.
25154         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25155         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25156         (calc-lu-minus): Rename from `calc-logunits-sub'.
25157         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25158         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25159         (calc-lu-times): Rename from `calc-logunits-mul'.
25160         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25161         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25162         (calc-lu-divide): Rename from `calc-logunits-div'.
25163         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25164         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25166         * calc/calc-ext.el (calc-init-extensions): Update the names of the
25167         functions being autoloaded.
25169         * calc/calc.el (calc-lu-power-reference): Rename from
25170         `calc-logunits-power-reference'.
25171         (calc-lu-field-reference): Rename from
25172         `calc-logunits-field-reference'.
25174         * calc/calc-help.el (calc-l-prefix-help):
25175         Mention musical note functions.
25177 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25179         * minibuffer.el (completion-all-sorted-completions):
25180         Use :completion-cycle-penalty text property if present.
25182 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
25184         * allout.el (allout-yank-processing): Adjust for new rebulleting
25185         regime so bullet being yanked is used without prompting the user
25186         for a choice.
25188 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
25190         * startup.el (command-line): Warn the user that _emacs is deprecated.
25192 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
25194         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25195         (delphi-verbose, delphi-comment-face, delphi-string-face)
25196         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25197         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25198         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25199         (delphi-new-comment-line, delphi-font-lock-defaults)
25200         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25201         Fix typos in docstrings.
25203 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
25205         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25206         Invert the roles of character and string values for INSTEAD, so a
25207         string is used for the more common case of a defaulting prompt.
25209 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25211         * progmodes/ruby-mode.el (ruby-backward-sexp):
25212         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25213         * play/gamegrid.el (gamegrid-make-face):
25214         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25215         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25216         * notifications.el (notifications-notify):
25217         * net/xesam.el (xesam-search-engines):
25218         * net/quickurl.el (quickurl-list-insert):
25219         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25221 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
25223         * startup.el (command-line): Update package subdirectory regexp.
25225 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25227         * allout.el (allout-abbreviate-flattened-numbering)
25228         (allout-mode-deactivate-hook): Fix up obsolescence "date".
25230         * subr.el (read-char-choice): Only show the cursor after the prompt,
25231         not after the answer.
25233 2011-03-15  Kevin Ryde  <user42@zip.com.au>
25235         * help-fns.el (variable-at-point): Skip leading quotes, if any
25236         (bug#8253).
25238 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25240         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25241         warning message.
25243 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
25245         * shell.el (shell): When called interactively, offer to change the
25246         shell file name on remote hosts.
25248 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
25250         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25251         integration for LDAP parameters.  The host, base, user or binddn,
25252         and secret tokens can be specified in a netrc file, for instance.
25253         This is optional because an `auth-source' parameter must be
25254         specified in the search attributes.
25256 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
25258         * help.el (describe-mode): Link to the mode's definition (bug#8185).
25260 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25262         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25263         into declaration.  Remove redundant and harmful binding.
25265 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
25267         * files.el (file-ownership-preserved-p): Pass `integer' as an
25268         explicit 2nd argument to `file-attributes'.  If the file's owner
25269         is the Administrators group on Windows, and the current user is
25270         Administrator, consider that a match.
25272         * server.el (server-ensure-safe-dir): Consider server directory
25273         safe on MS-Windows if its owner is the Administrators group while
25274         the current Emacs user is Administrator.  Use `=' to compare
25275         numerical UIDs, since they could be integers or floats.
25277 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
25279         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25281 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
25283         Sync with Tramp 2.2.1.
25285         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25287         * net/trampver.el: Update release number.
25289 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25291         * progmodes/compile.el (compilation--previous-directory): Fix up
25292         various nil/dead-marker mismatches (bug#8014).
25293         (compilation-directory-properties, compilation-error-properties):
25294         Don't call it at a position past the one we're about to change.
25296         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25297         Disable obsolescence warnings in the file that declares it.
25299 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
25301         * allout-widgets.el (allout-widgets-tally):
25302         Initialize allout-widgets-tally as a hash table rather than nil to
25303         prevent mode-line redisplay warnings.  Also, clarify the module
25304         description and fix a comment typo.
25306 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
25308         * help-fns.el (describe-variable): Don't complete keywords.
25309         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25311 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
25313         * emacs-lisp/package.el (package-version-join): Impose a standard
25314         string representation for pre/alpha/beta version lists.
25315         (package-unpack-single): Standardize the directory name by passing
25316         it through package-version-join.
25317         (package-strip-rcs-id): Accept any version string that does not
25318         signal an error in version-to-list.
25320 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
25322         * simple.el (delete-trailing-whitespace): Return nil for the
25323         benefit of `write-file-functions'.
25325 2011-03-10  Glenn Morris  <rgm@gnu.org>
25327         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25329         * vc/vc-git.el (vc-git-program): New option.
25330         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25331         (vc-git--call): Use it.
25333         * eshell/esh-util.el (eshell-condition-case): Doc fix.
25335         * cus-edit.el (Custom-newline): If no button at point, look
25336         for a subgroup button at start-of-line.  (Bug#2298)
25338         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25340 2011-03-10  Julien Danjou  <julien@danjou.info>
25342         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25343         `cursor-type' is nil.
25345 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
25347         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25349 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
25351         * allout.el: Change so yank of distinctive-bullet items
25352         preserves the existing header prefix, rebulleting it if necessary,
25353         rather than replacing it.  This is necessary for proper operation
25354         of cooperative addons like allout-widgets.
25355         (allout-make-topic-prefix, allout-rebullet-heading):
25356         Change SOLICIT arg to INSTEAD, and interpret additionally a string
25357         value as alternate bullet to be used, instead of prompting the user
25358         for a bullet character.
25360 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
25362         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25363         Do not use `tramp-file-name-port', because this returns also
25364         `tramp-default-port'.
25366 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
25368         * net/rcirc.el (rcirc-handler-001): Remove useless
25369         with-rcirc-process-buffer.
25370         (rcirc-check-auth-status): Swap arguments to string-match.
25372 2011-03-09  Glenn Morris  <rgm@gnu.org>
25374         * shell.el (shell-mode):
25375         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
25377         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25378         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
25380 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
25382         * emacs-lisp/package.el (package-refresh-contents)
25383         (package-menu-execute): Use condition-case-no-debug.
25385 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
25387         * simple.el (shell-command-to-string): Use `process-file'.
25389         * emacs-lisp/package.el (package-tar-file-info): Handle also
25390         remote files.
25392         * emacs-lisp/package-x.el (package-upload-buffer-internal):
25393         Use `equal' for upload base check.
25395 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
25397         * textmodes/texinfo.el (texinfo-environments):
25398         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
25400 2011-03-08  Glenn Morris  <rgm@gnu.org>
25402         * cus-start.el (cursor-in-non-selected-windows):
25403         Fix :set quoting oddness.  (Bug#8192)
25405         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25406         in some setf expressions.  (Bug#2159)
25408 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
25410         * custom.el (custom-available-themes): Return themes in
25411         alphabetical order.
25413 See ChangeLog.15 for earlier changes.
25415 ;; Local Variables:
25416 ;; coding: utf-8
25417 ;; End:
25419   Copyright (C) 2011-2013 Free Software Foundation, Inc.
25421   This file is part of GNU Emacs.
25423   GNU Emacs is free software: you can redistribute it and/or modify
25424   it under the terms of the GNU General Public License as published by
25425   the Free Software Foundation, either version 3 of the License, or
25426   (at your option) any later version.
25428   GNU Emacs is distributed in the hope that it will be useful,
25429   but WITHOUT ANY WARRANTY; without even the implied warranty of
25430   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25431   GNU General Public License for more details.
25433   You should have received a copy of the GNU General Public License
25434   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.