Move lisp/calc/README* to etc/CALC-NEWS
[emacs.git] / lisp / ChangeLog
blobb87c0c87da551e078cbddc005abae295f6e7194d
1 2013-02-01  Glenn Morris  <rgm@gnu.org>
3         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
5         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
7 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
9         * net/tramp.el (tramp-tramp-file-p): Comment check for
10         `string-as-unibyte'.  The function does not exist on XEmacs, and
11         likely we need another approach.
13         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
14         `tramp-gw-*' variables are bound.
16 2013-01-31  Glenn Morris  <rgm@gnu.org>
18         * files.el (basic-save-buffer-2): Choose coding system for
19         writing the file before backing it up, to reduce delay between
20         backing up and writing the new version.  (Bug#13522)
22 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
24         * simple.el (cycle-spacing): New command.
25         (just-one-space): Use it.
27 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
30         (opascal-newline-always-indents): Remove custom.
31         (opascal-tab, opascal-newline): Remove commands.
32         (opascal-new-comment-line): Insert "\n" instead of calling newline.
33         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
34         (opascal-save-match-data): Remove, use save-match-data instead.
35         (opascal-save-state): Use with-silent-modifications.
37         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
38         (bug#13585).
40 2013-01-30  Juri Linkov  <juri@jurta.org>
42         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
43         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
44         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
46 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
48         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
49         column if we're just deleting the backslashes.
50         (makefile-fill-paragraph): Use eolp.
52 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
54         * autorevert.el (auto-revert-use-notify): Fix docstring.
56 2013-01-30  Leo Liu  <sdl.web@gmail.com>
58         * imenu.el (imenu--truncate-items): Fix subalist checking.
59         (Bug#13576)
61 2013-01-30  Glenn Morris  <rgm@gnu.org>
63         * mouse.el (mouse-drag-line): Avoid pushing same event onto
64         unread-command-events twice in some cases.  This tries to implement
65         the 2012-07-26 changes in a different way.  (Bug#13560)
67 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
69         * progmodes/python.el
70         (python-pdbtrack-comint-output-filter-function): Enhancements on
71         stacktrace detection.  (thanks @gnovak)
73 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
75         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
76         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
77         Use defvar-local.
78         (jit-lock-register): Use setq-local.
80 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
82         * calc-units.el (math-default-units-table): Remove initial value.
83         (calc-convert-units): Treat expressions where all the units cancel as
84         if they didn't have units.
86 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
88         * net/tramp.el (tramp-process-connection-type): Fix docstring.
89         (tramp-completion-reread-directory-timeout): Fix type.
90         (tramp-connection-min-time-diff): New defcustom.
92         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
94 2013-01-30  Glenn Morris  <rgm@gnu.org>
96         * imenu.el (imenu-default-create-index-function):
97         Put back a version of the infinite loop test removed 2013-01-23.
99 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
101         * progmodes/python.el (python-shell-parse-command):
102         Find python-shell-interpreter with modified environment.
104 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
106         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
108 2013-01-29  Alan Mackenzie  <acm@muc.de>
110         Amend to fontify /regexp/s in actions correctly.
111         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
112         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
113         are no longer included.
114         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
115         What used to be these variables without "-line" in the name.
116         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now
117         are.
118         (c-awk-non-arith-op-bra-re): Now also matches {.
119         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
120         "return", and "case".
121         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
122         by /.
123         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
124         (c-awk-set-syntax-table-properties): Extend FSM to handle
125         {,},(,),;.
127 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
129         * autorevert.el (auto-revert-use-notify):
130         Use `custom-initialize-default' for initialization.  (Bug#13583)
132         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
134         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
135         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
136         in `tramp-file-name-handler'.
137         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
138         compatibility.
139         (tramp-compute-multi-hops): Check, whether
140         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
142 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
144         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
145         (bug#13297).
147 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
149         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
150         checks made superfluous by the \_< operator.
151         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
152         temporarily) broken indentation.
153         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
154         Highlight nested constants, too.  \_< broke that.
156 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
158         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
159         instead of "\\b".
161 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
163         * autorevert.el (auto-revert-handler): Notifications which result
164         from a saved file shall not be taken into account.  (Bug#13557)
166 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
168         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
169         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
170         (lisp-mode): Pass t for it.  (Bug#13556)
172 2013-01-25  Alan Mackenzie  <acm@muc.de>
174         AWK Mode: Fix indentation bug at top level.  Bug #12274.
176         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
177         just before CASE 5D.
179 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
181         * net/socks.el (socks-nslookup-host): Use string-to-number.
183 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
185         * autorevert.el (auto-revert-remote-files)
186         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
187         (auto-revert-notify-enabled, auto-revert-use-notify)
188         (auto-revert-notify-watch-descriptor-hash-list)
189         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
190         (auto-revert-notify-event-descriptor)
191         (auto-revert-notify-event-action)
192         (auto-revert-notify-event-file-name): Doc fix.
193         (global-auto-revert-mode): Reorder checks.
194         (auto-revert-notify-rm-watch): Respect changed values of
195         `auto-revert-notify-watch-descriptor-hash-list'.
196         (auto-revert-notify-add-watch): Check for
197         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
198         `inotify-add-watch'.  Watch `default-directory' instead of
199         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
200         has a changed meaning now.  (Bug#13540)
201         (auto-revert-notify-handler): Change implementation wrt events
202         returning from a directory.
203         (auto-revert-handler): Reorder implementation for checks of remote
204         files.
205         (auto-revert-buffers): Fix parentheses error.
207 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
209         * progmodes/python.el: Enhancements to header documentation about
210         skeletons.  (Bug#5716)
212         * imenu.el (imenu-default-create-index-function): Remove useless
213         infinite loop check.  (Bug#13438)
215 2013-01-25  Alan Mackenzie  <acm@muc.de>
217         Fix a bug in the state cache mechanism.  Refactor this a bit.
219         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
220         `cache-pos' element from the return value.
221         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
222         buffer to enable proper searching from beyond HERE.  Amend the
223         test for detecting the sought brace pair.  Amend the value written
224         to the "brace desert cache" when the brace isn't found.
225         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
226         and several other variables analogously.
227         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
228         parameter to a locally calculated variable.
229         (c-parse-state-1): Change the calling conventions to the two
230         defuns involving `cache-pos'.
232 2013-01-25  Chong Yidong  <cyd@gnu.org>
234         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
236 2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
238         * paren.el (show-paren-function): Make sure to set 'priority and
239         'face only if the overlay does exist.
241 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
243         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
245         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
246         basic attributes.
247         (tramp-sh-handle-set-file-acl): Improve error checking.
249 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
251         * doc-view.el (doc-view-display): Force mode line update until all
252         document is converted.  Suggested by Stefan Monnier (Bug#13164).
254 2013-01-23  Bastien Guerry  <bzg@gnu.org>
256         * paren.el (show-paren-function): Make sure an overlay exists
257         before trying to delete it.  Also use `pos' as a position only
258         when it is an integer.
260 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
262         * play/gametree.el (gametree-break-line-here): Use point-marker.
264 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
266         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
267         Mark descriptive parts with `display' property.
269 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
271         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
272         New variable to map standard dict names to hunspell ones.
273         (ispell-set-spellchecker-params): Make sure specific dict names
274         are used for standard dicts with hunspell.
276 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
278         * textmodes/reftex-cite.el (reftex-format-citation): Add format
279         chars for note (%N) and url (%U).
280         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
282 2013-01-21  Juri Linkov  <juri@jurta.org>
284         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
285         in addition to existing separate binding `meta f10' in `global-map'.
286         (Bug#13484)
288 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
290         Improve XEmacs compatibility.
292         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
294         * net/tramp-adb.el (top): Require `time-date'.
295         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
296         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
297         Use `tramp-file-name-handler'.
298         (tramp-adb-maybe-open-connection):
299         Use `tramp-compat-set-process-query-on-exit-flag'.
301         * net/tramp-sh.el (tramp-sh-handle-file-acl):
302         Use `tramp-compat-funcall'.
304         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
305         `tramp-compat-funcall'.
307 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
309         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
310         reimplementation using "adb shell command ..." instead of running
311         remote shell interactively.
313 2013-01-20  Glenn Morris  <rgm@gnu.org>
315         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
316         Add native profiler menu entries.
318         * profiler.el (profiler-running-p): New function.
319         (profiler-cpu-profile): Use profiler-running-p.
320         (profiler-report-mode-map): Add some more menu entries.
322 2013-01-19  Glenn Morris  <rgm@gnu.org>
324         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
325         fixes 2012-12-07 change.  (Bug#13499)
327 2013-01-19  Leo Liu  <sdl.web@gmail.com>
329         * dired.el (dired-get-marked-files): Prune erroneous values due to
330         last change.  (Bug#13152)
332 2013-01-19  Glenn Morris  <rgm@gnu.org>
334         * progmodes/etags.el (tags-table-check-computed-list):
335         Preserve point in tags buffer.  (Bug#13412)
337         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
339 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
340             Chong Yidong  <cyd@gnu.org>
342         * image-mode.el (image-next-file, image-previous-file):
343         New commands (Bug#8453).
344         (image-mode-map): Bind them to n and p.
345         (image-mode--images-in-directory): New helper function.
347 2013-01-19  Chong Yidong  <cyd@gnu.org>
349         * image-mode.el (image-mode-fit-frame): Add a frame argument.
350         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
351         save and restore the old window configuration.
353 2013-01-18  Leo Liu  <sdl.web@gmail.com>
355         * progmodes/js.el: Tweak autoload cookie for alias.
357 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
359         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
360         buffer local, again.  This was lost with the fix on 2013-01-12.
362 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
364         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
365         order to support several eshell buffers in parallel.
367 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
369         * autorevert.el (auto-revert-use-notify): In the :set function, do
370         not modify `kill-buffer-hook'.
371         (auto-revert-notify-rm-watch):
372         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
373         (auto-revert-notify-add-watch): Do not call
374         `auto-revert-notify-rm-watch', but add it to a buffer local
375         `kill-buffer-hook'.
377 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
379         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
380         call to `eval' rather than a backquoted lambda.
382 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
384         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
385         to return an explicit nil.
386         (advice--remove-function): Change accordingly.
388         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
389         the use of nadvice.el.
391         * progmodes/which-func.el (which-function): Silence imenu errors
392         (bug#13433).
394 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
396         * progmodes/sql.el: (sql-imenu-generic-expression):
397         (sql-mode-font-lock-object-name): Match schema qualified names.
398         (sql-connect): Use string keys.
399         (sql-product-interactive): Wait for interpreter prompt.
400         (sql-comint-oracle): Set process coding based on NLS_LANG.
402 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
404         * progmodes/sql.el (sql-output-to-send): Remove, unused.
405         (sql-interactive-remove-continuation-prompt):
406         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
408 2013-01-14  Leo Liu  <sdl.web@gmail.com>
410         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
411         (Bug#13420)
413 2013-01-14  Glenn Morris  <rgm@gnu.org>
415         * progmodes/compile.el (compilation-error-regexp-alist-alist):
416         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
418 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
420         * progmodes/python.el (python-nav-end-of-statement):
421         Fix cornercase when handling multiline strings.
423 2013-01-13  Richard Stallman  <rms@gnu.org>
425         * mail/sendmail.el (mail-position-on-field): Add doc string.
427         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
428         Get current message boundaries and pass them to
429         message-forward-make-body-mime.  Minor style changes.
431 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
433         * cus-start.el (all): Avoid warnings about
434         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
436 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
438         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
440 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
442         * jit-lock.el (jit-lock-debug-mode): New minor mode.
443         (jit-lock--debug-fontifying): New var.
444         (jit-lock--debug-fontify): New function.
445         * subr.el (condition-case-unless-debug): Don't prevent catching the
446         error, just let the debbugger run.
447         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
448         timer code and don't drop errors silently.
450 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
452         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
453         `permanent-local' property.
454         (auto-revert-notify-handler): Use `file-equal-p'.
456 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
458         * autorevert.el (auto-revert-notify-handler): Fix filtering of
459         file notification by ACTION. For filtering by file name, compare
460         only the non-directory part of the file name.
462 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
464         * autorevert.el: Use cl-lib instead of cl.
466         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
467         (vc-bzr-checkin): Use it.
468         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
469         will preserve match-data.
471 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
473         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
474         (js--declaration-keyword-re): New var.
475         (js--multi-line-declaration-indentation): New function.
476         (js--proper-indentation): Use it.
478 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
480         * calc/calc.el (calc-highlight-selections-with-faces)
481          (calc-dispatch):
482         * comint.el (comint-history-isearch-message):
483         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
484         * ffap.el (ffap-string-at-point-region, ffap-next)
485         (ffap-string-at-point, ffap-string-around)
486         (ffap-copy-string-as-kill, ffap-highlight-overlay)
487         (ffap-literally):
488         * font-lock.el (font-lock-keywords-alist)
489         (font-lock-removed-keywords-alist):
490         * help-mode.el (help-xref-symbol-regexp):
491         * info.el (Info-find-emacs-command-nodes):
492         * international/mule.el (add-to-coding-system-list):
493         * isearch.el (isearch-message-function, isearch-fail-pos):
494         * misearch.el (multi-isearch-next-buffer-function):
495         * newcomment.el (comment-box):
496         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
497         (pr-setting-database):
498         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
499         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
500         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
501         (pike-font-lock-keywords-3):
502         * progmodes/compile.el (compile):
503         * progmodes/etags.el (tags-table-files)
504         (tags-table-files-function, tags-included-tables-function):
505         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
506         (gdb-restore-windows):
507         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
508         (ps-n-up-filling-database):
509         * server.el (server-buffer, server-log):
510         * simple.el (newline, delete-backward-char, delete-forward-char)
511         (minibuffer-history-isearch-message, kill-line, track-eol)
512         (temporary-goal-column):
513         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
514         (flyspell-default-deplacement-commands):
515         * textmodes/ispell.el (ispell-accept-output):
516         * textmodes/sgml-mode.el (html-tag-help):
517         * vc/compare-w.el (compare-ignore-whitespace)
518         (compare-ignore-case, compare-windows-dehighlight):
519         * vc/diff.el (diff):
520         * whitespace.el (whitespace-point)
521         (whitespace-font-lock-refontify, whitespace-bob-marker)
522         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
524 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
526         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
527         (auto-revert-notify-rm-watch): Ignore errors.
528         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
529         inotify, and '(size last-write-time) for w32notify.
530         Set buffer-local `auto-revert-use-notify' to nil when adding a file
531         watch fails - this is a fallback to the file modification check.
532         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
533         (auto-revert-notify-event-action)
534         (auto-revert-notify-event-file-name): New defuns.
535         (auto-revert-notify-handler): Use them.  Implement first
536         plausibility checks.
537         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
539 2013-01-11  Julien Danjou  <julien@danjou.info>
541         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
542         max are almost equal. Also return the correct value for V which is
543         already between 0 and 1.
545 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
547         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
549 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
551         * autorevert.el (auto-revert-notify-rm-watch)
552         (auto-revert-notify-add-watch): Fix typos in w32notify function
553         names.
555 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
557         * autorevert.el (auto-revert-notify-enabled): Move up.
558         (auto-revert-use-notify): New defcustom.
559         (auto-revert-mode, global-auto-revert-mode)
560         (auto-revert-notify-add-watch, auto-revert-handler)
561         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
562         `auto-revert-notify-enabled'.
564 2013-01-10  Elias Pipping  <pipping@exherbo.org>
566         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
567         * doc-view.el (doc-view-document->bitmap):
568         Use doc-view-single-page-converter-function instead of
569         single-page-converter arg; adjust callers.
571 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
573         * progmodes/which-func.el (which-function): Understand Semantic's use
574         of overlays in imenu--index-alist.
576 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
578         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
579         (Man-man-k-use-anchor): New var.
580         (Man-parse-man-k): New function.
581         (Man-completion-table): Use it.
582         (man): Flush the completion cache between uses.
584 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
586         * autorevert.el: Add file watch support.
587         (auto-revert-notify-enabled): New defconst.
588         (auto-revert-notify-watch-descriptor-hash-list)
589         (auto-revert-notify-watch-descriptor)
590         (auto-revert-notify-modified-p): New defvars.
591         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
592         (auto-revert-notify-handler): New defuns.
593         (auto-revert-mode, global-auto-revert-mode): Remove file watches
594         when mode is disabled.
595         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
596         (auto-revert-buffers): Add file watches for active buffers.
598 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
600         * cus-start.el (toplevel): Only allow float values for
601         scroll-up-aggressively and scroll-down-aggressively.
602         Allow any number for line-spacing.
604 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
606         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
607         (doc-view-pdf->png-converter-function): Use mupdf if available.
608         (doc-view-djvu->png-converter-function)
609         (doc-view-ps->png-converter-function): Remove.
610         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
611         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
612         (doc-view-already-converted-p): Adjust accordingly.
613         (doc-view-mode-p): Simplify.
614         (doc-view-enlarge): Use setq-local.
615         (doc-view-pdf->png-converter-ghostscript)
616         (doc-view-djvu->png-converter-ddjvu)
617         (doc-view-pdf->png-converter-mupdf): Rework to call
618         doc-view-start-process directly.
619         (doc-view-pdf/ps->png): Simplify accordingly.
620         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
621         (doc-view-document->bitmap): Rename from doc-view-document->png.
622         (doc-view-convert-current-doc): Merge pdf and djvu cases.
623         (doc-view-set-slice-from-bounding-box): Fix completion table.
624         (doc-view-mode): Use add-hook for after-revert-hook.
626 2013-01-10  Glenn Morris  <rgm@gnu.org>
628         * emacs-lisp/authors.el (authors-ignored-files)
629         (authors-valid-file-names, authors-renamed-files-alist):
630         Add some more entries.
632 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
634         * image-mode.el (image-mode-winprops): Don't throw away the fallback
635         `t' pseudo-window entry.
637 2013-01-10  Alan Mackenzie  <acm@muc.de>
639         Fix bugs in the c-parse-state mechanism.  Reuse some markers
640         instead of continually generating new ones.
642         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
643         (c-state-old-cpp-end-marker): New variables.
644         (c-append-lower-brace-pair-to-state-cache): Start a backward
645         search for "}" definitively outside CPP constructs.
646         (c-remove-stale-state-cache): Inform the caller of a need to
647         search back for a brace pair in certain circumstances.
648         (c-state-maybe-marker): New macro.
649         (c-parse-state): Reuse markers when appropriate.
651 2013-01-10  Glenn Morris  <rgm@gnu.org>
653         * simple.el (execute-extended-command): Doc fix.
654         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
656 2013-01-10  Chong Yidong  <cyd@gnu.org>
658         * faces.el (read-face-name): Doc fix.
660 2013-01-10  Roland Winkler  <winkler@gnu.org>
662         * emacs-lisp/crm.el: Allow any regexp for separators.
663         (crm-default-separator): All spaces around the default comma separator.
664         (crm--completion-command): New macro.
665         (crm-completion-help, crm-complete, crm-complete-word): Use it.
666         (crm-complete-and-exit): Handle non-single-char separators.
668 2013-01-09  Elias Pipping  <pipping@lavabit.com>
670         * doc-view.el: Add support for DjVu (bug#13164).
671         (doc-view-djvu->png-converter-function): New config var.
672         (doc-view-single-page-converter-function, doc-view--image-type)
673         (doc-view--image-file-extension): New vars.
674         (doc-view-mode): Initialize them.
675         (doc-view-goto-page): Use them.
676         (doc-view-mode-p): Add support for ddjvu.
677         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
678         (doc-view-set-up-single-converter): New funs.
679         (doc-view-pdf/ps->png): Extend for djvu.
680         (doc-view-document->png): Rename from doc-view-pdf->png.
681         (doc-view-convert-current-doc): Handle djvu.
682         (doc-view-insert-image, doc-view-display)
683         (doc-view-already-converted-p): Don't hardcode png.
684         (doc-view-set-doc-type): Recognize djvu docs.
686 2013-01-09  Elias Pipping  <pipping@lavabit.com>
688         * doc-view.el: Add support for mupdf converter (bug#13164).
689         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
690         (doc-view-ps->png-converter-function): New config vars.
691         (doc-view-pdf->png-converter-ghostscript)
692         (doc-view-ps->png-converter-ghostscript)
693         (doc-view-pdf->png-converter-mupdf): New functions.
694         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
696 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
698         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
699         first in session cache: When `tramp-own-remote-path' is in
700         `tramp-remote-path', the remote path is only set in the session
701         cache.
703 2013-01-09  Glenn Morris  <rgm@gnu.org>
705         * emacs-lisp/trace.el (trace-function-foreground)
706         (trace-function-background): Doc fix.
708 2013-01-09  Juri Linkov  <juri@jurta.org>
710         * international/mule-cmds.el (read-char-by-name): Move let-binding
711         of completion-ignore-case around completing-read to fix regression
712         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
713         `string-match-p' using the nil value of `case-fold-search' and
714         `completion-ignore-case' in `completion-pcm--all-completions'.
715         (Bug#12615).
717 2013-01-09  Glenn Morris  <rgm@gnu.org>
719         * progmodes/compile.el (compilation-parse-errors):
720         Fix typo.  (Bug#13369)
722 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
724         * comint.el (comint-send-input): Check size of buffer before
725         waiting for process output, in case already accepted.  (Bug#13290)
727 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
729         Spelling fixes.
730         * net/tramp-adb.el (tramp-adb-get-toolbox):
731         Fix misspelling of 'unknown'.
733 2013-01-08  Juri Linkov  <juri@jurta.org>
735         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
736         * progmodes/flymake.el (flymake-errline, flymake-warnline):
737         Use underline style wave on terminals that support it.  (Bug#13000)
739 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
741         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
742         the predicate returns nil.
744         * simple.el: Use lexical-binding.
745         (primitive-undo): Use pcase.
746         (minibuffer-history-isearch-push-state): Use a closure.
748 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
750         * simple.el (primitive-undo): Move from undo.c.
752 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
754         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
755         (cvs-mode-remove-handled): Use it (bug#13380).
757         * emacs-lisp/nadvice.el (advice--tweak): New function.
758         (advice--remove-function, advice--subst-main): Use it.
760         * emacs-lisp/advice.el: Update commentary.
762 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
764         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
765         Remove spurious entry.
767 2013-01-08  Glenn Morris  <rgm@gnu.org>
769         * net/tramp.el (tramp-default-host-alist): Add :version.
771 2013-01-08  Juri Linkov  <juri@jurta.org>
773         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
774         single completion.  (Bug#12456)
775         (info--manual-names): Expand node completions into an explicit list
776         before appending it to another list.  Filter out internal buffers
777         with the leading space in the buffer name.  (Bug#10771)
779 2013-01-08  Juri Linkov  <juri@jurta.org>
781         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
782         that defaults to the Top node.
783         (Info-goto-node, Info-read-node-name): Doc fix to mention that
784         the short format (FILENAME) goes to the Top node.
785         (Info-build-node-completions): Rename arg `file' to `filename'.
786         (Bug#13365)
788 2013-01-07  Bastien Guerry  <bzg@gnu.org>
790         * menu-bar.el (menu-bar-search-documentation-menu):
791         Use `apropos-user-option' and fix the help message.
793 2013-01-07  Bastien Guerry  <bzg@gnu.org>
795         * apropos.el (apropos-do-all): Update docstring.
796         (apropos-user-option-button): New face.
797         (apropos-user-option): Rename from `apropos-variable' and update
798         docstring.
799         (apropos-variable): Rewrite, now show all variables by default.
800         (apropos-print): Mention "User option" instead of "Variable" when
801         printing doc for user options.  (Bug#13276)
803 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
805         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
806         Handle filename correctly, when parsing "source -> target" symlink
807         output.
808         (tramp-adb-handle-set-file-times): New defun.
810 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
812         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
813         advice list when the interactive-spec of ad-Advice-* changes.
815 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
817         * wid-edit.el (widget-default-get): Work for inlined elements.
818         (Bug#12670)
820 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
822         * net/tramp.el (tramp-default-host-alist): New defcustom.
823         (tramp-find-host): Use it.
824         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
825         `eshell-directory-change-hook'.
827         * net/tramp-adb.el (top): Add adb specific entry in
828         `tramp-default-host-alist'.
829         (tramp-adb-file-name-host): Remove function.
830         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
831         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
833         * net/tramp-sh.el: Move eshell integration code to tramp.el.
835 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
837         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
839 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
841         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
842         consist of more than one digit.
843         (tramp-adb-file-name-handler-alist):
844         Use `tramp-handle-file-exists-p' consistently.
845         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
846         (tramp-adb-handle-file-exists-p): Remove function.
847         (tramp-adb-file-name-host): New defun.
848         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
849         Use it.
850         (tramp-adb-maybe-open-connection): Set "remote-path" property.
852 2013-01-06  Chong Yidong  <cyd@gnu.org>
854         * vc/vc.el (vc-next-action): Detect buffer modifications
855         conflicting with locking VCS operation (Bug#11490).
857         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
859 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
861         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
862         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
864 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
866         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
867         parsing of ls output using regular expression (handle filenames
868         with spaces).  Use virtual device number.
869         (tramp-do-parse-file-attributes-with-ls): New defun (Code
870         cleanup).
872 2013-01-04  Daiki Ueno  <ueno@gnu.org>
874         * epg.el: Silence byte-compiler warnings.
875         (epg--start): Use delete-char instead of delete-backward-char.
876         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
878 2013-01-04  Daiki Ueno  <ueno@gnu.org>
880         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
881         Suggested by Eli Zaretskii  <eliz@gnu.org>.
883 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
885         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
886         non-negative integers.  Otherwise, the default values are used.
887         (tramp-convert-file-attributes): Convert uid and gid to integers.
889 2013-01-04  Glenn Morris  <rgm@gnu.org>
891         * term.el (term-handle-colors-array): Ensure face attributes
892         are fully specified, not nil.  (Bug#13337)
894         * term.el (term-default-fg-color, term-default-bg-color):
895         Fix custom type.
897         * progmodes/etags.el (tags-compression-info-list): Doc fix.
898         (tag-find-file-of-tag-noselect): Check auto-compression-mode
899         rather than 'jka-compr being loaded.  (Bug#13338)
901 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
903         * icomplete.el (icomplete-completions):
904         Honor icomplete-prospects-height once more following
905         2012-11-29 changes.  (Bug#13224)
907 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
909         * subr.el (internal--called-interactively-p--get-frame): Find aliases
910         of called-interactively-p as well (bug#13237).
912         * view.el (view--enable, view--disable): Rename from view-mode-enable
913         and view-mode-disable and assume it's called from view-mode.
914         (view-mode-enable, view-mode-disable): Redefine as obsolete
915         compatibility layer above view-mode.
916         (view-mode-enter): Call `view-mode'.
918         * files.el (after-find-file): Call `view-mode'.
920         * doc-view.el (doc-view-scale-internally): New var.
921         (doc-view-enlarge, doc-view-insert-image): Obey it.
923 2013-01-03  Daiki Ueno  <ueno@gnu.org>
925         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
926         exist.  (Bug#13344)
928 2013-01-03  Glenn Morris  <rgm@gnu.org>
930         * mail/rmail.el (rmail-set-header-1): Ignore case.
931         Handle multi-line headers.  (Bug#13330)
933         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
934         Handle paragraph starting at beginning of buffer.
936         * subr.el (eval-after-load): Don't purecopy the form, so that it
937         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
939         * emacs-lisp/byte-run.el (defun): Place cl declarations
940         after any interactive spec.  (Bug#13265)
942 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
944         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
945         defun.  Don't check for DECL if DOCSTRING isn't a string.
946         (defun): Likewise.
948 2013-01-02  Glenn Morris  <rgm@gnu.org>
950         * eshell/em-cmpl.el (eshell-pcomplete):
951         More thoroughly imitate pcomplete.  (Bug#13293)
953         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
954         Return nil for empty path elements.  (Bug#13296)
956 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
958         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
959         order to improve efficiency (Based on Daniel Colascione's
960         <dancol@dancol.org> patch).  (Bug#13182)
962 2013-01-02  Glenn Morris  <rgm@gnu.org>
964         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
966 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
968         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
969         neither DOCSTRING nor DECL was given.  (Bug#13316)
971 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
973         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
974         `error' call.
975         (tramp-do-copy-or-rename-file): Ignore errors when calling
976         `set-file-extended-attributes'.
978         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
979         Add handler for `file-acl'.
980         (tramp-smb-handle-file-acl): New defun.
982 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
984         * calc/README: Mention ISO 8601 week-numbering dates.
986 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
988         * view.el (view-mode-enable): New argument run-view-mode-hook.
989         Run view-mode-hook only when it's non-nil (Bug#13315).
990         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
991         argument t.
993 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
995         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
996         (No device connected, invalid device name). (Bug #13299)
998 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
1000         * window.el (window-resizable--p): Rename to window-resizable-p.
1001         (window-resize-no-error): New function.
1003         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1004         broken in fix from 2012-12-28.
1006 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1008         * subr.el (special-form-p): Don't signal errors on undef aliases.
1010 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
1012         * calc/calc-forms.el (math-parse-date): Try using
1013         `math-parse-iso-date' when it looks like it might be needed.
1014         Allow times of 24:00.
1015         (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
1016         of 24:00.
1018 2012-12-30  Glenn Morris  <rgm@gnu.org>
1020         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1021         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
1022         (rmail-summary-displayed, rmail-summary): Declare.
1023         (mairix-rmail-display): Just require rmail.
1025 2012-12-30  Chong Yidong  <cyd@gnu.org>
1027         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1028         check for the tarball contents.
1030 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
1032         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1033         tarfile content listings (Bug#13136).
1035 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
1037         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1038         Insert the undecoded text of the message being forwarded.  (Bug#9521)
1040 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
1042         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1043         integers, if they are real numbers.  (Bug#13282)
1045         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1046         Return `t' on success.
1048         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1049         Add handler for `set-file-selinux-context'.
1051 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
1053         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1054         (tramp-sh-handle-set-file-acl): Return `t' on success.
1056 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
1058         * files.el (backup-buffer-copy, basic-save-buffer-2):
1059         If set-file-extended-attributes fails, fall back on set-file-modes
1060         instead of signaling an error.  (Bug#13298)
1061         (basic-save-buffer): Likewise.
1063 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1065         * progmodes/python.el: Support other commands triggering
1066         python-indent-line so indentation cycling continues to work.
1067         (python-indent-trigger-commands): New defcustom.
1068         (python-indent-line): Use it.
1070 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1072         * progmodes/python.el (python-shell-send-region): Add blank lines
1073         for non sent code so backtraces remain correct.
1075 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1077         * progmodes/python.el: Remove cl dependency.
1078         (python-syntax-count-quotes): Replace incf call.
1079         (python-fill-string): Replace setf call.
1081 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
1083         * info.el (info-other-window): New arg, for consistency with info.
1085 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
1087         * mail/rmail.el (rmail-maybe-display-summary):
1088         Rewrite (Bug#13066).
1090 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
1092         * epg.el (epg--start): Modify process-environment locally.
1094 2012-12-28  Daiki Ueno  <ueno@gnu.org>
1096         * epg.el: Support pinentry-curses.
1097         Suggested by Werner Koch in
1098         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1099         (epg-agent-file, epg-agent-mtime): New variable.
1100         (epg--start): Record the modified time of gpg-agent socket file,
1101         to restore Emacs frame after pinentry-curses termination.
1102         (epg-wait-for-completion): Restore Emacs frame here.
1104 2012-12-27  Juri Linkov  <juri@jurta.org>
1106         * info.el (Info-file-completions): New variable.
1107         (Info-read-node-name-1): Complete node names in the Info file
1108         when a file name is given.  Call `Info-build-node-completions'
1109         with a file name.
1110         (Info-build-node-completions): Add new arg `file'.  When it is
1111         non-nil, visit it in a temporary buffer and cache its completions in
1112         `Info-current-file-completions'.  Move most of the function body to
1113         `Info-build-node-completions-1'.
1114         (Info-build-node-completions-1): New function with the body from
1115         `Info-build-node-completions'.  (Bug#12456)
1117 2012-12-27  Juri Linkov  <juri@jurta.org>
1119         * frame.el (frame-maximization-style): Remove user option.
1120         (cycle-frame-maximized): Remove function.
1121         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1122         (toggle-frame-fullscreen): New command bound to <f11> instead of
1123         `toggle-frame-maximized'.
1124         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1126 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
1128         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1130         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1131         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1132         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1133         for `file-accessible-directory-p'.  (Bug#13275)
1135 2012-12-27  Sam Steingold  <sds@gnu.org>
1137         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1138         continuations, see <http://stackoverflow.com/questions/3582436>.
1140 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1142         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1143         "module" and "def" to have indentation before them.
1144         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1146         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1148 2012-12-27  Alan Mackenzie  <acm@muc.de>
1150         Speed up fontification where there's large brace blocks.
1151         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1152         to a call of c-beginning-of-decl-1.
1154 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
1156         * comint.el (comint-adjust-window-point): New function.
1157         (comint-postoutput-scroll-to-bottom):
1158         Call comint-adjust-window-point (Bug#13248).
1160 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
1162         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1163         Rakefile regexp.
1164         (auto-mode-alist): Associate .gemspec files with ruby-mode
1165         (https://bugs.ruby-lang.org/issues/5453).
1167 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
1169         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1170         Suppress coloring, if possible (required for BusyBox based systems like
1171         CyanogenMod).
1172         (tramp-adb-handle-file-attributes)
1173         (tramp-adb-handle-insert-directory)
1174         (tramp-adb-handle-file-name-all-completions): Use it.
1175         (tramp-adb-get-toolbox): New defun.  Check for remote shell
1176         implementation (BusyBox or Toolbox).
1178 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
1180         * startup.el (initial-buffer-choice): Allow function as value
1181         (Bug#13251).
1182         (command-line-1): Handle case where initial-buffer-choice
1183         specifies a function.
1184         * server.el (server-execute): Handle case where
1185         initial-buffer-choice specifies a function.
1187 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1189         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1190         its own function.
1191         (smtpmail-try-auth-methods): Forget the user name/password if the
1192         login is unsuccessful (bug#12424).
1194 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
1196         * notifications.el (notifications-notify): Protect body with
1197         `with-demoted-errors'.
1199         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1200         Check properties of remote device.  Restart connection, if there is a
1201         change.
1203 2012-12-21  Chong Yidong  <cyd@gnu.org>
1205         * sort.el (sort-subr): Doc fix (Bug#13056).
1207 2012-12-21  Bastien Guerry  <bzg@gnu.org>
1209         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
1211 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
1213         * simple.el (process-file): Overwrite stderr file, if exists.
1215 2012-12-21  Daiki Ueno  <ueno@gnu.org>
1217         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1218         (epg-error): Set `error-message' property.
1220 2012-12-21  Chong Yidong  <cyd@gnu.org>
1222         * international/mule-cmds.el (read-char-by-name): Signal an error
1223         if the user does not supply a valid character (Bug#13177).
1225         * simple.el (transpose-subr-1): Preserve marker positions by
1226         changing the insertion sequence (Bug#13122).
1228 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
1230         * simple.el (kill-region): Deactivate mark even for empty regions
1231         (Bug#13169).
1233 2012-12-21  Chong Yidong  <cyd@gnu.org>
1235         * help-fns.el (describe-variable): Make sure we get the right
1236         buffer name (Bug#13105).  Suggested by Kelly Dean.
1238 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
1240         * comint.el (comint-redirect-previous-input-string): New variable.
1241         (comint-redirect-setup, comint-redirect-cleanup)
1242         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
1243         (comint-redirect-preoutput-filter): Fix verbose message.
1245 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
1247         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
1248         is too long for Tramp.  See discussion in
1249         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1251         * progmodes/compile.el (compilation-start): Remove line escape
1252         template.
1254 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
1256         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1257         Adjust comment.
1259 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
1261         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1262         following non-comment text (bug#13207).
1263         (lm-header-multiline): Continuation lines need to be indented more than
1264         the first line.
1265         (lm-homepage): New function.
1266         (lm-with-file): Don't be confused if narrowing is in effect.
1268 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1270         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1271         very beginning of a hunk (e.g. killing the first line).
1273 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
1275         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1276         and text properties from returned ACL string.
1277         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1278         for "setfacl" command.
1280 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
1282         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1283         `tramp-cleanup-this-connection', when the process has died.
1284         (Bug#13151)
1286 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1288         * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1290 2012-12-17  Kevin Ryde  <user42@zip.com.au>
1292         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1294 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
1296         Add support for preserving ACL entries of files.
1298         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1299         `set-file-acl' handlers.
1301         * net/tramp-adb.el (tramp-adb-handle-copy-file):
1302         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1304         * net/tramp-compat.el (tramp-compat-copy-file):
1305         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1307         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1308         Add `file-acl' and `set-file-acl' handlers.
1309         (tramp-gvfs-handle-copy-file):
1310         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1311         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1312         New defuns.
1314         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1315         Add `file-acl' and `set-file-acl' handlers.
1316         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1317         (tramp-sh-handle-set-file-acl): New defuns.
1318         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1319         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1321         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1322         Add `file-acl' and `set-file-acl' handlers.
1323         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1325 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
1327         * help-macro.el (make-help-screen): Instead of switch-to-buffer
1328         use pop-to-buffer with NORECORD argument t.  As buffer name, use
1329         *Metahelp* with a leading space (Bug#13190).
1331 2012-12-16  Romain Francoise  <romain@orebokech.com>
1333         * files.el (file-extended-attributes)
1334         (set-file-extended-attributes): New functions.
1335         (backup-buffer): Use them to handle both SELinux context and ACL
1336         entries.
1337         (backup-buffer-copy): Work with an alist of extended attributes,
1338         rather than an SELinux context.
1339         (basic-save-buffer-2): Ditto.
1341 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
1343         * battery.el (battery-bsd-apm): New function.
1345 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
1347         * calc/calc.el (calc-standard-date-formats): Adjust one of the
1348         standard date formats.
1350 2012-12-15  Juri Linkov  <juri@jurta.org>
1352         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1353         `isearch-insert-char-by-name'.
1354         (with-isearch-suspended): New defmacro with body mostly from
1355         `isearch-edit-string' except the part that sets
1356         `isearch-new-string' and `isearch-new-message'.
1357         (isearch-edit-string): Use new macro `with-isearch-suspended' with
1358         body that sets `isearch-new-string' and `isearch-new-message'.
1359         (isearch-insert-char-by-name): New command.
1360         * international/mule-cmds.el (read-char-by-name): Let-bind
1361         `enable-recursive-minibuffers' to t.
1362         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1364 2012-12-15  Juri Linkov  <juri@jurta.org>
1366         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1367         (Bug#13175)
1369 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
1371         * dired-x.el (dired-guess-shell-command): Put colon at the end of
1372         the prompt.  (Bug#13045)
1374 2012-12-14  Glenn Morris  <rgm@gnu.org>
1376         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1377         Try to include filename in non-bytecomp warning.  (Bug#13132)
1379 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
1381         Fix permissions bugs with setgid directories etc. (Bug#13125)
1382         * files.el (backup-buffer): Don't rely on 9th output of
1383         file-attributes, as it's now a placeholder.  Instead, use the new
1384         optional arg of file-ownership-preserved-p.
1385         (file-ownership-preserved-p): New optional arg GROUP.
1386         Fix mishandling of setuid directories that would cause this
1387         function to return t when it should have returned nil.
1388         Document what happens if the file does not exist, and when
1389         it's not known whether the ownership will be preserved.
1390         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1391         Likewise.
1392         (tramp-get-local-gid): Use group-gid for integer, as that's
1393         faster and more reliable.
1395 2012-12-14  Julien Danjou  <julien@danjou.info>
1397         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1398         Update keywords list, data type and PL/pgSQL.
1400 2012-12-14  Dave Abrahams  <dave@boostpro.com>
1402         * vc/ediff-util.el (ediff-buffer-type): New function.
1403         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1404         rather than taking it as as argument.
1405         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1407 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
1409         * json.el: Add pretty-print option (bug#12634).
1410         (json-encoding-separator, json-encoding-default-indentation)
1411         (json--encoding-current-indentation, json-encoding-pretty-print)
1412         (json-encoding-lisp-style-closings): New vars.
1413         (json--with-indentation): New macro.
1414         (json-encode-hash-table, json-encode-alist, json-encode-plist)
1415         (json-encode-array): Use it to obey json-encoding-pretty-print.
1416         (json-pretty-print-buffer, json-pretty-print): New commands.
1418 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1420         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1421         Extract `ruby-syntax-propertize-expansions'.
1422         (ruby-syntax-propertize-expansions): Only change syntax on
1423         certain string delimiters, to punctuation.  This way the common
1424         functions like forward-word and thing-at-point still work.
1425         (ruby-match-expression-expansion): Improve readability.
1426         (ruby-block-contains-point): New function.
1427         (ruby-add-log-current-method): Handle several edge cases.
1429 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1431         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1432         unload-feature finishes even when aborting an ongoing edebug session.
1433         Also, do not worry about edebug-mode, unload-feature takes care of it.
1435 2012-12-13  Andreas Schwab  <schwab@suse.de>
1437         * net/tls.el (tls-program): Update customize type.
1439 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1441         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1442         (edebug-setup-hook, cl-read-load-hooks): Use it.
1443         (edebug-unload-function): New function.  (Bug#13163)
1445 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
1447         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1448         Otherwise, there could be errors in autoloading.  (Bug#13151)
1450 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
1452         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1453         sequences.
1455 2012-12-13  Alan Mackenzie  <acm@muc.de>
1457         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
1458         * progmodes/cc-engine.el (c-backward-comments): Add code to work
1459         around `forward-comment' not recognizing ^M as whitespace.
1461 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1463         * progmodes/python.el (python-skeleton-class)
1464         (python-skeleton-def): Do not add space after defun name.
1466 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1468         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1469         (cl--symbol-function): Remove (now that funbound is like nil).
1471 2012-12-12  Glenn Morris  <rgm@gnu.org>
1473         * button.el (button--area-button-p): Fix typo.
1475 2012-12-12  Sam Steingold  <sds@gnu.org>
1477         * frame.el (frame-maximization-style): New user option.
1478         (toggle-frame-maximized): Toggle frame maximization according to
1479         `frame-maximization-style', bound to <f11>.
1480         (cycle-frame-maximized): Cycle between all maximization styles and
1481         non-maximized frame, bound to shift-<f11>.
1483 2012-12-12  David Cadé  <codename68@gmail.com>
1485         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1487 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
1489         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1490         (eieio-override-prin1): Don't quote kewords and booleans.
1491         (object-write) <eieio-default-superclass>: Don't put closing parens
1492         on new line, avoid needless empty lines, align values that are objects
1493         with the slot keyword (instead of beginning on the same line).
1494         (eieio-list-prin1): Align value with slot keyword; increase
1495         eieio-print-depth before printing members of the list.
1497 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1499         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1500         a display text-property.
1501         (report-emacs-bug-hook): Don't bother deleting it any more.
1503         * hilit-chg.el (highlight-save-buffer-state): Delete.
1504         Use with-silent-modifications instead.
1505         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1507         * button.el: Handle buttons in display text-properties.
1508         (button--area-button-p, button--area-button-string):
1509         Use (STRING . STRING-POS) representation instead of just STRING.
1511 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
1513         * makefile.w32-in (compile4-SH): Fix a typo that caused term
1514         subdirectory be skipped.
1516 2012-12-11  Glenn Morris  <rgm@gnu.org>
1518         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1520         * progmodes/f90.el (f90-line-continued, f90-indent-region):
1521         Treat preprocessor lines embedded in continuations like comments.
1522         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
1524 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
1526         * calc/calc.el (calc-standard-date-formats):  Add more date
1527         formats.
1528         * calc/calc-forms.el (math-parse-iso-date): New function.
1529         (math-parse-date): Use `math-parse-iso-date' when appropriate.
1530         (math-parse-iso-date-validate): Add extra error checking.
1531         (calc-date-notation): Add ability to access new date formats.
1533 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1535         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1536         font-lock as well as when there's no text-property.
1538 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
1540         * hi-lock.el: Refine the choice of default face.
1541         (hi-lock-keyword->face): New function.  Use it wherever we used
1542         cadadadr instead.
1543         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1544         (hi-lock--last-face): Remove var.
1545         (hi-lock--unused-faces): New var to replace it.
1546         (hi-lock-read-face-name): Use/maintain it.
1547         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
1548         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1549         if it has another face.
1551 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1553         * subr.el (w32notify-handle-event): New function.
1554         (inotify-handle-event): Doc fix.
1556 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1558         * subr.el (inotify-event-p, inotify-handle-event): New functions.
1560 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
1562         * simple.el (just-one-space): Doc fix.
1564 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1566         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1568 2012-12-10  Le Wang  <l26wang@gmail.com>
1570         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1571         narrowed buffer (bug#12361).
1573 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
1575         * vc/vc-hooks.el (vc-state): Doc fix.
1577 2012-12-10  Glenn Morris  <rgm@gnu.org>
1579         * mail/rmail.el (rmail-maybe-display-summary):
1580         Preserve buffer, in case select-window changes it.  (Bug#13066)
1582 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1584         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1585         cl-load-hook where they belong.
1587 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1589         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1591 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
1593         Parallelize byte compilation on MS-Windows.
1594         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1595         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1596         (WINS_BASIC): Define as concatenation of the above.
1597         (compile): Subdivide into 4 separate and independent jobs that can
1598         be run in parallel.
1599         (compile0-CMD, compile0-SH): New targets for compiling
1600         COMPILE_FIRST files, which are prerequisites for the rest of the
1601         byte-compilation.
1602         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1603         New targets for parallel compilation with cmd.exe.
1604         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1605         compiling under a Unixy shell.
1607 2012-12-09  Chong Yidong  <cyd@gnu.org>
1609         * simple.el (set-mark-default-inactive): Delete this
1610         accidentally-introduced option.
1611         (set-mark-command, exchange-point-and-mark): Remove calls.
1613 2012-12-09  Glenn Morris  <rgm@gnu.org>
1615         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1616         Respect a defcustom's :set function, if appropriate.  (Bug#109)
1617         (eval-defun): Doc fix.
1619 2012-12-08  Juri Linkov  <juri@jurta.org>
1621         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1622         (Info-fontify-node, Info-bookmark-make-record): Remove the
1623         file extension from Info-current-file (Bug#13016).
1625 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1628         point, still provide some default.
1629         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1630         names, since we don't use it right now.  Actually return the list.
1631         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1633 2012-12-07  Chong Yidong  <cyd@gnu.org>
1635         * novice.el (disabled-command-function): Remove a spurious help
1636         xref (Bug#13043).  Suggested by Kelly Dean.
1638         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1639         syntax is specified (Bug#13025).
1641         * info.el (Info-set-mode-line): Remove the file extension from
1642         Info-current-file if there is one (Bug#13016).
1644 2012-12-07  Glenn Morris  <rgm@gnu.org>
1646         * mail/rmail.el (rmail-mime-decoded): New permanent local.
1647         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1648         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1649         and rmail-mime-decoded.  (Bug#9841)
1651         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
1652         (batch-unrmail, unrmail): Doc fixes.
1653         (unrmail): Respect unrmail-mbox-format.
1654         * mail/rmail.el (rmail-mbox-format): New option.
1655         (rmail-show-message-1): Respect rmail-mbox-format.
1657 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1659         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1661 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1663         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
1664         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1665         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1666         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1667         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1668         (cl-progv): Don't rely on dynamic scoping to find the body.
1669         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1670         (cl--proclaims-deferred): Rename from the "cl-" prefix.
1671         (cl-declaim): Use backquotes.
1672         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1673         Use "cl--" prefix for the object's tag.
1675         * ses.el: Use advice-add/remove.
1676         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1677         (copy-region-as-kill, yank): Use advice-add.
1678         (ses-unload-function): Use advice-remove.
1680 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
1682         * button.el: Make them work in header-lines (bug#12817).
1683         (button-map): Add bindings for header-line and mode-line use.
1684         (button-get, button-put, button-label): `button' may now be a string.
1685         (button-activate): Don't make it a defsubst.
1686         (button--area-button-p, button--area-button-string): New functions.
1687         (make-text-button): Fix the return value when `beg' was a string.
1688         (push-button): Handle the mode-line case.
1690 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1692         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1693         (sql-signum): Remove.  Use `cl-signum' instead.
1694         (sql-read-passwd): Remove; use read-passwd instread.
1695         (sql-get-login-ext): Use read-string.
1696         (sql-get-login): Use dolist and pcase.
1697         (sql--completion-table): Rename from sql-try-completion.
1698         Use complete-with-action.
1699         (sql-mode): Don't change abbrev-all-caps globally.
1700         (sql-connect): Don't rely on dynamic scoping for `new-name'.
1701         (sql-postgres-completion-object): Initialize vars in their `let'.
1702         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1703         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1704         (sql-comint-interbase): Use a single append, without setq.
1705         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1707         * hi-lock.el: Rework the default face and the serialize regexp code.
1708         (hi-lock--auto-select-face-defaults): Remove.
1709         (hi-lock-string-serialize-serial): Remove.
1710         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1711         make weak.
1712         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1713         equal string.
1714         (hi-lock-set-pattern): Adjust accordingly.
1715         (hi-lock--regexps-at-point): Simplify accordingly.
1716         (hi-lock--auto-select-face-defaults): Remove.
1717         (hi-lock--last-face): New var to replace it.
1718         (hi-lock-read-face-name): Rewrite (bug#11095).
1719         (hi-lock-unface-buffer): Arrange for the face to be the next default.
1721 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
1723         * net/tramp.el (tramp-replace-environment-variables):
1724         Hide compiler warning.
1725         (tramp-file-name-for-operation): Remove `executable-find',
1726         `start-process', `call-process' and `call-process-region'.
1728         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1730         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1731         compatibility.
1733         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1735 2012-12-06  Chong Yidong  <cyd@gnu.org>
1737         * ffap.el (ffap-replace-file-component): Fix typo.
1739 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1741         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1742         fix open-paren-like token test (bug#12785).
1744 2012-12-06  Glenn Morris  <rgm@gnu.org>
1746         * mail/rmailsum.el (rmail-new-summary): Tweak for
1747         rmail-maybe-display-summary changing buffer.  (Bug#13066)
1749 2012-12-06  Juri Linkov  <juri@jurta.org>
1751         * info.el (Info-fontify-node): Don't hide the last newline.
1752         (Bug#12272)
1754 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1756         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1757         so as to enable message-read-from-minibuffer to expand mail aliases.
1759 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1761         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1762         the `intangible' property.
1763         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1765 2012-12-05  Deniz Dogan  <deniz@dogan.se>
1767         * net/rcirc.el (rcirc-urls): Update documentation.
1768         (rcirc-condition-filter): New function.
1769         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1770         and exclude consecutive duplicate URLs (Bug#6082).
1772 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
1774         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1775         Check return code of copy command.
1777         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1778         Use group `tramp'.  Add version.
1780 2012-12-05  Chong Yidong  <cyd@gnu.org>
1782         * ffap.el (ffap-url-regexp): Don't require matching at front of
1783         string (Bug#4952).
1784         (ffap-url-p): If only a substring matches, return that.
1785         (ffap-url-at-point): Use the return value of ffap-url-p.
1786         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1787         (find-file-at-point, dired-at-point, dired-at-point-prompter)
1788         (ffap-guess-file-name-at-point): Likewise.
1789         (ffap-replace-file-component): Fix typo.
1791         * info.el (info-display-manual): Add existing Info buffers, whose
1792         files may not be in Info-directory-list, to the completion.
1793         (info--manual-names): New helper function.
1795 2012-12-05  Glenn Morris  <rgm@gnu.org>
1797         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1798         New functions, for detecting and resolving conflicts.  (Bug#10709)
1800 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
1802         * hi-lock.el (hi-lock-auto-select-face): New user variable.
1803         (hi-lock-auto-select-face-defaults): New buffer local variable.
1804         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1805         (hi-lock-unface-buffer): Prompt user with useful defaults.
1806         With prefix arg, unhighlight all hi-lock patterns in buffer.
1808 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1810         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1812 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
1814         * Makefile.in (TRAMP_SRC):
1815         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1817 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
1819         * net/tramp-adb.el: New package.
1821 2012-12-04  Chong Yidong  <cyd@gnu.org>
1823         * terminal.el: Move to obsolete/.
1825         * longlines.el: Move to obsolete/.
1827         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1828         Remove code referring to longlines mode.
1830 2012-12-03  Juri Linkov  <juri@jurta.org>
1832         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
1834 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1836         * textmodes/ispell.el (ispell-init-process)
1837         (ispell-start-process, ispell-internal-change-dictionary):
1838         Make sure personal dictionary name is expanded after initial
1839         `default-directory' value. Use expanded strings for
1840         keep/restart checks and for value (Bug#13019).
1842 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
1844         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1846 2012-12-03  Leo Liu  <sdl.web@gmail.com>
1848         * files.el (dir-locals-read-from-file): Check file non-empty
1849         before reading.  (Bug#13038)
1851 2012-12-03  Glenn Morris  <rgm@gnu.org>
1853         * jka-cmpr-hook.el (jka-compr-get-compression-info):
1854         Remove any version extension before checking filename.  (Bug#13006)
1855         (jka-compr-compression-info-list): Belated :version bump.
1857 2012-12-03  Chong Yidong  <cyd@gnu.org>
1859         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1861         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1862         (buffer-menu): Doc fix (Bug#12294).
1864 2012-12-03  Roland Winkler  <winkler@gnu.org>
1866         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1867         of diary-show-all-entries in the diary buffer (Bug#12994).
1869 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
1871         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1872         "<STDIN>".  This is binary safe.
1874 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
1876         * calc/calc-forms.el (math-absolute-from-iso-dt)
1877         (math-date-to-iso-dt, math-parse-iso-date-validate)
1878         (math-iso-dt-to-date): New functions.
1879         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1880         (math-fd-isoweekday): New variables.
1881         (calc-date-notation, math-parse-standard-date, math-format-date)
1882         (math-format-date-part): Add support for more formatting codes.
1884 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1886         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1887         current buffer's file name when called interactively (Bug#12488).
1889 2012-12-02  Juri Linkov  <juri@jurta.org>
1891         * info.el (info-display-manual): Don't clobber an existing Info
1892         buffer (Bug#10770).  Add completion (Bug#10771).
1894 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
1896         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1897         before using it for comparison (Bug#5297).
1899 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
1901         * textmodes/css-mode.el (css-current-defun-name): New function.
1902         (css-mode): Use it.
1904         * textmodes/sgml-mode.el (html-current-defun-name): New function.
1905         (html-mode): Use it.
1907 2012-12-01  Chong Yidong  <cyd@gnu.org>
1909         Modularize add-log-current-defun (Bug#2224).
1910         Suggested by Jari Aalto.
1912         * vc/add-log.el (add-log-current-defun-function): Doc fix.
1913         (add-log-current-defun): Move mode-specific code to other files.
1914         (add-log-lisp-like-modes, add-log-c-like-modes)
1915         (add-log-tex-like-modes): Variables deleted.
1917         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1918         (lisp-mode-variables): Use it.
1920         * progmodes/cc-mode.el (c-common-init):
1921         * progmodes/cperl-mode.el (cperl-mode): Set a value for
1922         add-log-current-defun-function.
1924         * progmodes/m4-mode.el (m4-current-defun-name): New function.
1925         (m4-mode): Use it.
1927         * progmodes/perl-mode.el (perl-current-defun-name): New.
1928         (perl-mode): Use it.
1930         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1931         Use lisp-current-defun-name.
1933         * textmodes/tex-mode.el (tex-current-defun-name): New.
1934         (tex-common-initialization): Use it.
1936         * textmodes/texinfo.el (texinfo-current-defun-name): New.
1937         (texinfo-mode): Use it.
1939 2012-12-01  Chong Yidong  <cyd@gnu.org>
1941         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1942         * progmodes/autoconf.el (autoconf-mode):
1943         * progmodes/js.el (js-mode):
1944         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1945         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1946         * progmodes/perl-mode.el (perl-mode):
1947         * progmodes/sh-script.el (sh-mode, sh-set-shell):
1948         * textmodes/css-mode.el (css-mode):
1949         * textmodes/sgml-mode.el (html-mode, sgml-mode)
1950         (sgml-tags-invisible, sgml-guess-indent):
1951         * textmodes/tex-mode.el (tex-common-initialization)
1952         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1953         (doctex-mode, plain-tex-mode, latex-mode):
1954         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1956 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
1958         * vc/vc-hg.el (vc-hg-next-revision):
1959         Ensure use of default "tip" output format.  (Bug#6968)
1961 2012-12-01  Kim F. Storm  <storm@cua.dk>
1963         * startup.el (fancy-startup-tail): Add a clickable link
1964         (Bug#2176).
1966 2012-12-01  Chong Yidong  <cyd@gnu.org>
1968         * startup.el (fancy-startup-tail): Improve the message about
1969         auto-save files (Bug#2176).
1971         * files.el (recover-session): Improve the descriptive message, and
1972         use substitute-command-keys.
1974 2012-12-01  Glenn Morris  <rgm@gnu.org>
1976         * ido.el (ido-file-internal):
1977         Handle other-window, other-frame for dired.  (Bug#13036)
1979 2012-11-30  Glenn Morris  <rgm@gnu.org>
1981         * icomplete.el (icomplete-separator): Fix :version.
1983 2012-11-30  Chong Yidong  <cyd@gnu.org>
1985         * shell.el (shell): For C-u M-x shell, use an inactive shell
1986         buffer as the default (Bug#1975).
1987         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1988         (shell-mode): Use them to reapply ansi colorization if Shell mode
1989         is re-enabled.
1991 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
1993         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1995 2012-11-30  Samuel Bronson  <naesten@gmail.com>
1997         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1998         flag to xargs, for compatibility with BSD xargs (Bug#11703).
2000 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
2002         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2003         by move-to-column (Bug#3234).
2005 2012-11-30  Chong Yidong  <cyd@gnu.org>
2007         * longlines.el (longlines-wrap-line, longlines-encode-region):
2008         Preserve text properties (Bug#1425).
2010 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2012         * vc/vc.el (vc-register): Allow registering a file which is
2013         already registered with a different backend (Bug#10589).
2015 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
2016             Stefan Monnier  <monnier@iro.umontreal.ca>
2018         * icomplete.el: Change separator; add ido-style commands.
2019         (icomplete-show-key-bindings): Remove custom var.
2020         (icomplete-get-keys): Remove function.
2021         (icomplete-forward-completions, icomplete-backward-completions):
2022         New commands.
2023         (icomplete-minibuffer-map): New var.
2024         (icomplete-minibuffer-setup): Use it.
2025         (icomplete-exhibit): Don't delay if the list of completions is known.
2026         (icomplete-separator): New custom.
2027         (icomplete-completions): Use it.
2028         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2029         (minibuffer-force-complete-and-exit): New command.
2030         (minibuffer--complete-and-exit): New function extracted from
2031         minibuffer-complete-and-exit.
2032         (minibuffer-complete-and-exit): Use it.
2034         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2035         error message when the file doesn't exist (bug#12974).
2037 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
2039         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2041 2012-11-29  Glenn Morris  <rgm@gnu.org>
2043         * files.el (hack-dir-local-variables): Warn if try to set
2044         coding via dir-locals, since it doesn't work.  (Bug#7169)
2046         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
2047         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2048         Set buffer-local value of desktop-save-buffer.
2049         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2050         New functions.
2051         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2052         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2054         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
2055         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2056         Doc fix.
2057         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2058         Doc fixes.
2060 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
2062         * calc/calc-forms.el (calc-date-notation): Fix regexp
2063         used to find time codes.  Fix symbol for seconds.
2065 2012-11-27  Glenn Morris  <rgm@gnu.org>
2067         * emacs-lisp/derived.el (derived-mode-make-docstring):
2068         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
2070 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2072         * textmodes/table.el (table-insert): Don't use `symbol-name' on
2073         lexically scoped variables (bug#13005).
2075 2012-11-27  Glenn Morris  <rgm@gnu.org>
2077         * vc/vc-hooks.el (vc-mistrust-permissions):
2078         Default to t, to avoid data-loss.  (Bug#11490)
2080 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2082         * progmodes/python.el (python-indent-guess-indent-offset):
2083         If indentation is guessed make python-indent-offset buffer-local.
2085         Fix Imenu regression.
2086         * progmodes/python.el (python-nav-beginning-of-defun):
2087         Fix forward movement when statement(s) separates point from defun.
2088         (python-imenu-prev-index-position): New function.
2090 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
2092         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
2094         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2095         Don't set buffer-file-type.  Return nil.  (Bug#12989)
2097 2012-11-27  Glenn Morris  <rgm@gnu.org>
2099         * hippie-exp.el (hippie-expand-try-functions-list):
2100         Re-autoload it.  (Bug#12982)
2102 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
2104         * descr-text.el (describe-char-padded-string):
2105         Call internal-char-font only on GUI frames.  (Bug#11964)
2107 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
2109         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2110         and obsoletion message.
2112 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2114         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2115         the constructs to keep outside of the `cl-block' (bug#12977).
2117 2012-11-27  Chong Yidong  <cyd@gnu.org>
2119         * mouse.el (mouse-drag-line): Even if the line is not draggable,
2120         keep reading until we get the up-event anyway, in order to process
2121         the up-event for mouse-1-click-follows-link (Bug#12971).
2123 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2125         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2126         base function is not yet defined (bug#12965).
2127         (ad-activate-advised-definition): Use ad-compile-function.
2128         (ad-activate): Use cond.
2130 2012-11-25  Leo Liu  <sdl.web@gmail.com>
2132         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2133         (Bug#12979)
2135 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2137         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2138         reftex-section-info-function in order to be compatible with
2139         Texinfo integration.
2141         * textmodes/reftex.el (reftex-section-pre-regexp)
2142         (reftex-section-post-regexp, reftex-section-info-function):
2143         New variable.
2144         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2145         reftex-section-post-regexp, and reftex-section-info-function in order
2146         to be compatible with Texinfo integration.
2148         * textmodes/reftex-toc.el (reftex-toc-promote-action):
2149         use reftex-section-pre-regexp variable in order to be compatible with
2150         Texinfo integration.
2152 2012-11-25  Chong Yidong  <cyd@gnu.org>
2154         * faces.el: Make face-spec-set more analogous to setq.
2155         (face-spec-set): Change the third arg to specify whether this
2156         function is being called via defface, customize, or a third party.
2157         Set the appropriate symbol properties.  Clear the override spec if
2158         setting via Custom.  Initialize face if necessary.  (Bug#4988)
2159         (face-spec-recalc): Allow theme faces to completely replace the
2160         defface spec, in the same way as custom faces (Bug#8454).
2162         * cus-face.el (custom-declare-face): Move face initialization to
2163         face-spec-set.
2164         (custom-theme-set-faces): Don't initialize the face name here, as
2165         that is now done in face-spec-set.
2167         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2168         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2169         Simplify by using the new arg to face-spec-set.
2171         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2172         reset face-override-spec too, and use custom-declare-face.
2174 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
2176         * term/ns-win.el (ns-initialize-window-system): Move creation of
2177         fontsets here (Bug#11964).
2179 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2181         * ses.el (ses-rename-cell): Correct bug on mode-line update after
2182         cell renaming.
2184 2012-11-24  Chong Yidong  <cyd@gnu.org>
2186         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2187         obsolete.
2189         * custom.el (custom-theme-set-variables): Use a topological sort
2190         for ordering by custom dependencies (Bug#12952).
2191         (custom--sort-vars, custom--sort-vars-1): New functions.
2193 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2195         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2196         lexical-binding (bug#12938).
2198 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
2200         * image-mode.el (image-transform-check-size): Use assertions only
2201         for images of type imagemagick.
2203         Otherwise no error, image-transform-fit-to-{width,height} is
2204         silently ignored, as before.  Doc fix.
2206 2012-11-24  Chong Yidong  <cyd@gnu.org>
2208         * faces.el (color-defined-p): Doc fix (Bug#12853).
2210 2012-11-24  Juri Linkov  <juri@jurta.org>
2212         * dired.el (dired-mark): Add optional arg `interactive'.
2213         Check for `use-region-p' if `interactive' is non-nil.
2214         (dired-unmark, dired-flag-file-deletion): Add optional arg
2215         `interactive'.  Call `dired-mark' with the arg `interactive'.
2216         (Bug#10624)
2218         * wdired.el: Revert 2012-10-17 change partly and replace it with
2219         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2220         (wdired-finish-edit): Add marks for new file names to
2221         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
2222         after `revert-buffer'.
2223         (wdired-do-renames): Remove calls to `dired-remove-file',
2224         `dired-add-file', `dired-add-entry'.  (Bug#11795)
2226 2012-11-24  Alan Mackenzie  <acm@muc.de>
2228         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2230         Fix bugs in the state cache.  Enhance a debugging mechanism.
2231         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2232         "brace at column zero" strategy for C++.
2233         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2234         (c-parse-state-point): New variable.
2235         (c-record-parse-state-state): Record old parse state with
2236         `copy-tree'.  Record previous value of point.
2237         (c-debug-parse-state-double-cons): New debugging function.
2238         (c-debug-parse-state): Call the above new function.
2239         (c-toggle-parse-state-debug): Output a confirmatory message.
2241         * progmodes/cc-mode.el (c-before-change, c-after-change):
2242         Call c-invalidate-state-cache from `c-before-change' instead of
2243         `c-after-change'.
2245 2012-11-23  Chong Yidong  <cyd@gnu.org>
2247         * find-cmd.el (find-constituents): Add executable, ipath,
2248         readable, samefile, writable, daystart, regextype (Bug#12856).
2250 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2252         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2254 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
2256         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2257         definition.  This fixes a bootstrap failure.
2258         (calc-gregorian-switch): In menu, put dates before regions.
2259         This is easier to follow, lines up better in the menu, and lets us
2260         coalesce regions that switch at the same time.  Give country
2261         names, not "Vatican", as that's better for non-expert users.
2262         Use names that are stable between the date of switch and now, e.g.,
2263         Bohemia and Moravia (which existed then and now) and not
2264         Czechoslovakia (which didn't exist then and doesn't exist now).
2265         What is now the U.S. mostly did not switch at the same time as
2266         Britain, so omit the U.S.  Correct spelling of "Britain".
2267         Catholic Switzerland was too much of a mess, so omit it.
2269 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
2271         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2272         after the variable is changed.
2274 2012-11-21  Daniel Colascione  <dancol@dancol.org>
2276         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2277         in SQL declarations for font-lock.
2278         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2280 2012-11-21  Glenn Morris  <rgm@gnu.org>
2282         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2283         (face-italic-p): Add optional argument "inherit".
2285         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2286         Remove -p suffix from names, for consistency with other set-face-*.
2287         (set-face-inverse-video): Fix interactive spec.
2288         * play/gamegrid.el (gamegrid-make-mono-tty-face):
2289         * textmodes/table.el (table--update-cell-face):
2290         Use set-face-inverse-video rather than now obsolete alias.
2292 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
2294         * simple.el (line-move): Don't call line-move-partial if
2295         scroll-conservatively is in effect.  (Bug#12927)
2297 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2299         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2300         Fallback on completion-at-point rather than
2301         pcomplete-expand-and-complete, and only if pcomplete actually failed.
2302         (eshell-cmpl-initialize): Setup completion-at-point.
2304         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2306         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2308 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
2310         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2311         are remote, check out-of-band property for both.
2313 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2315         * window.el (switch-to-buffer): Re-add the warning that was lost in the
2316         code rewrite.
2318 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
2320         More minor time fixes.
2321         * calendar/time-date.el: Commentary fix.
2322         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2323         too much other code depends on (0 0) time stamps.
2324         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2325         Add a couple of FIXME comments.
2327         Minor cleanup for times as lists of four integers.
2328         * files.el (dir-locals-directory-cache):
2329         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2330         Doc fixes.
2331         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2332         * ps-bdf.el (bdf-file-newer-than-time):
2333         Process four-integers time stamps, not two.  Doc fixes.
2335 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * uniquify.el (uniquify-managed): Use defvar-local.
2338         (rename-buffer, create-file-buffer): Advise with advice-add.
2339         (uniquify-unload-function): Unadvise accordingly.
2341         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2342         (trace-buffer): Don't purecopy.
2343         (trace-entry-message, trace-exit-message): Add `context' arg.
2344         (trace--timer): New var.
2345         (trace-make-advice): Adjust for use in nadvice.
2346         Add `context' argument.  Delay `display-buffer' via a timer.
2347         (trace-function-internal): Use advice-add.
2348         (trace--read-args): New function.
2349         (trace-function-foreground, trace-function-background): Use it.
2350         (trace-function): Rename to trace-function-foreground and redefine as
2351         an alias to that new name.
2352         (untrace-function, untrace-all): Adjust to the use of nadvice.
2354         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2356         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2358         * subr.el (called-interactively-p-functions): New var.
2359         (internal--called-interactively-p--get-frame): New macro.
2360         (called-interactively-p, interactive-p): Rewrite in Lisp.
2361         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2362         (called-interactively-p-functions): Use it.
2363         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2364         (called-interactively-p-functions): Use it.
2365         * allout.el (allout-called-interactively-p): Don't assume
2366         called-interactively-p is a subr.
2368 2012-11-20  Glenn Morris  <rgm@gnu.org>
2370         * profiler.el (profiler-report-mode-map): Add a menu.
2371         No need to bind `q' because we derive from special-mode.
2372         (profiler-report-find-entry): Handle calls from the menu-bar.
2374 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2376         * emacs-lisp/byte-run.el (defun-declarations-alist):
2377         Allow a compiler-macro to be a lambda expression.
2379         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
2380         eval-when-compile.
2381         (python-syntax-context): Add compiler-macro.
2382         (python-font-lock-keywords): Simplify with De Morgan.
2384         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2386         * files.el (load-file): Require match in minibuffer selection, as was
2387         the case in Emacs-20 before we changed the spec to allow .elc files
2388         (bug#12935).
2390         * json.el: Don't require cl since we don't use it.
2391         * color.el: Don't require cl.
2392         (color-complement): `caddr' -> `nth 2'.
2394         * calendar/time-date.el (time-to-seconds): De-obsolete.
2396 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2398         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
2399         year numbers.
2400         (math-date-to-julian-dt): Adjust the initial approximation for the
2401         year to deal with the new definition of the DATE.
2403 2012-11-19  Daniel Colascione  <dancol@dancol.org>
2405         * term/w32-win.el (cygwin-convert-path-from-windows):
2406         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2408 2012-11-18  Chong Yidong  <cyd@gnu.org>
2410         * filecache.el (file-cache--read-list): New function.
2411         (file-cache-add-directory-list, file-cache-add-file-list)
2412         (file-cache-delete-file-list, file-cache-delete-directory-list):
2413         Use it to read a list of files or directories (Bug#12846).
2414         (file-cache-add-file, file-cache-add-directory)
2415         (file-cache-delete-file-list, file-cache-delete-file-regexp)
2416         (file-cache-delete-directory): Print an message.
2418 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
2420         * calc/calc-forms.el (math-date-to-dt): Use integer date when
2421         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2423 2012-11-18  Glenn Morris  <rgm@gnu.org>
2425         * image.el (insert-image, insert-sliced-image): Doc fix.
2427 2012-11-18  Chong Yidong  <cyd@gnu.org>
2429         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2430         (Bug#12810).
2432 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2434         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2435         response when the target file is in a subdirectory (Bug#12757).
2437 2012-11-18  Chong Yidong  <cyd@gnu.org>
2439         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2441 2012-11-18  Glenn Morris  <rgm@gnu.org>
2443         * emacs-lisp/cl-lib.el (face-underline-p):
2444         Use set-face-underline rather than the alias set-face-underline-p.
2446         * window.el (with-temp-buffer-window): Doc fix.
2447         * subr.el (with-output-to-temp-buffer):
2448         Add doc xref to with-temp-buffer-window.
2450 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
2452         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2453         * calc/calc.el (math-format-date-cache): Declare.
2455 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
2457         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2458         It also uses January 1, 1 AD as its day number 1.
2459         * calc/calc-forms.el (math-julian-date-beginning)
2460         (math-julian-date-beginning-int): Implement this.
2462 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
2464         * descr-text.el (quail-find-key):
2465         * dired.el (desktop-file-name):
2466         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2467         * generic-x.el (comint-mode, comint-exec):
2468         * image-dired.el (widget-forward):
2469         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2470         (speedbar-change-expand-button-char)
2471         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2472         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2473         * printing.el (easy-menu-add-item, easy-menu-remove-item)
2474         (widget-field-action, widget-value-set):
2475         * speedbar.el (imenu--make-index-alist):
2476         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2477         (ring-length, ring-insert):
2478         * vcursor.el (compare-windows-skip-whitespace):
2479         * woman.el (dired-get-filename):
2480         Declare functions.
2482         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2484 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2486         * calc/calc.el (calc-gregorian-switch): New variable.
2488         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2489         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2490         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2491         (math-leap-year-p): Add option to distinguish between Julian
2492         and Gregorian calendars.
2493         (math-day-number): Use `math-day-in-year' to do the computations.
2494         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2495         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2496         to do the computations.
2497         (math-date-to-dt): Use `math-date-to-julian-dt' and
2498         `math-date-to-gregorian-dt' to do the computations.
2499         (calcFunc-weekday, math-format-date-part): Use the new version of
2500         the DATE to determine the weekday.
2501         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2502         when necessary.
2504 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
2506         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2507         Cygwin; otherwise use 'file:'.  (Bug#12914)
2508         (cygwin-convert-path-from-windows): Declare, to avoid
2509         byte-compiler warnings.
2511 2012-11-17  Andreas Politz  <politza@fh-trier.de>
2513         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2514         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2515         prefix and negative numeric prefix args (Bug#12795).
2517 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
2519         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2520         Don't signal an error with a score that is too low to add to the
2521         list of top scores. (Bug#12779)
2523 2012-11-17  Chong Yidong  <cyd@gnu.org>
2525         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2527         * filecache.el (file-cache-add-file): Handle relative file name in
2528         the argument (Bug#12694).
2530 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2532         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2534 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2536         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2538         * emacs-lisp/cl-lib.el: Set more meaningful version number.
2540 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
2542         * window.el (enlarge-window, shrink-window): Don't mention return
2543         value in doc-string (Bug#12896).
2544         (window--display-buffer): Don't resize frames - it won't work
2545         with all window managers and defeat pop-up-frame-alist.
2546         (display-buffer-alist): In doc-string explain that CONDITION can
2547         be a function and which arguments are passed to it (Bug#12854).
2548         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
2549         expressions (Bug#12854).
2550         (display-buffer): Pass ACTION argument to
2551         display-buffer-assq-regexp.
2553 2012-11-16  Glenn Morris  <rgm@gnu.org>
2555         * window.el (fit-frame-to-buffer-bottom-margin)
2556         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2558         * faces.el (face-underline-p): Use face-attribute-specified-or.
2560 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
2562         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2564 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2566         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2568 2012-11-16  Glenn Morris  <rgm@gnu.org>
2570         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
2571         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2573         * faces.el (face-underline-p): Doc fix.  Handle :underline being
2574         things other than `t' (a string, a list).
2575         (face-inverse-video-p): Doc fix.
2576         (set-face-underline): Rename it back from set-face-underline-p.
2577         Doc fix.  Allow interactive input of values other than t.
2578         (read-face-attribute): Apply formatting to :underline,
2579         since like :box and :stipple it can take list values.
2581         * term.el (ansi-term): Don't let C-x escape-char binding
2582         clobber the more standard C-c binding.  (Bug#12842)
2584         * subr.el (set-temporary-overlay-map): Doc fix.
2586 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
2588         * window.el (record-window-buffer)
2589         (display-buffer-record-window): When copying the markers to
2590         window-point preserve window-point-insertion-type. (Bug#12588)
2592 2012-11-16  Glenn Morris  <rgm@gnu.org>
2594         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2595         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2596         Use new names for hooks rather than obsolete aliases.
2598 2012-11-15  Daniel Colascione  <dancol@dancol.org>
2600         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2601         prefix instead of "file:" so that when FILE-NAME begins with "//",
2602         as it does when the target file is on a network share, url-handler
2603         isn't confused.
2605 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2607         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2608         a preactivated advice from an old advice.el; they're not compatible!
2610 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2612         * emacs-lisp/nadvice.el (advice--make-interactive-form):
2613         Fix string-spec case.
2615         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2617 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2619         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2620         (advice--buffer-local-function-sample): New var.
2621         (advice--set-buffer-local, advice--buffer-local): New functions.
2622         (add-function, remove-function): Use them.
2624 2012-11-15  Drew Adams  <drew.adams@oracle.com>
2626         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2628 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2630         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2631         potential binding of print-gensym to t, and prettify (back)quotes in
2632         case they appear in args's default values (bug#12884).
2634 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2636         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2637         (advice-eval-interactive-spec): New function.
2638         (advice--make-interactive-form): Support around advice (bug#12844).
2640 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
2642         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2643         more strict.  Add docstring.
2644         (ruby-expression-expansion-re): Extract from
2645         `ruby-match-expression-expansion'.
2646         (ruby-syntax-propertize-function): After everything else, search
2647         for expansions in string literals, mark their insides as
2648         whitespace syntax and save match data for font-lock.
2649         (ruby-font-lock-keywords): Use the 2nd group from expression
2650         expansion matches.
2651         (ruby-match-expression-expansion): Use the match data saved to the
2652         text property in ruby-syntax-propertize-function.
2654 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2656         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2657         (bug#12879).
2659 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2661         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2662         start/end keyword a bit harder.  Works with different values of N.
2663         Add more comments.
2664         (ruby-end-of-block): Update accordingly.
2666 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2668         * woman.el (woman-file-name): Don't mess with unread-command-events
2669         (bug#12861).
2671         * emacs-lisp/advice.el: Layer on top of nadvice.el.
2672         Remove out of date self-require hack.
2673         (ad-do-advised-functions): Use simple `dolist'.
2674         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2675         (ad-advice-definition): Redefine as functions.
2676         (ad-advice-classes): Move before first use.
2677         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2678         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2679         (ad--defalias-fset): Remove functions.
2680         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2681         (ad-get-orig-definition): Rewrite.
2682         (ad-make-advised-definition-docstring): Change base docstring.
2683         (ad-real-orig-definition): Rewrite.
2684         (ad-map-arglists): Change name of called function.
2685         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2686         (ad-make-advised-definition): Simplify.
2687         (ad-assemble-advised-definition): Tweak for new calling context.
2688         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2689         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
2690         function and call ad-activate if needed.
2691         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2692         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2693         (ad-compile-function): Compile ad-Advice-*.
2694         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2695         (ad-start-advice, ad-stop-advice): Remove.
2697 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2699         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2700         period before class method names, not after.  Remove handling of
2701         one impossible case.  Add comments.
2703 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2705         * emacs-lisp/advice.el: Remove support for freezing.
2706         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2707         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2708         Remove support for `freeze'.
2710         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2711         override the default.
2712         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2713         cl--dotimes/dolist.
2714         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2715         `cl' is loaded.
2717         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2718         from add-advice.
2719         (advice--strip-macro): New function.
2720         (advice--defalias-fset): Use them to handle macros.
2721         (advice-add): Use them.
2722         (advice-member-p): Correctly handle macros.
2724 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2726         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2727         Never font-lock the beginning of singleton class as heredoc.
2729 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2731         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2733 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
2735         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2736         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
2737         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2739 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
2741         Fix end-of-defun misbehavior.
2742         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2743         python-beginning-of-defun-function.  Handle nested defuns
2744         correctly.
2745         (python-nav-end-of-defun): Rename from
2746         python-end-of-defun-function.  Ensure forward movement.
2747         (python-info-current-defun): Reimplement to work as intended
2748         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
2749         parent defuns as soon as possible.
2751 2012-11-13  Glenn Morris  <rgm@gnu.org>
2753         * progmodes/flymake.el (flymake-error-bitmap)
2754         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2755         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2757 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2759         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2760         backward, always stop at indentation.  Reverts the change from
2761         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2763 2012-11-13  Glenn Morris  <rgm@gnu.org>
2765         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2766         Add ibuffer-filter-by-derived-mode.
2768         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2769         the same name shadowing each other.
2771         * window.el (with-temp-buffer-window): Doc tweak.
2773         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2775         * help.el (temp-buffer-max-height):
2776         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2777         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2779 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2781         * emacs-lisp/nadvice.el: New package.
2782         * subr.el (special-form-p): New function.
2783         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2784         (elp-all-instrumented-list): Remove var.
2785         (elp-not-profilable): Remove elp-wrapper.
2786         (elp-profilable-p): Use autoloadp and special-form-p.
2787         (elp--advice-name): New const.
2788         (elp-instrument-function): Use advice-add.
2789         (elp--instrumented-p): New predicate.
2790         (elp-restore-function): Use advice-remove.
2791         (elp-restore-all, elp-reset-all): Use mapatoms.
2792         (elp-set-master): Use elp--instrumented-p.
2793         (elp--make-wrapper): Rename from elp-wrapper, return a function
2794         suitable for advice-add.  Use cl-inf.
2795         (elp-results): Use mapatoms+elp--instrumented-p.
2796         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2797         (debug-function-list): Remove var.
2798         (debug): Rename arg, and then let-bind it explicitly inside.
2799         (debugger-setup-buffer): Rename arg.
2800         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2801         (debugger-frame-number): Adjust to new debug-on-entry setup.
2802         (debug--implement-debug-on-entry): Rename from
2803         implement-debug-on-entry, add argument.
2804         (debugger-special-form-p): Remove, use special-form-p instead.
2805         (debug-on-entry): Use advice-add.
2806         (debug--function-list): New function.
2807         (cancel-debug-on-entry): Use it, along with advice-remove.
2808         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2809         (debugger-list-functions): Use debug--function-list instead of
2810         debug-function-list.
2811         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2812         (ad-special-form-p): Remove, use special-form-p instead.
2813         (ad-set-advice-info): Use add-function and remove-function.
2814         (ad--defalias-fset): Adjust accordingly.
2816 2012-11-10  Glenn Morris  <rgm@gnu.org>
2818         * mail/emacsbug.el (report-emacs-bug-tracker-url)
2819         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2820         (report-emacs-bug-create-existing-bugs-buffer)
2821         (report-emacs-bug-parse-query-results)
2822         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
2824         * term.el (term-default-fg-color, term-default-bg-color):
2825         Make obsolete, rather than just saying "deprecated" in the doc.
2827         * term.el (term): Rename from `term-face'.
2828         (term-current-face, ansi-term-color-vector)
2829         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2830         Update all users.
2832 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
2834         * server.el (server-create-window-system-frame): Handle Nextstep
2835         specially (Bug#12780).
2837 2012-11-10  Glenn Morris  <rgm@gnu.org>
2839         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2840         Unautoload, and make obsolete.  (Bug#7449)
2842 2012-11-10  Chong Yidong  <cyd@gnu.org>
2844         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2845         rename from diff-remove-trailing-whitespace (Bug#12831).
2847 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2849         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2850         miscompilation of trace.el.
2852 2012-11-10  Glenn Morris  <rgm@gnu.org>
2854         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2856 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2858         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2859         (bug#12812).
2861 2012-11-10  Chong Yidong  <cyd@gnu.org>
2863         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2864         a defcustom with an appropriate :set function.
2865         (minibuffer-default--in-prompt-regexps): New function.
2867 2012-11-10  Glenn Morris  <rgm@gnu.org>
2869         * emacs-lisp/cl.el (define-setf-expander, defsetf)
2870         (define-modify-macro): Doc fixes.
2872         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2873         (gv-define-simple-setter): Update doc of `fix-return'.
2875 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2877         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2878         twice when `fix-return' is set (bug#12813).
2880         * emacs-lisp/cl.el (defsetf): Pass the third arg to
2881         gv-define-simple-setter (bug#12812).
2883         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2884         (bug#12756).
2886 2012-11-10  Glenn Morris  <rgm@gnu.org>
2888         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2890         * emacs-lisp/cl-extra.el (cl-prettyexpand):
2891         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2892         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2893         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2895         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2897 2012-11-10  Leo Liu  <sdl.web@gmail.com>
2899         * ido.el (ido-set-matches-1): Improve flex matching performance by
2900         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
2902 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2904         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2905         (ad--defalias-fset): New function.
2906         (ad-safe-fset): Remove.
2907         (ad-make-freeze-definition): Use cl-letf*.
2909 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2911         * subr.el (dolist): Don't bind VAR in RESULT.
2913         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
2914         (fset, documentation): Don't save real def since we don't advise.
2915         (ad-do-advised-functions): Remove problematic `result-form'.
2916         (ad-safe-fset): `ad-real-fset' => `fset'.
2917         (ad-read-advised-function): Don't assume that ad-do-advised-functions
2918         uses CL's dolist internally.
2919         (ad-arglist): Remove unused arg `name'.
2920         (ad-docstring, ad-make-advised-docstring):
2921         `ad-real-documentation' => `documentation'.
2922         (warning-suppress-types): Declare.
2923         (ad-set-arguments): Simple CSE.
2924         (ad-recover-normality): Sanity check.
2926         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2927         (funcall '(lambda ..) ..) into ((lambda ..) ..).
2929 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2931         * ses.el: symbol to coordinate mapping is made by symbol property
2932         `ses-cell'.  This means that the same mapping is done for all SES
2933         sheets.  That is good enough for cells with standard A1 names, but
2934         not for named cell.  So a hash map is added for the latter.
2935         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2936         (ses-sym-rowcol): Use hashmap for named cell.
2937         (ses-is-cell-sym-p): New defun.
2938         (ses-decode-cell-symbol): New defun.
2939         (ses-create-cell-variable): Add cell to hashmap when name is not
2940         A1-like.
2941         (ses-rename-cell): Check that cell new name is not already in
2942         spreadsheet with the use of ses-is-cell-sym-p
2943         (ses-rename-cell): Use hash map for named cells, but accept also
2944         renaming back to A1-like.
2946 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2948         * emacs-lisp/advice.el: Use new dynamic docstrings.
2949         (ad-make-advised-definition-docstring, ad-advised-definition-p):
2950         Use dynamic-docstring-function instead of ad-advice-info.
2951         (ad--make-advised-docstring): New function extracted from
2952         ad-make-advised-docstring.
2953         (ad-make-advised-docstring): Use it.
2954         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2955         from sql-help.
2956         (sql-help): Use it with dynamic-docstring-function.
2958         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2960 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2962         * files.el (hack-one-local-variable--obsolete): New function.
2963         (hack-one-local-variable): Use it for obsolete settings.
2965         * subr.el (locate-user-emacs-file): If both old and new name exist, use
2966         the new name.
2968         * progmodes/js.el (js--filling-paragraph): New var.
2969         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2970         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2971         less sneaky.
2973 2012-11-08  Julien Danjou  <julien@danjou.info>
2975         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2976         `auto-mode-alist' (Bug#12835).
2978 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2980         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2981         (perl--prettify-symbols-alist): New const.
2982         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2983         New functions.
2984         (perl-font-lock-keywords-2): Use them.
2985         (perl-electric-noindent-p): New function.
2986         (perl-mode): Use it to set up electric-indent-mode.
2987         (perl-electric-terminator, perl-indent-command): Mark obsolete.
2988         (perl-mode-map): Remove bindings for them.
2989         (perl-imenu-generic-expression, perl-outline-level):
2990         Match functions&packages in column>0.
2992         * env.el (env--substitute-vars-regexp): New const.
2993         (substitute-env-vars): Use it.  Add `only-defined' arg.
2994         * net/tramp.el (tramp-replace-environment-variables): Use it.
2996         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2997         Byte-compile *before* eval in eval-and-compile.
2998         (byte-compile-log-warning): Remove redundant inhibit-read-only.
2999         (byte-compile-file-form-autoload): Don't hide actual definition.
3000         (byte-compile-maybe-guarded): Accept `functionp' as well.
3002         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3004 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
3006         * notifications.el (notifications-get-server-information-method):
3007         New defconst.
3008         (notifications-get-capabilities): Fix docstring.
3009         (notifications-get-server-information): New defun.
3011 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3013         * textmodes/ispell.el (ispell-region): Standard re-indent for better
3014         readability.
3016         * textmodes/ispell.el: Experimental support for support debugging.
3017         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3018         buffer for ispell.
3019         (ispell-print-if-debug): New function to print stuff to
3020         `ispell-debug-buffer' if debugging is enabled.
3021         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3022         show some debugging info.
3023         (ispell-buffer-with-debug): New function that creates a debugging
3024         buffer and calls `ispell-buffer' with debugging enabled.
3026         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3027         comment in autoconf mode. (Bug#12768)
3029 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
3031         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3032         frame-first-window, frame-root-window, frame-selected-window,
3033         minibuffer-selected-window, minibuffer-window,
3034         window-absolute-pixel-edges, window-at, window-body-height,
3035         window-body-width, window-display-table, window-combination-limit,
3036         window-frame, window-fringes, window-inside-absolute-pixel-edges,
3037         window-inside-edges, window-inside-pixel-edges, window-left-child,
3038         window-left-column, window-margins, window-next-buffers,
3039         window-next-sibling, window-new-normal, window-new-total,
3040         window-normal-size, window-parameter, window-parameters, window-parent,
3041         window-pixel-edges, window-point, window-prev-buffers,
3042         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3043         window-start, window-text-height, window-top-child, window-top-line,
3044         window-total-height, window-total-width and window-use-time to the list
3045         of functions without side-effects.
3046         (toplevel): Add window-valid-p to the list of error-free functions
3047         without side-effects.
3049 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3051         * textmodes/ispell.el (ispell-program-name):
3052         Update spellchecker parameters when customized.
3054 2012-11-04  Glenn Morris  <rgm@gnu.org>
3056         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
3058 2012-11-04  Chong Yidong  <cyd@gnu.org>
3060         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3061         same-window-* variables.
3063 2012-11-04  Juri Linkov  <juri@jurta.org>
3065         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3066         (isearch-describe-key, isearch-describe-mode): Use a display
3067         action instead of binding same-window-* variables (Bug#10040).
3069 2012-11-03  Glenn Morris  <rgm@gnu.org>
3071         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3072         Rename handler properties back from cl-- to cl-.  (Bug#12788)
3074         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3076 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
3078         * term/pc-win.el: Don't load term/internal from here.
3080         * loadup.el: Load term/internal from here.
3082 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
3084         * progmodes/python.el (inferior-python-mode): Fix hang in
3085         jit-lock (Bug#12645).
3087 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
3089         * window.el (switch-to-visible-buffer)
3090         (switch-to-buffer-preserve-window-point): Fix doc-strings.
3092 2012-11-03  Glenn Morris  <rgm@gnu.org>
3094         * emacs-lisp/cl-lib.el (cl--random-time):
3095         Rename from cl-random-time.  (Bug#12773)
3096         (cl--gensym-counter, cl--random-state): Update callers.
3097         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3099 2012-11-03  Chong Yidong  <cyd@gnu.org>
3101         * cus-start.el: Make cursor-type customizable (Bug#11633).
3103 2012-11-02  Glenn Morris  <rgm@gnu.org>
3105         * filecache.el: No need to load find-lisp when compiling.
3106         (find-lisp-find-files): Autoload it.
3107         (file-cache-add-directory-recursively): Don't require find-lisp.
3109         * image.el (image-type-from-file-name): Trivial simplification.
3111         * emacs-lisp/bytecomp.el (byte-compile-eval):
3112         Decouple "noruntime" and "cl-functions" warnings.
3114 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
3116         * play/gomoku.el (gomoku-display-statistics): Update mode line
3117         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3119 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
3121         * window.el (quit-restore-window): If the window has been
3122         created on an existing frame and ended up as the sole window on
3123         that frame, do not delete it (Bug#12764).
3125 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3127         * progmodes/sh-script.el (sh--inside-noncommand-expression):
3128         Rename from sh--inside-arithmetic-expression, handle more cases
3129         (bug#11263).
3131         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3132         (sh-font-lock-open-heredoc): Use it (bug#12770).
3134 2012-10-30  Glenn Morris  <rgm@gnu.org>
3136         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
3138         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
3140 2012-10-29  Chong Yidong  <cyd@gnu.org>
3142         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3143         function key is stored in a keyboard macro (Bug#4894).
3145         * thingatpt.el (number-at-point): Apply a thing-at-point property.
3147 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3149         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3150         header comments".
3151         (diff-unified->context, diff-context->unified)
3152         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3154         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3156         * files.el (find-alternate-file): Only ask one question (bug#12487).
3158 2012-10-29  Chong Yidong  <cyd@gnu.org>
3160         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3161         Suggested by Dan Nicolaescu (Bug#6326).
3163         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3165         * startup.el (fancy-about-screen): Don't message (Bug#12680).
3167         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3169         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3171         * face-remap.el (face-remap-add-relative): Handle the case where a
3172         face-remapping-alist entry is a cons cell (Bug#12762).
3174 2012-10-29  Kevin Ryde  <user42@zip.com.au>
3176         * woman.el (woman-parse-numeric-value): Handle picas correctly
3177         (Bug#12639).
3179 2012-10-29  Glenn Morris  <rgm@gnu.org>
3181         * emacs-lisp/cl.el (defsetf): Doc fix.
3183 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3185         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3186         syntax to the matching opener, if any (bug#12547).
3187         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3188         matching open as a "case-(".
3189         (sh-smie-rc-grammar): Add a corresponding rule for it.
3191 2012-10-28  Daniel Hackney  <dan@haxney.org>
3193         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3194         "PKGNAME-autoloads.el" in case we created it.
3196 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3198         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3199         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3200         (completion--twq-all): Disable too-strict assertions.
3202         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3204 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
3206         * profiler.el (profiler-report-make-entry-part): Fix help-echo
3207         text to match the real keybindings.
3209 2012-10-27  Juri Linkov  <juri@jurta.org>
3211         * wdired.el (wdired-keep-marker-rename): New defcustom.
3212         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3213         (Bug#11795)
3215         * dired.el (dired-keep-marker-rename): Add reference to
3216         `wdired-keep-marker-rename' in the docstring.
3217         Add default character value ?R to display initially in
3218         Customization UI instead of ?@.
3220 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
3222         * window.el (display-buffer): In doc-string describe
3223         window-height and window-width alist entries.
3225         * time.el (display-time-world): Restore fit-window-to-buffer
3226         behavior.
3228 2012-10-27  Chong Yidong  <cyd@gnu.org>
3230         * subr.el (insert-buffer-substring-as-yank): Doc fix.
3232 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
3234         * minibuffer.el (completion-category-overrides): New completion
3235         category `bookmark' (bug#11131).
3237 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3239         * emacs-lisp/advice.el (ad-assemble-advised-definition):
3240         Silence bogus compiler warnings for ad-do-it.
3242         * bookmark.el (bookmark-completing-read): Set the completion category
3243         to `bookmark' (bug#11131).
3245 2012-10-26  Bastien  <bzg@altern.org>
3246             Stefan Monnier  <monnier@iro.umontreal.ca>
3248         * face-remap.el: Use lexical-binding.
3249         (text-scale-adjust): Improve docstring.  Use itself for the temporary
3250         overlay-map bindings, so as to repeat the "Use..." message each time.
3252 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3254         * emacs-lisp/macroexp.el (macroexp--expand-all):
3255         Obey byte-compile-warning-enabled-p (bug#12486).
3257         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3258         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3260 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
3262         * mouse.el (mouse-drag-line): Move last form into preceding when
3263         clause (Bug#12731).
3265         * help.el (resize-temp-buffer-window): Fix doc-string.
3267 2012-10-25  David Engster  <deng@randomsample.de>
3269         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3270         Remove.  This feature is already integrated in imenu.
3272         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3273         always loaded.  Require `speedbar' unconditionally.
3275 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3277         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3279         * minibuffer.el (minibuffer-force-complete): Fix thinko.
3281         * net/ldap.el (ldap-search-internal): The official ldif format starts
3282         with a "version: 1" header (bug#12724).
3284         * emacs-lisp/package.el (package-installed-p): Warn if not ready
3285         (bug#12721).
3287 2012-10-25  Glenn Morris  <rgm@gnu.org>
3289         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3291 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3293         * minibuffer.el (minibuffer-force-complete): Use one more marker
3294         for the temporary-overlay-map command (bug#12619).
3296 2012-10-24  Chong Yidong  <cyd@gnu.org>
3298         * time.el (display-time-world-mode): Derive from special-mode.
3299         (display-time-world): Use display-buffer (Bug#12708).
3300         (display-time-world-mode-map): Variable deleted.
3301         (display-time-world-display): Wrap the final delete-char inside
3302         inhibit-read-only.
3304 2012-10-24  Chong Yidong  <cyd@gnu.org>
3306         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3307         Doc fix.
3309         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3311 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3313         * minibuffer.el (completion--all-sorted-completions-location): New var.
3314         (completion--cache-all-sorted-completions)
3315         (completion--flush-all-sorted-completions): Use it.
3316         (completion-in-region, completion-in-region--postch)
3317         (completion-at-point, completion-help-at-point): Use markers in
3318         completion-in-region--data (bug#12619).
3320 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3322         * progmodes/compile.el (compilation-start): Try to handle common
3323         quoting of `cd' argument (bug#12640).
3325         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3326         (bug#12671).
3328 2012-10-23  Glenn Morris  <rgm@gnu.org>
3330         * progmodes/gud.el (gud-menu-map):
3331         Check gdb-active-process is bound.  (Bug#12358)
3333 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3335         * repeat.el (repeat): Set real-this-command (bug#12232).
3337         * htmlfontify.el (hfy-post-html-hook):
3338         * filesets.el (filesets-cache-fill-content-hook):
3339         * arc-mode.el (archive-extract-hook):
3340         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3341         * net/rcirc.el (rcirc-sentinel-functions)
3342         (rcirc-receive-message-functions, rcirc-activity-functions)
3343         (rcirc-print-functions):
3344         * net/dbus.el (dbus-event-error-functions):
3345         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3346         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3347         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3348         * term/sun.el (sun-raw-prefix-hooks):
3349         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3351 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
3353         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3354         Set `tramp-chunksize' to 1.  This improves the performance.
3355         (tramp-smb-wait-for-output): Add timeout to
3356         `tramp-accept-process-output' calls.
3358 2012-10-23  Chong Yidong  <cyd@gnu.org>
3360         * faces.el (font-list-limit): Define as an obsolete variable.
3362         * startup.el (command-line):
3363         * cus-start.el: Don't refer to font-list-limit.
3365         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3367 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3369         * subr.el (internal-temp-output-buffer-show): Rename from
3370         temp-output-buffer-show, since previously compiled files expect this name.
3372 2012-10-23  Glenn Morris  <rgm@gnu.org>
3374         * image.el (image-type-from-file-name): If multiple types match,
3375         return the first one that is supported.  (Bug#9045)
3377 2012-10-22  Glenn Morris  <rgm@gnu.org>
3379         * image.el (imagemagick-enabled-types): Doc fix.
3381 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
3383         * progmodes/which-func.el (which-func-current): The hash-table may have
3384         an explicit nil (bug#12338).
3386 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3388         * electric.el (electric-pair-delete-selection-self-insert-function):
3389         Rename to electric-pair-will-use-region, return a boolean.
3390         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
3392         * delsel.el (delete-selection-helper): Use a function instead of a hook.
3393         (delete-selection-pre-hook): Use use-region-p.
3394         (delete-selection-self-insert-function): Remove.
3395         (self-insert-command): Obey self-insert-uses-region-functions.
3396         (self-insert-iso): Revert to previous setting, since we don't actually
3397         know what that command does.
3398         (delete-selection-self-insert-hooks): Remove.
3400 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
3402         * delsel.el (delete-selection-helper): New function, extracted from
3403         delete-selection-pre-hook.
3404         (delete-selection-pre-hook): Use it.
3405         (delete-selection-self-insert-function): New function.
3406         (delete-selection-self-insert-hooks): New hook.
3407         (self-insert-command, self-insert-iso): Use it.
3408         * electric.el (electric-pair-syntax): New function, extracted from
3409         electric-pair-post-self-insert-function.
3410         (electric-pair-post-self-insert-function): Use it.
3411         (electric-pair-delete-selection-self-insert-function): New function.
3412         (electric-pair-mode): Require delsel and setup
3413         delete-selection-self-insert-hooks (bug#11520).
3415 2012-10-20  Chong Yidong  <cyd@gnu.org>
3417         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3418         no changes to show (Bug#12586).
3420         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3421         list explicitly (Bug#12571).
3423 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
3425         * progmodes/flymake.el (flymake-create-temp-inplace):
3426         Use file-truename.
3428 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
3430         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
3432 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
3434         * calc/calc-units.el (math-extract-units): Properly extract powers
3435         of units.
3437 2012-10-20  Daniel Colascione  <dancol@dancol.org>
3439         * frame.el (make-frame): Set x-display-name as we used to in order
3440         to unbreak creating an X11 frame from an Emacs daemon started
3441         without a display.
3443 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3445         * minibuffer.el (minibuffer-force-complete): Make the next completion use
3446         the same completion-field (bug#12221).
3448 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
3450         * emacs-lisp/debug.el (debug): Record height of debugger window
3451         also when debugger will be back (Bug#8789).
3453 2012-10-18  Chong Yidong  <cyd@gnu.org>
3455         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3456         Convert to defcustom.
3457         (gdb-get-source-file): Don't bind pop-up-windows.
3459         * progmodes/gud.el (gud-display-line): Don't specially re-use
3460         other frames for the gdb-mi case (Bug#12648).
3462 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3464         * emacs-lisp/advice.el: Clean up commentary a bit.
3465         (ad-do-advised-functions, ad-with-originals): Use `declare'.
3466         (byte-code-function-p): Never redefine.
3468         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3470 2012-10-18  Glenn Morris  <rgm@gnu.org>
3472         * dired.el (dired-sort-toggle): Some ls implementations only allow
3473         a single option string.  (Bug#12666)
3475         * minibuffer.el (completion-cycle-threshold): Doc fix.
3477 2012-10-17  Kenichi Handa  <handa@gnu.org>
3479         * international/mule.el (set-keyboard-coding-system):
3480         Recover input meta mode when the new coding system doesn not use 8-bit.
3481         Supply TERMINAL arg to set-input-meta-mode.
3483 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
3485         * wdired.el (wdired-old-marks): New variable.
3486         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3487         (wdired-do-renames): Move point with renamed file and don't lose
3488         mark status (Bug#11795).
3490 2012-10-16  Juri Linkov  <juri@jurta.org>
3492         * replace.el (query-replace-help): Mention multi-buffer replacement
3493         keys in the Help message.  (Bug#12655)
3495 2012-10-15  Chong Yidong  <cyd@gnu.org>
3497         * emacs-lisp/byte-run.el (defsubst): Doc fix.
3499 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
3501         * window.el (display-buffer): Doc fix.
3503         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3504         Adjust the msft regexp to the output of Studio 2010, and move msft
3505         before edg-1.  See the discussion on emacs-devel,
3506         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3507         for the details.
3509 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3512         (oset): Move uses of object-class-fast macro after its definition.
3514         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3516 2012-10-13  Chong Yidong  <cyd@gnu.org>
3518         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3519         enabled, re-enable it (Bug#11963).
3521 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
3523         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3524         non-nil, restore window configuration (Bug#12623).
3526 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * help-fns.el (describe-variable, describe-function-1):
3529         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3531         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3533 2012-10-12  Glenn Morris  <rgm@gnu.org>
3535         * mail/rmailsum.el (rmail-header-summary):
3536         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
3538 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
3540         * progmodes/python.el (python-mode-map):
3541         Replace subtitute-key-definition with proper command remapping.
3542         (python-nav--up-list): Fix behavior for blocks on the same level.
3544 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3546         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3548         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3549         changes to the format of load-history.
3551         * international/mule-cmds.el (read-char-by-name): Move let-binding of
3552         completion-ignore-case in case that var is buffer-local (bug#12615).
3554 2012-10-11  Kenichi Handa  <handa@gnu.org>
3556         * international/eucjp-ms.el: Re-generated.
3558 2012-10-10  Kenichi Handa  <handa@gnu.org>
3560         * select.el (xselect--encode-string): If a coding is specified for
3561         selection, and that is compatible with COMPOUND_TEXT, use it.
3563 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
3565         * window.el (switch-to-buffer-preserve-window-point): New option.
3566         (switch-to-buffer):
3567         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3569 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3571         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3572         Don't document nil as a useful value (bug#12583).
3574 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
3576         * net/tramp.el (tramp-debug-message):
3577         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3578         (with-tramp-progress-reporter): Rename from
3579         `tramp-with-progress-reporter'.
3580         (with-tramp-file-property, with-tramp-connection-property):
3581         Move from tramp-cache.el, rename from `with-file-property' and
3582         `with-connection-property', respectively.
3584         * net/tramp-cache.el: Remove `with-file-property' and
3585         `with-connection-property'.
3587         * net/tramp.el:
3588         * net/tramp-gvfs.el:
3589         * net/tramp-sh.el:
3590         * net/tramp-smb.el: Adapt callees.
3592         * net/trampver.el: Update release number.
3594 2012-10-09  Glenn Morris  <rgm@gnu.org>
3596         * w32-fns.el (set-message-beep):
3597         * term/w32-win.el (set-message-beep): Update declarations.
3599 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3601         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3602         (mode-line-widen, mode-line-input-method-map)
3603         (mode-line-coding-system-map, mode-line-remote)
3604         (mode-line-unbury-buffer, mode-line-bury-buffer)
3605         (mode-line-next-buffer, mode-line-previous-buffer):
3606         Replace save-selected-window+select-window => with-selected-window.
3608         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3609         * progmodes/cc-vars.el (bq-process): Remove, unused.
3611         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3613 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3615         Implemented `backward-up-list'-like navigation.
3616         * progmodes/python.el (python-nav-up-list)
3617         (python-nav-backward-up-list): New functions.
3618         (python-mode-map): Define substitute key for backward-up-list to
3619         python-nav-backward-up-list.
3621 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3623         * progmodes/python.el (python-fill-paragraph): Rename from
3624         python-fill-paragraph-function.  Fixed fill-paragraph for
3625         decorators (Bug#12605).
3627 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3629         * progmodes/python.el (python-shell-output-filter): Handle extra
3630         carriage return in OSX (Bug#12409).
3632 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3634         Fix shell handling of unbalanced quotes and parens in output.
3635         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3636         (python-syntax-propertize-function): Use it.
3637         (python-shell-output-syntax-table): New var.
3638         (inferior-python-mode): Prevent unbalanced parens/quotes from
3639         previous output mess with current input context.
3641 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
3643         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3644         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3646 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
3648         * ffap.el (ffap-replace-file-component): Support Tramp file name
3649         syntax, not only ange-ftp's one.
3651 2012-10-08  Glenn Morris  <rgm@gnu.org>
3653         * cus-start.el (message-log-max): Set :version.
3655         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3657 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
3659         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3660         the minibuffer window (Bug#10851).
3662 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3664         Enhancements on forward-sexp movement.
3665         * progmodes/python.el (python-nav-beginning-of-statement)
3666         (python-nav-end-of-statement): Return point-marker.
3667         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3668         (python-info-current-symbol)
3669         (python-info-statement-starts-block-p): Rename from
3670         python-info-beginning-of-block-p.
3671         (python-info-statement-ends-block-p): Rename from
3672         python-info-end-of-block-p.
3673         (python-info-beginning-of-statement-p)
3674         (python-info-end-of-statement-p)
3675         (python-info-beginning-of-block-p, python-info-end-of-block-p):
3676         New functions.
3678 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3680         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3681         frame-selected-windows.
3683 2012-10-08  Daniel Colascione  <dancol@dancol.org>
3685         * battery.el (battery-status-function): Check for
3686         w32-battery-status itself, not system-time windows-nt.
3688         * frame.el: Require cl-lib.
3689         (display-format-alist): New variable mapping frame types to
3690         functions that initialize them.
3691         (window-system-for-display): New function: interprets
3692         display-format-alist.
3693         (make-frame-on-display): Remove existing display-selection logic
3694         and just forward to make-frame, which will now DTRT.
3695         (make-frame): Restructure to use window-system-for-display to
3696         figure out how to create a frame on a given display.
3697         (display-mouse-p): Look for frame-type w32, not a particular
3698         system-type.
3700         * loadup.el: Load w32 lisp code when we have the w32 feature.
3702         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3703         system-type windows-nt.
3705         * server.el (server-create-window-system-frame): Look for window
3706         type.
3707         (server-proces-filter): Only force a window system when windows-nt
3708         _and_ w32.  Explain why.
3710         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3711         of window systems we configure for the mode.
3713         * startup.el (command-line): Mark window system is initialized
3714         after we've done it.
3716         * common-win.el (x-select-text): Look for w32, not windows-nt.
3718         * ns-win.el: Require cl-lib.  Add ourselves to
3719         display-format-alist.
3720         (ns-initialize-window-system): Assert we're not initialized twice.
3722         * w32-win.el: Enable lexical binding; require cl-lib; add
3723         ourselves to display-format-alist.
3724         (w32-handle-dropped-file): Convert incoming dropped files from
3725         Windows paths to Cygwin ones before passing them on to the rest of
3726         Emacs.
3727         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
3728         (w32-initialize-window-system): Assert we're not initialized twice.
3730         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3731         (x-initialize-window-system): Assert we're not initialized twice.
3733         * w32-common-fns.el: New File.
3734         (w32-version, w32-using-nt, w32-get-clipboard-data)
3735         (w32-set-clipboard-data, x-set-selection, x-get-selection)
3736         (w32-charset-info-alist, x-last-selected, text)
3737         (x-get-selection-value, x-selection-value): Move here.
3739         * w32-fns.el: Require w32-common-fns.
3740         (w32-version, w32-using-nt, w32-get-clipboard-data)
3741         (w32-set-clipboard-data, x-set-selection, x-get-selection)
3742         (w32-charset-info-alist, x-last-selected, text)
3743         (x-get-selection-value, x-selection-value): Move to
3744         w32-common-fns.
3746         * w32-vars.el:
3747         (w32-allow-system-shell, w32-system-shells): Define only in
3748         non-cygwin case.
3750 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3752         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3753         (read-passwd): Remove a few more potential sources of leaks.
3755 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3757         * progmodes/python.el (inferior-python-mode)
3758         (python-shell-make-comint): Fix initialization of local
3759         variables copied from parent buffer.
3761 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
3763         * term/ns-win.el (ns-read-file-name): Update declaration to match
3764         nsfns.m.
3765         (ns-respond-to-change-font): Change fontsize separatly so we are sure
3766         it is set when font is acted upon.
3768 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3770         Enhancements to indentation.
3771         * progmodes/python.el (python-indent-context): Give priority to
3772         inside-string context.  Make comments indentation markers.
3773         (python-indent-region): Do not mess with strings, unless it's the
3774         enclosing set of quotes.
3776 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3778         * window.el (internal--before-save-selected-window)
3779         (internal--after-save-selected-window): New functions extracted from
3780         save-selected-window.  Make sure we return the `alist' we construct.
3781         (save-selected-window): Use them.
3783         * textmodes/tex-mode.el (tex-recenter-output-buffer):
3784         Use with-selected-window.
3786         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3787         forms that define macros (bug#12593).
3789 2012-10-07  Kenichi Handa  <handa@gnu.org>
3791         * international/mule-conf.el (compound-text-with-extensions):
3792         Add :mime-charset property as x-ctext.
3794 2012-10-07  Stefan Merten  <smerten@oekonux.de>
3796         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3797         (rst-indent-literal-normal, rst-indent-literal-minimized)
3798         (rst-indent-comment): Correct :version tag.
3799         (rst-official-cvs-rev): Correct version string.
3801 2012-10-07  Glenn Morris  <rgm@gnu.org>
3803         * mail/rmailmm.el (rmail-mime-process-multipart):
3804         Do not confuse a multipart message with an epilogue
3805         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
3807 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3809         Fix shell output retrieval and comint-prompt-regexp init.
3810         * progmodes/python.el (inferior-python-mode):
3811         (python-shell-make-comint): Fix initialization of
3812         comint-prompt-regexp from copied file local variables.
3813         (python-shell-fetched-lines): Remove var.
3814         (python-shell-output-filter-in-progress): Rename from
3815         python-shell-fetch-lines-in-progress.
3816         (python-shell-output-filter-buffer): Rename from
3817         python-shell-fetch-lines-string.
3818         (python-shell-fetch-lines-filter): Delete function.
3819         (python-shell-output-filter): New function.
3820         (python-shell-send-string-no-output): Use them.
3822 2012-10-07  Glenn Morris  <rgm@gnu.org>
3824         * hi-lock.el (hi-lock-process-phrase):
3825         Try to make it less fragile.  (Bug#7161)
3827         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3829 2012-10-06  Glenn Morris  <rgm@gnu.org>
3831         * ehelp.el (electric-help-mode): Use help-mode rather than
3832         non-existent mode `help'.
3833         (electric-help-map): Use button-buffer-map.  (Bug#10917)
3835         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3836         (reftex-create-bibtex-footer): Fix custom types.
3838         * progmodes/sh-script.el (sh-indent-after-continuation):
3839         Add explicit :group.
3841         * textmodes/rst.el (rst-preferred-decorations)
3842         (rst-shift-basic-offset): Clarify obsolescence versions.
3844         * profiler.el (profiler): Add missing group :version tag.
3845         * avoid.el (mouse-avoidance-banish-position):
3846         * proced.el (proced-renice-command):
3847         * calc/calc.el (calc-ensure-consistent-units):
3848         * calendar/icalendar.el (icalendar-import-format-uid):
3849         * net/tramp.el (tramp-save-ad-hoc-proxies):
3850         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3851         * progmodes/flymake.el (flymake-error-bitmap)
3852         (flymake-warning-bitmap, flymake-fringe-indicator-position):
3853         * progmodes/sh-script.el (sh-indent-after-continuation):
3854         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3855         (verilog-before-save-font-hook, verilog-after-save-font-hook):
3856         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3857         (vhdl-array-index-record-field-in-sensitivity-list)
3858         (vhdl-indent-comment-like-next-code-line):
3859         * textmodes/reftex-vars.el (reftex-ref-style-alist)
3860         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3861         (reftex-cite-key-separator, reftex-create-bibtex-header)
3862         (reftex-create-bibtex-footer):
3863         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3864         (rst-indent-literal-normal, rst-indent-literal-minimized)
3865         (rst-indent-comment): Add missing custom :version tags.
3867         * calendar/timeclock.el (timeclock-modeline-display):
3868         Add missing obsolete alias for renamed user option.
3870         * strokes.el (strokes-modeline-string):
3871         * emulation/crisp.el (crisp-mode-modeline-string):
3872         * eshell/esh-mode.el (eshell-status-in-modeline):
3873         Aliases to defcustoms must come before the defcustom.
3875         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3876         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3877         (cal-tex-cursor-week-monday): Doc fixes.
3878         (cal-tex-cursor-week2-summary): Doc fix.
3879         Rename from cal-tex-cursor-week-at-a-glance.
3881         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3882         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
3884         * calendar/calendar.el (calendar-mode-map):
3885         Add cal-tex-cursor-week2-summary.
3887 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3889         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3891         * subr.el (read-passwd-map): New var.
3892         (read-passwd): Use `read-string' again.
3893         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3895 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
3897         * register.el (append-to-register, prepend-to-register):
3898         Deactivate mark, as does `copy-to-register' (bug#12389).
3900 2012-10-06  Chong Yidong  <cyd@gnu.org>
3902         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3904 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
3906         * international/characters.el: Fix simple mistake ((car chars) ->
3907         elt), delete duplicated code.
3909 2012-10-06  Glenn Morris  <rgm@gnu.org>
3911         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
3913 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
3915         * color.el (color-hsl-to-rgb): Fix incorrect results for
3916         small and large hue values.  (Bug#12559)
3918 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
3920         Enhancements to docstring formatting when filling paragraphs.
3921         * progmodes/python.el (python-fill-docstring-style): Rename from
3922         python-fill-string-style.  Added new style.
3923         (python-fill-string): Use new style.  Better checks for
3924         docstrings.
3926 2012-10-05  Glenn Morris  <rgm@gnu.org>
3928         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3930         * color.el (color-name-to-rgb, color-rgb-to-hex)
3931         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3932         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3933         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3934         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3936         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
3938 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
3940         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3941         to get the correct size across symlinks.
3943         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3945 2012-10-04  Juri Linkov  <juri@jurta.org>
3947         * replace.el (query-replace-interactive): Declare obsolete.
3948         (query-replace-read-from): Add the last incremental search string
3949         to the list of default values accessible via M-n.
3950         (map-query-replace-regexp): Use `read-regexp'.
3951         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3952         (map-query-replace-regexp, replace-string, replace-regexp):
3953         Fix docstrings to replace mentions of `query-replace-interactive'
3954         with alternatives.  (Bug#12526)
3956 2012-10-04  Juri Linkov  <juri@jurta.org>
3958         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
3959         (dired-pop-to-buffer): Declare obsolete.
3960         (dired-mark-pop-up): Doc fix.
3962 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
3964         Allow user to set docstring style for fill-paragraph.
3965         * progmodes/python.el
3966         (python-fill-comment-function, python-fill-string-function)
3967         (python-fill-decorator-function, python-fill-paren-function):
3968         Remove :safe for defcustoms.
3969         (python-fill-string-style): New defcustom
3970         (python-fill-paragraph-function): Enhance context detection.
3971         (python-fill-string): Honor python-fill-string-style settings.
3973 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
3975         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3976         after setting its buffer (Bug#10805).
3978 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
3980         Fix cornercase for string syntax.
3981         * progmodes/python.el (python-syntax-propertize-function):
3982         Simplify and enhance the regexp for unescaped quotes.  Now it also
3983         matches quotes in weird situations like the single quote in
3984         "something\"'".
3985         (python-syntax-stringify): Simplify num-quotes detecting code.
3987 2012-10-03  Glenn Morris  <rgm@gnu.org>
3989         * help-macro.el (three-step-help):
3990         Revert 2012-09-29 change.  (Bug#12567)
3992 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
3994         * menu-bar.el (kill-this-buffer): Don't do anything when
3995         `menu-frame' is not alive or visible (Bug#8184).
3997         * emacs-lisp/debug.el (debug): When quitting the debugger window
3998         restore current buffer (Bug#12502).
4000 2012-10-02  Chong Yidong  <cyd@gnu.org>
4002         * progmodes/hideif.el (hif-lookup, hif-defined):
4003         Handle semantic-c-takeover-hideif.
4005 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
4007         Change sampling interval units from ms to ns.
4008         * profiler.el (profiler-sampling-interval): Change units
4009         from ms to ns, multiplying the default by 1000000 so that
4010         it remains 1 ms.
4011         (profiler-report-cpu-line-format): Give enough room for
4012         the maximum counters on 64-bit hosts.
4013         (profiler-report-render-calltree-1): Call them "CPU samples",
4014         not "Time (ms)", since they are not milliseconds now (and
4015         never really were).
4017 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
4019         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4020         Fix querying BBDB for entries without a last name (Bug#11580).
4022 2012-10-02  Chong Yidong  <cyd@gnu.org>
4024         * emacs-lisp/eieio.el: Restore Version header.
4026 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4028         * vc/diff-mode.el (diff--auto-refine-data): New var.
4029         (diff-hunk): Use it to delay refinement.
4030         (diff-mode): Remove overlays when we turn off font-lock.
4032         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4033         (table-initialize-table-fixed-width-mode)
4034         (table-set-table-fixed-width-mode): Remove functions.
4035         (table-command-list): Move initialization into declaration.
4036         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4037         (table-with-cache-buffer): Use `declare'.
4038         (table-span-cell): Simplify via CSE.
4039         (table-fixed-width-mode): Use define-minor-mode.
4040         (table-call-interactively, table-funcall, table-apply): Remove.
4041         (table-function): New function, to replace them.
4043         * bookmark.el (bookmark-search-pattern): Remove var.
4044         (bookmark-read-search-input): Remove function.
4045         (bookmark-bmenu-search): Reimplement using a minibuffer.
4047         * faces.el (modeline): Remove obsolete face name.
4049         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4050         and give a non-nil default value.
4051         (add-change-log-entry): Simplify accordingly.
4053 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4055         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4056         (vc-git-log-edit-toggle-amend): New function.
4057         (vc-git-log-edit-toggle-signoff): New function.
4058         (vc-git-log-edit-mode): New major mode.
4059         (vc-git-log-edit-mode-map): Keymap for it.
4060         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4062         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4063         header names.
4064         (log-edit-toggle-header): New function.
4065         (log-edit-extract-headers): Accept function values in HEADERS alist.
4067 2012-10-01  David Engster  <deng@randomsample.de>
4069         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4070         from symbol property and change message to be more consistent with
4071         Emacs proper.
4072         (eieio-describe-generic): Add filename for each implementation.
4073         Fix indices for generic and normal methods.
4074         (eieio-method-def, eieio-class-def): New buttons.
4075         (eieio-help-find-method-definition)
4076         (eieio-help-find-class-definition): New functions.
4077         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4078         class, constructor and method definitions.
4080         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4081         information in symbol property.
4082         (scoped-class): Remove.
4083         (eieio-slot-name-index, call-next-method): Check if it is bound.
4085 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
4087         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4088         (eieio-custom-mode): New major mode.
4089         (eieio-customize-object): Use it.
4091 2012-10-01  Eric Ludlam  <zappo@gnu.org>
4093         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4094         specifying the expected class, and whether subclassing is allowed.
4095         (eieio-persistent-convert-list-to-object):
4096         (eieio-persistent-validate/fix-slot-value)
4097         (eieio-persistent-slot-type-is-class-p): New functions.
4098         (eieio-named::slot-missing): Doc fix.
4100         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4101         Stop using unused publd variable.
4103         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4104         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4105         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4106         (eieio-speedbar-handle-click): Do not specify a class for the
4107         method.  Fixes method invocation order problems with EDE.
4109 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4112         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4114 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
4116         * bookmark.el (bookmark-version-control): Give tags in the
4117         :type choices (Bug#12309), and improve doc string.
4118         (bookmark-write-file): Bind `print-circle' to `t' to allow
4119         circular custom bookmark types.  (Bug#12503)
4121 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
4123         Revert the FOLLOW-SYMLINKS change for file-attributes.
4124         * files.el (remote-file-name-inhibit-cache, after-find-file):
4125         * time.el (display-time-file-nonempty-p): Undo last change.
4127         * profiler.el (profiler-sampling-interval): Change default back to 1.
4128         See Stefan Monnier in
4129         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4131 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
4133         Shell output catching a la gud-gdb.
4134         * progmodes/python.el (python-shell-fetch-lines-in-progress)
4135         (python-shell-fetch-lines-string, python-shell-fetched-lines):
4136         New Vars.
4137         (python-shell-fetch-lines-filter): New function.
4138         (python-shell-send-string-no-output): Use them.
4140 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
4142         * profiler.el (profiler-sampling-interval): Rename from
4143         profiler-sample-interval.
4144         (profiler-sampling-interval): Default to 10.
4145         (profiler-find-profile): New command (was profiler-find-log).
4146         (profiler-find-profile-other-window): New command.
4147         (profiler-find-profile-other-frame): New command.
4148         (profiler-profile): Introduce API-level data structure.
4150 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
4152         file-attributes has a new optional arg FOLLOW-SYMLINKS.
4153         * files.el (remote-file-name-inhibit-cache):
4154         * time.el (display-time-file-nonempty-p): Use it.
4155         * files.el (after-find-file): Don't chase links before calling
4156         file-exists-p, as file-exists-p already does the right thing.
4158 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
4160         Merge from standalone RefTeX repository.
4162         The following ChangeLog entries are shortened versions of the
4163         original ones with file paths adapted.  A not so strongly edited
4164         version of the original ChangeLog can be found in the commit log.
4166         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4167         (reftex-arg-cite): Use `reftex-cite-key-separator'.
4168         Correctly handle new value type returned by `reftex-citation'.
4170         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4171         that entries with whitespace at various places are found.
4172         Doc fix. Include entries that are cross-referenced from cited entries.
4173         Include @String definitions in the resulting bib file.  Add header
4174         and footer defined in `reftex-create-bibtex-header' and
4175         `reftex-create-bibtex-footer'.
4176         (reftex-do-citation): Make it possible again to insert
4177         non-existent entries.  Save match data when asking for optional
4178         arguments. Return all keys, not just the first one.
4179         (reftex-all-used-citation-keys): Fix regexp to correctly extract
4180         all citations in the same line.
4181         (reftex-parse-bibtex-entry): Accept additional optional argument
4182         `raw' and keep quotes or braces if it is non-nil.  Match fields
4183         containing hyphens besides word constituents.
4184         (reftex-get-string-refs): New function.
4185         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4186         and ask if it should be reread in case it did.
4187         (reftex-pop-to-bibtex-entry)
4188         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4189         entries with spaces or tabs in front of arguments.
4190         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4191         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4192         Match entries containing numbers and symbol constituents.
4193         (reftex-do-citation, reftex-figure-out-cite-format):
4194         Use `reftex-cite-key-separator'.
4196         * textmodes/reftex-dcr.el: Move provide statement to end of file.
4197         (reftex-mouse-view-crossref): Explain why point is set.
4199         * textmodes/reftex-global.el: Whitespace changes.
4201         * textmodes/reftex-index.el: Move provide statement to end of
4202         file.
4203         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4204         (reftex-index-visit-phrases-buffer): Set marker when visiting
4205         buffer.  This allows for returning from the phrases file to the
4206         file one was just editing instead of the file where the last
4207         phrases was added from.
4208         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
4209         punctuation syntax as it usually is not used as string quote in
4210         TeX-related modes and may occur unmatched.  The change also
4211         prevents fontification of quoted content.
4212         (reftex-index-phrases-mode): Use it.
4214         * textmodes/reftex-parse.el (reftex-parse-from-file):
4215         Move backward one char if a `\' was matched after a section macro.
4216         (reftex-parse-from-file): Use beginning of match instead of end as
4217         bound.
4219         * textmodes/reftex-ref.el: Adapt creation of
4220         `reftex-<package>-<macro>' functions to new structure of
4221         `reftex-ref-style-alist'.
4222         (reftex-reference): Use `reftex-ref-style-list' function.
4223         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
4224         reference macro if `reftex-ref-macro-prompt' is non-nil.
4225         (reftex-reference): Pass refstyle to `reftex-format-special'.
4226         Determine reference macro by looking at
4227         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4228         Use only one special format function.
4229         (reftex-varioref-vref, reftex-fancyref-fref)
4230         (reftex-fancyref-Fref): Remove definitions.  The functions are now
4231         generated from `reftex-ref-style-alist'.
4232         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4233         Remove.
4234         (reftex-format-special): New function.
4236         * textmodes/reftex-sel.el
4237         (reftex-select-cycle-ref-style-internal): Adapt to new structure
4238         of `reftex-ref-style-alist'. Remove code for testing macro type.
4239         (reftex-select-toggle-varioref)
4240         (reftex-select-toggle-fancyref): Remove.
4241         (reftex-select-cycle-ref-style-internal)
4242         (reftex-select-cycle-ref-style-forward)
4243         (reftex-select-cycle-ref-style-backward): New functions.
4244         (reftex-select-label-map): Use `v' and `V' for general cycling
4245         through reference styles.  Add `p' for switching between number
4246         and page reference types.
4248         * textmodes/reftex-toc.el (reftex-re-enlarge):
4249         Call `enlarge-window' only if there is something to do because in Emacs
4250         the horizontal version throws an error even if the parameter is 0.
4252         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4253         (reftex-plug-into-AUCTeX): Doc fix.
4254         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4255         string.  Adapt to new name.
4256         (reftex-ref-style-alist): Change structure so that it is not
4257         possible to use multiple different package names within a style.
4258         Remove the symbols for symbols for macro type distinction.
4259         Add characters for macro selection.
4260         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4261         (reftex-create-bibtex-footer): New variables.
4262         (reftex-format-ref-function): Mention third argument of special
4263         format function.
4264         (reftex-ref-style-alist, reftex-ref-style-default-list):
4265         New variables.
4266         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4267         to new implementation.  Mark as obsolete.  Add compatibility code
4268         for honoring the variable values in case they are set.
4269         (reftex-cite-format-builtin, reftex-bibliography-commands):
4270         Add support for ConTeXt.
4271         (reftex-format-ref-function, reftex-format-cite-function):
4272         Fix custom type.
4273         (reftex-cite-key-separator): New variable.
4275         * textmodes/reftex.el (reftex-syntax-table-for-bib)
4276         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4277         `reftex-syntax-table' because parens have to retain their paren
4278         syntax in order for parsing of BibTeX entries like @book(...) to
4279         work.
4280         (reftex-in-comment): Do not error out if `comment-start-skip' is
4281         not set.  Deal correctly with escaped comment characters.
4282         (reftex-tie-multifile-symbols): Add doc string.
4283         Initialize `reftex-ref-style-list'.
4284         (reftex-untie-multifile-symbols): Add doc string.
4285         (reftex-add-index-macros): Doc fix.
4286         (reftex-ref-style-activate, reftex-ref-style-toggle)
4287         (reftex-ref-style-list): New functions.
4288         (reftex-mode-menu): Use them.  Adapt to new structure of
4289         `reftex-ref-style-alist'.
4290         (reftex-select-with-char): Kill the RefTeX Select buffer when
4291         done.
4292         (reftex-remove-if): New function.
4293         (reftex-erase-all-selection-and-index-buffers)
4294         (reftex-mode-menu): Reference styles are now computed from
4295         `reftex-ref-style-alist'.  Fix typo.
4296         (reftex-report-bug): New function.
4297         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4298         algorithms with O(n log n).  Introduce optional argument SORT (not
4299         yet used).
4301 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
4303         Enhancements for triple-quote string syntax.
4304         * progmodes/python.el (python-syntax-propertize-function):
4305         Match both quote cases in one regexp.
4306         (python-syntax-stringify): Handle matches properly.
4308 2012-09-30  Juri Linkov  <juri@jurta.org>
4310         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4311         to nil around the call to `insert' to prevent
4312         directory time modification by lock_file.  (Bug#2295)
4313         * tar-mode.el (tar-summarize-buffer): Idem.
4315 2012-09-30  Juri Linkov  <juri@jurta.org>
4317         * facemenu.el (list-colors-sort): Add option "Luminance".
4318         (list-colors-sort-key): Implement it.
4320         * vc/diff-mode.el (diff-refine-removed):
4321         * vc/ediff-init.el (ediff-fine-diff-A):
4322         * vc/smerge-mode.el (smerge-refined-removed):
4323         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
4325 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
4327         * term/ns-win.el (x-file-dialog): New function.
4329 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
4331         * ido.el (ido-max-directory-size): Default to nil; the current
4332         default is small for POSIX systems, and impractical on Windows 7
4333         now that lstat returns directory sizes for NTFS.
4335 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
4337         In buffer display functions handle window-height/window-width
4338         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
4339         * window.el (window--display-buffer): New argument ALIST.
4340         Obey window-height and window-width alist entries.
4341         (window--try-to-split-window): New argument ALIST.
4342         Bind window-combination-limit to t when the window's size shall be
4343         changed and window-combination-limit equals `window-size'.
4344         (display-buffer-in-atom-window)
4345         (display-buffer-in-major-side-window)
4346         (display-buffer-in-side-window, display-buffer-same-window)
4347         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4348         (display-buffer-pop-up-window, display-buffer-below-selected)
4349         (display-buffer-at-bottom, display-buffer-in-previous-window)
4350         (display-buffer-use-some-window): Adjust all callers of
4351         window--display-buffer and window--try-to-split-window.
4352         (fit-frame-to-buffer): New option.
4353         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4354         is non-nil.
4355         (display-buffer-in-major-side-window): Evaluate window-height /
4356         window-width alist entries.
4358         * help.el (temp-buffer-resize-frames)
4359         (temp-buffer-resize-regexps): Remove options.
4360         (temp-buffer-resize-mode): Adjust doc-string.
4361         (resize-temp-buffer-window): Don't consult
4362         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
4363         temp-buffer-resize-frames.
4365         * dired.el (dired-mark-pop-up):
4366         Call display-buffer-below-selected with a fit-window-to-buffer alist
4367         entry.
4369 2012-09-30  Chong Yidong  <cyd@gnu.org>
4371         * server.el (server-host): Document the security implications.
4372         (server-auth-key): Doc fix.
4374         * startup.el (initial-buffer-choice): Doc fix.
4376         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4378         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4379         restriction change.
4381         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4383         * help-fns.el (help-fns--obsolete): Fix last change.
4385 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4388         (minor-mode-map-alist): Remove redundant code.
4390         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4391         visited in a buffer.
4392         (cvs-insert-visited-file): New function.
4393         (find-file-hook): Use it.
4395         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4397         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4398         chose face.
4399         (log-edit-empty-buffer-p): Don't require a space after a header.
4401         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4403         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4405         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4406         a proper minor-mode.
4408         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4410 2012-09-29  Glenn Morris  <rgm@gnu.org>
4412         * winner.el (winner-mode): Remove variable (let define-minor-mode
4413         handle it).
4414         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4415         Doc fixes.
4416         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4417         (winner-mode): Use define-minor-mode.
4419         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4420         the full definition in loaddefs, rather than duplicating it.
4422         * help-macro.el (three-step-help): No need to autoload defcustom.
4424         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4425         (inferior-lisp-program, inferior-lisp-load-command)
4426         (inferior-lisp-prompt, inferior-lisp-mode-hook):
4427         No need to autoload defcustoms.
4429         * hippie-exp.el (hippie-expand-try-functions-list)
4430         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4431         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4432         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4433         (hippie-expand-only-buffers): No need to autoload defcustoms.
4434         * progmodes/vhdl-mode.el (vhdl-line-expand):
4435         Explicitly load hippie-exp, so it does not get autoloaded
4436         while hippie-expand-try-functions-list is let-bound.
4438 2012-09-28  Glenn Morris  <rgm@gnu.org>
4440         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4442         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4443         Only "cl.el" counts as cl these days.
4445 2012-09-28  Juri Linkov  <juri@jurta.org>
4447         Display archive errors in the echo area instead of inserting
4448         to the file buffer.
4450         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4451         to STDERR-TEST that can be a regexp matching a successful output.
4452         Create a temporary file and redirect stderr to it.  Search for
4453         STDERR-TEST in the stderr output and display it in the echo area
4454         if no match is found.
4455         (archive-extract-by-file): New function like
4456         `archive-extract-by-stdout' but extracting archives to files
4457         and looking for successful matches in stdout.  Function body is
4458         mostly copied from `archive-rar-extract'.
4459         (archive-rar-extract): Use `archive-extract-by-file'.
4460         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
4462 2012-09-28  Leo Liu  <sdl.web@gmail.com>
4464         * pcomplete.el (pcomplete-show-completions):
4465         Use minibuffer-message to make pcomplete usable in minibuffer.
4467         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4469 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4471         * type-break.el: Use lexical-binding.
4472         (type-break-mode): Use define-minor-mode.
4474         * emacs-lisp/pcase.el (pcase--mark-used): New.
4475         (pcase--u1): Use it (bug#12512).
4477         * custom.el (load-theme): Set buffer-file-name so the load is recorded
4478         in load-history with the right file name.
4480 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
4482         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4483         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4484         (doc-view-get-bounding-box): Make bounding box slicing work for
4485         ODF and DVI documents.
4487 2012-09-28  Glenn Morris  <rgm@gnu.org>
4489         * type-break.el (type-break-mode, type-break-interval)
4490         (type-break-good-rest-interval, type-break-keystroke-threshold):
4491         No need to autoload.
4492         (type-break-good-rest-interval, type-break-keystroke-threshold):
4493         Add :set-after.
4495 2012-09-28  Chong Yidong  <cyd@gnu.org>
4497         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4498         Add :version tag.
4500 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4502         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4504 2012-09-27  Glenn Morris  <rgm@gnu.org>
4506         * faces.el (x-display-name): Declare (for without-x builds).
4508         * linum.el (linum-format): Don't autoload it.  Improve :type.
4510         * progmodes/tcl.el: Don't require outline when compiling.
4511         (outline-regexp, outline-level): Declare.
4512         * textmodes/sgml-mode.el: Don't require outline when compiling.
4513         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4515         * term.el (term-ansi-reset):
4516         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
4518         * vc/vc.el (vc-next-action): Only gripe about committing read-only
4519         files for RCS and SCCS.  (Bug#9781)
4521 2012-09-27  Chong Yidong  <cyd@gnu.org>
4523         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4524         change; value should be t.
4526 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4528         * image-mode.el: Use lexical-binding.
4529         (image-mode-winprops): Use t to stand for the window of
4530         a buffer that's not displayed.
4531         * doc-view.el (doc-view-new-window-function): Handle the new
4532         t in winprops.
4533         (doc-view-enlarge): Make it a real nop if the size is not changed.
4534         (doc-view-display): Handle the case where the buffer is not (yet?)
4535         displayed in any window.
4536         (doc-view-saved-settings): New var.
4537         (doc-view-mode): Use it.
4538         (doc-view-fallback-mode): Set it.
4540         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4541         Set lexical-binding.
4542         (minibuffer-eldef-shorten-default): New var.
4543         (minibuffer-default-in-prompt-regexps): Use it for new default.
4544         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4546 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
4548         * international/uni-bidi.el:
4549         * international/uni-category.el:
4550         * international/uni-name.el:
4551         * international/uni-numeric.el: Regenerate.
4553 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
4554             Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * profiler.el: New file.
4558 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4560         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4561         (testcover-reinstrument): Simplify with CSE.
4563 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
4565         * window.el (temp-buffer-window-setup): Fix typo in docstring.
4567 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
4569         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4570         (verilog-auto-input, verilog-auto-insert-lisp)
4571         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4572         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4573         (verilog-auto-unused, verilog-auto-wire)
4574         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4575         newline.  Reported by Andrew Jones.
4576         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4577         Reported by Brad Dobbie.
4578         (verilog-batch-delete-trailing-whitespace):
4579         Create verilog-batch-delete-trailing-whitespace.
4580         Reported by Brad Dobbie.
4581         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4582         parameters from another module.  Reported by Dan Katz.
4583         (verilog-auto, verilog-auto-assign-modport)
4584         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4585         AUTOINOUTMODPORT for UVM interface module shell generation.
4586         Reported by Brad Dobbie.
4587         (verilog-auto-inst-interfaced-ports): Make default nil, as more
4588         standard behavior.
4589         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4590         Reported by Matt Martin.
4592 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
4594         * window.el (window--resize-child-windows): When resizing child
4595         windows proportionally, process them in reverse order to
4596         preserve the "when splitting a window the new one gets the odd
4597         line" behavior.
4598         (window--resize-root-window-vertically): When resizing the
4599         minibuffer window try to affect only windows at the bottom of the
4600         frame.  (Bug#12419)
4602 2012-09-25  Chong Yidong  <cyd@gnu.org>
4604         * subr.el (declare): Doc fix.
4606         * help-fns.el (help-fns--obsolete): Handle macros properly.
4608 2012-09-25  Chong Yidong  <cyd@gnu.org>
4610         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4611         this function obsolete.
4613         * calendar/cal-x.el (calendar-two-frame-setup)
4614         (calendar-only-one-frame-setup, calendar-one-frame-setup):
4615         * calendar/calendar.el (american-calendar, european-calendar)
4616         (calendar-for-loop):
4617         * comint.el (comint-dynamic-simple-complete)
4618         (comint-dynamic-complete-as-filename, comint-unquote-filename):
4619         * desktop.el (desktop-load-default):
4620         * dired-x.el (dired-omit-here-always)
4621         (dired-hack-local-variables, dired-default-directory):
4622         * emacs-lisp/derived.el (derived-mode-class):
4623         * emacs-lisp/timer.el (timer-set-time-with-usecs):
4624         * emacs-lock.el (toggle-emacs-lock):
4625         * epa.el (epa-display-verify-result):
4626         * epg.el (epg-sign-keys, epg-start-sign-keys)
4627         (epg-passphrase-callback-function):
4628         * eshell/esh-util.el (eshell-for):
4629         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4630         (eshell-add-to-window-buffer-names):
4631         * files.el (locate-file-completion):
4632         * imenu.el (imenu-example--create-c-index)
4633         (imenu-example--create-lisp-index)
4634         (imenu-example--lisp-extract-index-name)
4635         (imenu-example--name-and-position):
4636         * international/mule-cmds.el (princ-list):
4637         * international/mule-diag.el (decode-codepage-char):
4638         * international/mule-util.el (detect-coding-with-priority):
4639         * iswitchb.el (iswitchb-read-buffer):
4640         * mail/mailalias.el (mail-complete):
4641         * mail/sendmail.el (mail-sent-via):
4642         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4643         (mouse-major-mode-menu):
4644         * password-cache.el (password-read-and-add):
4645         * pcomplete.el (pcomplete-parse-comint-arguments):
4646         * progmodes/sh-script.el (sh-maybe-here-document):
4647         * replace.el (query-replace-regexp-eval):
4648         * savehist.el (savehist-load):
4649         * simple.el (choose-completion-delete-max-match):
4650         * term.el (term-dynamic-simple-complete):
4651         * vc/ediff-init.el (ediff-check-version):
4652         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4653         * vc/vc.el (vc-diff-switches-list):
4654         * view.el (view-return-to-alist-update): Likewise.
4656         * subr.el (eval-next-after-load, makehash, insert-string)
4657         (assoc-ignore-representation, assoc-ignore-case): Use declare to
4658         mark obsolete.
4659         (mode-line-inverse-video): Variable deleted.
4661         * international/mule-util.el (string-to-sequence): Remove.
4663         * calendar/calendar.el (calendar-version):
4664         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4665         (icalendar-convert-diary-to-ical):
4666         * cus-edit.el (custom-mode):
4667         * ansi-color.el (ansi-color-unfontify-region):
4668         * international/latin1-disp.el (latin1-char-displayable-p):
4669         * progmodes/cwarn.el (turn-on-cwarn-mode):
4670         * progmodes/which-func.el (which-func-update-1):
4671         Use define-obsolete-function-alias.
4673         * net/newst-backend.el (newsticker-cache-filename):
4674         * net/newst-treeview.el (newsticker-groups-filename):
4675         Fix incorrect obsolescence declaration.
4677         * allout.el (allout-passphrase-hint-string): Likewise.
4678         (allout-init): Use a declare form to mark obsolete.
4680         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4681         this applies to functions.
4683         * iswitchb.el (iswitchb-read-buffer): Move code of
4684         iswitchb-define-mode-map here, and delete that obsolete function.
4686         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4687         font-lock-reference-face.
4689 2012-09-25  Glenn Morris  <rgm@gnu.org>
4691         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4692         Doc fixes.
4694         * eshell/em-term.el (eshell-term-name):
4695         Default to term-term-name.  (Bug#12485)
4697 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
4699         * progmodes/python.el (python-shell-send-buffer): Better handling
4700         of "if __name__ == '__main__':" conditionals when sending the buffer.
4702 2012-09-24  Glenn Morris  <rgm@gnu.org>
4704         * eshell/esh-cmd.el (eshell-find-alias-function):
4705         Tighten up file-name regexp.  (Bug#12499)
4707 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
4709         Enhancements for triple-quote string syntax.
4710         * progmodes/python.el (python-quote-syntax): Remove.
4711         (python-syntax-propertize-function): New value.
4712         (python-syntax-count-quotes, python-syntax-stringify):
4713         New functions.
4715 2012-09-24  Chong Yidong  <cyd@gnu.org>
4717         * mail/supercite.el (sc-version): Remove obsolete function.
4718         (sc-describe): Don't mark as obsolete, since it is bound.
4719         (sc-submit-bug-report): Remove.
4721         * vc/log-edit.el (cvs-changelog-full-paragraphs)
4722         (cvs-commit-buffer-require-final-newline): Remove.
4723         (log-edit-require-final-newline)
4724         (log-edit-changelog-full-paragraphs): Default to t.
4726         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4727         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4728         * vc/vc.el (vc-checkout-carefully): Likewise.
4730         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4731         (emerge-version): Remove.
4733         * progmodes/compile.el (compile-internal): Remove.
4734         (compilation-parse-errors-function): Fix typo.
4736         * international/mule.el (set-char-table-default): Remove.
4737         (set-coding-priority, make-coding-system, generic-char-p)
4738         (charset-list, charset-bytes, charset-id): Use declare to mark
4739         functions as obsolete.
4741         * vc/pcvs-defs.el (cvs-buffer-name-alist)
4742         (cvs-invert-ignore-marks): Remove references to obsolete vars.
4743         * vc/vc-hooks.el (vc-default-registered): Don't use
4744         vc-master-templates.
4746         * font-lock.el (font-lock-reference-face):
4747         Use define-obsolete-variable-alias.
4749         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4750         * calendar/calendar.el (calendar-font-lock-keywords):
4751         * calendar/diary-lib.el (diary-font-lock-keywords)
4752         (diary-fancy-font-lock-keywords):
4753         * textmodes/reftex-sel.el (reftex-insert-docstruct):
4754         * textmodes/reftex-index.el (reftex-insert-index):
4755         * textmodes/reftex-cite.el (reftex-format-bib-entry):
4756         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4757         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4758         * progmodes/prolog.el (prolog-font-lock-keywords):
4759         * progmodes/idlwave.el (idlwave-idl-keywords):
4760         * progmodes/ada-mode.el (ada-font-lock-keywords):
4761         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4763 2012-09-24  Glenn Morris  <rgm@gnu.org>
4765         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4767 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
4769         * progmodes/python.el (python-indent-line): More consistent cursor
4770         movement behavior.
4772 2012-09-23  Stefan Merten  <smerten@oekonux.de>
4774         * textmodes/rst.el: Fix compiler warning.
4776 2012-09-23  Roland Winkler  <winkler@gnu.org>
4778         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4779         Transcribe also LaTeX hyphenation.
4780         (bibtex-reformat): Bug fix. Do not quote twice the elements of
4781         bibtex-reformat-previous-options.
4783 2012-09-23  Roland Winkler  <winkler@gnu.org>
4785         * proced.el (proced-renice-command): New variable.
4786         (proced-marked-processes): New function.
4787         (proced-with-processes-buffer): New macro.
4788         (proced-send-signal): Use them.
4789         (proced-renice): New command bound to r.
4791 2012-09-23  Roland Winkler  <winkler@gnu.org>
4793         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4794         ibuffer-saved-filter-groups has one element, shortcut the call of
4795         completing-read.  (Bug#12331)
4797 2012-09-23  Chong Yidong  <cyd@gnu.org>
4799         * bindings.el (mode-line-toggle-read-only):
4800         * bs.el (bs-toggle-readonly):
4801         * buff-menu.el (Buffer-menu-toggle-read-only):
4802         * dired.el (dired-toggle-read-only):
4803         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4805 2012-09-23  Chong Yidong  <cyd@gnu.org>
4807         * image.el (image-type-available-p): Adapt to init-image-library
4808         argument changes.
4810 2012-09-22  Juri Linkov  <juri@jurta.org>
4812         * dired.el (dired-mode-map): Add [remap read-only-mode] for
4813         `dired-toggle-read-only'.  (Bug#12462)
4815 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
4817         * subr.el (temp-output-buffer-show): New function.
4818         (with-output-to-temp-buffer): Call temp-output-buffer-show
4819         instead of internal-temp-output-buffer-show.
4821 2012-09-22  Chong Yidong  <cyd@gnu.org>
4823         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4824         (Bug#12462).
4826         * repeat.el (repeat): Doc fix (Bug#12348).
4828         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4829         (Bug#10909).
4831         * simple.el (shell-command-on-region): Doc fix.
4832         (read-only-mode): Doc fix.
4834 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
4836         * emacs-lisp/timer.el (run-with-idle-timer)
4837         (timer-activate-when-idle): Warn against reinvoking an idle timer
4838         from within its own timer action.  (Bug#12447)
4840 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
4842         * cus-start.el (window-combination-limit): Add new optional
4843         values.
4844         * window.el (temp-buffer-window-show)
4845         (window--try-to-split-window): Handle new values of
4846         window-combination-limit (Bug#1806).
4847         (split-window): Test window-combination-limit for t instead of
4848         non-nil.
4849         (display-buffer-at-bottom): New buffer display action function.
4850         * help.el (temp-buffer-resize-regexps): New option.
4851         (temp-buffer-resize-mode): Rewrite doc-string.
4852         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4853         Don't resize reused window.  Suggested by Glenn Morris.
4855 2012-09-22  Stefan Merten  <smerten@oekonux.de>
4857         * textmodes/rst.el: Revamp section title faces.
4858         (rst-official-version)
4859         (rst-package-emacs-version-alist): Sync with official version
4860         V1.4.0.
4861         (rst-faces-defaults, rst-set-level-default)
4862         (rst-level-face-max, rst-level-face-base-color)
4863         (rst-level-face-base-light, rst-level-face-format-light)
4864         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4865         (rst-adornment-faces-alist): Match new setup.
4866         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4867         (rst-level-5, rst-level-6): New faces.
4869 2012-09-22  Chong Yidong  <cyd@gnu.org>
4871         * simple.el (undo): Handle indirect buffers (Bug#8207).
4873 2012-09-21  Leo Liu  <sdl.web@gmail.com>
4875         IDO: Disable match re-ordering for buffer switching.
4876         * ido.el (ido-buffer-disable-smart-matches): New variable.
4877         (ido-set-matches-1): Use it.  (Bug#2042)
4879 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
4881         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4882         Fix 2011-05-17 change.  (Bug#12418)
4884 2012-09-21  Leo Liu  <sdl.web@gmail.com>
4886         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4888 2012-09-21  Glenn Morris  <rgm@gnu.org>
4890         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4891         Be more robust about locating simple.el.
4893 2012-09-21  Glenn Morris  <rgm@gnu.org>
4895         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4897 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
4899         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
4901 2012-09-20  Juri Linkov  <juri@jurta.org>
4903         * replace.el (query-replace-read-from): Use `read-regexp' instead
4904         of `read-from-minibuffer' when `regexp-flag' is non-nil.
4905         (occur-read-primary-args): Use `read-regexp' instead of
4906         `read-string'.
4907         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4908         `read-from-minibuffer'.
4909         * isearch.el (isearch-occur): Use `read-regexp' instead of
4910         `read-string'.
4911         * dired.el (dired-read-regexp): Use `read-regexp' instead of
4912         `read-from-minibuffer'.
4913         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4914         of `read-string'.  (Bug#7567)
4916         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4917         and allow accepting a list of strings prepended to a list of
4918         standard default values.  Doc fix.  (Bug#12321)
4920         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
4922         * replace.el (read-regexp): Don't add ": " when PROMPT already
4923         ends with a colon and space.  (Bug#12321)
4925 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
4927         * doc-view.el (doc-view-display): Better fix for the cl-assertion
4928         error.
4930 2012-09-20  Stefan Merten  <smerten@oekonux.de>
4932         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4933         Fixes feature request bug#11711.
4934         (rst-mode): Create `imenu-create-index-function'.
4935         (rst-get-stripped-line): Delete after refactoring.
4936         (rst-section-tree, rst-section-tree-rec)
4937         (rst-section-tree-point): Refactor and document properly.
4938         (rst-imenu-find-adornments-for-position)
4939         (rst-imenu-convert-cell, rst-imenu-create-index):
4940         New function.
4942 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4944         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4945         (macroexp--expand-all): Use it.
4946         (macroexp--funcall-and-return): Remove by folding it into its sole
4947         caller (macroexp--warn-and-return).
4948         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4949         Use macroexp--obsolete-warning.
4951         * calc/calc.el: Fix last change by removing the whole chunk, since it
4952         was only needed back when Calc was not bundled.
4954 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
4956         * emacs-lisp/debug.el (debug): Restore assignment to
4957         debugger-old-buffer removed on 2012-09-08.
4959 2012-09-20  Juri Linkov  <juri@jurta.org>
4961         * dired-aux.el (dired-diff): Remove (require 'diff) since
4962         `diff-latest-backup-file' is now autoloaded.
4964 2012-09-20  Chong Yidong  <cyd@gnu.org>
4966         * vc/diff.el (diff-latest-backup-file): Autoload.
4968 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4970         * calc/calc.el: Remove redundant autoload shape check.
4971         (sel-mode): Don't defvar.
4972         (calc-get-stack-element): Add `sel-mode' arg instead.
4973         (calc-top, calc-top-list): Pass it this additional argument.
4974         * calc/calc-store.el (calc-store-map):
4975         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4976         (calc-map-equation, calc-outer-product, calc-inner-product):
4977         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4979         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4981 2012-09-19  Juri Linkov  <juri@jurta.org>
4983         * dired-aux.el (dired-diff): Add (require 'diff) because
4984         `diff-latest-backup-file' is not autoloaded.
4985         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4986         of `dired-get-filename' to t to not report error when there is
4987         no default file on the current line.
4989 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4991         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4992         macroexp--eval-if-compile.
4993         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4994         (macroexp--expand-all): Use them (bug#12371).
4996         * doc-view.el (doc-view-guess-paper-size)
4997         (doc-view-scale-bounding-box): Fix unbound `caddr'.
4999 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
5001         New feature: set optimal slice from BoundingBox information.
5002         * doc-view.el (doc-view-mode-map): Add keybinding.
5003         (doc-view-menu): Add menu entry.
5004         (doc-view-set-slice): Adapt docstring.
5005         (doc-view-get-bounding-box, doc-view-guess-paper-size)
5006         (doc-view-scale-bounding-box)
5007         (doc-view-set-slice-from-bounding-box): New functions.
5008         (doc-view-paper-sizes): New defvar.
5010 2012-09-19  Glenn Morris  <rgm@gnu.org>
5012         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5013         (byte-compile-log-warning): Autoload.  (Bug#12371)
5015         * calendar/calendar.el (calendar-american-month-header)
5016         (calendar-european-month-header, calendar-iso-month-header)
5017         (calendar-month-header): New options.
5018         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
5019         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
5021 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
5023         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5025 2012-09-18  Juri Linkov  <juri@jurta.org>
5027         * dired-aux.el (dired-diff): Restore original functionality of
5028         getting the default value, but keep new feature of using the
5029         latest existing backup file (`diff-latest-backup-file').
5031 2012-09-18  Juri Linkov  <juri@jurta.org>
5033         * dired.el (dired-mark): If the region is active in Transient Mark
5034         mode, mark all files in the active region.  Doc fix.
5035         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5036         Doc fix.  (Bug#10624)
5038 2012-09-18  Juri Linkov  <juri@jurta.org>
5040         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5041         attributes for M-n are pulled from the file at point.
5042         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5043         Suggested by Drew Adams.  (Bug#10624)
5045 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
5047         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5048         whitespace after "end".
5049         (ruby-do-end-to-brace): Collapse block to one line if it fits
5050         within fill-column.
5052 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
5054         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5055         value.
5056         (debug): Don't remove debugger window when debugger is expected
5057         to be back.
5059 2012-09-18  Chong Yidong  <cyd@gnu.org>
5061         * custom.el (defface): Doc fix.
5063         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5065 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
5067         * progmodes/compile.el (compilation-start): Use compilation-always-kill
5068         to initialize query-on-exit; then test that instead (bug#12288).
5070 2012-09-17  Stefan Merten  <smerten@oekonux.de>
5072         * textmodes/rst.el: Add support for `testcover'.
5073         (rst-defcustom-testcover, rst-testcover-add-compose)
5074         (rst-testcover-add-1value): New functions.
5075         (rst-portable-mark-active-p): Replace by `use-region-p'.
5076         (rst-update-section, rst-classify-adornment)
5077         (rst-find-title-line): Mark `1value' forms.
5078         (rst-classify-adornment): Remove superfluous form.
5079         (rst-update-section, rst-get-adornments-around)
5080         (rst-adornment-complete-p, rst-get-next-adornment)
5081         (rst-adjust, rst-promote-region)
5082         (rst-display-adornments-hierarchy, rst-straighten-adornments)
5083         (rst-find-pfx-in-region, rst-section-tree-rec)
5084         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5085         (rst-toc-node, rst-toc, rst-forward-section)
5086         (rst-iterate-leftmost-paragraphs)
5087         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5088         (rst-bullet-list-region)
5089         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5090         (rst-compile-find-conf, rst-compile)
5091         (rst-repeat-last-character): Fix style.
5093 2012-09-17  Chong Yidong  <cyd@gnu.org>
5095         * comint.el (comint--complete-file-name-data): Don't add a space
5096         if the status is `sole'; that adds a gratuitous space in the
5097         completion-cycling case (Bug#12092).
5099         * pcomplete.el (pcomplete-completions-at-point): Likewise.
5101 2012-09-17  Richard Stallman  <rms@gnu.org>
5103         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5104         only in the mime-shown mode, not in raw mode.
5105         (rmail-mime): Toggle off mime by displaying the message without
5106         mime processing.  (Bug#12305)
5108         * mail/rmail.el (rmail-retry-failure):
5109         Turn off mime processing first.  (Bug#12037)
5111         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5113 2012-09-17  Chong Yidong  <cyd@gnu.org>
5115         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5116         (shell-dynamic-complete-functions): Convert to defcustom.
5117         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5119         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5120         * comint.el (comint-prompt-read-only):
5121         * custom.el (defcustom):
5122         * hi-lock.el (hi-lock-mode):
5123         * ibuffer.el (ibuffer-formats):
5124         * ielm.el (ielm-prompt-read-only):
5125         * novice.el (disable-command):
5126         * saveplace.el (toggle-save-place):
5127         * speedbar.el (speedbar-supported-extension-expressions):
5128         * startup.el (auto-save-list-file-prefix, init-file-user)
5129         (after-init-hook, inhibit-startup-echo-area-message):
5130         * strokes.el (strokes-help):
5131         * time-stamp.el (time-stamp):
5132         * calendar/calendar.el (calendar, diary-file):
5133         * calendar/diary-lib.el (diary-mail-entries, diary)
5134         (diary-list-entries-hook):
5135         * calendar/holidays.el (holidays, calendar-holidays):
5136         * calendar/lunar.el (lunar-phases):
5137         * calendar/solar.el (sunrise-sunset):
5138         * emulation/edt.el (edt-load-keys):
5139         * emulation/viper.el (viper-mode):
5140         * eshell/em-alias.el (eshell-command-aliases-list):
5141         * eshell/esh-util.el (eshell-convert-numeric-arguments):
5142         * international/ogonek.el (ogonek-information):
5143         * net/tramp-cmds.el (tramp-bug):
5144         * net/quickurl.el (quickurl-reread-hook-postfix):
5145         * play/decipher.el (decipher-font-lock-keywords):
5146         * progmodes/cc-styles.el (c-set-style):
5147         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5148         * progmodes/inf-lisp.el (inferior-lisp-prompt):
5149         * progmodes/octave-mod.el (octave-mode):
5150         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5151         * progmodes/verilog-mode.el (verilog-read-defines):
5152         * textmodes/two-column.el (2C-mode): Likewise.
5154 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
5156         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5157         that holds many addresses.
5159 2012-09-16  Chong Yidong  <cyd@gnu.org>
5161         * align.el (align-areas): Call the indication function with
5162         positions instead of markers for arguments (Bug#12343).
5164         * files.el (parse-colon-path): Use split-string (Bug#12351).
5166         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5167         (display-buffer-function): Mark as obsolete.
5169         * progmodes/compile.el (compilation-parse-errors): Accept list
5170         values similar to font-lock-keywords (Bug#12136).
5171         Suggested by Oleksandr Manzyuk.
5172         (compilation-error-regexp-alist): Doc fix.
5174 2012-09-15  Glenn Morris  <rgm@gnu.org>
5176         * version.el (emacs-bzr-version-bzr): New function.
5177         (emacs-bzr-get-version): Add optional EXTERNAL argument.
5179         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5180         checkouts, check the parent dirstate matches the branch.
5181         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
5182         empty string.
5184         * version.el (emacs-bzr-version): Doc fix.
5185         (emacs-bzr-version-dirstate): New function.
5186         (emacs-bzr-get-version): For lightweight checkouts, if the parent
5187         is local try and check that it matches the branch.  If not, just
5188         use dirstate information.  (Bug#12441)
5190 2012-09-14  Juri Linkov  <juri@jurta.org>
5192         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5193         (Bug#12399)
5195 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5197         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5199         * emacs-lisp/edebug.el: Miscellaneous cleanup.
5200         Remove obsolete byte-compiler hack that tried to silence some warnings.
5201         (edebug-submit-bug-report): Remove.
5202         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5203         Remove aliases, use the un-prefixed name instead.
5204         (edebug-pop-to-buffer): Consider other frames.
5205         (edebug-original-read):: Make it more obvious that it's always defined.
5206         (edebug--make-form-data-entry, edebug--form-data-name)
5207         (edebug--form-data-begin, edebug--form-data-end): Rename from the
5208         single-dashed name, and implement with cl-defstruct.
5209         (edebug-set-form-data-entry): Use the standard accessors.
5210         (edebug-make-top-form-data-entry): Use push.
5211         (edebug-no-match): Drop useless `funcall'.
5212         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5213         to functions.
5214         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5215         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5216         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5217         (easy-menu-define, with-custom-print): Remove redundant specs.
5218         (edebug-outside-overriding-local-map)
5219         (edebug-outside-overriding-terminal-local-map): Remove, unused.
5220         (edebug--display): Bind unread-command-events directly to nil rather
5221         than binding it to unread-command-events and later setting it to nil.
5222         (edebug--display): Kill edebug-eval-buffer here...
5223         (edebug--recursive-edit): ...rather than here.
5224         Bind standard-output and standard-input.
5225         (edebug-eval): Check cl-macroexpand-all is fboundp.
5226         (edebug-temp-display-freq-count): Fix last change.
5228         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5229         * subr.el (noreturn, 1value): Add `debug' spec.
5230         * emacs-lisp/advice.el: Require cl-lib.
5231         (ad-copy-tree): Remove, use copy-tree instead.
5232         (ad-dolist): Remove use dolist or cl-dolist instead.
5233         (ad-do-return): Remove, use cl-return instead.
5234         (defadvice): Add `debug' spec.
5236 2012-09-13  Juri Linkov  <juri@jurta.org>
5238         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5239         (Bug#12399)
5241 2012-09-13  Glenn Morris  <rgm@gnu.org>
5243         * calc/calc.el (math-compose-expr):
5244         * calc/calc-ext.el (math-compose-expr):
5245         * progmodes/cc-defs.el (cl-macroexpand-all):
5246         * progmodes/cc-langs.el (delete-duplicates, mapcan)
5247         (cl-macroexpand-all): Update declarations.
5249         * vc/vc.el: No need to require ediff.
5250         (ediff-load-version-control): Declare.
5251         (ediff-vc-internal): Fix declaration.
5252         (vc-version-ediff): Require ediff.
5254 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5256         Use a more backwards-compatible timer format (Bug#12430).
5257         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5258         being right after USECS, as that better supports old code that
5259         inadvisedly looked directly at the timer vector.
5261 2012-09-13  Kenichi Handa  <handa@gnu.org>
5263         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5264         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5265         `coding-priority' property of these language environment.
5267 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5269         Fix glitches caused by addition of psec to timers (Bug#12430).
5270         * image.el (image-animate-timer):
5271         * time.el (display-time-world-timer):
5272         Use timer--function and timer--args rather than raw access to
5273         timer vector.
5275 2012-09-13  Glenn Morris  <rgm@gnu.org>
5277         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5278         If not compiling a file, try using load-file-name.
5280 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5283         Fix last change.
5284         (edebug-update-eval-list): Use `push'.
5286         * emacs-lisp/edebug.el: Use lexical-binding.
5287         Remove the "edebug-" prefix from non-dynamically-scoped variables.
5288         Mark unused args with underscore.
5289         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5290         (edebug-form-data): Use defvar-local.
5291         (edebug-make-before-and-after-form, edebug-make-after-form):
5292         Use backquote.
5293         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5294         Not dynamically scoped any more.
5295         (edebug--enter-trace): Add arguments `function' and `args'.
5296         Rename from edebug-enter-trace.
5297         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
5298         (edebug--update-coverage): Add `after-index' and `value' args.
5299         Rename from edebug-update-coverage.
5300         (edebug-slow-after): Call it accordingly.
5301         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
5302         edebug-recursive-edit.
5303         (edebug--display): Call it accordingly.  Add args `value',
5304         `offset-index', and `arg-mode'.  Rename from edebug-display.
5305         (edebug-debugger, edebug): Call it accordingly.
5306         (edebug-eval-display-list): Use dolist.
5308 2012-09-12  Juri Linkov  <juri@jurta.org>
5310         * info.el (Info-search): Don't check for isearch-mode and
5311         isearch-regexp before let-binding search-spaces-regexp to
5312         Info-search-whitespace-regexp.
5313         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5314         search-whitespace-regexp if isearch-lax-whitespace or
5315         isearch-regexp-lax-whitespace is non-nil.
5316         (Info-mode): Don't set local variable search-whitespace-regexp.
5317         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5319 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5321         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5322         (debugger-env-macro): Remove support for unread-command-char.
5324         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5325         the temporary map re-appearing on emulation-mode-map-alists.
5327         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5328         since 22.1.
5330         * ehelp.el (with-electric-help): Accept functions in
5331         electric-help-form-to-execute.
5332         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5333         And replace unread-command-char -> unread-command-events.
5335 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
5337         Sync with Tramp 2.2.6.
5339         * net/tramp.el (tramp-accept-process-output): Don't use
5340         JUST-THIS-ONE in the XEmacs case.
5342         * net/trampver.el: Update release number.
5344 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
5346         * emacs-lisp/debug.el (debugger-previous-window-height):
5347         New variable.
5348         (debug): When debugger-jumping-flag is non-nil try to restore
5349         height of debugger window.  (Bug#8789)
5351 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5353         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5354         overriding-local-map and pre/post-command-hook here.
5355         (edebug-recursive-edit): Do it here instead (bug#12345).
5356         (edebug-outside-unread-command-char): Remove all uses of
5357         unread-command-char.
5359         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5360         inhibit-debugger is bound instead.
5362 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5364         * subr.el (set-temporary-overlay-map): Add a docstring.
5365         (Bug#12346)
5367 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5369         * minibuffer.el (completion-table-subvert): Fix docstring.
5370         (Bug#12347)
5372 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5374         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
5376 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
5378         * progmodes/sql.el: Version 3.1
5379         (sql-db2-escape-newlines): New variable.
5380         (sql-escape-newlines-filter): Use it.
5382 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
5384         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5386 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
5388         * vc/diff-mode.el (diff-mode-menu):
5389         Bind diff-remove-trailing-whitespace.
5391 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5393         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5394         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5395         (emacs-lisp-byte-code-mode): New functions.
5396         (eval-sexp-add-defvars): Don't skip defvars in column >0.
5397         (eval-defun-2): Remove bogus interactive spec.
5398         (lisp-indent-line): Remove redundant whole-exp code, now done in
5399         indent-according-to-mode.
5400         (save-match-data): Remove redundant indent data.
5402         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5403         Use `declare'.
5405 2012-09-09  Juri Linkov  <juri@jurta.org>
5407         * replace.el (replace-regexp-lax-whitespace): New defcustom.
5408         (replace-lax-whitespace, query-replace-regexp)
5409         (query-replace-regexp-eval, replace-regexp): Doc fix.
5410         (perform-replace, replace-highlight): Let-bind
5411         isearch-lax-whitespace to replace-lax-whitespace and
5412         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5414         * isearch.el (isearch-query-replace): Let-bind
5415         replace-lax-whitespace to isearch-lax-whitespace and
5416         replace-regexp-lax-whitespace to
5417         isearch-regexp-lax-whitespace.  (Bug#10885)
5419 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5421         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5423 2012-09-09  Alan Mackenzie  <acm@muc.de>
5425         * progmodes/cc-engine.el (c-state-cache-init):
5426         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5427         (c-record-parse-state-state):
5428         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5430 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
5432         * register.el (register-separator): Rename from
5433         separator-register.  All uses changed.  Doc fix.
5434         (register): Fix version.
5436 2012-09-09  Chong Yidong  <cyd@gnu.org>
5438         * replace.el (query-replace-map): Bind four new symbols for
5439         requesting window scrolling.
5441         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5442         query-replace-map (Bug#8948).
5444         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5446         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5447         since they are now in query-replace-map.
5449         * window.el (scroll-other-window-down): Make the arg optional.
5451 2012-09-09  Chong Yidong  <cyd@gnu.org>
5453         * files.el (hack-local-variables-confirm): Use quit-window to kill
5454         the *Local Variables* buffer.
5456 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5458         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5459         not just expect to be at its beginning.  Adjust callees.
5460         Succeed when do-end block has no space before the pipe character.
5461         (ruby-brace-to-do-end): When the original block is one-liner,
5462         convert to multiline.  Reindent the result.
5464 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
5466         * register.el (register): New group.
5467         (separator-register): New user option.
5468         (increment-register): Route it to `append-to-register', if
5469         register contains text.  Implication is that `C-x r +' can now be
5470         used for appending to a text register (bug#12217).
5471         (append-to-register, prepend-to-register): Add separator based on
5472         `separator-register'.
5474 2012-09-08  Alan Mackenzie  <acm@muc.de>
5476         AWK Mode: make auto-newline work when there's "==" in the pattern.
5477         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5478         correctly.
5479         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5480         Test more rigorously for "=" token.
5482 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5484         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5485         Only fail when reached LIMIT.
5487 2012-09-08  Chong Yidong  <cyd@gnu.org>
5489         * dired.el (dired-mode-map): Don't bind M-=.
5491         * dired-aux.el (dired-diff): Use backup file as default.
5493 2012-09-08  Drew Adams  <drew.adams@oracle.com>
5495         * subr.el (add-to-history): Fix delete usage (Bug#12314).
5497 2012-09-08  Chong Yidong  <cyd@gnu.org>
5499         * subr.el (syntax-after, syntax-class): Doc fix.
5501 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
5503         * window.el (display-buffer-in-previous-window): New buffer
5504         display action function.
5506         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5507         (debugger-previous-window): New variable.
5508         (debug): Rewrite using display-buffer-in-previous-window,
5509         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
5511 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5513         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
5515 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
5517         * progmodes/python.el (python-shell-send-string):
5518         When default-directory is remote, create temp file on remote
5519         filesystem.
5520         (python-shell-send-file): When file is remote, pass local view of
5521         file paths to remote Python interpreter.  (Bug#12340)
5523 2012-09-07  Chong Yidong  <cyd@gnu.org>
5525         * window.el (switch-to-buffer): Doc fix (Bug#12181).
5527         * files.el (after-find-file): Don't fail on a read-only buffer if
5528         require-final-newline is `visit' or `visit-save' (Bug#11156).
5530         * subr.el (read-char-choice): Allow quitting via ESC ESC.
5532         * userlock.el (ask-user-about-supersession-threat):
5533         Use read-char-choice (Bug#12093).
5535 2012-09-07  Chong Yidong  <cyd@gnu.org>
5537         * subr.el (buffer-narrowed-p): New function.
5539         * ses.el (ses-widen):
5540         * simple.el (count-words--buffer-message):
5541         * net/browse-url.el (browse-url-of-buffer): Use it.
5543         * simple.el (count-words-region): Don't signal an error if there
5544         is a non-nil prefix arg and the mark is not set.
5546         * help.el (describe-key-briefly): Allow the message to be seen
5547         when invoked from the minibuffer (Bug#7014).
5549 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
5551         * progmodes/ruby-mode.el (ruby-end-of-defun)
5552         (ruby-beginning-of-defun): Simplify, allow indentation before
5553         block beginning and end keywords.
5554         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5555         (ruby-end-of-defun): Expect that the point is at the beginning of
5556         the defun.
5558 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5560         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5561         (bug#12367).
5562         (cl--make-usage-args): Strip _ from argument names.
5564 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5566         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5567         obsolete alias speedbar-key-map.
5568         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5569         (vhdl-index-menu-init): Don't use obsolete variable
5570         font-lock-maximum-size.
5572 2012-09-06  Chong Yidong  <cyd@gnu.org>
5574         * frame.el (window-system-version): Mark as obsolete.
5576         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5577         of obsolete variable speedbar-key-map.
5579 2012-09-06  Juri Linkov  <juri@jurta.org>
5581         * replace.el (replace-lax-whitespace): New defcustom.
5582         (query-replace, query-replace-regexp, query-replace-regexp-eval)
5583         (replace-string, replace-regexp): Mention it in docstrings.
5584         (perform-replace, replace-highlight): Let-bind
5585         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5586         to the values of replace-lax-whitespace and regexp-flag.
5587         Don't let-bind search-whitespace-regexp.  (Bug#10885)
5589         * isearch.el (isearch-query-replace): Let-bind
5590         replace-lax-whitespace instead of let-binding
5591         replace-search-function and replace-re-search-function.
5592         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5593         and isearch-regexp-lax-whitespace to lazy-highlight variables.
5594         (isearch-toggle-symbol): Set isearch-regexp to nil
5595         in isearch-word mode (like in isearch-toggle-word).
5597 2012-09-06  Juri Linkov  <juri@jurta.org>
5599         * replace.el (replace-search-function)
5600         (replace-re-search-function): Set default values to nil.
5601         (perform-replace): Let-bind isearch-related variables based on
5602         replace-related values, call `isearch-search-fun' and let-bind
5603         the result to `search-function'.  Remove code that sets
5604         `search-function' and `search-string' separately for
5605         `delimited-flag'.
5606         (replace-highlight): Add new argument `delimited-flag' and
5607         rename other arguments to the names used in `perform-replace'.
5608         Let-bind `isearch-word' to the argument `delimited-flag'.
5609         (Bug#10885, bug#10887)
5611 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
5613         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5614         ruby-beginning-of-indent, simplify, allow all keywords to have
5615         indentation before them.
5616         (ruby-beginning-of-indent): Adjust for above.  Search until the
5617         found point is not inside a string or comment.
5618         (ruby-font-lock-keywords): Allow symbols to start with "@"
5619         character, give them higher priority than variables.
5620         (ruby-syntax-propertize-function)
5621         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5622         matchers.  Expression expansions are not comments when inside a
5623         string, and there comment syntax status is irrelevant.
5624         (ruby-match-expression-expansion): New function.  Check that
5625         expression expansion is inside a string, and it's not escaped.
5626         (ruby-font-lock-keywords): Use it.
5628 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
5630         * help.el (temp-buffer-max-height): New default value.
5631         (temp-buffer-resize-frames): New option.
5632         (resize-temp-buffer-window): Optionally resize frame.
5634         * window.el (fit-frame-to-buffer-bottom-margin): New option.
5635         (fit-frame-to-buffer): New function.
5637 2012-09-05  Glenn Morris  <rgm@gnu.org>
5639         * emulation/cua-rect.el (cua--init-rectangles):
5640         * textmodes/picture.el (picture-mode-map):
5641         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5642         like forward-char and backward-char.  (Bug#12317)
5644 2012-09-05  Leo Liu  <sdl.web@gmail.com>
5646         * progmodes/flymake.el (flymake-warning-re): New variable.
5647         (flymake-parse-line): Use it.
5649 2012-09-05  Glenn Morris  <rgm@gnu.org>
5651         * calendar/holidays.el (holiday-christian-holidays):
5652         Rename an entry.  (Bug#12289)
5654 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5656         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5657         (bug#12222).
5659 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * loadup.el: Load macroexp.  Remove hack.
5662         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5663         (macroexp--expand-all): Use it to get better warnings.
5664         (macroexp--backtrace, macroexp--trim-backtrace-frame)
5665         (internal-macroexpand-for-load): New functions.
5666         (macroexp--pending-eager-loads): New var.
5667         (emacs-startup-hook): New hack to replace one in loadup.el.
5668         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5669         (cl--compiler-macro-cXXr): Move to top, before they can be used.
5670         (cl-psetf): Simplify.
5671         (cl-defstruct): Add indent rule.
5673 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
5675         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5676         over `user-mail-address' for the SMTP MAIL FROM envelope.
5677         (smtpmail-via-smtp): Ditto.
5679 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
5681         * progmodes/ruby-mode.el: Clean up keybindings.
5682         (ruby-mode-map): Don't bind ruby-electric-brace,
5683         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5684         backward-kill-word, reindent-then-newline-and-indent.
5685         (ruby-mark-defun): Remove.
5686         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
5687         (ruby-mode): Set local beginning-of-defun-function and
5688         end-of-defun-function values.
5690 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
5692         * window.el (temp-buffer-window-setup-hook)
5693         (temp-buffer-window-show-hook): New hooks.
5694         (temp-buffer-window-setup, temp-buffer-window-show)
5695         (with-temp-buffer-window): New functions.
5696         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5697         (special-display-popup-frame): Make sure the window used shows BUFFER.
5699         * help.el (temp-buffer-resize-mode): Fix doc-string.
5700         (resize-temp-buffer-window): New optional argument WINDOW.
5702         * files.el (recover-file, save-buffers-kill-emacs):
5703         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5705 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
5707         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5708         remote definition of `default-directory', ensure we can connect.
5710 2012-09-02  Juri Linkov  <juri@jurta.org>
5712         Toggle whitespace matching mode with M-s SPC.
5713         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5715         * isearch.el (search-whitespace-regexp): Doc fix.
5716         Remove cons cell customization.
5717         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5718         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5719         New variables.
5720         (isearch-forward, isearch-forward-regexp): Doc fix.
5721         (isearch-toggle-lax-whitespace): New command.
5722         (search-forward-lax-whitespace, search-backward-lax-whitespace)
5723         (re-search-forward-lax-whitespace)
5724         (re-search-backward-lax-whitespace): New functions.
5725         (isearch-whitespace-regexp): Remove function.
5726         (isearch-query-replace): Let-bind replace-search-function and
5727         replace-re-search-function.
5728         (isearch-occur): Let-bind search-spaces-regexp according to the
5729         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5730         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5731         condition for C-q SPC.
5732         (isearch-search-fun-default): Use new functions mentioned above.
5733         (isearch-search-forward, isearch-search-backward): Remove functions.
5734         (isearch-search): Don't let-bind search-spaces-regexp.
5735         (isearch-lazy-highlight-space-regexp): Remove variable.
5736         (isearch-lazy-highlight-lax-whitespace)
5737         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5738         (isearch-lazy-highlight-new-loop): Use them.
5739         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5741 2012-09-02  Chong Yidong  <cyd@gnu.org>
5743         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5745 2012-09-02  Glenn Morris  <rgm@gnu.org>
5747         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
5749 2012-09-01  Glenn Morris  <rgm@gnu.org>
5751         * term.el: Tidy up menu definitions.
5752         (term-mode-map): Use easymenu for In/Out, Complete menus.
5753         (term-pager-break-map): Initialize in the defvar.
5754         (term-terminal-menu, term-signals-menu): Define with easymenu.
5755         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
5756         (term-pager-menu): New, extracted from term-process-pager.
5757         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5758         (term-update-mode-line): Propertize line/char and page items.
5759         (term-process-pager): Move keymap initialization elsewhere.
5761 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
5763         * window.el (switch-to-prev-buffer): Handle additional values of
5764         BURY-OR-KILL argument.  Don't switch in minibuffer window.
5765         (switch-to-next-buffer): Don't switch in minibuffer window.
5766         (quit-restore-window): New function based on quit-window.
5767         Handle additional values of former KILL argument.
5768         (quit-window): Call quit-restore-window with appropriate
5769         interpretation of KILL argument.
5770         (display-buffer-below-selected): New buffer display action
5771         function.
5773 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5775         * minibuffer.el (completion-at-point-functions): Complete docstring
5776         (bug#12254).
5778 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
5780         Better seed support for (random).
5781         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5782         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5783         * play/mpuz.el, play/tetris.el, play/zone.el:
5784         * calc/calc-comb.el (math-init-random-base):
5785         * play/blackbox.el (bb-init-board):
5786         * play/life.el (life):
5787         * server.el (server-use-tcp):
5788         * type-break.el (type-break):
5789         Remove unnecessary call to (random t).
5790         * net/sasl.el (sasl-unique-id-function):
5791         Change (random t) to (random), now that the latter is more random.
5792         * play/life.el (life-initialized): Remove no-longer-needed var.
5794 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
5796         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5797         Consider frame's buffer predicate when choosing the buffer.
5798         (Bug#12081)
5800 2012-08-30  Richard Stallman  <rms@gnu.org>
5802         * simple.el (special-mode-map): Delete binding for `z'.
5804 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
5806         * progmodes/compile.el (compilation-always-kill): Doc fix.
5808 2012-08-30  Chong Yidong  <cyd@gnu.org>
5810         * window.el (display-buffer-reuse-frames): Make the obsolescence
5811         message more informative.
5813 2012-08-30  Glenn Morris  <rgm@gnu.org>
5815         * paren.el (show-paren-delay):
5816         Add a :set function.  Doc fix.  (Bug#12297)
5818 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
5820         * progmodes/compile.el (compilation-always-kill): New var.
5821         (compilation-start): Use it.
5823 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5825         * simple.el (read-only-mode): Move from files.el for bootstrapping.
5826         * files.el (read-only-mode): Move to simple.el.
5828         * files.el (read-only-mode): New minor mode.
5829         (toggle-read-only): Use it and mark obsolete.
5830         (find-file--read-only):
5831         * vc/vc.el (vc-next-action, vc-checkout):
5832         * vc/vc-cvs.el (vc-cvs-checkout):
5833         * obsolete/vc-mcvs.el (vc-mcvs-update):
5834         * ffap.el (ffap--toggle-read-only): Update callers.
5836 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
5838         * eshell/esh-ext.el (eshell-external-command): Do not examine
5839         remote shell scripts.
5840         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5842         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5843         "/usr/local/sbin".
5845 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5847         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5849 2012-08-28  Leo Liu  <sdl.web@gmail.com>
5851         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5852         completion-at-point.  (Bug#12220)
5854         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5856         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5858 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5861         be buffer-local; add delete-trailing-whitespace (bug#12259).
5863 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
5865         * progmodes/hideif.el (hif-compress-define-list):
5866         Fix typo.  (Bug#11951)
5868 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
5870         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5871         buffer local setting.
5873         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5874         rcirc-encode-coding-system.
5876 2012-08-28  Leo Liu  <sdl.web@gmail.com>
5878         * net/rcirc.el (rcirc-split-message): New function.
5879         (rcirc-send-message): Use it.  (Bug#12051)
5881 2012-08-28  Juri Linkov  <juri@jurta.org>
5883         * info.el (Info-fontify-node): Hide empty lines at the end of
5884         the node.  (Bug#12272)
5886 2012-08-27  Drew Adams  <drew.adams@oracle.com>
5888         * dired.el (dired-pop-to-buffer): Make window start at beginning
5889         of buffer (Bug#12281).
5891 2012-08-26  Chong Yidong  <cyd@gnu.org>
5893         * window.el (special-display-regexps, special-display-frame-alist)
5894         (special-display-buffer-names, special-display-function)
5895         (display-buffer-reuse-frames): Mark as obsolete.
5897         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5899         * help.el (help-print-return-message): Don't treat
5900         display-buffer-reuse-frames specially.
5902 2012-08-26  Chong Yidong  <cyd@gnu.org>
5904         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5905         New variable, replacing gdb-frame-parameters.
5906         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5907         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5908         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5909         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5910         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
5911         the functions directly with gdb-display-buffer-other-frame-action.
5912         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5913         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5914         (gdb-display-stack-buffer, gdb-display-locals-buffer)
5915         (gdb-display-registers-buffer): Define directly.
5916         (def-gdb-display-buffer): Macro deleted.
5917         (gdb-display-buffer): Remove second and third args, callers don't
5918         use them.  Defer to the default display-buffer behavior, apart
5919         from making windows dedicated.
5920         (gdb-setup-windows): Don't call display-buffer unnecessarily.
5922         * progmodes/gud.el (gud-display-line): Just use display-buffer.
5924         * window.el (display-buffer-pop-up-frame): Handle a
5925         pop-up-frame-parameters alist entry.
5926         (display-buffer): Document it.
5928 2012-08-26  Chong Yidong  <cyd@gnu.org>
5930         * isearch.el (search-whitespace-regexp): Make string and nil
5931         values apply to both ordinary and regexp search.  Allow a cons
5932         cell value to distinguish between the two.
5933         (isearch-whitespace-regexp, isearch-search-forward)
5934         (isearch-search-backward): New functions.
5935         (isearch-occur, isearch-search-fun-default, isearch-search)
5936         (isearch-lazy-highlight-new-loop): Use them.
5937         (isearch-forward, isearch-forward-regexp): Doc fix.
5939 2012-08-26  Chong Yidong  <cyd@gnu.org>
5941         * faces.el (help-argument-name): Always inherit from italic
5942         (Bug#12213).
5944 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
5946         * window.el (window--even-window-heights): Even heights when
5947         WINDOW and the selected window form a vertical combination.
5948         (display-buffer-use-some-window): Provide that window used gets
5949         sized back by quit-window.  (Bug#11880) and (Bug#12091)
5951 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
5953         Fix file time stamp problem with bzr and CVS (Bug#12001).
5954         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5955         in the file's time stamp, since the version control system loses
5956         that information.
5958 2012-08-22  Juri Linkov  <juri@jurta.org>
5960         * info.el (Info-fontify-node): Hide the suffix of the
5961         Info file name in the header line.  (Bug#12187)
5963 2012-08-22  Glenn Morris  <rgm@gnu.org>
5965         * calendar/cal-tex.el (cal-tex-weekly-common):
5966         Restore leading blank page.
5968 2012-08-22  Le Wang  <l26wang@gmail.com>
5970         * misc.el (forward-to-word, backward-to-word): Activate or extend
5971         the region under `shift-select-mode'.  (Bug#12231)
5973 2012-08-22  Bastien Guerry  <bzg@gnu.org>
5975         * progmodes/executable.el (executable-prefix): Set to "#!" instead
5976         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
5977         gives details on why the space is never needed.
5979 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
5981         * window.el (walk-window-tree, window-with-parameter):
5982         New optional argument MINIBUF to control whether these functions
5983         should run on the minibuffer window.
5984         (window-at-side-list): Don't operate on minibuffer window.
5985         (window-in-direction): Simplify and rewrite doc-string.
5986         (window--size-ignore): Rename to window--size-ignore-p.
5987         Update callers.
5988         (display-buffer-in-atom-window, window--major-non-side-window)
5989         (window--major-side-window, display-buffer-in-major-side-window)
5990         (delete-side-window, display-buffer-in-side-window):
5991         New functions.
5992         (window--side-check, window-deletable-p, delete-window)
5993         (delete-other-windows, split-window): Handle side windows and
5994         atomic windows appropriately.
5995         (window--display-buffer): Call display-buffer-record-window also
5996         when the window buffer did not change.
5998 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
6000         * help-fns.el (help-fns--key-bindings):
6001         Abbreviate non-symbol remap targets.  (Bug#12174)
6003 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
6005         * dired.el (dired-mark-remembered): Don't clobber point.
6006         (Bug#11795)
6008 2012-08-22  Glenn Morris  <rgm@gnu.org>
6010         * progmodes/bug-reference.el (bug-reference): New custom group.
6011         (bug-reference-bug-regexp): Make it a defcustom.
6013 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
6015         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6016         (js-paren-indent-offset, js-square-indent-offset)
6017         (js-curly-indent-offset): Add :safe (Bug#12257).
6019 2012-08-22  Edward O'Connor  <hober0@gmail.com>
6021         * json.el (json-key-format): Add error properties.
6022         (json-encode-key): New function.
6023         (json-encode-hash-table, json-encode-alist, json-encode-plist):
6024         Use json-encode-key.
6026 2012-08-22  Glenn Morris  <rgm@gnu.org>
6028         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6029         (cal-tex-leftday, cal-tex-rightday): Remove functions.
6030         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6031         Update for above change.
6033 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
6035         * cus-face.el (custom-face-attributes): Fix customize type for the
6036         :underline attribute.  (Bug#11805)
6038 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
6040         * window.el (window-point-1, set-window-point-1): Remove.
6041         (window-in-direction, record-window-buffer)
6042         (set-window-buffer-start-and-point, split-window-below)
6043         (window--state-get-1, display-buffer-record-window):
6044         Replace calls to window-point-1 and set-window-point-1 by calls to
6045         window-point and set-window-point respectively.
6047 2012-08-21  Glenn Morris  <rgm@gnu.org>
6049         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6050         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6051         Use it.
6053         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6054         (cal-tex-shortday): New function.
6055         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6056         (cal-tex-cursor-filofax-daily): Use the above.
6058         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6059         New functions.
6060         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6061         (cal-tex-cursor-filofax-week): Use them.
6063         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6064         New constants.
6065         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6066         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6068         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6069         (cal-tex-end-document): Don't rely on buffer name.
6071         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6072         Use cal-tex-vspace.
6073         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6074         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6075         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6076         Use cal-tex-arg.
6078         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6079         (cal-tex-cursor-week, cal-tex-cursor-week2)
6080         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6081         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6082         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6083         (cal-tex-insert-preamble, cal-tex-b-document)
6084         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6085         Improve cal-tex-cmd usage.
6087         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6088         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6089         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6090         (cal-tex-weekly-paper): New function.
6091         (cal-tex-cursor-week, cal-tex-cursor-week2)
6092         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6093         (cal-tex-cursor-day): Use it.
6095         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6096         (cal-tex-cursor-filofax-week): Remove leading blank page.
6098         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6099         Add autoload cookie.  For now at least, don't use color, since
6100         no other cal-tex function does.
6102         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6103         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6104         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6106 2012-08-21  Juri Linkov  <juri@jurta.org>
6108         * info.el (Info-file-attributes): New variable.
6109         (info-insert-file-contents): Add file attributes to
6110         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
6111         `Info-toc-nodes' when previous modtime of the Info file is less
6112         than new modtime.
6113         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6114         of info.el.  (Bug#12230)
6116 2012-08-20  Glenn Morris  <rgm@gnu.org>
6118         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6119         * calendar/holidays.el (calendar-holiday-list):
6120         Report errors with display-warning rather than beep'n'sleep.
6122 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
6124         * net/tramp.el (tramp-accept-process-output): Accept only output
6125         from PROC.  Otherwise, process filters and sentinels might be
6126         confused.  (Bug#12145)
6128 2012-08-20  Chong Yidong  <cyd@gnu.org>
6130         * descr-text.el (describe-text-properties-1): Use overlays-in to
6131         report on empty overlays (Bug#3322).
6133 2012-08-20  Glenn Morris  <rgm@gnu.org>
6135         * mail/rmailout.el (rmail-output-read-file-name):
6136         Trap and report errors in rmail-output-file-alist elements.
6138         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6139         since most non-font-lock faces are not also variables).
6141 2012-08-20  Edward Reingold  <reingold@iit.edu>
6143         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6144         New function.  (Bug12160)
6146 2012-08-19  Glenn Morris  <rgm@gnu.org>
6148         * mail/rmailout.el (rmail-output-read-file-name):
6149         Fix previous change (when the alist is nil or does not match).
6151 2012-08-19  Chong Yidong  <cyd@gnu.org>
6153         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6154         (Bug#12228).
6156 2012-08-18  Chong Yidong  <cyd@gnu.org>
6158         * simple.el (yank-handled-properties): New defcustom.
6159         (yank-excluded-properties): Add font-lock-face and category.
6160         (yank): Doc fix.
6162         * subr.el (remove-yank-excluded-properties):
6163         Obey yank-handled-properties.  The special handling of font-lock-face
6164         and category is now done this way, instead of being hard-coded.
6165         (insert-for-yank-1): Remove font-lock-face handling.
6166         (yank-handle-font-lock-face-property)
6167         (yank-handle-category-property): New function.
6169 2012-08-17  Glenn Morris  <rgm@gnu.org>
6171         * mail/rmailout.el (rmail-output-read-file-name):
6172         Check rmail-output-file-alist against the full message body
6173         in the correct rmail buffer.  (Bug#12214)
6175 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
6177         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6178         Eliminate superfluous prompt.  (Bug#12203)
6180 2012-08-17  Chong Yidong  <cyd@gnu.org>
6182         * mouse.el (mouse-appearance-menu): If x-select-font returns a
6183         font spec, set the font directly (Bug#3228).
6185 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
6187         * window.el (delete-window): Fix last fix.
6189 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
6191         * window.el (window-valid-p): Move to window.c.
6192         (window-child, window-child-count, window-last-child)
6193         (window-normalize-window, window-combined-p)
6194         (window-combinations, window-atom-root, window-min-size)
6195         (window-sizable, window-sizable-p, window-size-fixed-p)
6196         (window-min-delta, window-max-delta, window--resizable)
6197         (window--resizable-p, window-resizable, window-total-size)
6198         (window-full-height-p, window-full-width-p, window-body-size)
6199         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6200         (minimize-window, window-deletable-p, delete-window)
6201         (delete-other-windows, set-window-buffer-start-and-point)
6202         (next-buffer, previous-buffer, split-window, balance-windows-2)
6203         (set-window-text-height, window-buffer-height)
6204         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6205         (truncated-partial-width-window-p): Minor code adjustments.
6206         In doc-strings state whether the argument window has to denote a
6207         live, valid or any window.
6209 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
6211         * progmodes/subword.el (subword-forward-function)
6212         (subword-backward-function, subword-forward-regexp)
6213         (subword-backward-regexp): New variables.
6214         (subword-forward, subword-forward-internal, subword-backward-internal):
6215         Use new variables, eg so that different "word" definitions
6216         can be easily used.  (Bug#11411)
6218 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6220         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6221         for composite selectors.
6222         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6223         operation just because we can't find a previous revision.
6225 2012-08-15  Chong Yidong  <cyd@gnu.org>
6227         * frame.el (set-frame-font): Accept font objects.
6229 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6231         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6233 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
6235         * man.el (Man-overstrike-face, Man-underline-face)
6236         (Man-reverse-face): Remove variables.
6237         (Man-overstrike, Man-underline, Man-reverse): New faces.
6238         (Man-fontify-manpage): Use them instead of the variables.
6239         (Man-cleanup-manpage): Comment change.
6240         (Man-ansi-color-map): New variable.
6241         (Man-fontify-manpage): Use it.
6242         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6244         Implement ANSI SGR parameters 22-27 (bug#12146).
6245         * ansi-color.el (ansi-colors): Doc fix.
6246         (ansi-color-context, ansi-color-context-region): Doc fix.
6247         (ansi-color--find-face): New function.
6248         (ansi-color-apply, ansi-color-apply-on-region): Use it.
6249         Rename the local variable `face' to `codes' since it is now a list of
6250         ansi codes.  Doc fix.
6251         (ansi-color-get-face): Remove.
6252         (ansi-color-parse-sequence): New function, derived from
6253         ansi-color-get-face.
6254         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
6255         codes 22-27.
6257 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6259         * subr.el (read-passwd): Allow use from a minibuffer.
6261 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
6263         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6264         inside comments and strings as identifiers.
6266         * progmodes/gud.el (gud-tooltip-print-command): Quote the
6267         expression to evaluate.  This allows to evaluate expressions with
6268         embedded whitespace.
6269         (gud-tooltip-tips): Add a blank before the newline in the
6270         message-box text, for the benefit of message-box emulation on
6271         MS-Windows.
6273         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6274         messages from GDB, pop them up in a tooltip to give feedback to
6275         user.
6276         (gdb-tooltip-print-1): Quote the expression to evaluate.
6277         This allows to evaluate expressions with embedded whitespace.
6278         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6279         if the TTY name is nil or empty (which happens when communicating
6280         with the inferior via pipes, e.g. on MS-Windows).
6281         (gdb-internals): If GDB sends a "&\n" empty debugging message,
6282         don't send that to the GUD buffer.
6284 2012-08-14  Glenn Morris  <rgm@gnu.org>
6286         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6287         Optimize away setq-default with no args, as for setq.  (Bug#12195)
6289 2012-08-14  Chong Yidong  <cyd@gnu.org>
6291         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6293         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6294         (Bug#12085).
6296 2012-08-14  Glenn Morris  <rgm@gnu.org>
6298         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6300 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
6302         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6303         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6304         Use cached shell name.
6306 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6308         * progmodes/python.el (python-shell-send-string):
6309         (python-shell-send-setup-code): Do not use `format' with `message'.
6311 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
6313         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6314         (ruby-percent-literal-beg-re): New constant.
6315         (ruby-syntax-general-delimiters-goto-beg): Rename to
6316         `ruby-syntax-enclosing-percent-literal', improve literal type check.
6317         (ruby-syntax-propertize-general-delimiters): Rename to
6318         `ruby-syntax-propertize-percent-literal', it's a shorter and more
6319         popular term.  Adjust comments everywhere.
6320         (ruby-syntax-propertize-percent-literal): Only propertize when not
6321         inside a simple string or comment.  When the literal is unclosed,
6322         leave the text after it unpropertized.
6323         (ruby-syntax-methods-before-regexp): New constant.
6324         (ruby-syntax-propertize-function): Use it to recognize regexps.
6325         Don't look at the text after regexp, just use the whitelist.
6327 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
6329         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6330         non-nil always load the compiled file if it exists.  (Bug#12197)
6332 2012-08-14  Chong Yidong  <cyd@gnu.org>
6334         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6335         (hi-lock-set-pattern): When deciding whether to use font lock or
6336         overlays, look at font-lock-mode instead of font-lock-fontified
6337         (Bug#12168).
6338         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6339         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6341 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
6343         * subr.el (internal--after-with-selected-window): Fix typo
6344         (Bug#12193).
6346 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6348         Use `completion-table-dynamic' for completion functions.
6349         * progmodes/python.el
6350         (python-shell-completion--do-completion-at-point)
6351         (python-shell-completion--get-completions):
6352         Remove functions.
6353         (python-shell-completion-complete-at-point): New function.
6354         (python-completion-complete-at-point): Use it.
6356 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
6358         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6359         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6361 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6363         * subr.el (function-get): Refine `autoload' arg so it can also
6364         autoload functions for gv.el (bug#12191).
6365         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6366         autoloads macros.
6368         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6369         Prefer pcase-let over destructuring-bind.
6370         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6371         Also, remove whitespace as we go, rather than after accumulating the
6372         various places.
6374         * subr.el (internal--before-with-selected-window)
6375         (internal--after-with-selected-window): Fix typo seleted->selected.
6376         (with-selected-window): Adjust callers.
6377         Reported by Dmitry Gutov <dgutov@yandex.ru>.
6379 2012-08-13  Bastien Guerry  <bzg@gnu.org>
6381         * window.el (special-display-popup-frame): Minor docstring
6382         enhancement.  (Bug#12172)
6384 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
6386         * tar-mode.el (tar-header-data-end): Only ignore size for files of
6387         type 1-6.
6388         (tar-header-block-summarize, tar-get-descriptor): Handle pax
6389         extended headers.
6391         * files.el (hack-local-variables-filter): Remove useless eval.
6393 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
6395         * subr.el (with-selected-window): Fix last change.
6397 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6399         * subr.el (internal--before-with-seleted-window)
6400         (internal--after-with-seleted-window): New functions.
6401         (with-selected-window): Use them, to replace dependency on
6402         tty-top-frame.
6404 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6406         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6407         binding for `newline'.
6408         (ruby-move-to-block): When moving backward, stop at block opening,
6409         not indentation.
6410         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6411         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6412         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6413         `ruby-toggle-block'.
6415 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6417         * ibuffer.el (ibuffer-do-toggle-read-only):
6418         * dired.el (dired-toggle-read-only):
6419         * buff-menu.el (Buffer-menu-toggle-read-only):
6420         * bindings.el (mode-line-toggle-read-only):
6421         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6423 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
6425         * descr-text.el (describe-char): Put the overlays over the
6426         "displayed as" character.
6428 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
6430         * calc/calc-units.el (math-default-units-table): Give an
6431         initial value.
6432         (math-put-default-units): Add options to put composite units and
6433         unit systems in the default units table.
6434         (calc-convert-units): Send composite units to
6435         `math-put-default-units' when appropriate.
6437 2012-08-11  Glenn Morris  <rgm@gnu.org>
6439         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6441         * tutorial.el (help-with-tutorial):
6442         * emacs-lisp/copyright.el (copyright-update-directory):
6443         * emacs-lisp/autoload.el (autoload-find-generated-file)
6444         (autoload-find-file): Disable local eval: (for insurance).
6446         * files.el (hack-local-variables-filter): If an eval: form is not
6447         known to be safe, and enable-local-variables is :safe, then ignore
6448         the form totally, as is done for non-eval forms.  (Bug#12155)
6449         This is CVE-2012-3479.
6451 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6453         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6454         (rx-form): Simplify.
6456 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
6458         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6459         ?, _, and : are symbol constituents, ! is not (but kinda should be).
6460         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6461         (ruby-syntax-propertize-function): Adjust for changes in
6462         `ruby-syntax-propertize-heredoc'.
6464 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
6466         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6467         binding (use `M-;' instead).
6468         (ruby-singleton-class-p): New function.
6469         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6471 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6473         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6475 2012-08-10  Chong Yidong  <cyd@gnu.org>
6477         * progmodes/python.el (python-shell-get-process-name): Don't mess
6478         with same-window-buffer-names.
6480         * eshell/eshell.el (eshell-add-to-window-buffer-names)
6481         (eshell-remove-from-window-buffer-names): Make obsolete.
6482         (eshell-buffer-name, eshell-unload-hook): Don't use them.
6483         (eshell): Just use pop-to-buffer-same-window instead.
6485 2012-08-10  Chong Yidong  <cyd@gnu.org>
6487         * bindings.el: Bind M-= back to count-words-region.
6489         * simple.el (count-words-region): Accept a prefix arg for acting
6490         on the entire buffer.
6491         (count-words--buffer-message): New helper function.
6493 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6495         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6496         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6497         (event-start, event-end): Use posn-at-point to return a more
6498         informative posn.
6499         (posnp): New function.
6500         * mouse.el (popup-menu-normalize-position): Use it.
6502 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
6504         * mouse.el (popup-menu-normalize-position): New function.
6505         (popup-menu): Use `popup-menu-normalize-position' to normalize
6506         the form for POSITION argument.
6508         * term/x-win.el (x-menu-bar-open):
6509         Use the value returend from (posn-at-point) as position
6510         passed to `popup-menu'.
6512 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
6514         * calc/calccomp.el (math-compose-expr): Add extra argument
6515         indicating that parentheses should be put around products in
6516         denominators.  Give multiplication precedence over division during
6517         composition.
6519 2012-08-09  Chong Yidong  <cyd@gnu.org>
6521         * man.el (Man-switches, Man-sed-command, Man-awk-command)
6522         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6523         (Man-untabify-command, manual-program): Convert to defcustom
6524         (Bug#10429).
6526         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6528         * descr-text.el (describe-char): Don't insert extra newlines
6529         (Bug#10127).
6531         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6532         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6534         * align.el (align-region): Delete temporary markers (Bug#10047).
6535         Plus some code cleanups.
6537 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6539         * progmodes/python.el (python-pdbtrack-tracked-buffer)
6540         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6541         (python-shell-internal-last-output): Use make-local-variable
6542         instead of make-variable-buffer-local.
6544 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6546         * progmodes/python.el: Enhancements to forward-sexp.
6547         (python-nav-forward-sexp): Rename from
6548         python-nav-forward-sexp-function.
6549         (python-nav--forward-sexp, python-nav--backward-sexp):
6550         New functions.
6552 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
6554         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6555         modes and simplification modes.
6557 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6559         * delsel.el (delete-selection-pre-hook): Don't propagate the
6560         file-supersession signals (bug#12161).
6562 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6564         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6565         (cl-map-extents): Add compatibility aliases (bug#12135).
6567 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
6569         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6570         tests by `ignore-error'.
6571         (tramp-find-shell): Open also a new shell, when cache is already
6572         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
6574 2012-08-08  Juri Linkov  <juri@jurta.org>
6576         * bookmark.el: Add `defaults' property to the bookmark record.
6577         (bookmark-current-buffer): Doc fix.
6578         (bookmark-make-record): Add `defaults' property with default values
6579         to the bookmark record.
6580         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6581         with `bookmark-insert-current-bookmark'.
6582         (bookmark-set): Get `defaults' property from the bookmark record
6583         and use it in `read-from-minibuffer'.
6584         (bookmark-insert-current-bookmark): Remove function.
6586         * info.el (Info-bookmark-make-record): Add `defaults' property
6587         with values of canonical Info node name, the current Info file
6588         name and the current Info node name.  (Bug#12107)
6590 2012-08-08  Juri Linkov  <juri@jurta.org>
6592         * files.el (basic-save-buffer): Use `buffer-name' as the default
6593         of `read-file-name' when buffer is not visiting a file (bug#12128).
6595 2012-08-08  Juri Linkov  <juri@jurta.org>
6597         * info.el (Info-isearch-search): Doc fix.
6598         (Info-search): Change search-failed message from "initial node" to
6599         "end of node" (bug#12078).
6600         (Info-isearch-search): Change `isearch-string-state' to
6601         `isearch--state-string'.
6603 2012-08-08  Glenn Morris  <rgm@gnu.org>
6605         * language/persian.el: Remove file.
6606         * language/misc-lang.el: Move unique part of persian.el here.
6607         * loadup.el: Remove language/persian.
6609 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
6611         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6613 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
6615         * progmodes/python.el: Fix defsubst warning.
6616         (python-syntax-context) Rename from python-info-ppss-context.
6617         (python-syntax-context-type): Rename from
6618         python-info-ppss-context-type.
6619         (python-syntax-comment-or-string-p): Rename from
6620         python-info-ppss-comment-or-string-p.
6622 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6624         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6626 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
6628         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6629         a defcustom that is quoted with backquote.
6631         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6632         Fix handling of interactive spec when the body uses return.
6633         (math-do-arg-check, math-define-function-body): Use backquote forms.
6634         * calc/calc-ext.el (math-defcache): Likewise.
6635         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6636         * allout.el (allout-new-exposure): Likewise.
6637         * calc/calcalg2.el (math-tracing-integral): Likewise.
6638         * info.el (Info-last-menu-item): Likewise.
6639         * emulation/vip.el (vip-loop): Likewise.
6640         * textmodes/artist.el (artist-funcall): Likewise.
6641         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6642         Construct menu-item directly.
6644         * progmodes/autoconf.el (font-lock-syntactic-keywords):
6645         Don't declare.
6647 2012-08-07  Chong Yidong  <cyd@gnu.org>
6649         * simple.el (deactivate-mark): Preserve text properties when
6650         saving the primary selection (Bug#8384).
6652 2012-08-07  Kevin Ryde  <user42@zip.com.au>
6654         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6655         (woman-parse-numeric-value): On a bad .IP line, issue a warning
6656         and continue processing (Bug#12110).
6658 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6661         syntax-propertize-function (bug#10095).
6663 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6665         * help-fns.el (help-fns--key-bindings, help-fns--signature)
6666         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6667         describe-function-1.
6668         (describe-function-1): Use them.  Move compiler macro after sig.
6669         (help-fns--compiler-macro): Use function-get.  Assume we're already in
6670         standard-output.  Adjust layout to new call order.
6672         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6673         re-binding a symbol that has a symbol-macro (bug#12119).
6675 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
6677         * language/persian.el: New file.  (Bug#11812)
6678         * loadup.el: Add language/persian.el.
6680 2012-08-06  Chong Yidong  <cyd@gnu.org>
6682         * window.el (window--maybe-raise-frame): New function.
6683         (window--display-buffer): Split off from here.
6684         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6685         (display-buffer-pop-up-window, display-buffer-use-some-window):
6686         Obey an inhibit-switch-frame action alist entry.
6687         (display-buffer): Update doc.
6689         * replace.el (occur-after-change-function): Avoid losing focus by
6690         using the inhibit-switch-frame display parameter (Bug#12139).
6692 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
6694         Make internal shell process buffer names start with space.
6695         * progmodes/python.el (python-shell-make-comint): Add optional
6696         argument INTERNAL.
6697         (run-python-internal): Use it.
6698         (python-shell-internal-get-or-create-process): Check for new
6699         internal buffer names.
6701 2012-08-06  Glenn Morris  <rgm@gnu.org>
6703         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6704         Do less getting and setting of environment variables.
6706 2012-08-05  Chong Yidong  <cyd@gnu.org>
6708         * proced.el (proced): Add substitution string to docstring to
6709         trigger autoloading of the proced library on C-h f (Bug#1768).
6711         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6712         Don't show defvars which have no second argument (Bug#8638).
6714         * imenu.el (imenu-generic-expression): Move documentation here
6715         from imenu--generic-function.
6716         (imenu--generic-function): Refer to imenu-generic-expression.
6718 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
6720         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6721         indentation declaration.
6722         (viper-loop): Add indentation declaration (Bug#7025).
6724 2012-08-05  Chong Yidong  <cyd@gnu.org>
6726         * help-fns.el (describe-variable): Add hyperlink for
6727         directory-local variables files.  Improve buffer-local and
6728         permanent-local reporting; suggested by MON KEY (Bug#6644).
6730         * help-mode.el (help-dir-local-var-def): New button type.
6732         * files.el (kill-buffer-hook): Provide a defvar.
6734 2012-08-05  Glenn Morris  <rgm@gnu.org>
6736         * eshell/esh-ext.el (eshell/addpath):
6737         Also update eshell-path-env.  (Bug#12013)
6739 2012-08-05  Chong Yidong  <cyd@gnu.org>
6741         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6743         * fringe.el (fringe-styles): Add docstring.
6744         (fringe--check-mode): New function.
6745         (set-fringe-mode, set-fringe-style): Use it.
6746         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6748         * files.el (set-auto-mode): Fix invalid setq call.
6750 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6752         * isearch.el: Misc simplification; use defstruct.
6753         (isearch-mode-map): Dense maps now work like sparse ones.
6754         (isearch--state): New defstruct.
6755         (isearch-string-state, isearch-message-state, isearch-point-state)
6756         (isearch-success-state, isearch-forward-state)
6757         (isearch-other-end-state, isearch-word-state, isearch-error-state)
6758         (isearch-wrapped-state, isearch-barrier-state)
6759         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6760         replaced by defstruct's accessors.
6761         (isearch--set-state): Rename from isearch-top-state and change
6762         calling convention.
6763         (isearch-push-state): Use new isearch--get-state.
6764         (isearch-toggle-word): Disable regexp when enabling word.
6765         (isearch-message-prefix): Remove unused arg _c-q-hack.
6766         (isearch-message-suffix): Remove unused arg _ellipsis.
6768 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
6770         * simple.el (list-processes--refresh): For a server use :host or
6771         :local as the address.
6772         (list-processes): Doc fix.
6774 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
6776         * lisp/mpc.el: Support password in host argument.
6777         (mpc--proc-connect): Parse and use new password element.
6778         Set mpc-proc variable instead of returning process.
6779         (mpc-proc): Adjust accordingly.
6781 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
6783         * whitespace.el (whitespace-display-mappings): Use Unicode
6784         codepoints, instead of emacs-mule codepoints.  See
6785         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6786         for the details.
6788         * files.el (file-truename): Don't skip symlink-chasing part on
6789         windows-nt.  Incorporate the resolution of 8+3 short aliases on
6790         Windows into the loop that recursively chases symlinks.
6791         Compare directory and its parent case-insensitively on MS-Windows and
6792         MS-DOS.
6794 2012-08-03  Chong Yidong  <cyd@gnu.org>
6796         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6798         * sort.el (sort-regexp-fields): Doc fix.
6800 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
6802         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6803         labels regex position point at the expected place.
6805 2012-08-03  MON KEY  <monkey@sandpframing.com>
6807         * net/imap.el (imap-interactive-login, imap-authenticate)
6808         (imap-mailbox-lsub, imap-mailbox-list)
6809         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6810         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6811         (imap-parse-response): Doc fix.
6813 2012-08-03  João Távora  <joaotavora@gmail.com>
6815         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6816         if sexp scanning does not move point (Bug#5734).
6818 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
6820         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6821         Add listings, minted, and ctable packages.
6822         (reftex-label-alist-builtin): Move listings, minted, and ctable
6823         entries before LaTeX.
6824         (reftex-label-alist): Docfix.
6826 2012-08-02  Bastien Guerry  <bzg@gnu.org>
6828         * replace.el (occur): Fix docstring (bug#12122).
6830 2012-08-02  Glenn Morris  <rgm@gnu.org>
6832         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6834 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
6836         Obsolete alias inactivate-current-input-method-function (Bug#10150).
6837         * international/mule-cmds.el: Create
6838         inactivate-current-input-method-function as an obsolete alias for
6839         deactivate-current-input-method-function.  See Katsumi Yamaoka in
6840         <http://bugs.gnu.org/10150#46>.
6842 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
6844         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6845         of nested `if's.
6847 2012-08-01  Glenn Morris  <rgm@gnu.org>
6849         * progmodes/autoconf.el (autoconf-definition-regexp):
6850         Add AH_TEMPLATE, adjust submatch numbering.
6851         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6852         (autoconf-current-defun-function): Update for above change.
6853         (autoconf-current-defun-function): First skip to end of current word.
6855 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
6857         * calendar/cal-html.el (cal-html-insert-agenda-days):
6858         Fix typo.  (Bug#12018)
6860 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
6862         Shell processes: enhancements to startup and CEDET compatibility.
6863         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6864         (python-shell-make-comint): accept-process-output at startup.
6865         (run-python-internal): Set inferior-python-mode-hook to nil.
6866         (python-shell-internal-get-or-create-process): call sit-for.
6867         (python-preoutput-result): Add obsolete alias.
6868         (python-shell-internal-send-string): Use it.
6869         (python-shell-send-setup-code): Remove call to
6870         accept-process-output.
6872 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
6874         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6875         (Bug#12108)
6877 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
6879         * calc-mode.el (calc-basic-simplification-mode): Rename from
6880         `calc-limited-simplification-mode'.
6881         (calc-alg-simplification-mode): New function.
6882         (calc-set-simplify-mode): Adjust message.
6884         * calc.el (calc-set-mode-line): Adjust mode line display for
6885         basic simplification mode.
6887         * calc-help.el (calc-m-prefix-help): Update help message.
6889         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6890         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6892 2012-07-31  Bastien Guerry  <bzg@gnu.org>
6894         * man.el (man): Fix comment.  (bug#12101)
6896 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
6898         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6899         Don't return a non-nil value when no suitable buffer was found.
6901 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
6903         * progmodes/python.el (run-python-internal): Disable font lock for
6904         internal shells.
6906 2012-07-30  Stefan Merten  <smerten@oekonux.de>
6908         * textmodes/rst.el: Silence `checkdoc-ispell'.
6909         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6910         (rst-official-version, rst-official-cvs-rev)
6911         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6912         (rst-mode-map): New key binding.
6914 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
6916         Update .PHONY listings in makefiles.
6917         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6918         autoloads, update-subdirs, updates, bzr-update, update-authors,
6919         compile-onefile, compile-calc, backup-compiled-files,
6920         compile-after-backup, compile-one-process, mh-autoloads,
6921         bootstrap-clean, distclean, maintainer-clean.
6923 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
6925         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6926         (calc-set-mode-line): Don't display "AlgSimp ".
6928         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6929         (calc-lim-simplify-mode): New function.
6930         (calc-set-simplify-mode): Default to 'alg.
6931         (calc-default-simplify-mode): Make algebraic simplifications
6932         the default.
6934         * calc/calc-ext.el (calc-init-extensions): Remove binding for
6935         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
6937         * calc/calc-help.el (calc-m-prefix-help): Change messages to
6938         indicate new simplification modes.
6940         * calc/README: Mention new default simplification mode.
6942         * calc/calc.el (math-normalize-error): New variable.
6943         (math-normalize): Set `math-normalize-error' to t
6944         when there's an error.
6946         * calc/calc-alg.el (math-simplify): Don't simplify when
6947         `math-normalize' returns an error.
6949 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
6951         * international/mule-cmds.el (set-locale-environment): Revert last
6952         change, since display-graphic-p returns nil when this function is
6953         called during startup.  Instead...
6955         * term/w32console.el (terminal-init-w32console): ...setup the
6956         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
6958 2012-07-29  Juri Linkov  <juri@jurta.org>
6960         * simple.el (goto-line): Don't display default line number in the
6961         prompt because it should be displayed by `read-number' (bug#9952).
6962         Add the current line number to the defaults of `goto-line' to
6963         allow its easier modification by users with `M-n' (bug#9201).
6965         * subr.el (read-number): Support multiple default values like in
6966         other minibuffer reading functions.  Replace `read' with
6967         `string-to-number' for consistency with `number-to-string'.
6969 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
6971         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6972         * emulation/viper-init.el (viper-deactivate-input-method-action):
6973         Rename from viper-inactivate-input-method-action.
6974         (viper-deactivate-input-method):
6975         Rename from viper-inactivate-input-method.
6976         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6977         * international/mule-cmds.el (deactivate-input-method):
6978         Rename from inactivate-input-method.
6979         Also run input-method-deactivate-hook.
6980         (deactivate-current-input-method-function):
6981         Rename from inactivate-current-input-method-function.
6982         (input-method-deactivate-hook): New hook.
6983         (input-method-inactivate-hook): Mark obsolete.
6984         (inactivate-input-method): Mark obsolete.
6986         * international/quail.el (quail-activate):
6987         Also run quail-deactivate-hook.
6988         (quail-deactivate): Rename from quail-inactivate.
6989         * international/robin.el (robin-activate):
6990         Also run robin-deactivate-hook.
6991         (robin-deactivate): Rename from robin-inactivate.
6993 2012-07-29  Chong Yidong  <cyd@gnu.org>
6995         * simple.el (indicate-copied-region): New function.
6996         (kill-ring-save): Split off from here.
6998         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6999         (kill-rectangle): Set deactivate-mark to t on read-only error.
7001         * register.el (copy-to-register, copy-rectangle-to-register):
7002         Deactivate the mark, and use indicate-copied-region (Bug#10056).
7003         (append-to-register, prepend-to-register): Call indicate-copied-region.
7005 2012-07-29  Juri Linkov  <juri@jurta.org>
7007         * simple.el (async-shell-command-buffer): New defcustom.
7008         (shell-command): Use it.  (Bug#4719)
7010 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
7012         * international/mule-cmds.el (set-locale-environment): In a
7013         console session on MS-Windows, set up keyboard and terminal
7014         encoding from the OEM codepage, not the ANSI codepage.
7015         (Bug#12055)
7017 2012-07-28  Chong Yidong  <cyd@gnu.org>
7019         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7020         gdb-get-location.
7022 2012-07-28  Leo Liu  <sdl.web@gmail.com>
7024         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7025         the alist (bug#12029).
7027 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
7029         * makefile.w32-in (custom-deps, finder-data, updates, compile)
7030         (compile-always, compile-first)
7031         ($(lisp)/calendar/cal-loaddefs.el)
7032         ($(lisp)/calendar/diary-loaddefs.el)
7033         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7034         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7035         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7036         instead of on update-subdirs.
7037         (bootstrap-clean): Delete $(lisp)/subdirs.el.
7039 2012-07-28  Chong Yidong  <cyd@gnu.org>
7041         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7042         directory if vc-deduce-backend returns nil (Bug#7350).
7044         * simple.el (delete-trailing-lines): New option.
7045         (delete-trailing-whitespace): Obey it (Bug#11879).
7047 2012-07-28  David Engster  <deng@randomsample.de>
7049         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7050         Explanation of new 'symbol-qnames feature in doc-strings.
7051         (xml-maybe-do-ns): Return expanded names as plain symbols if
7052         'symbol-qnames was provided in XML-NS argument (Bug#11916).
7053         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7055 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
7057         Consistent completion in inferior python with emacs -nw.
7058         * progmodes/python.el (inferior-python-mode): replace "<tab>"
7059         binding in inferior-python-mode-map with "\t".
7060         (python-shell-completion-complete-at-point)
7061         (python-completion-complete-at-point): Remove interactive spec.
7063 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
7065         * calc/calccomp.el (math-compose-expr): Undo previous change.
7067 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
7069         * progmodes/python.el (python-mode-map): Add keybinding for
7070         run-python.
7071         (python-shell-make-comint): Fix pop-to-buffer call.
7072         (run-python): Autoload.  New arg SHOW.
7073         (python-shell-get-or-create-process): Do not pop python process
7074         buffer.
7076 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
7078         * notifications.el (notifications-on-action-signal)
7079         (notifications-on-closed-signal): Use also the bus address for the map.
7080         (notifications-notify, notifications-close-notification)
7081         (notifications-get-capabilities): Add optional argument BUS.
7083 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
7085         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7086         Add support for the lstlisting and minted environments, and for the
7087         ctable macro.
7088         * textmodes/reftex.el (reftex-compile-variables): Also recognize
7089         labels written in keyvals syntax.
7091 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
7093         * calc/calccomp.el (math-compose-expr): Use parentheses when
7094         there is a product in the denominator of a fraction.
7096 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
7098         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7099         ($(lisp)/calendar/diary-loaddefs.el)
7100         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7101         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7102         Fixes failures in parallel bootstrap because subdirs.el is being
7103         rewritten while the autoload files are built at the same time,
7104         which needs to load subdirs.el.
7106 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
7108         * mouse.el (popup-menu): Fix doc-string and re-indent code.
7109         (mouse-drag-line): Don't exit tracking when a switch-frame or
7110         switch-window event occurs (Bug#12006).
7112 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * mouse.el (popup-menu): Fix last change.
7116 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         Autoload from Lisp with more care.  Follow aliases when looking for
7119         function properties.
7120         * subr.el (autoloadp): New function.
7121         (symbol-file): Use it.
7122         (function-get): New function.
7123         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7124         autoload-do-load.
7125         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7126         (lisp-indent-function):
7127         * emacs-lisp/gv.el (gv-get):
7128         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7129         * emacs-lisp/byte-opt.el (byte-optimize-form):
7130         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7131         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7132         Use function-get.
7133         * emacs-lisp/cl.el: Don't propagate function properties any more.
7135         * speedbar.el (speedbar-add-localized-speedbar-support):
7136         * emacs-lisp/disass.el (disassemble-internal):
7137         * desktop.el (desktop-load-file):
7138         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7139         (describe-function-1):
7140         * emacs-lisp/find-func.el (find-function-noselect):
7141         * emacs-lisp/elp.el (elp-instrument-function):
7142         * emacs-lisp/advice.el (ad-has-proper-definition):
7143         * apropos.el (apropos-safe-documentation, apropos-macrop):
7144         * emacs-lisp/debug.el (debug-on-entry):
7145         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7146         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7147         * calc/calc.el (name): Use autoloadp & autoload-do-load.
7149 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
7151         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7152         function, not an obsolete variable (Bug#12046).
7154 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7156         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
7158 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
7160         * emacs-lisp/pp.el (pp-display-expression): Select old selected
7161         window only if it is still live (Bug#12034).
7163 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
7165         * subr.el (redirect-frame-focus): Add advertised calling
7166         convention (Bug#12030).
7168 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
7170         Prefer typical American spelling for "acknowledgment".
7171         * vc/add-log.el (change-log-acknowledgment): Rename from
7172         change-log-acknowledgement, with an alias for the old name.
7174 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
7176         * calc-alg.el (math-simplify-divide): Don't cross multiply
7177         in an equation when the lhs is a variable.
7179 2012-07-24  Julien Danjou  <julien@danjou.info>
7181         * net/netrc.el (netrc-find-service-number, netrc-store-data):
7182         Remove, unused.
7184 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
7186         * startup.el (command-line): Don't display an empty user name in
7187         the error message about non-existent home directory, when
7188         init-file-user was set to an empty string.  See
7189         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7190         for the details and context.
7192 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7194         * ses.el (ses-cell-formula-aset): New macro.
7195         (ses-cell-references-aset): New macro.
7196         (ses-cell-p): New function.
7197         (ses-rename-cell): Do no longer rely on complex operations like
7198         ses-cell-set-formula or ses-set-cell to change the cell and handle
7199         the undo at the same time, but rather use lower level new macros
7200         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7201         the undo directly.  Refresh the mode line.
7203 2012-07-21  Leo Liu  <sdl.web@gmail.com>
7205         * progmodes/cc-cmds.el (c-defun-name):
7206         Use match-string-no-properties instead for consistency.
7208 2012-07-20  Leo Liu  <sdl.web@gmail.com>
7210         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7211         (Bug#7879)
7213         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7215 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7217         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7218         * progmodes/bug-reference.el, misearch.el: Provide themselves
7219         (bug#11915).
7221         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7222         of narrowed buffer (bug#11966).
7224 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7226         * ses.el (ses-rename-cell): Set new name also in reference list of
7227         cells of which the renamed cell depends.
7229 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
7231         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7232         to check whether menu-bar is shown or not.  If not shown,
7233         show the menu-bar as a popup menu instead of using tmm.
7234         * mouse.el (popup-menu): Accept `point' as `position' argument.
7236 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
7238         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7239         up inside string symbol literal (bug#11923).
7241 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
7243         * startup.el (fancy-startup-text): Read the whole tutorial, not
7244         just its first 256 bytes.  Prevents gibberish in display of the
7245         tutorial title.
7247 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
7249         Drop idle buffer compaction due to an absence of the
7250         proved efficiency.
7251         * compact.el: Remove.
7253 2012-07-19  Sam Steingold  <sds@gnu.org>
7255         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7256         vc-bzr-pull & vc-bzr-merge-branch.
7257         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7258         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7259         for consistency with compilation-error-regexp-alist.
7260         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7261         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7262         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7263         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7265 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7267         * emacs-lisp/chart.el: Use lexical-binding.
7268         (chart-emacs-storage): Don't hardcode the list of entries.
7270 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7272         Next round of tweaks caused by Fgarbage_collect changes.
7273         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7275 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7277         Compact buffers when idle.
7278         * compact.el: New file.
7280 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7282         * subr.el (eventp): Presume that if it looks vaguely like an event,
7283         it's an event (bug#10190).
7285 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
7287         Enhancements to ppss related code (thanks Stefan).
7288         * progmodes/python.el (python-indent-context)
7289         (python-indent-calculate-indentation, python-indent-dedent-line)
7290         (python-indent-electric-colon, python-nav-forward-block)
7291         (python-mode-abbrev-table)
7292         (python-info-assignment-continuation-line-p): Simplify checks
7293         for ppss context.
7294         (python-info-continuation-line-p): Cleanup.
7295         (python-info-ppss-context): Do not catch 'quote.
7296         (python-info-ppss-context-type)
7297         (python-info-ppss-comment-or-string-p): Simplify.
7299 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
7301         * progmodes/python.el: Enhancements to eldoc support.
7302         (python-info-current-symbol): New function.
7303         (python-eldoc-at-point): Use python-info-current-symbol.
7304         (python-info-current-defun): Fix cornercase on first defun scan.
7305         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7306         and signal error when no inferior python process is available.
7308 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
7310         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7311         assume it's always t.
7312         (vc-git-registered): Remove caching, the function is only called
7313         once.
7314         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7316 2012-07-18  Chong Yidong  <cyd@gnu.org>
7318         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7320         * simple.el (count-words): Report on narrowing (Bug#9959).
7322         * bindings.el: Bind M-= to count-words.
7324         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7326 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
7328         * progmodes/sh-script.el (sh-imenu-generic-expression):
7329         Capture a function with `function' keyword and without parentheses
7330         like "function FOO" (bug#11856).
7332 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
7334         * window.el (split-window-sensibly): Make WINDOW argument
7335         optional.
7337 2012-07-18  Chong Yidong  <cyd@gnu.org>
7339         * subr.el (keyboard-translate): Doc fix (Bug#7261).
7341         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7342         and make C-x 8 RET exit isearch (Bug#11439).
7344         * international/iso-transl.el: Move isearch-mode-map key
7345         definitions to isearch.el.
7347 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7349         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7350         (eieio-defclass): Use gv-define-setter when possible.
7352 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
7354         Reflect recent changes in Fgarbage_collect.
7355         * emacs-lisp/chart.el (chart-emacs-storage): Change to
7356         reflect new format of data returned by Fgarbage_collect.
7358 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7360         New utility functions + python-info-ppss-context fix (Bug#11910).
7361         * progmodes/python.el (python-info-beginning-of-block-statement-p)
7362         (python-info-ppss-comment-or-string-p): New functions.
7363         (python-info-ppss-context): Small fix for string check.
7365 2012-07-17  Juri Linkov  <juri@jurta.org>
7367         * dired-aux.el (dired-do-async-shell-command): Doc fix.
7368         (dired-do-async-shell-command): Don't add `*' at the end of the
7369         command (Bug#11815).
7370         (dired-do-shell-command): Doc fix.
7371         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7372         Join the individual commands using either "&" or ";" as the
7373         separator depending on the values of these trailing characters.
7374         At the end re-add the trailing "&".  (Bug#10598)
7376         * simple.el (async-shell-command): Sync the interactive spec with
7377         `shell-command'.  Doc fix.
7378         (shell-command): Doc fix.
7380 2012-07-17  Juri Linkov  <juri@jurta.org>
7382         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
7384 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7386         Final renames and doc fixes for movement commands (bug#11899).
7387         * progmodes/python.el (python-nav-beginning-of-statement):
7388         Rename from python-nav-statement-start.
7389         (python-nav-end-of-statement): Rename from
7390         python-nav-statement-end.
7391         (python-nav-beginning-of-block): Rename from
7392         python-nav-block-start.
7393         (python-nav-end-of-block): Rename from python-nav-block-end.
7395 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7397         * progmodes/python.el (python-shell-send-string-no-output):
7398         Allow accept-process-output to quit, keeping shell process ready for
7399         future interactions (Bug#11868).
7401 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7403         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7405         * emacs-lisp/elint.el (elint-find-args-in-code):
7406         Use help-function-arglist, so as to handle lexical byte-code.
7408         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7409         change (bug#11826).
7411 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7413         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7414         Avoid spuriously marking the buffer as modified because of c-is-sws.
7416         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7417         as not-a-comment (bug#11946).
7419         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7420         for uninterned vars.
7422         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7423         Use read-event since we don't really want to read chars but bytes.
7425         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7426         $$..$$ but also $..$ using regexps (bug#11953).
7427         Use tex-verbatim for \url and \path.
7428         (tex-font-lock-keywords): Define as defconst like the others.
7429         (tex-common-initialization): Don't use font-lock-syntax-table any more.
7431 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
7433         * international/mule-cmds.el (ucs-insert): Make it an obsolete
7434         alias for insert-char.
7436 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7438         * progmodes/python.el: Simplified imenu implementation.
7439         (python-nav-jump-to-defun): Remove command.
7440         (python-mode-map): Use `imenu' instead.
7441         (python-nav-list-defun-positions-cache)
7442         (python-imenu-include-defun-type, python-imenu-make-tree)
7443         (python-imenu-subtree-root-label, python-imenu-index-alist):
7444         Remove vars.
7445         (python-nav-list-defun-positions, python-nav-read-defun)
7446         (python-imenu-tree-assoc, python-imenu-make-element-tree)
7447         (python-imenu-make-tree, python-imenu-create-index):
7448         Remove functions.
7449         (python-mode): Update to interact with imenu by setting
7450         `imenu-extract-index-name-function' only.
7452 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7454         * progmodes/python.el: Enhancements to navigation commands.
7455         (python-nav-backward-sentence)
7456         (python-nav-forward-sentence): Remove.
7457         (python-nav-backward-statement, python-nav-forward-statement)
7458         (python-nav-statement-start, python-nav-statement-end)
7459         (python-nav-backward-block, python-nav-forward-block)
7460         (python-nav-block-start, python-nav-block-end)
7461         (python-nav-forward-sexp-function)
7462         (python-info-current-line-comment-p)
7463         (python-info-current-line-empty-p): New functions.
7464         (python-indent-context): Use `python-nav-statement-start'.
7466 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
7468         * eshell/em-ls.el (eshell/ls): Use `apply'.
7470         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7471         multi-hops, instead of Tramp internals.
7473         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7475         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7476         when F1 and F2 are located on different hosts.
7478 2012-07-14  Chong Yidong  <cyd@gnu.org>
7480         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7481         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7482         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7483         (xterm-mouse--read-event-sequence-1000)
7484         (xterm-mouse--read-event-sequence-1006): New functions.  For old
7485         mouse protocol, handle M-mouse-X events correctly.
7486         (xterm-mouse-event): New arg specifying mouse protocol.
7487         (turn-on-xterm-mouse-tracking-on-terminal)
7488         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7489         sequence to toggle extended coordinates on newer XTerms.
7490         This appears to be harmless on terminals which do not support this.
7492 2012-07-14  Leo Liu  <sdl.web@gmail.com>
7494         Add fringe bitmap indicators for flymake.  (Bug#11253)
7495         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7496         (flymake-make-overlay): New arg BITMAP.
7497         (flymake-error-bitmap, flymake-warning-bitmap)
7498         (flymake-fringe-indicator-position): New user variables.
7500         * fringe.el: New bitmap exclamation-mark.
7502 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7504         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7505         also (Bug#7879).
7507 2012-07-14  Chong Yidong  <cyd@gnu.org>
7509         * electric.el (electric-pair-post-self-insert-function): Fix pair
7510         insertion in empty-region case (Bug#11520).
7512 2012-07-14  Chong Yidong  <cyd@gnu.org>
7514         * bindings.el: Consolidate ctl-x-r-map bindings.
7515         Bind copy-rectangle-as-kill to C-x r w.
7517         * rect.el, register.el: Move bindings to bindings.el.
7519 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
7521         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7523 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7525         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
7527 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
7529         * bindings.el (top): Use `mapc' instead of `mapcar'.
7531         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7533 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
7535         * progmodes/sql.el (sql-comint): Suppress the check for program on
7536         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
7537         (Bug#11908)
7539 2012-07-13  Chong Yidong  <cyd@gnu.org>
7541         * bindings.el: Assign a non-nil permanent-local property to
7542         per-buffer variables which lack a default value (Bug#11930).
7544         * help-fns.el (describe-variable): In the "automatically becomes
7545         local" notice, take note of permanent-local variables.
7547 2012-07-13  Chong Yidong  <cyd@gnu.org>
7549         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
7550         to allow printing the message when called from Lisp.
7552         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7553         Remove toggle-read-only.
7555         * bs.el (bs-toggle-readonly):
7556         * buff-menu.el (Buffer-menu-toggle-read-only):
7557         Remove with-no-warnings around toggle-read-only.
7559         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7560         Remove with-no-warnings around toggle-read-only.
7561         (ffap-read-only, ffap-read-only-other-window)
7562         (ffap-read-only-other-frame): Callers changed.
7564         * help-mode.el: Don't require view package.
7565         (help-mode-finish): Set buffer-read-only instead of calling
7566         toggle-read-only.
7568         * bindings.el (mode-line-toggle-read-only):
7569         * dired.el (dired-toggle-read-only):
7570         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7571         with non-nil second arg.
7573         * emacs-lisp/eieio-custom.el (eieio-customize-object):
7574         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7575         directly.
7577 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
7579         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7580         not incf.
7582 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7584         More CL cleanups and reduction of use of cl.el.
7585         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7586         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7587         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7588         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7589         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7590         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7591         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7592         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7593         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7594         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7595         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7596         * eshell/em-cmpl.el, eshell/em-banner.el:
7597         * calendar/parse-time.el: Use cl-lib.
7598         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7599         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7600         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7601         * term/ns-win.el, term.el, shell.el, ps-samp.el:
7602         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7603         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7604         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7605         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7606         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7607         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7608         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7609         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7610         `lambda' rather than with `quote'.
7611         (eshell-do-opt): Adjust accordingly.
7612         (eshell-process-option): Simplify.
7613         * eshell/esh-var.el:
7614         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7615         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7616         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7617         to `pcase--dontcare'.
7618         * emacs-lisp/cl.el (labels): Mark obsolete.
7619         (cl--letf, letf): Move to cl-lib.
7620         (cl--letf*, letf*): Remove.
7621         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7622         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7623         (cl-progv): Rewrite.
7624         (cl--letf, cl-letf): Move from cl.el.
7625         (cl-letf*): New macro.
7626         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7628 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
7630         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7632 2012-07-11  Chong Yidong  <cyd@gnu.org>
7634         * vc/log-edit.el (log-edit-vc-backend): New variable.
7635         (log-edit): Doc fix.
7637         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
7638         argument of log-edit to set up all local variables.
7639         (vc-start-logentry): New optional arg specifying VC backend.
7641         * vc/vc.el (vc-checkin): Use it.
7642         (vc-deduce-fileset): Handle Log Edit buffers.
7643         (vc-diff): Make first argument optional too.
7645         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7647 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
7649         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7650         command, just in case.  The function is not needed anymore.
7651         (eshell-external-command): Do not call `eshell-remote-command'.
7653 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7655         Reduce use of (require 'cl).
7656         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7657         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7658         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7659         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7660         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7661         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7662         * battery.el, avoid.el, abbrev.el: Use cl-lib.
7663         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7664         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7665         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7666         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7667         * calculator.el, autorevert.el, apropos.el: Don't require CL.
7668         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7669         (byte-compile-unfold-bcf, byte-compile-check-variable):
7670         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7671         (byte-compile-nilconstp):
7672         * emacs-lisp/autoload.el (make-autoload): Use pcase.
7673         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7675         * emacs-lisp/gv.el (cond): Make it a valid place.
7676         (if): Simplify slightly.
7678         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7679         (pcase--self-quoting-p): New function.
7680         (pcase--u1): Use it.
7682 2012-07-10  Glenn Morris  <rgm@gnu.org>
7684         * emacs-lisp/authors.el (authors-fixed-entries):
7685         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7687 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
7689         Rename configure.in to configure.ac (Bug#11603).
7690         * emacs-lisp/authors.el (authors-canonical-file-name):
7691         * progmodes/autoconf.el (autoconf-mode):
7692         Prefer configure.ac to configure.in.
7694 2012-07-08  Chong Yidong  <cyd@gnu.org>
7696         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7697         Implement the mouse-1-click-follows-link handling properly.
7699         * info.el (Info-link-keymap): Use follow-link mechanism for
7700         header-line links (Bug#374).
7702         * simple.el (deactivate-mark): Do not set the primary selection
7703         if another program has acquired it (Bug#11772).
7705 2012-07-07  Kevin Ryde  <user42@zip.com.au>
7707         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7708         (woman-decode-region): Replace escaped-escapes without destroying
7709         bold or underline (Bug#11552).
7710         (woman2-process-escapes): Handle nofill regions (Bug#11591).
7712 2012-07-07  Chong Yidong  <cyd@gnu.org>
7714         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7715         (interprogram-cut-function, interprogram-paste-function):
7716         Mention that we typically mean the clipboard.
7718 2012-07-06  Glenn Morris  <rgm@gnu.org>
7720         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
7722         * files.el (toggle-read-only): Restrict message to interactive use.
7724 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
7726         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7728         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7730 2012-07-06  Glenn Morris  <rgm@gnu.org>
7732         * Makefile.in (compile-one-process): Rename from "recompile".
7734         * Makefile.in (bzr-update): "compile" is the same as "recompile
7735         autoloads", but parallelizable, so use that instead.
7737 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
7739         * window.el (quit-window): Always restore window height when
7740         it's saved in quit-restore parameter (Bug#11810).
7742 2012-07-06  Glenn Morris  <rgm@gnu.org>
7744         * simple.el (kill-whole-line): Doc tweak.
7746 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
7748         * files.el (file-relative-name): Compare file names
7749         case-insensitively if on MS-Windows or MS-DOS, or if
7750         read-file-name-completion-ignore-case is non-nil.  Don't use
7751         case-fold-search for this purpose.  (Bug#11827)
7753 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
7755         * calendar/cal-dst.el (calendar-current-time-zone):
7756         Return calendar-current-time-zone-cache if non-nil.
7758 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
7759 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7761         * calendar/cal-dst.el (calendar-current-time-zone):
7762         Return calendar-current-time-zone-cache if non-nil.
7764 2012-07-06  Glenn Morris  <rgm@gnu.org>
7766         * Makefile.in (cvs-update): Remove old alias.
7768 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
7770         Sync with Tramp 2.2.6-pre.
7772         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7773         compatible declaration.
7775         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7776         Protect `list-load-path-shadows' call.
7778         * net/tramp-compat.el (top): Require packages, which aren't
7779         autoloaded anymore for XEmacs.  Protect call of
7780         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7781         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
7782         it hurts at least for SXEmacs.
7783         (tramp-compat-temporary-file-directory): In XEmacs, there is no
7784         standard-value for `temporary-file-directory'.
7786         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7787         Redirect stderr to /dev/null.
7788         (tramp-sh-handle-write-region): uid and gid can be floats.
7789         Reported by Russell Sim <russell.sim@gmail.com>.
7790         (tramp-sh-handle-vc-registered): Hide errors.
7791         (tramp-vc-file-name-handler): Use dummy results for `process-file'
7792         and `start-file-process'.
7793         (tramp-maybe-open-connection): Check also whether `non-essential'
7794         is bound.
7796 2012-07-04  Chong Yidong  <cyd@gnu.org>
7798         * xml.el (xml--parse-buffer): Use xml-syntax-table.
7799         (xml-parse-tag): Likewise, and avoid changing entity tables.
7800         (xml-syntax-table): Define from scratch, making sure not to give
7801         x2000 and other Unicode spaces whitespace syntax, since those are
7802         not spaces in XML.
7803         (xml-parse-fragment): Delete unused function.
7804         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7805         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7806         (xml-entity-ref, xml-pe-reference-re)
7807         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7808         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7809         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7810         (xml-entity-value-re): Use syntax references in regexps where
7811         possible; no need to define inside a let-binding.
7812         (xml-parse-dtd): Use xml-pe-reference-re.
7813         (xml-entity-or-char-ref-re): New defconst.
7814         (xml-parse-string, xml-substitute-special): Use it.
7816 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7818         * files.el (locate-dominating-file): Allow `name' to be a predicate.
7819         (find-file--read-only): New function.
7820         (find-file-read-only, find-file-read-only-other-window)
7821         (find-file-read-only-other-frame): Use it.
7822         (insert-file-contents-literally): Don't `fset'.
7823         (get-free-disk-space): Use locate-dominating-file.
7825         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7826         function is already compiled.
7828         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
7830 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
7832         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7833         files on the same host.
7835 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
7837         * help-fns.el (describe-function-1): Only call
7838         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
7840 2012-07-03  Chong Yidong  <cyd@gnu.org>
7842         * xml.el: Protect parser against XML bombs.
7843         (xml-entity-expansion-limit): New variable.
7844         (xml-parse-string, xml-substitute-special): Use it.
7845         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7847 2012-07-03  Glenn Morris  <rgm@gnu.org>
7849         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7850         Allow linking to specific messages in debbugs reports (eg 123#5).
7852 2012-07-02  Chong Yidong  <cyd@gnu.org>
7854         * xml.el: Fix entity and character reference expansion, allowing
7855         them to expand into markup as per XML spec.
7856         (xml-default-ns): New variable.
7857         (xml-entity-alist): Use XML spec definitions for lt and amp.
7858         (xml-parse-region): Make first two arguments optional.
7859         Discard text properties.
7860         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7861         All callers changed.
7862         (xml-parse-tag): Call xml-parse-tag-1.  For backward
7863         compatibility, this function should not modify buffer contents.
7864         (xml-parse-tag-1): Fix opening-tag regexp.
7865         (xml-parse-string): Rewrite, handling entity and character
7866         references properly.
7867         (xml--entity-replacement-text): Signal an error if a parameter
7868         entity is undefined.
7870 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7872         * comint.el (comint-output-filter): Filter out repeated prompts.
7874         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7875         and file-name-absolute-p.
7876         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7877         internal calls.
7879 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
7881         Spelling fixes.
7882         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7883         Rename from byte-compile--refiy-function.  All uses changed.
7885 2012-07-01  Chong Yidong  <cyd@gnu.org>
7887         * xml.el (xml--parse-buffer): New function.  Move most of
7888         xml-parse-region here.
7889         (xml-parse-region): Copy region into a temporary buffer, since
7890         parameter entity substitution requires changing buffer contents.
7891         Use xml--parse-buffer.
7892         (xml-parse-file): Use xml--parse-buffer.
7893         (xml-parse-dtd): Make parameter entity substitution work right.
7894         Use proper regexps for ELEMENT declarations (Bug#7172).
7896 2012-06-30  Glenn Morris  <rgm@gnu.org>
7898         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7900         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7901         Remove outdated and unnecessary dbus declarations.
7903 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
7905         * emacs-lisp/timer.el (timer-until): Subtract results of
7906         float-time, instead of taking float-time of the result of
7907         time-subtract, since float-time signals an error for negative time
7908         arguments.
7910 2012-06-30  Chong Yidong  <cyd@gnu.org>
7912         * xml.el (xml-*-re): Convert defvars into defconsts, and
7913         eval-and-compile them so eval-and-compile works on derivatives.
7914         (xml--entity-replacement-text): Use eval-and-comple.
7916 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
7918         * vc/vc-git.el (vc-git-registered): Use cache property
7919         `git-registered'.
7920         (vc-git-mode-line-string): Call `vc-working-revision' instead of
7921         `vc-git-working-revision' in order to benefit from the cache.
7922         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
7924 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7926         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7927         removed (likely outside Emacs).  (Bug#11757)
7929 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7931         * emacs-lisp/cl-lib.el: Require macroexp.
7933 2012-06-30  Chong Yidong  <cyd@gnu.org>
7935         * xml.el: Implement XML parameter entities.
7936         (xml-parameter-entity-alist): New variable.
7937         (xml-parse-region, xml-parse-fragment): Preserve previous values
7938         of xml-entity-alist and xml-parameter-entity-alist, so that
7939         repeated calls on different documents do not change them.
7940         (xml-parse-tag): Fix doctype regexp.
7941         (xml--entity-replacement-text): New function.
7942         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
7943         properly requires url retrieval which is unimplemented.
7944         (xml-escape-string): Doc fix.
7946 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7948         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7950 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
7952         * fringe.el (fringe-mode): Doc fix.
7954 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
7956         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7957         is non-nil.
7958         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7959         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
7961 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
7963         * calendar/cal-dst.el (calendar-current-time-zone):
7964         Return calendar-current-time-zone-cache if non-nil.
7966 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
7968         * progmodes/which-func.el (which-func-format):
7969         Add mouse-face.  (Bug#11698)
7971 2012-06-29  Leo Liu  <sdl.web@gmail.com>
7973         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7975 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7977         * minibuffer.el (minibuffer-confirm-exit-commands):
7978         Add completion-at-point (bug#11725).
7980 2012-06-29  Glenn Morris  <rgm@gnu.org>
7982         * progmodes/f90.el (f90-font-lock-keywords-2):
7983         Add some preprocessor elements.  (Bug#10499)
7985 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7987         * progmodes/cperl-mode.el (cperl-update-syntaxification):
7988         Use syntax-propertize (bug#11739).
7990 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
7992         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7994 2012-06-28  Julien Danjou  <julien@danjou.info>
7996         * term.el (term-handle-colors-array): Use a set of new faces to
7997         color the terminal.  Also uses :inverse-video property.
7998         (term-default-fg-color): Set to nil by default, deprecate in favor
7999         of `term-face'.
8000         (term-default-bg-color): Set to nil by default, deprecate in favor
8001         of `term-face'.
8002         (term-current-face): Use `term-face' by default.
8003         (term-bold-attribute): Variable deleted.
8005 2012-06-28  Glenn Morris  <rgm@gnu.org>
8007         * simple.el (completion-list-mode-finish):
8008         Don't use toggle-read-only.  (Since completion-list-mode has
8009         a special mode-class, it wasn't doing anything extra anyway.)
8011 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8013         Make inlining of other-mode interpreted functions work (bug#11799).
8014         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8015         (byte-compile): Use it to fix compilation of lexical-binding closures.
8016         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8017         function, if needed.
8019 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8021         * help-mode.el (help-make-xrefs): Don't just withstand
8022         cyclic-variable-indirection but any error in documentation-property.
8024         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8025         memory use.
8026         * bindings.el (bindings--define-key): New function.
8027         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8028         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8029         * bindings.el: Use it to purecopy define-key bindings.
8031         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8033         * emacs-lisp/cl.el (flet): Mark obsolete.
8034         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8035         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8036         * progmodes/js.el (js-c-fill-paragraph):
8037         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8038         (ebrowse-switch-member-buffer-to-derived-class):
8039         * play/5x5.el (5x5-solver): Use cl-flet.
8041         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
8042         (cl--symbol-function): New macro.
8043         (cl--letf, cl--letf*): Use it.
8045         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8046         Strip "toggle-" if any.
8048 2012-06-27  Glenn Morris  <rgm@gnu.org>
8050         * info.el (Info-default-directory-list): Move here from paths.el.
8051         * paths.el: Remove file, which is now empty.
8052         * loadup.el: No longer load "paths".
8054         * custom.el (custom-initialize-delay): Doc fix.
8056         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8057         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8058         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8059         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8060         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8061         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8062         * eshell/eshell.el (eshell-defgroup): Remove alias.
8064 2012-06-27  Chong Yidong  <cyd@gnu.org>
8066         * help.el (help-enable-auto-load): New variable.
8068         * help-fns.el (help-fns--autoloaded-p): New function.
8069         (describe-function-1): Refer to a function as "autoloaded" if it
8070         was autoloaded at any time in the past.  Perform autoloading if
8071         help-enable-auto-load is non-nil.
8073 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
8075         * makefile.w32-in (compile, compile-always): Depend on
8076         update-subdirs, not on subdirs.el.  Otherwise, several different
8077         sub-targets of 'bootstrap' running in parallel could
8078         simultaneously write to subdirs.el, producing a garbled file.
8080 2012-06-26  Sam Steingold  <sds@gnu.org>
8082         * files.el (file-name-base): New convenience function.
8083         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8084         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8085         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8086         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8087         * textmodes/ispell.el, textmodes/reftex-ref.el:
8088         * textmodes/tex-mode.el: Use it.
8089         Did not touch cedet and org because they are maintained elsewhere.
8091 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
8093         * calendar/calendar.el (calendar-exit): Don't try to delete or
8094         iconify last frame.  See:
8095         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8097 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
8099         * server.el (server-process-filter): Remember dir in the
8100         process's `server-client-directory' properties.
8102 2012-06-24  Chong Yidong  <cyd@gnu.org>
8104         * xml.el (xml-parse-tag): Correctly handle comment embedded in
8105         non-tag text.
8107 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
8109         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8111 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8113         * help-fns.el (describe-variable): Don't croak when doc is not found.
8114         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8115         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8116         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8117         * emacs-lisp/smie.el (smie-next-sexp): CSE.
8118         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8119         ((lambda ..) ..).
8120         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8122 2012-06-23  Chong Yidong  <cyd@gnu.org>
8124         * info.el (Info-mouse-follow-link): Accept symbol values of
8125         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
8126         (Info-fontify-node): Use Info-link-keymap for all navigation
8127         buttons, with link-args property to perform the desired action.
8128         (Info-link-keymap): Doc fix.
8129         (Info-next-link-keymap, Info-prev-link-keymap)
8130         (Info-up-link-keymap): Delete now-unused keymaps.
8132 2012-06-23  Chong Yidong  <cyd@gnu.org>
8134         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8136         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8137         system abbrevs.
8139         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8141 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8143         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8144         (bug#11719).
8146         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8147         the requote function doesn't work properly (bug#11714).
8149 2012-06-23  Glenn Morris  <rgm@gnu.org>
8151         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8153 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8155         Further GV/CL cleanups.
8156         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8157         gv-expander.
8158         (gv--defun-declaration): New function.
8159         (defun-declarations-alist): Use it.
8160         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8161         (gv-place): Autoload.
8162         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8163         original definition of dotimes and dolist.
8164         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8165         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8166         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8167         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8168         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8169         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8170         to the function's definition.
8171         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8172         * window.el:
8173         * files.el:
8174         * faces.el:
8175         * env.el: Don't use CL.
8177 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
8179         Support higher-resolution time stamps (Bug#9000).
8181         * calendar/time-date.el (with-decoded-time-value): New arg
8182         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
8183         (encode-time-value): New optional arg PICO.  New type 3.
8184         (time-to-seconds) [!float-time]: Support the new picoseconds
8185         component if it's used.
8186         (seconds-to-time, time-subtract, time-add):
8187         Support ps-resolution time stamps as well.
8189         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
8190         (timerp): Timer vectors now have length 9, not 8.
8191         (timer--time): Support new-style (4-part) time stamps.
8192         (timer-next-integral-multiple-of-time): Time stamps now have
8193         picosecond resolution, so take a bit more care about rounding.
8194         (timer-relative-time, timer-inc-time): New optional arg psecs.
8195         (timer-set-time-with-usecs): Set psecs to 0.
8196         (timer--activate): Check psecs component, too.
8198         * proced.el (proced-time-lessp): Support ps-resolution stamps.
8200 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8202         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8203         Move the non-essential binding to the post/pre-command-hook where it is
8204         more obviously correct.
8206         * subr.el (read-passwd): Don't use a history at all.
8207         * savehist.el (savehist-save): Remove password saved accidentally
8208         because of the above bug.
8210 2012-06-22  Bastien Guerry  <bzg@gnu.org>
8212         * files.el (toggle-read-only): Display a message telling whether
8213         the buffer is read-only or not (bug#11726).
8215 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8217         * emacs-lisp/gv.el: New file.
8218         * subr.el (push, pop): Extend to generalized variables.
8219         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8220         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8221         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
8222         gv-define-simple-setter, and gv-define-expander.
8223         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
8224         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8225         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8226         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8227         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8228         gv-letplace.
8229         (cl-defstruct): Don't define setf-method any more.
8230         * emacs-lisp/cl.el (flet): Don't autoload.
8231         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8232         (define-setf-expander, defsetf, define-modify-macro)
8233         (cl-struct-setf-expander): Move from cl-lib.el.
8234         * emacs-lisp/syntax.el:
8235         * emacs-lisp/ewoc.el:
8236         * emacs-lisp/smie.el:
8237         * emacs-lisp/cconv.el:
8238         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8239         (timer--time): Use gv-define-simple-setter.
8240         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8241         to avoid coding-system problems in subr.el.  Adjust all users.
8242         (macroexp--maxsize, macroexp-small-p): New functions.
8243         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8244         * scroll-bar.el (scroll-bar-mode):
8245         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8246         (normal-erase-is-backspace-mode): Don't use the `eq' place.
8247         * winner.el (winner-configuration, winner-make-point-alist)
8248         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8249         * files.el (locate-file-completion-table): Avoid list*.
8251 2012-06-22  Chong Yidong  <cyd@gnu.org>
8253         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8254         (dired-create-files): Doc fix (Bug#11329).
8255         (dired-do-copy): Doc fix (Bug#11334).
8256         (dired-mark-read-string): Doc fix (Bug#11553).
8258         * dired.el (dired-recursive-copies, dired-recursive-deletes):
8259         Doc fix (Bug#11326).
8260         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
8261         (dired-dwim-target): Doc fix.
8263         * wdired.el (wdired-mode): Doc fix.
8265 2012-06-22  Glenn Morris  <rgm@gnu.org>
8267         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8268         (pcmpl-rpm-cache-stamp-file): New constant.
8269         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8270         (pcmpl-rpm-packages): Optionally cache list of packages.
8272         * pcmpl-rpm.el (pcmpl-rpm): New group.
8273         (pcmpl-rpm-query-options): New option.
8274         (pcmpl-rpm-packages): No need to inline it.
8275         Use pcmpl-rpm-query-options.
8277         * calendar/calendar.el (calendar-in-read-only-buffer):
8278         Avoid some needless mode changes.
8280 2012-06-21  Chong Yidong  <cyd@gnu.org>
8282         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8283         (desktop-path): Remove . from the default value (Bug#10977).
8284         (desktop-read): Use user-emacs-directory if desktop-path is nil.
8286 2012-06-20  Chong Yidong  <cyd@gnu.org>
8288         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8290 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
8292         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8293         (bug#11201).
8295 2012-06-20  Chong Yidong  <cyd@gnu.org>
8297         * term.el (term-window-width): Handle the case of a missing right
8298         fringe (Bug#8837).
8299         (term-check-size): Use window-text-height (Bug#5445).
8300         (term-mode): Use define-derived-mode.  Minor cleanups.
8301         Set font-lock-defaults (Bug#7692).
8302         (term-move-columns, term-insert-char, term-emulate-terminal)
8303         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8305 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
8307         * net/ange-ftp.el (ange-ftp-get-passwd):
8308         Bind `enable-recursive-minibuffers'.
8309         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8311 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
8313         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8315 2012-06-19  Glenn Morris  <rgm@gnu.org>
8317         * progmodes/python.el (python-mode): Derive from prog-mode.
8319 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
8321         * emulation/edt.el (edt-default-menu-bar-update-buffers)
8322         (edt-user-menu-bar-update-buffers): New functions.
8323         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8325 2012-06-19  Chong Yidong  <cyd@gnu.org>
8327         * subr.el (with-selected-window): Preserve the selected window's
8328         terminal's top-frame (Bug#4702).
8330         * window.el (save-selected-window): Likewise.
8332 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8334         * progmodes/python.el (python-rx-constituents): Move backquote.
8335         (python-skeleton-define, python-define-auxiliary-skeleton):
8336         Use `declare'.
8338 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
8340         * minibuffer.el (read-file-name-default): Revert the patch from
8341         2012-06-17.
8343 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8345         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8346         (pcase--u1, pcase--q1): Don't use apply-partially.
8348 2012-06-18  Glenn Morris  <rgm@gnu.org>
8350         * progmodes/python.el (python-proc, python-buffer)
8351         (python-send-receive, python-send-string): Fix obsolete versions.
8353 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
8355         * window.el (special-display-p): Completely remove stringp
8356         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8358 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
8360         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8362         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8364         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8365         * net/tramp-sh.el (tramp-maybe-open-connection):
8366         Throw if `non-essential' is non-nil.
8368 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
8370         * window.el (special-display-p): Signal an error if BUFFER-NAME
8371         is not a string (Bug#11713).
8373 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
8375         * progmodes/python.el (python-info-beginning-of-backslash):
8376         Rename from python-info-beginning-of-backlash, as a spelling fix.
8378 2012-06-17  Chong Yidong  <cyd@gnu.org>
8380         * term.el (term-emulate-terminal): If term-check-size is called,
8381         move point to the process mark without resetting point (Bug#4635).
8383 2012-06-17  Glenn Morris  <rgm@gnu.org>
8385         * international/mule-cmds.el (mule-menu-keymap)
8386         (set-language-environment, set-locale-environment): Doc tweaks.
8388 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
8390         * cus-face.el (custom-face-attributes): Add wave-style underline
8391         attribute.
8392         * faces.el (set-face-attribute): Update docstring to describe
8393         wave-style underline attribute.
8395 2012-06-16  Chong Yidong  <cyd@gnu.org>
8397         * term/xterm.el (terminal-init-xterm): Discard input before
8398         querying background mode (Bug#10959).
8400 2012-06-16  Stefan Merten  <smerten@oekonux.de>
8402         * textmodes/rst.el: Added and corrected some comments.
8403         (rst-re-alist-def): Improve symbol syntax.
8404         (rst-mode-syntax-table): Correct syntax entries.
8405         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8406         (rst-official-version, rst-official-cvs-rev): Update version
8407         information.
8409 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
8411         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8412         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8414 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
8416         * progmodes/python.el: New python.el merge.
8417         (python-guess-indent): Obsolete var.
8418         (python-indent-guess-indent-offset): New defcustom.
8419         (python-indent): Obsolete var.
8420         (python-indent-offset): New defcustom.
8421         (python-python-command, python-jython-command): Delete var.
8422         (python-shell-interpreter): New defcustom.
8423         (python-pdbtrack-do-tracking-p): Delete var.
8424         (python-pdbtrack-activate): New defcustom.
8425         (python-use-skeletons): Obsolete var.
8426         (python-skeleton-autoinsert): New defcustom.
8427         (inferior-python-filter-regexp, python-continuation-offset)
8428         (python-honour-comment-indentation, python-indent-string-contents)
8429         (python-jython-packages, python-mode-hook)
8430         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8431         (python-shell-prompt-alist)
8432         (python-source-modes): Delete defcustoms.
8433         (python-check-buffer-name, python-eldoc-setup-code)
8434         (python-eldoc-string-code, python-ffap-setup-code)
8435         (python-ffap-string-code, python-fill-comment-function)
8436         (python-fill-decorator-function, python-fill-paren-function)
8437         (python-fill-string-function, python-imenu-include-defun-type)
8438         (python-imenu-make-tree, python-imenu-subtree-root-label)
8439         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8440         (python-shell-compilation-regexp-alist)
8441         (python-shell-completion-module-string-code)
8442         (python-shell-completion-pdb-string-code)
8443         (python-shell-completion-setup-code)
8444         (python-shell-completion-string-code)
8445         (python-shell-enable-font-lock, python-shell-exec-path)
8446         (python-shell-extra-pythonpaths)
8447         (python-shell-internal-buffer-name, python-shell-interpreter-args)
8448         (python-shell-process-environment)
8449         (python-shell-prompt-block-regexp)
8450         (python-shell-prompt-output-regexp)
8451         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8452         (python-shell-send-setup-max-wait, python-shell-setup-codes)
8453         (python-shell-virtualenv-path): New defcustoms.
8454         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8455         (inferior-python-mode-syntax-table, python--prompt-regexp)
8456         (python-buffer, python-command python-python-command)
8457         (python-default-template, python-imports, python-indent-index)
8458         (python-indent-list, python-indent-list-length)
8459         (python-mode-running, python-pdbtrack-is-tracking-p)
8460         (python-preoutput-continuation, python-preoutput-leftover)
8461         (python-preoutput-result, python-preoutput-skip-next-prompt)
8462         (python-prev-dir/file, python-recursing)
8463         (python-saved-check-command, python-version-checked)
8464         (python-which-func-length-limit)
8465         (view-return-to-alist): Delete vars.
8466         (python-check-custom-command, python-dotty-syntax-table)
8467         (python-imenu-index-alist, python-indent-current-level)
8468         (python-indent-dedenters, python-indent-levels)
8469         (python-nav-beginning-of-defun-regexp)
8470         (python-nav-list-defun-positions-cache)
8471         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8472         (python-shell-internal-buffer)
8473         (python-skeleton-available): New vars.
8474         (def-python-skeleton): Delete macro.
8475         (python-skeleton-define): New macro.
8476         (python-define-auxiliary-skeleton, python-rx): New macros.
8477         (python-insert-class): Delete command.
8478         (python-skeleton-class): New command.
8479         (python-insert-def): Delete command.
8480         (python-skeleton-def): New command.
8481         (python-insert-for): Delete command.
8482         (python-skeleton-for): New command.
8483         (python-insert-if): Delete command.
8484         (python-skeleton-if): New command.
8485         (python-insert-try/except, python-insert-try/finally): Delete commands.
8486         (python-skeleton-try): New command.
8487         (python-insert-while): Delete command.
8488         (python-skeleton-while): New command.
8489         (python-backspace): Delete command.
8490         (python-indent-dedent-line-backspace): New command.
8491         (python-electric-colon): Delete command.
8492         (python-indent-electric-colon): New command.
8493         (python-guess-indent): Delete command.
8494         (python-indent-guess-indent-offset): New command.
8495         (python-shift-left): Delete command.
8496         (python-indent-shift-left): New command.
8497         (python-shift-right): Delete command.
8498         (python-indent-shift-right): New command.
8499         (python-find-function): Delete command.
8500         (python-nav-jump-to-defun): New command.
8501         (python-next-statement): Delete command.
8502         (python-nav-forward-sentence): New command.
8503         (python-previous-statement): Delete command.
8504         (python-nav-backward-sentence): New command.
8505         (python-fill-paragraph): Delete command.
8506         (python-fill-paragraph-function): New command.
8507         (python-send-buffer): Delete command.
8508         (python-shell-send-buffer): New command.
8509         (python-send-defun): Delete command.
8510         (python-shell-send-defun): New command.
8511         (python-send-region, python-send-region-and-go): Delete commands.
8512         (python-shell-send-region)
8513         (python-shell-switch-to-shell): New commands.
8514         (python-send-string): Delete command.
8515         (python-shell-send-string): New command.
8516         (python-switch-to-python): Delete command.
8517         (python-shell-switch-to-shell): New command.
8518         (python-describe-symbol): Delete command.
8519         (python-eldoc-at-point): New command.
8520         (python--set-prompt-regexp, python-args-to-list)
8521         (python-after-info-look, python-check-version)
8522         (python-check-comint-prompt, python-find-imports)
8523         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8524         (python-unload-function, python-expand-template)
8525         (python-maybe-jython, python-preoutput-filter)
8526         (python-pdbtrack-get-source-buffer)
8527         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8528         (python-pdbtrack-toggle-stack-tracking)
8529         (python-pdbtrack-track-stack-file, python-initial-text)
8530         (python-first-word, python-comment-line-p, python-send-command)
8531         (python-setup-brm, python-sentinel, python-set-proc)
8532         (python-skip-out, python-input-filter, python-outdent-p)
8533         (python-outline-level, python-backslash-continuation-line-p)
8534         (python-end-of-block, python-end-of-statement, python-mark-block)
8535         (python-beginning-of-block, python-beginning-of-statement)
8536         (python-blank-line-p, python-beginning-of-string)
8537         (python-open-block-statement-p): Delete functions.
8538         (python-indent-line, python-indent-line-1): Delete functions.
8539         (python-indent-line): New function.
8540         (python-indentation-levels): Delete function.
8541         (python-indent-calculate-levels): New function.
8542         (python-proc): Delete function.
8543         (python-shell-get-process): New function.
8544         (python-send-receive): Delete function.
8545         (python-shell-send-string-no-output): New function.
8546         (python-module-path): Delete function.
8547         (python-ffap-module-path): New function.
8548         (python-completion-at-point)
8549         (python-symbol-completions): Delete functions.
8550         (python-completion-complete-at-point): New function.
8551         (python-load-file): Delete function.
8552         (python-shell-send-file): New function.
8553         (python-calculate-indentation): Delete function.
8554         (python-indent-calculate-indentation): New function.
8555         (python-skip-comments/blanks): Delete function.
8556         (python-util-forward-comment): New function.
8557         (python-continuation-line-p): Delete function.
8558         (python-info-continuation-line-p): New function.
8559         (python-which-func, python-current-defun): Delete function.
8560         (python-info-current-defun): New function.
8561         (python-beginning-of-defun): Delete function.
8562         (python-nav-beginning-of-defun): New function.
8563         (python-close-block-statement-p)
8564         (python-block-end-p): Delete function.
8565         (python-info-closing-block): New function.
8566         (python-comint-output-filter-function)
8567         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8568         (python-fill-comment, python-fill-decorator, python-fill-paren)
8569         (python-fill-string, python-imenu-make-element-tree)
8570         (python-imenu-make-tree, python-imenu-tree-assoc)
8571         (python-indent-context, python-indent-dedent-line)
8572         (python-indent-line-function)
8573         (python-indent-post-self-insert-function)
8574         (python-indent-toggle-levels)
8575         (python-info-assignment-continuation-line-p)
8576         (python-info-beginning-of-backlash)
8577         (python-info-block-continuation-line-p)
8578         (python-info-closing-block-message)
8579         (python-info-line-ends-backslash-p)
8580         (python-info-looking-at-beginning-of-defun)
8581         (python-info-ppss-context, python-info-ppss-context-type)
8582         (python-nav-list-defun-positions, python-nav-read-defun)
8583         (python-nav-sentence-end, python-nav-sentence-start)
8584         (python-pdbtrack-comint-output-filter-function)
8585         (python-pdbtrack-set-tracked-buffer)
8586         (python-shell-calculate-exec-path)
8587         (python-shell-calculate-process-environment)
8588         (python-shell-completion--do-completion-at-point)
8589         (python-shell-completion--get-completions)
8590         (python-shell-completion-complete-at-point)
8591         (python-shell-completion-complete-or-indent)
8592         (python-shell-get-or-create-process)
8593         (python-shell-get-process-name)
8594         (python-shell-internal-get-or-create-process)
8595         (python-shell-internal-get-process-name)
8596         (python-shell-internal-send-string, python-shell-make-comint)
8597         (python-shell-parse-command, python-shell-send-setup-code)
8598         (python-skeleton-add-menu-items)
8599         (python-util-clone-local-variables, python-util-position)
8600         (run-python-internal, python-indentation-levels)
8601         (python-nav-beginning-of-defun)
8602         (python-completion-complete-at-point): New functions.
8603         (run-python): Change arguments.  New API requirements.
8605 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8607         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8608         (bug#11649).
8610         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8611         (macroexp--expand-all): Use it.
8613         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8614         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8615         Use `cl-function' instead.
8617 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
8619         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8620         Suggested by Stefan Monnier while discussing bug#11657.
8622 2012-06-14  Sam Steingold  <sds@gnu.org>
8624         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8626 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8628         * play/doctor.el (doctor-doc): Remove parameter and use
8629         doctor-sent instead of sent.
8630         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
8632 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8634         * files.el: Require cl-lib.
8635         (file-name-non-special): Replace case -> cl-case.
8637         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8639         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8640         mapping from #' to function*.
8642 2012-06-13  Chong Yidong  <cyd@gnu.org>
8644         * mouse.el (mouse-drag-track): Do not set the mark if the user
8645         releases the mouse without selecting anything (Bug#11588).
8647 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8649         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8650         as well (bug#11646).
8652         * loadup.el: Count byte-code functions as well.
8654         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8655         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8657         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8658         (bug#11649).  Add cl-defun and cl-defmacro.
8660 2012-06-13  Drew Adams  <drew.adams@oracle.com>
8662         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8663         Fix last change.
8665 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
8667         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8668         Otherwise, it blocks in batch mode.
8670 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
8672         * help-mode.el (bookmark-make-record-default): Declare.
8674 2012-06-13  Chong Yidong  <cyd@gnu.org>
8676         * emacs-lisp/package.el (list-packages): Compute a list of
8677         packages that are newly-available since the last list-packages
8678         invocation.
8679         (package-menu--new-package-list): New var.
8680         (package-menu--generate, package-menu--print-info)
8681         (package-menu--status-predicate, package-menu-mark-install):
8682         Handle new status label "new".
8684 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8686         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8687         conversion to backquotes.
8689 2012-06-12  Chong Yidong  <cyd@gnu.org>
8691         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8692         Rename from gud-inhibit-global-bindings.
8694         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8696         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8697         hook from nxml-glyph-set-hook.
8699         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8700         declaration.
8702         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8704         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8705         Convert to defcustom.
8707 2012-06-12  Drew Adams  <drew.adams@oracle.com>
8709         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8710         New functions.
8711         (help-mode): Use them.
8713 2012-06-11  Glenn Morris  <rgm@gnu.org>
8715         * progmodes/fortran.el (fortran-font-lock-keywords-3):
8716         Use preprocessor face for directives.
8717         (fortran-directive-re): Doc fix.
8719 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8722         conversion to backquotes (bug#11652).
8724         Fix compiler-expansion of CL's cXXr functions (bug#11673).
8725         * emacs-lisp/cl-lib.el (cl--defalias): New function.
8726         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8727         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8728         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8729         (cl-ninth, cl-tenth): Mark them as inlinable.
8730         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8731         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8732         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8733         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8734         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8735         (cl-list*, cl-adjoin): Don't put an autoload manually.
8736         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8737         (cl--compiler-macro-list*): Add autoload cookie.
8738         (cl--compiler-macro-cXXr): New function.
8740         * help-fns.el (help-fns--compiler-macro): New function extracted from
8741         describe-function-1; follow aliases and use `compiler-macro' property.
8742         (describe-function-1): Use it.
8744 2012-06-11  Chong Yidong  <cyd@gnu.org>
8746         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8747         is uninstalled, if imagemagick is installed.
8749 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8751         * emacs-lisp/cl-lib.el: Use lexical-binding.
8752         (cl-map-extents, cl-maclisp-member): Remove.
8753         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8754         (cl--set-substring, cl--block-wrapper, cl--block-throw)
8755         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8756         * emacs-lisp/cl-extra.el: Use lexical-binding.
8757         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8758         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8759         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8760         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8761         * emacs-lisp/cl-seq.el: Use lexical-binding.
8762         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8763         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8764         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8765         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8766         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8767         CL's internals.
8769 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
8771         Sync with Tramp 2.2.6-pre.
8773         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8774         `print-length' and `print-level' to nil, in order to avoid
8775         truncation.  Reported by Christopher Schmidt
8776         <christopher@ristopher.com>.
8778         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8780         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8781         New defmacro.
8782         (tramp-compat-copy-directory): Add optional argument
8783         COPY-CONTENTS.  It is not handled yet.
8785         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8786         (tramp-ftp-file-name-p): Simplify.
8788         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8789         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8790         connection vector.
8792         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8793         (tramp-methods): Do not use `tramp-password-end-of-line'.
8794         (tramp-completion-function-alist-putty): Handle UNIX case.
8795         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8796         (tramp-do-file-attributes-with-stat)
8797         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8798         gid as real numbers.  They could run out of integer range on cygwin.
8799         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8800         (tramp-sh-handle-expand-file-name): Handle hops.
8801         (tramp-open-connection-setup-interactive-shell):
8802         Use `tramp-cleanup'.  Move check for busyboxes ...
8803         (tramp-find-shell): ... here.  Simplify implementation.
8804         Set "remote-shell" property also for alternative shells.
8805         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8806         If failing, a regular file would be written otherwise.
8807         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8808         (tramp-find-inline-encoding): Cache the coding commands in the
8809         process cache.  Apply test command on the remote side, if defined.
8810         (tramp-find-inline-compress): Cache the compress commands in the
8811         process cache.
8812         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8813         when requested.  Handle hops.
8814         (tramp-current-connection): New defvar.
8815         (tramp-maybe-open-connection): Use `tramp-cleanup'.
8816         Throw `suppress', if there was a failed connection shortly before.
8817         Handle user interrupt.  (Bug#10187)
8818         (tramp-get-inline-compress, tramp-get-inline-coding):
8819         Read connection properties from the process cache.
8821         * net/tramp-smb.el (tramp-smb-server-version)
8822         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8823         New defconsts.
8824         (tramp-smb-prompt): Extend for powershell prompt.
8825         (tramp-smb-file-name-handler-alist): Add handlers for
8826         `process-file', `shell-command' and `start-file-process'.
8827         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8828         (tramp-smb-winexe-shell-command-switch): New defcustoms.
8829         (tramp-smb-file-name-p): Simplify.
8830         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8831         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8832         (tramp-smb-shell-quote-argument): New defuns.
8833         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8834         Implement using "tar".  By this, time-stamps are preserved.
8835         (tramp-smb-handle-copy-file): Handle also the case of directories.
8836         (tramp-smb-do-file-attributes-with-stat)
8837         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8838         Use `tramp-get-connection-buffer').
8839         (tramp-smb-handle-rename-file): Use "rename", when source and
8840         target are on the same share.
8841         (tramp-smb-maybe-open-connection): Handle wrong passwords.
8842         Use `tramp-smb-server-version'.
8843         (tramp-smb-wait-for-output): Remove prompt.
8845         * net/tramp.el (top): Require 'cl.
8846         (tramp-methods, tramp-rsh-end-of-line):
8847         Remove `tramp-password-end-of-line' from docstring.
8848         (tramp-save-ad-hoc-proxies): New defcustom.
8849         (tramp-completion-function-alist): Adapt docstring.
8850         (tramp-default-password-end-of-line): Remove defcustom.
8851         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
8852         (tramp-user-regexp, tramp-file-name-regexp-unified)
8853         (tramp-file-name-regexp-url): Extend regexp by hop separator.
8854         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8855         (tramp-remote-file-name-spec-regexp): New defconst.
8856         (tramp-file-name-structure): Extend structure for hops.
8857         (tramp-get-method-parameter): Move up.
8858         (tramp-file-name-p, tramp-dissect-file-name)
8859         (with-parsed-tramp-file-name): Handle hops.
8860         (tramp-file-name-hop): New defun.
8861         (tramp-make-tramp-file-name): New optional arg HOP.
8862         (tramp-message-show-progress-reporter-message): New defvar.
8863         (tramp-with-progress-reporter): Use it.  We cannot use
8864         `tramp-message-show-message' here, because this suppresses also
8865         error buffers.
8866         (tramp-error-with-buffer): Suppress buffer view, if
8867         `tramp-message-show-message' is nil.
8868         Use `tramp-get-connection-buffer'.
8869         (tramp-cleanup): New defun.
8870         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8871         (tramp-file-name-handler): If `debug-on-error' is set, propagate
8872         an error unchanged.
8873         (tramp-completion-handle-file-name-all-completions): Handle hops.
8874         Fix an error when called from ido.
8875         (tramp-completion-dissect-file-name): Use better local variable
8876         name.  Add hop to the vector.
8877         (tramp-handle-insert-file-contents): Use progress-reporter for the
8878         whole scenario.
8879         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8880         to `t'.
8881         (tramp-check-for-regexp): Simplify search.
8882         (tramp-enter-password): Remove it.  Move implementation ...
8883         (tramp-action-password): ... here.
8884         (tramp-mode-string-to-int, tramp-local-host-p)
8885         (tramp-make-tramp-temp-file, tramp-read-passwd)
8886         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8887         Set tramp-autoload cookie.
8889         * net/trampver.el: Update release number.
8891 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8892             Michael Albinus  <michael.albinus@gmx.de>
8894         * net/tramp.el (tramp-set-completion-function): Fix docstring.
8895         (tramp-parse-group, tramp-parse-file)
8896         (tramp-parse-shostkeys-sknownhosts): New defuns.
8897         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8898         (tramp-parse-shosts-group, tramp-parse-sconfig)
8899         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8900         (tramp-parse-sknownhosts, tramp-parse-hosts)
8901         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8902         Use them.
8903         (tramp-parse-passwd-group, tramp-parse-netrc-group)
8904         (tramp-parse-putty-group): Don't narrow.
8905         (tramp-parse-putty): Make a loop.
8906         (tramp-file-name-handler): Catch the `suppress' signal.
8908 2012-06-11  Chong Yidong  <cyd@gnu.org>
8910         * image.el (imagemagick-register-types): Put the ImageMagick entry
8911         at the end of image-type-file-name-regexps.
8913 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
8915         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8916         (pcase, pcase-let*, pcase-dolist): Use them.
8918 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8920         * emacs-lisp/pcase.el (pcase--let*): New function.
8921         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
8922         (pcase--expand): Use macroexp-let².
8924 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8927         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8928         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8929         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8930         * emacs-lisp/derived.el: Use pcase instead of `cl'.
8931         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8933 2012-06-10  Glenn Morris  <rgm@gnu.org>
8935         * mail/rmail.el (rmail-yank-current-message): Leave point at
8936         correct position.  (Bug#11660)
8938 2012-06-10  Chong Yidong  <cyd@gnu.org>
8940         * allout-widgets.el: Fix code header.
8942 2012-06-10  Chong Yidong  <cyd@gnu.org>
8944         * cus-edit.el (customize-changed-options-previous-release):
8945         Bump to 24.1.
8947 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
8949         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8951 2012-06-09  Chong Yidong  <cyd@gnu.org>
8953         * ebuff-menu.el (electric-buffer-list): Preserve header line.
8955 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
8957         * window.el (special-display-popup-frame): Don't use
8958         window--display-buffer (Bug#11651).
8960 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
8962         Fix parallel builds: make sure loaddefs.el is not being written
8963         while Lisp files are compiled.
8964         (compile): Don't depend on 'mh-autoloads'.
8965         (compile-CMD, compile-SH): Depend on 'autoloads'.
8966         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8968         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
8970 2012-06-09  Chong Yidong  <cyd@gnu.org>
8972         * face-remap.el (face-remap-add-relative, face-remap-set-base)
8973         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8974         Doc fixes (Bug#11225).
8976 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8978         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8979         a function if there's a clear indication that it has a compiler-macro.
8980         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8981         (macro-declarations-alist): Add arglist to declaration functions.
8982         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8983         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8984         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8985         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8986         Also add autoload to find the compiler macro.
8987         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8988         (cl--compiler-macro-member, cl--compiler-macro-assoc)
8989         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8990         (cl--compiler-macro-get): New functions, replacing calls to
8991         cl-define-compiler-macro.
8992         (cl-typep) [compiler-macro]: Use macroexp-let².
8994 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
8996         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8997         string properly, fixes Bug#11473.
8999 2012-06-08  Chong Yidong  <cyd@gnu.org>
9001         * faces.el (set-face-attribute): Doc fix.
9002         (modify-face): Don't use :bold and :italic.
9003         (error, warning, success): Tweak definitions.
9005         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9006         (custom-modified, custom-set, custom-changed, custom-themed)
9007         (custom-saved, custom-button, custom-button-mouse)
9008         (custom-button-pressed, custom-state, custom-comment-tag)
9009         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9010         (custom-group-subtitle): Use new-style face specs.
9011         (custom-invalid-face, custom-rogue-face, custom-modified-face)
9012         (custom-set-face, custom-changed-face, custom-saved-face)
9013         (custom-button-face, custom-button-pressed-face)
9014         (custom-documentation-face, custom-state-face)
9015         (custom-comment-face, custom-comment-tag-face)
9016         (custom-variable-tag-face, custom-variable-button-face)
9017         (custom-face-tag-face, custom-group-tag-face-1)
9018         (custom-group-tag-face): Remove obsolete face alias.
9020         * epa.el (epa-validity-high, epa-validity-medium)
9021         (epa-validity-low, epa-mark, epa-field-name, epa-string)
9022         (epa-field-name, epa-field-body):
9023         * font-lock.el (font-lock-comment-face, font-lock-string-face)
9024         (font-lock-keyword-face, font-lock-builtin-face)
9025         (font-lock-function-name-face, font-lock-variable-name-face)
9026         (font-lock-type-face, font-lock-constant-face):
9027         * ido.el (ido-first-match, ido-only-match, ido-subdir)
9028         (ido-virtual, ido-indicator, ido-incomplete-regexp):
9029         * speedbar.el (speedbar-button-face, speedbar-file-face)
9030         (speedbar-directory-face, speedbar-tag-face)
9031         (speedbar-selected-face, speedbar-highlight-face)
9032         (speedbar-separator-face):
9033         * whitespace.el (whitespace-newline, whitespace-space)
9034         (whitespace-hspace, whitespace-tab, whitespace-trailing)
9035         (whitespace-line, whitespace-space-before-tab)
9036         (whitespace-space-after-tab, whitespace-indentation)
9037         (whitespace-empty):
9038         * emulation/cua-base.el (cua-global-mark):
9039         * eshell/em-prompt.el (eshell-prompt):
9040         * net/newst-plainview.el (newsticker-new-item-face)
9041         (newsticker-old-item-face, newsticker-immortal-item-face)
9042         (newsticker-obsolete-item-face, newsticker-date-face)
9043         (newsticker-statistics-face, newsticker-default-face):
9044         * net/newst-reader.el (newsticker-feed-face)
9045         (newsticker-extra-face, newsticker-enclosure-face):
9046         * net/newst-treeview.el (newsticker-treeview-face)
9047         (newsticker-treeview-new-face, newsticker-treeview-old-face)
9048         (newsticker-treeview-immortal-face)
9049         (newsticker-treeview-obsolete-face)
9050         (newsticker-treeview-selection-face):
9051         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9052         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9053         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9054         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9055         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9056         (nxml-outline-active-indicator, nxml-outline-ellipsis):
9057         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9058         (mpuz-text):
9059         * progmodes/vera-mode.el (vera-font-lock-number)
9060         (vera-font-lock-function, vera-font-lock-interface):
9061         * textmodes/table.el (table-cell): Use new-style face specs, and
9062         don't use the old :bold and :italic attributes.
9064         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9065         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9066         (ebrowse-member-class, ebrowse-progress): Likewise.
9067         (ebrowse-tree-mark-face, ebrowse-root-class-face)
9068         (ebrowse-file-name-face, ebrowse-default-face)
9069         (ebrowse-member-attribute-face, ebrowse-member-class-face)
9070         (ebrowse-progress-face): Remove obsolete faces.
9072         * progmodes/flymake.el (flymake-errline, flymake-warnline):
9073         Inherit from error and warning faces respectively.
9075         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9076         Likewise.
9077         (flyspell-incorrect-face, flyspell-duplicate-face):
9078         Remove obsolete aliases.
9080 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
9082         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9083         Avoid infloop.
9085 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9087         * startup.el (argv, argi): Make lexically scoped.
9088         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9089         * emacs-lisp/cl-macs.el: Use lexical-binding.
9090         Rename cl-bind-* to cl--bind-*.
9091         * files.el: Don't require `cl' since it doesn't use it.
9092         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9094 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
9096         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9097         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9098         instead of calling external sort utility.
9099         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9101 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
9103         * descr-text.el (describe-char): Mention how to insert the
9104         character, if the current input method doesn't support it.
9105         See the discussion in this thread for the details:
9106         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9108 2012-06-08  Sam Steingold  <sds@gnu.org>
9110         * bindings.el (global-map): Bind XF86Forward to next-buffer and
9111         XF86Back to previous-buffer.
9112         (minibuffer-local-map): Bind them to next-history-element and
9113         previous-history-element respectively.
9114         * help-mode.el (help-mode-map): Bind them to help-go-forward and
9115         help-go-back respectively.
9116         * info.el (Info-mode-map): Bind them to Info-history-forward and
9117         Info-history-back respectively.
9118         These are the keys next to Up on the ThinkPad keyboard.
9120 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9122         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9123         * emacs-lisp/cl-macs.el: Provide itself.
9124         (cl--labels-convert-cache): New var.
9125         (cl--labels-convert): New function.
9126         (cl-flet, cl-labels): New implementation with new semantics, relying on
9127         lexical-binding.
9128         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9129         (cl-closure-vars, cl--function-convert-cache)
9130         (cl--function-convert): Move from cl-macs.el.
9131         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9132         rename by removing the "cl-" prefix.
9133         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9135 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9137         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9138         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9139         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9140         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9141         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9142         (cl-hash-table-count): Add old compatibility aliases.
9144         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9145         Use macroexpand-all-environment instead.
9146         (cl--old-macroexpand): New var.
9147         (cl--sm-macroexpand): New function.
9148         (cl-symbol-macrolet): Use it during macro expansion.
9149         (cl--function-convert-cache): New var.
9150         (cl--function-convert): New function, extracted from
9151         cl-macroexpand-all.
9152         (cl-lexical-let): Use it.
9154         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9155         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9156         (cl-member): Remove old alias.
9158         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9159         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9160         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9161         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9162         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9163         (cl-macroexpand-cmacs): Remove var.
9164         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9165         Use macroexpand-all instead.
9167 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9169         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9170         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9171         (macroexp-copyable-p): New functions and macros.
9172         * emacs-lisp/edebug.el (edebug-unwrap):
9173         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9174         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9175         (pcase--let*): Remove.
9176         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9177         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
9178         macroexp-const-p instead.
9179         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9181         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9182         instead of "cl-" for internal definitions.  Use macroexp-const-p.
9183         (cl-old-bc-file-form): Remove var.
9184         (cl-const-exprs-p): Remove fun.
9185         (cl-labels, cl-macrolet): Use backquote.
9186         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
9187         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9188         (cl-define-setf-expander): Rename from cl-define-setf-method.
9189         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9191         * international/mule-cmds.el: Don't require CL.
9192         (view-hello-file): Don't use `letf'.
9194 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9196         * tmm.el (tmm-prompt): Use string-prefix-p.
9197         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9198         (tmm-add-prompt): Use minibuffer-completion-help.
9199         (tmm-delete-map): Remove.
9201         * subr.el (kbd): Make it its own function.
9203 2012-06-07  Stefan Merten  <smerten@oekonux.de>
9205         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9206         Silence compiler warnings.  Fix versions.
9207         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9208         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9209         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9210         (rst-package-emacs-version-alist): Correct Emacs version to
9211         represent major merge with upstream.
9212         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9214 2012-06-06  Glenn Morris  <rgm@gnu.org>
9216         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9217         Only print environment variables if set.
9219 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9221         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9222         (macroexp--cons): Rename from maybe-cons.
9223         (macroexp--accumulate): Rename from macroexp-accumulate.
9224         (macroexp--all-forms): Rename from macroexpand-all-forms.
9225         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9226         (macroexp--expand-all): Rename from macroexpand-all-1.
9228 2012-06-06  Sam Steingold  <sds@gnu.org>
9230         * calendar/calendar.el (calendar-in-read-only-buffer):
9231         Call `special-mode' to enable the standard read-only keybindings.
9233 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9235         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9236         with "loading" messages (bug#11635).
9238 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
9240         * files.el (enable-remote-dir-locals): New option.
9241         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
9243         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9244         Ensure, that the temp directory is local.
9246         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9247         `temporary-file-directory'.
9249         * progmodes/python.el (python-send-region): Ensure, that the
9250         temporary file is created also in the remote case.
9252 2012-06-06  Glenn Morris  <rgm@gnu.org>
9254         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9255         (vc-rcs-update-changelog): Use it.
9257         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9259         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9260         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9261         (vc-sccs-diff): Replace use of the external vcdiff script.
9263 2012-06-05  Glenn Morris  <rgm@gnu.org>
9265         * ledit.el: Move to obsolete/.
9267 2012-06-05  Sam Steingold  <sds@gnu.org>
9269         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9270         patch (Bug#11140).
9272 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9274         * emacs-lisp/cust-print.el: Move to obsolete.
9276         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9277         compiler-macro expansion.
9279         Add native compiler-macro support.
9280         * emacs-lisp/macroexp.el (macroexpand-all-1):
9281         Support compiler-macros directly.  Properly follow aliases and apply
9282         the compiler macros more thoroughly.
9283         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9284         macroexpand now properly follows aliases.
9285         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9286         (cl-compiler-macroexpand): Use new prop.
9287         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9289         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9291 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
9293         * window.el (get-lru-window, get-mru-window, get-largest-window):
9294         New argument NOT-SELECTED to avoid picking the selected window.
9295         (window--display-buffer-1, window--display-buffer-2): Replace by
9296         new function window--display-buffer
9297         (display-buffer-same-window, display-buffer-reuse-window)
9298         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9299         Use window--display-buffer.
9300         (display-buffer-use-some-window): Remove temporary dedication
9301         hack by calling get-lru-window and get-largest-window with
9302         NOT-SELECTED argument non-nil.  Call window--display-buffer.
9304 2012-06-05  Glenn Morris  <rgm@gnu.org>
9306         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9307         Replace external vcdiff script.
9309 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9311         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9313 2012-06-04  Chong Yidong  <cyd@gnu.org>
9315         * image.el (imagemagick-types-inhibit): Revert last change.
9316         Add INFO and M.
9317         (imagemagick-enabled-types): Remove CIN and EPS*.
9319 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9321         * emacs-lisp/cl-lib.el: Rename from cl.el.
9322         * emacs-lisp/cl.el: New compatibility file.
9323         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9324         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9325         to obey the "cl-" prefix.
9326         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9328 2012-06-03  Glenn Morris  <rgm@gnu.org>
9330         * emacs-lisp/authors.el (authors-aliases): Addition.
9332         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9333         Fix :version.
9335 2012-06-03  Stefan Merten  <smerten@oekonux.de>
9337         * textmodes/rst.el: Add comments.
9338         (rst-transition, rst-adornment): New faces.
9339         (rst-adornment-faces-alist): Make default safe to reevaluate.
9340         Fixes
9341         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9342         Improve customization tags.
9343         (rst-define-level-faces): Clarify meaning.
9345 2012-06-03  Chong Yidong  <cyd@gnu.org>
9347         * progmodes/compile.el (compilation-mode-line-fail)
9348         (compilation-mode-line-run, compilation-mode-line-exit):
9349         New faces.
9350         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9352 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
9354         * progmodes/which-func.el (which-func-update-ediff-windows):
9355         New function.  Use it in ediff-select-hook (Bug#11478).
9357 2012-06-03  Chong Yidong  <cyd@gnu.org>
9359         * bindings.el: Remove explicit help text from format-mode-line.
9360         It is now supplied by mode-line-default-help-echo.
9361         (mode-line-front-space, mode-line-end-spaces)
9362         (mode-line-misc-info): New variables.
9363         (mode-line-modes, mode-line-position): Move the default value to
9364         the variable definition.
9365         (mode-line-default-help-echo): New defcustom.
9366         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9367         (mode-line-modified-help-echo): New functions.
9368         (mode-line-mule-info, mode-line-modified): Use them.
9369         (mode-line-eol-desc, propertized-buffer-identification):
9370         Consistency fixes for help text.
9371         (mode-line-coding-system-map): Allow using mouse-3 to invoke
9372         set-buffer-file-coding-system (Bug#289).
9373         (mode-line-mule-info-help-echo): Update help text.
9375 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9377         * simple.el (execute-extended-command): Set real-this-command
9378         (bug#11506).
9380 2012-06-02  Chong Yidong  <cyd@gnu.org>
9382         Remove incorrect uses of "modeline" in comments, docstrings, and
9383         function/variable names (Bug#10329).
9385         * cus-edit.el (mode-line):
9386         * dframe.el (dframe-mouse-hscroll):
9387         * emacs-lisp/re-builder.el:
9388         * emacs-lisp/easy-mmode.el (define-minor-mode):
9389         * frame.el (set-frame-name):
9390         * help.el (lookup-minor-mode-from-indicator):
9391         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9392         * progmodes/cc-cmds.el (c-toggle-auto-newline)
9393         (c-toggle-hungry-state):
9394         * progmodes/antlr-mode.el (antlr-language-alist):
9395         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9396         * progmodes/vhdl-mode.el (vhdl-mode):
9397         * progmodes/which-func.el (which-func, which-func-cleanup-function):
9398         * term/ns-win.el (ns-face-at-pos):
9399         * term/sup-mouse.el (sup-mouse-report):
9400         * textmodes/flyspell.el (flyspell-mode-line-string):
9401         * textmodes/ispell.el (ispell-highlight-face):
9402         * textmodes/reftex-global.el:
9403         * vc/vc-arch.el (vc-arch-mode-line-string):
9404         * vc/vc-cvs.el (vc-cvs-mode-line-string):
9405         * vc/vc-git.el (vc-git-mode-line-string):
9406         * vc/vc-hooks.el (vc-display-status)
9407         (vc-default-mode-line-string):
9408         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9410         * ansi-color.el (ansi-color-faces-vector): Change default faces.
9412         * dired.el (dired-sort-set-mode-line): Rename from
9413         dired-sort-set-modeline.  All callers changed.
9415         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9416         eshell-status-in-modeline.
9418         * foldout.el (foldout-mode-line-string): Rename from
9419         foldout-modeline-string.  All callers changed.
9420         (foldout-update-mode-line): Rename from foldout-update-modeline.
9422         * subr.el (redraw-modeline): Make into obsolete alias.
9424         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9425         timeclock-modeline-display.  Make old name an alias.
9426         (timeclock-update-mode-line): Likewise.  All callers changed.
9427         (timeclock-mode-line-display): No need to check before using
9428         add-hook.
9429         (timeclock-relative, timeclock-day-over-hook)
9430         (timeclock-use-elapsed, timeclock-mode-string)
9431         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9433         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9434         crisp-mode-modeline-string.
9436         * play/solitaire.el (solitaire-build-mode-line): Rename from
9437         solitaire-build-modeline.  All callers changed.
9439         * play/zone.el (zone-hiding-mode-line): Rename from
9440         zone-hiding-modeline.  All callers changed.
9441         (zone): Remove unusued `modeline-hidden-level' property.
9443         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9444         xscheme-modeline-initialize.  All callers changed.
9446         * strokes.el (strokes-lighter): Rename from
9447         strokes-modeline-string.
9449         * textmodes/sgml-mode.el (html-face-tag-alist)
9450         (html-tag-face-alist): Use mode-line face instead of obsolete
9451         alias modeline.
9453 2012-06-02  Stefan Merten  <smerten@oekonux.de>
9455         * textmodes/rst.el: Always require `cl'.
9456         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9458 2012-06-02  Chong Yidong  <cyd@gnu.org>
9460         * image.el (imagemagick-enabled-types): Rename from
9461         imagemagick-types-enable.  Add many more types.
9462         (imagemagick-types-inhibit): Change default to nil.
9463         (imagemagick-filter-types): Caller changed.
9465 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9467         * emacs-lisp/cl-macs.el: Use backquotes.
9468         (cl-transform-function-property): Use eval-and-compile rather than
9469         abusing `require'.
9470         (defstruct): Use declare-function instead of with-no-warnings.
9472         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9473         (byte-compile-output-docform): Re-add the print-circle bindings.
9474         (byte-compile-fix-header): Use #$ just because it's shorter.
9475         (byte-compile-output-file-form): Remove defun/defmacro.
9477 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
9479         * simple.el (choose-completion): Remove now obsolete binding for
9480         owindow.
9482 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
9484         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9485         in order to avoid "Stack overflow in regexp matcher".
9487 2012-05-31  Glenn Morris  <rgm@gnu.org>
9489         * image.el: For clarity, call imagemagick-register-types at
9490         top-level, rather than relying on a custom :initialize.
9491         (imagemagick-types-enable): New option.  (Bug#11557)
9492         (imagemagick-filter-types): New function.  (Bug#7406)
9493         (imagemagick-register-types): Use imagemagick-filter-types.
9494         If disabling support, remove elements altogether rather
9495         than using an impossible regexp.
9496         (imagemagick-types-inhibit): Give it the default init function.
9498 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9500         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9501         Handle arbitrary file name lengths (Bug#11585).
9503 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
9505         * desktop.el (desktop-read): Clear previous and next buffers for
9506         all windows and bury *Messages* buffer (bug#11556).
9508 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9510         Add `declare' for `defun'.  Align `defmacro's with it.
9511         * emacs-lisp/easy-mmode.el (define-minor-mode)
9512         (define-globalized-minor-mode): Don't autoload the var definitions.
9513         * emacs-lisp/byte-run.el: Use lexical-binding.
9514         (defun-declarations-alist, macro-declarations-alist): New vars.
9515         (defmacro, defun): Use them.
9516         (make-obsolete, define-obsolete-function-alias)
9517         (make-obsolete-variable, define-obsolete-variable-alias):
9518         Use `declare'.
9519         (macro-declaration-function): Mark obsolete.
9520         * emacs-lisp/autoload.el: Use lexical-binding.
9521         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
9523 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9525         * textmodes/ispell.el (ispell-with-no-warnings):
9526         Define as a macro.
9527         (ispell-kill-ispell, ispell-change-dictionary):
9528         Use `called-interactively-p' for Emacs instead of obsolete
9529         `interactive-p'.
9531 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9533         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9534         (macro-declaration-function): Move var from C code.
9535         (macro-declaration-function): Define function with defalias.
9536         * emacs-lisp/macroexp.el (macroexpand-all-1):
9537         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9538         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9539         defun/defmacro any more.
9540         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9541         Provide fallback for unknown arglist.
9542         (byte-compile-arglist-warn): Change calling convention.
9543         (byte-compile-output-file-form): Move print-vars binding.
9544         (byte-compile-output-docform): Simplify accordingly.
9545         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9546         (byte-compile-defmacro-declaration): Remove.
9547         (byte-compile-file-form-defmumble): Generalize to defalias.
9548         (byte-compile-output-as-comment): Return byte-positions.
9549         Simplify callers accordingly.
9550         (byte-compile-lambda): Use `assert'.
9551         (byte-compile-defun, byte-compile-defmacro): Remove.
9552         (byte-compile-file-form-defalias):
9553         Use byte-compile-file-form-defmumble.
9554         (byte-compile-defalias-warn): Remove.
9556 2012-05-29  Stefan Merten  <smerten@oekonux.de>
9558         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9559         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
9561         (rst-mode-abbrev-table): Merge definition.
9562         (rst-mode): Make sure `font-lock-defaults' is buffer local.
9563         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9565 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
9567         * calendar/icalendar.el
9568         (icalendar-export-region): Export UID properly.
9570 2012-05-29  Leo Liu  <sdl.web@gmail.com>
9571         * calendar/icalendar.el (icalendar-import-format):
9572         Add `icalendar-import-format-uid' (Bug#11525).
9573         (icalendar-import-format-uid): New.
9574         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9575         Export UID.
9577 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9579         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9580         different alternative patterns.
9581         (pcase-codegen): Be more careful to preserve identity.
9582         (pcase--u1): Don't forget to mark vars as used.
9584         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9585         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9586         (byte-compile-from-buffer): ...rather than here.
9588         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9589         functions from byte-compile-function-environment.
9591 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
9593         * window.el (window-deletable-p): Avoid deleting the root window
9594         of a frame with an active minibuffer.
9596 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
9598         * simple.el (choose-completion): Use quit-window (Bug#11567).
9600 2012-05-29  Chong Yidong  <cyd@gnu.org>
9602         * whitespace.el (whitespace-cleanup): Fix usage of
9603         whitespace-empty-at-bob-regexp (Bug#11492).
9605 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9607         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9608         revert (Bug#11488).
9610 2012-05-29  Juri Linkov  <juri@jurta.org>
9612         * isearch.el (isearch-mode-map): Bind `M-s _' to
9613         `isearch-toggle-symbol'.  Bind `M-s c' to
9614         `isearch-toggle-case-fold'.
9615         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9616         (isearch-forward): Add `M-s _' to the docstring.
9617         (isearch-forward-symbol, isearch-toggle-case-fold)
9618         (isearch-symbol-regexp): New functions.  (Bug#11381)
9620 2012-05-29  Juri Linkov  <juri@jurta.org>
9622         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
9623         (isearch-occur, isearch-search-and-update): If `isearch-word' is
9624         a function, call it to get the regexp.
9625         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9626         property `isearch-message-prefix' instead of the string "word ".
9627         (isearch-search-fun-default): For the case of `isearch-word',
9628         return a lambda that calls re-search-forward/re-search-backward
9629         with a regexp returned by `word-search-regexp' or by the function
9630         in `isearch-word'.
9632 2012-05-29  Juri Linkov  <juri@jurta.org>
9634         * isearch.el (isearch-search-fun-default): New function.
9635         (isearch-search-fun): Move default part to the new function
9636         `isearch-search-fun-default'.
9637         (isearch-search-fun-function): Set the default value to
9638         `isearch-search-fun-default'.  (Bug#11381)
9640         * comint.el (comint-history-isearch-end):
9641         Use `isearch-search-fun-default'.
9642         (comint-history-isearch-search): Use `isearch-search-fun-default'
9643         and remove spacial case for `isearch-word'.
9644         (comint-history-isearch-wrap): Remove spacial case for
9645         `isearch-word'.
9647         * hexl.el (hexl-isearch-search-function):
9648         Use `isearch-search-fun-default'.
9650         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9651         Use `word-search-regexp' for `isearch-word'.
9653         * misearch.el (multi-isearch-search-fun):
9654         Use `isearch-search-fun-default'.
9656         * simple.el (minibuffer-history-isearch-search):
9657         Use `isearch-search-fun-default' and remove spacial case for
9658         `isearch-word'.
9659         (minibuffer-history-isearch-wrap): Remove spacial case for
9660         `isearch-word'.
9662         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9663         Remove spacial case for `isearch-word'.
9664         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9666 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9668         Decrease XEmacs incompatibilities.
9669         * textmodes/flyspell.el (flyspell-check-pre-word-p):
9670         Use `string-match'.
9671         (flyspell-delete-region-overlays): Use alternative definition for
9672         XEmacs.
9673         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9674         (flyspell-word): Use `process-kill-without-query' if XEmacs.
9675         (flyspell-mode-on): Use `interactive-p' if XEmacs.
9676         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9677         `define-obsolete-face-alias' under XEmacs, but old method.
9679         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9680         `with-no-warnings' definition or Emacs alias.
9681         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9682         (ispell-word): Do not use `region-p' if XEmacs.
9684 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9686         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9687         Check for `ispell-dictionary-base-alist' instead of full
9688         `ispell-dictionary-alist'.
9689         (ispell-init-process): Show spellchecker when starting new Ispell
9690         process.
9692 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9694         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9695         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9697 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
9699         * version.el (motif-version-string, gtk-version-string)
9700         (ns-version-string): Declare.
9702 2012-05-27  Juri Linkov  <juri@jurta.org>
9704         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9705         after the `eval-defun-1' specialcaseing
9706         like in `edebug-eval-defun' (bug#10181).
9708         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9709         like in `eval-defun-1'.
9711 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
9713         * mail/sendmail.el (mail-yank-region):
9714         Recognize rmail-yank-current-message in addition to insert-buffer.
9715         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9716         a *mail* buffer created through rmail-start-mail with sendmail as
9717         mail-user-agent.
9719 2012-05-27  Chong Yidong  <cyd@gnu.org>
9721         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9722         Default to 256 (Bug#11267).
9724         * help.el (describe-mode): Doc fix.
9726 2012-05-26  Glenn Morris  <rgm@gnu.org>
9728         * w32-fns.el (w32-init-info): Remove.
9729         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9731         * info.el (info-initialize): For self-contained NS builds, put the
9732         included info/ directory at the front.  (Bug#2791)
9734         * paths.el (Info-default-directory-list): Make it a defcustom,
9735         mainly so that we can use custom-initialize-delay.
9737 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9739         * subr.el (buffer-has-markers-at): Mark obsolete.
9741         * subr.el (lambda): Use declare.
9743         * emacs-lisp/lisp-mode.el (lambda):
9744         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9746 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9748         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
9750 2012-05-26  Glenn Morris  <rgm@gnu.org>
9752         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9754 2012-05-25  Glenn Morris  <rgm@gnu.org>
9756         * paths.el: Remove no-byte-compile.
9757         * loadup.el: No need to load paths.el uncompiled.
9759         * image.el (imagemagick-types-inhibit): Doc fix.
9761         * version.el: Remove no-byte-compile and associated formatting.
9762         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
9763         is ancient code from when there was an "inc-vers.el".
9765 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9767         * progmodes/gdb-mi.el: Minor style changes.
9768         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9769         Turn into minor modes.
9770         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9771         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9772         (gdb-shell): Remove unneeded let-binding.
9773         (gdb-get-many-fields): Eliminate O(n²) behavior.
9775 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
9777         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9778         platforms that don't link in fontset.c.
9780 2012-05-25  Juri Linkov  <juri@jurta.org>
9782         Use the same diff color scheme as in modern VCSes (bug#10181).
9784         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9785         to avoid confusion with `diff-added' that now uses green colors.
9786         (diff-removed): Use shades of red.
9787         (diff-added): Use shades of green.
9788         (diff-changed): Leave just the yellow color.
9789         (diff-use-changed-face): New variable.
9790         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9791         how to highlight context diff changes.
9792         (diff-refine-change): Use shades of yellow.
9793         (diff-refine-removed): New face that uses shades of red.
9794         (diff-refine-added): New face that uses shades of green.
9795         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9796         `diff-refine-removed' in the call to `smerge-refine-subst'
9797         depending on the value of `diff-use-changed-face'.
9799         * vc/smerge-mode.el (smerge-mine): Use shades of red.
9800         (smerge-other): Use shades of green.
9801         (smerge-base): Use shades of yellow.
9802         (smerge-refined-change): Empty face.
9803         (smerge-refined-removed): New face that uses shades of red.
9804         (smerge-refined-added): New face that uses shades of green.
9805         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
9806         args `props-r' and `props-a', and use them.  Doc fix.
9807         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9808         on its value use different faces `smerge-refined-change',
9809         `smerge-refined-removed', `smerge-refined-added' in the call to
9810         `smerge-refine-subst'.
9812         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9813         Add face condition `min-colors 88' with shades of red.
9814         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9815         `min-colors 88' with shades of green.
9816         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9817         `min-colors 88' with shades of yellow.
9819 2012-05-24  Glenn Morris  <rgm@gnu.org>
9821         * paths.el (prune-directory-list, remote-shell-program): Move to...
9822         * files.el (prune-directory-list, remote-shell-program): ...here.
9823         For the latter, delay initialization, prefer ssh, just search PATH.
9825         * paths.el (term-file-prefix): Move to faces.el (the only user).
9826         * faces.el (term-file-prefix): Move here, make it a defcustom.
9828         * paths.el (news-directory, news-path, news-inews-program):
9829         Move to gnus/nnspool.el.
9831         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9833         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9834         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9835         Make the latter a defcustom, with a delayed initialization.
9837         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9838         These were deleted from Gnus itself late 2010.
9840 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
9842         * progmodes/which-func.el (which-func-ff-hook):
9843         Check against user-error, not error.
9845         * emacs-lisp/edebug.el (top): Do not load or set up loading of
9846         cl-specs.el, which no longer exists.
9848 2012-05-22  Glenn Morris  <rgm@gnu.org>
9850         * info.el (info-emacs-bug): New command.
9851         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9852         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9854 2012-05-21  Glenn Morris  <rgm@gnu.org>
9856         * makefile.w32-in (update-subdirs-SH):
9857         * Makefile.in (update-subdirs): Update for moved update-subdirs.
9859 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9861         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9863         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9864         Simplify Maven regexp, and make sure the file can't start with a space
9865         (bug#11517).
9867 2012-05-21  Glenn Morris  <rgm@gnu.org>
9869         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9870         Scrap superfluous subshells.
9872 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9874         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9875         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9877 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
9879         * calc/calc.el (calc-ensure-consistent-units): New variable.
9881         * calc/calc-units.el (math-consistent-units-p)
9882         (math-check-unit-consistency): New functions.
9883         (calc-quick-units, calc-convert-units):
9884         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9885         is non-nil.
9886         (calc-extract-units): Fix typo.
9888 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9890         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9892         * textmodes/flyspell.el: Commenting style, plus code simplifications.
9893         (flyspell-default-deplacement-commands): Don't spell check after
9894         repeated window/frame switches (e.g. triggered by mouse-movement).
9895         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9896         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9897         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9898         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9899         Remove unused vars.
9900         (flyspell-get-casechars, flyspell-get-not-casechars):
9901         Simplify; Don't bother removing a ] just to add it back.
9902         * textmodes/ispell.el (ispell-program-name): Use executable-find.
9904 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9906         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9907         New functions.
9908         (math-function-table): Add support for more C functions.
9910 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9912         * textmodes/flyspell.el (flyspell-check-pre-word-p)
9913         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9914         Protect delay handling for otherchars against empty otherchars.
9916 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9918         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9919         their respective macro declarations.
9920         * skeleton.el (define-skeleton):
9921         * progmodes/compile.el (define-compilation-mode):
9922         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9923         (define-ibuffer-filter):
9924         * emacs-lisp/generic.el (define-generic-mode):
9925         * emacs-lisp/easy-mmode.el (define-minor-mode)
9926         (define-globalized-minor-mode):
9927         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9928         * emacs-lisp/byte-run.el (defsubst):
9929         * custom.el (deftheme): Add doc-string metadata.
9931 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9933         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9935 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9937         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9939         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9940         * emacs-lisp/cl-macs.el: Idem.
9941         * emacs-lisp/cl-specs.el: Remove.
9943 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9945         Minor renaming of internal CL functions and variables.
9946         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9947         (cl--position): Rename from cl-position.
9948         (cl--delete-duplicates): Rename from cl-delete-duplicates.
9949         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9950         (cl--random-state): Rename from *random-state*.
9952 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9954         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9955         parens around the arg list (bug#11499).
9957 2012-05-17  Juri Linkov  <juri@jurta.org>
9959         * isearch.el (word-search-regexp, word-search-backward)
9960         (word-search-forward, word-search-backward-lax)
9961         (word-search-forward-lax): Move functions from search.c
9962         (bug#10145, bug#11381).
9964 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9966         * textmodes/flyspell.el (flyspell-check-pre-word-p)
9967         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9968         Delay for otherchars as for normal word components.
9970 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9972         * minibuffer.el (completion--sifn-requote): Fix last change.
9973         (minibuffer-local-must-match-filename-map):
9974         Move define-obsolete-variable-alias before its var.
9976 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9978         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9980         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9981         behavior.
9982         (completion--string-equal-p): New function.
9983         (completion--twq-all): Use it to get better assertion failure data.
9985         Only handle ".." and '..' quoting in shell-mode (bug#11466).
9986         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9987         (shell--requote-argument): New functions.
9988         (shell-completion-vars): Use them.
9989         (shell--parse-pcomplete-arguments): Rename from
9990         shell-parse-pcomplete-arguments.
9991         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
9992         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9993         Obey comint-file-name-quote-list.
9995         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9996         (smie-indent-keyword): Use it.
9998 2012-05-14  Stefan Merten  <smerten@oekonux.de>
10000         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10002 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10004         * net/rlogin.el (rlogin-mode-map): Fix last change.
10006 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
10008         * mail/smtpmail.el (smtpmail-send-command): Send the command and
10009         the following \r\n using a single `process-send-string', since the
10010         Lotus SMTP server refuses to accept any commands if they are sent
10011         with two `process-send-string's (Bug#11444).
10013 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10015         * shell.el (shell-parse-pcomplete-arguments):
10016         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10018 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
10020         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10021         (image-transform-scale, image-transform-right-angle-fudge): New vars.
10022         (image-transform-width, image-transform-fit-width): New functions.
10023         (image-transform-properties): Use them.
10024         (image-transform-check-size): New function.
10025         (image-toggle-display-image): Use it (for testing).
10026         (image-transform-set-rotation): Reduce angle mod 360.
10027         Delete obsolete comment.
10029 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
10031         * image-mode.el: Fix scaling (bug#11399).
10032         (image-transform-resize): Doc fix.
10033         (image-transform-properties): Default scale is 1 and height should
10034         be an integer.
10036 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
10038         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10039         than hard-coding `car', to fix misbehavior when moving forward.
10041 2012-05-13  Chong Yidong  <cyd@gnu.org>
10043         * emacs-lisp/tabulated-list.el (tabulated-list-format)
10044         (tabulated-list-entries, tabulated-list-padding)
10045         (tabulated-list-sort-key): Make permanent-local.
10047         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10048         (electric-buffer-list): Put electric buffer menu
10049         command descriptions in this docstring, instead of the docstring
10050         of electric-buffer-menu-mode.  Code cleanups.
10051         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
10052         Electric-buffer-menu-mode.
10053         (electric-buffer-update-highlight): Minor code cleanup.
10055 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
10057         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10058         (Bug#11447)
10060 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10062         Move define-obsolete-variable-alias before the var's definition.
10063         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10064         * tooltip.el (tooltip-hook):
10065         * textmodes/reftex-toc.el (reftex-toc-map):
10066         * textmodes/reftex-sel.el (reftex-select-label-map)
10067         (reftex-select-bib-map):
10068         * textmodes/reftex-index.el (reftex-index-map)
10069         (reftex-index-phrases-map):
10070         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10071         * progmodes/meta-mode.el (meta-mode-map):
10072         * novice.el (disabled-command-hook):
10073         * loadhist.el (unload-hook-features-list):
10074         * frame.el (blink-cursor):
10075         * files.el (find-file-not-found-hooks, write-file-hooks)
10076         (write-contents-hooks):
10077         * emulation/tpu-edt.el (GOLD-map):
10078         * emacs-lock.el (emacs-lock-from-exiting):
10079         * emacs-lisp/generic.el (generic-font-lock-defaults):
10080         * emacs-lisp/chart.el (chart-map):
10081         * dos-fns.el (register-name-alist):
10082         * dired-x.el (dired-omit-files-p):
10083         * desktop.el (desktop-enable):
10084         * cus-edit.el (custom-mode-hook):
10085         * buff-menu.el (buffer-menu-mode-hook):
10086         * bookmark.el (bookmark-read-annotation-text-func)
10087         (bookmark-exit-hooks):
10088         * allout.el (allout-mode-deactivate-hook)
10089         (allout-exposure-change-hook, allout-structure-added-hook)
10090         (allout-structure-deleted-hook, allout-structure-shifted-hook):
10091         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10092         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10093         comes before the corresponding variable's definition.
10095 2012-05-12  Chong Yidong  <cyd@gnu.org>
10097         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10098         (Buffer-menu-mouse-select): Restore function (Bug#11459).
10099         (Buffer-menu-mode-map): Bind it.
10100         (Buffer-menu--pretty-name): Add a mouse-face property.
10102 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
10105         (prolog-upper-case-string, prolog-lower-case-string)
10106         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10107         (prolog-use-smie, prolog-smie-grammar): New vars.
10108         (prolog-smie-forward-token, prolog-smie-backward-token)
10109         (prolog-smie-rules): New funs.
10110         (prolog-comment-indent): Remove.
10111         (prolog-mode-variables): Use default comment indentation instead.
10112         Setup SMIE.
10113         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10114         (prolog-mode): Don't call them any more.
10115         (prolog-electric-colon, prolog-electric-dash)
10116         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10118         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10120         * minibuffer.el (completion--twq-all): Again, allow case differences.
10122         * term.el: Move keymap initialization code to be more idiomatic.
10123         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10124         (term-terminal-menu): Move initialization into declaration.
10125         (term-escape-char): Let the user set it in her .emacs.
10127         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10128         Provide SMIE-based indentation (not enabled by default yet).
10129         (sh-mode-map): Don't bind electric keys.
10130         Use electric-pair-mode instead of skeleton-pair.
10131         (sh-assignment-regexp): Fit within 80 columns.
10132         (sh-indent-supported): Specify actual shell name instead of boolean.
10133         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10134         (sh-maybe-here-document): Use it.  Make obsolete.
10135         (sh-electric-here-document-mode) New minor mode.
10136         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
10137         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10138         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10139         (sh-smie-rc-grammar, sh-use-smie): New vars.
10140         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10141         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10142         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10143         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10144         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10145         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10146         (sh-set-shell): Use smie-setup if requested.
10148         * term.el (term-set-escape-char): Properly set term-escape-char.
10149         See http://stackoverflow.com/questions/10524656.
10151 2012-05-10  Chong Yidong  <cyd@gnu.org>
10153         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10154         Use url-generic-parse-url, and handle host names and Windows
10155         filenames properly.
10156         (ffap-url-unwrap-remote): Use url-generic-parse-url.
10157         (ffap-url-unwrap-remote): Accept list values, specifying a list of
10158         URL schemes to work on.
10159         (ffap--toggle-read-only): New function.
10160         (ffap-read-only, ffap-read-only-other-window)
10161         (ffap-read-only-other-frame): Use it.
10162         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10163         necessary for ffap-url-unwrap-remote.
10165 2012-05-10  Dave Abrahams  <dave@boostpro.com>
10167         * cus-start.el (create-lockfiles): Add it.
10169 2012-05-09  Chong Yidong  <cyd@gnu.org>
10171         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10172         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10174 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10176         * shell.el (shell-completion-vars): Fix last change (bug#11348).
10178 2012-05-09  Chong Yidong  <cyd@gnu.org>
10180         * ansi-color.el (ansi-color-process-output): Check for validity of
10181         comint-last-output-start before using it.  This avoids a bad
10182         interaction with gdb-mi's input/output buffer.
10184 2012-05-09  Glenn Morris  <rgm@gnu.org>
10186         * files.el (dir-locals-read-from-file):
10187         Mention dir-locals in any error message.
10189 2012-05-09  Chong Yidong  <cyd@gnu.org>
10191         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10192         package (Bug#11410).
10194         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10195         variables into description.
10197 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10200         shell-delimiter-argument-list (bug#11348).
10201         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10203 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
10205         * textmodes/rst.el: Silence byte-compiler warnings.
10206         (rst-re-alist, rst-reset-section-caches): Move around.
10207         (rst-re): Use `characterp', not `char-valid-p'.
10208         (font-lock-beg, font-lock-end): Declare.
10210         * progmodes/idlw-shell.el (specs): Remove reference to deleted
10211         variable `idlwave-shell-activate-alt-keybindings' and simplify.
10213         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10215 2012-05-08  Glenn Morris  <rgm@gnu.org>
10217         * files.el (auto-mode-alist): Treat ".make" like ".mk".
10219 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10221         * vc/log-edit.el: Add GNU coding standards highlighting.
10222         (log-edit-font-lock-gnu-style)
10223         (log-edit-font-lock-gnu-keywords): New vars.
10224         (log-edit-font-lock-keywords): New fun.
10225         (log-edit-mode): Don't fold case in font-lock.
10226         (log-edit-font-lock-keywords): Do not assume case-folding.
10228         * imenu.el: Misc cleanup.  Make docstrings out of comments.
10229         Use lexical-binding.
10230         (imenu--index-alist, imenu--last-menubar-index-alist)
10231         (imenu-menubar-modified-tick): Use defvar-local.
10232         (imenu--split-menu): Remove unused var.
10233         (imenu--cleanup-seen): Declare as global.
10234         (imenu--cleanup): Use dolist.
10236         * subr.el (defvar-local): Add debug spec and doc-string position.
10238 2012-05-08  Glenn Morris  <rgm@gnu.org>
10240         * language/burmese.el, language/cham.el, language/czech.el:
10241         * language/english.el, language/georgian.el, language/greek.el:
10242         * language/japanese.el, language/khmer.el, language/korean.el:
10243         * language/lao.el, language/misc-lang.el, language/romanian.el:
10244         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10245         * language/thai.el, language/utf-8-lang.el:
10246         Remove no-byte-compile setting.
10248         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
10250 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10252         * progmodes/make-mode.el (makefile-browse):
10253         Remove unnecessary interactive.  (Bug#11324)
10255 2012-05-07  Glenn Morris  <rgm@gnu.org>
10257         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10259         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10261 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10263         * loadup.el: Preload newcomment.el.
10264         * newcomment.el: Move autoload-only code to toplevel.
10266         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10267         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10268         Handle new :right-align column property.
10269         (tabulated-list-print-col): Idem, plus use `display' text-property to
10270         try and preserve alignment for variable pitch fonts.
10272 2012-05-07  Chong Yidong  <cyd@gnu.org>
10274         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10275         (tabulated-list-use-header-line): New var.
10276         (tabulated-list-init-header): Use it.
10277         (tabulated-list-print-fake-header): New function.
10278         (tabulated-list-print): Use it.
10279         (tabulated-list-sort-button-map): Add non-header-line commands.
10280         (tabulated-list-init-header): Add column name property to basic
10281         labels as well.
10282         (tabulated-list-col-sort): Handle non-header-line button case.
10283         (tabulated-list--sort-by-column-name): Fix a corner case.
10285         * buff-menu.el (list-buffers--refresh):
10286         Handle Buffer-menu-use-header-line.
10288 2012-05-06  Chong Yidong  <cyd@gnu.org>
10290         * buff-menu.el: Convert to Tabulated List mode.
10291         (Buffer-menu-buffer+size-width): Make obsolete.
10292         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10293         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10294         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
10295         documentation into docstring of buffer-menu.
10296         (Buffer-menu-toggle-files-only): Add an informative message.
10297         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10298         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10299         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10300         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10301         (Buffer-menu-execute, Buffer-menu-select)
10302         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10303         (Buffer-menu-bury): Use Tabulated List machinery.
10304         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10305         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10306         Delete.
10307         (list-buffers--refresh): New function.
10308         (list-buffers-noselect): Use it.
10309         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10310         (Buffer-menu--pretty-file-name): New helper functions.
10312         * loadup.el: Preload tabulated-list.
10314         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10315         tabulated-list-sort-column.
10316         (tabulated-list-init-header): Add the initial aligning space even
10317         if tabulated-list-padding is zero.
10319 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
10321         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10322         whose cdr is not a cons cell correctly (bug#11038).
10324 2012-05-06  Chong Yidong  <cyd@gnu.org>
10326         * emacs-lisp/tabulated-list.el (tabulated-list-format):
10327         Accept additional plist in column descriptors.
10328         (tabulated-list-init-header): Obey it.
10329         (tabulated-list-get-entry): New function.
10330         (tabulated-list-put-tag): Use it.  Use string-width instead of
10331         length.
10332         (tabulated-list--column-number): New function.
10333         (tabulated-list-print): Use it.
10334         (tabulated-list-print-col): New function.
10335         Set `tabulated-list-column-name' property on each column's text.
10336         (tabulated-list-print-entry): Use it.
10337         (tabulated-list-delete-entry, tabulated-list-set-col):
10338         New functions.
10339         (tabulated-list-sort-column): New command (Bug#11337).
10341         * buff-menu.el (list-buffers): Move C-x C-b binding from
10342         buff-menu.el to bindings.el.
10344         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10345         :advertised-binding feature.
10347 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
10349         * progmodes/compile.el (compilation-internal-error-properties):
10350         Calculate start position correctly when end-col is set but
10351         end-line is not (Bug#11382).
10353 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
10355         * man.el (Man-unindent): Use text-property-default-nonsticky to
10356         prevent untabify from inheriting face properties (Bug#11408).
10358 2012-05-05  Stefan Merten  <smerten@oekonux.de>
10360         * textmodes/rst.el: Major merge with upstream development up to
10361         Docutils SVN r7399 / rst.el V1.2.1.
10363         Clarify maintainership and authors.
10365         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10366         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10367         (rst-official-version, rst-official-cvs-rev, rst-version)
10368         (rst-package-emacs-version-alist): New functions and variables
10369         for version information.
10371         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10372         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10373         (rst-mode-syntax-table, rst-mode): New and corrected functions
10374         and variables representing reStructuredText features.
10376         (rst-re): New function for reStructuredText regexes.  Use in
10377         many places.
10379         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10380         (rst-mode-map): Rebind keys.
10382         (rst-mode-lazy, rst-font-lock-keywords)
10383         (rst-font-lock-extend-region)
10384         (rst-font-lock-extend-region-internal)
10385         (rst-font-lock-extend-region-extend)
10386         (rst-font-lock-find-unindented-line-limit)
10387         (rst-font-lock-find-unindented-line-match)
10388         (rst-adornment-level, rst-font-lock-adornment-level)
10389         (rst-font-lock-adornment-match)
10390         (rst-font-lock-handle-adornment-pre-match-form)
10391         (rst-font-lock-handle-adornment-matcher): Major revision of
10392         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
10394         (rst-preferred-adornments, rst-adjust-hook)
10395         (rst-new-adornment-down, rst-preferred-bullets)
10396         (rst-preferred-bullets, rst-indent, rst-indent-width)
10397         (rst-indent-field, rst-indent-literal-normal)
10398         (rst-indent-literal-minimized, rst-indent-comment): Change,
10399         extend and improve customization.
10401         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10402         (rst-normalize-cursor-position, rst-get-decoration)
10403         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10404         (rst-rstrip, rst-toc-insert-find-delete-contents)
10405         (rst-shift-fill-region, rst-compute-bullet-tabs)
10406         (rst-debug-print-tabs, rst-debug-mark-found)
10407         (rst-shift-region-guts, rst-shift-region-right)
10408         (rst-shift-region-left, rst-use-char-classes)
10409         (rst-font-lock-keywords-function)
10410         (rst-font-lock-indentation-point)
10411         (rst-font-lock-find-unindented-line-begin)
10412         (rst-font-lock-find-unindented-line-end)
10413         (rst-font-lock-find-unindented-line)
10414         (rst-font-lock-adornment-point, rst-font-lock-level)
10415         (rst-adornment-level-alist): Remove functions and variables.
10417         (rst-compare-adornments, rst-get-adornment-match)
10418         (rst-suggest-new-adornment, rst-get-adornments-around)
10419         (rst-adornment-complete-p, rst-get-next-adornment)
10420         (rst-adjust-adornment, rst-display-adornments-hierarchy)
10421         (rst-straighten-adornments): Standardize function names to
10422         use "adornment" instead of "decoration".  Correct callers.
10423         Similar standardizing in many places.
10425         (rst-update-section, rst-adjust, rst-promote-region)
10426         (rst-enumerate-region, rst-bullet-list-region)
10427         (rst-repeat-last-character): Correct use of `interactive'.
10429         (rst-classify-adornment, rst-find-all-adornments)
10430         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10431         (rst-find-leftmost-column, rst-repeat-last-character):
10432         Refactor functions.
10434         (rst-find-title-line, rst-reset-section-caches)
10435         (rst-get-adornments-around, rst-adjust-adornment-work)
10436         (rst-arabic-to-roman, rst-roman-to-arabic)
10437         (rst-insert-list-pos, rst-insert-list-new-item)
10438         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10439         New functions.
10441         (rst-all-sections, rst-section-hierarchy)
10442         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10443         New variables.
10445         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10446         configuration instead of only buffer.  Change where necessary.
10448         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10449         (rst-shift-region, rst-adaptive-fill): New functions for
10450         indentation and filling.
10452         (rst-comment-line-break, rst-comment-indent)
10453         (rst-comment-insert-comment, rst-comment-region)
10454         (rst-uncomment-region): New functions for handling comments.
10456         (rst-compile): Quote shell arguments.
10458         (rst-compile-pdf-preview, rst-compile-slides-preview):
10459         Delete temporary files after use.
10461 2012-05-05  Glenn Morris  <rgm@gnu.org>
10463         * calendar/cal-html.el: Optionally include holidays in the output.
10464         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10465         (cal-html-holidays): New option.
10466         (cal-html-css-default): Add holiday entry.
10467         (holiday-in-range): Autoload it.
10468         (cal-html-htmlify-entry): Add optional class argument.
10469         (cal-html-htmlify-list): Add optional holidays argument.
10470         (cal-html-insert-agenda-days): Include holidays in the output.
10471         (cal-html-one-month): Maybe include holidays.
10473         * calendar/holidays.el (holiday-in-range):
10474         Move here from cal-tex-list-holidays.
10475         * calendar/cal-tex.el (cal-tex-list-holidays):
10476         Make it an obsolete alias for holiday-in-range.  Update all callers.
10478 2012-05-05  Chong Yidong  <cyd@gnu.org>
10480         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10481         Nextstep.
10483 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
10485         * files.el (file-auto-mode-skip): New var.
10486         (set-auto-mode-1): Use it.
10488 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10490         * repeat.el: Use lexical-binding.
10491         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10492         (repeat-undo-count): Remove.
10493         (repeat):
10494         * progmodes/octave-mod.el (octave-abbrev-start):
10495         * progmodes/f90.el (f90-abbrev-start):
10496         * face-remap.el (text-scale-adjust):
10497         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10499         * emacs-lisp/pcase.el (pcase--let*): New function.
10500         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10501         a bit more.
10502         (pcase--split-pred): Be more clever about ruling out overlap between
10503         a predicate and some constant pattern.
10504         (pcase--q1): Use `null' instead of (eq foo nil).
10506         * subr.el (setq-local, defvar-local): New macros.
10507         (kbd): Redefine as an alias.
10508         (with-selected-window): Leave unrelated frames alone.
10509         (set-temporary-overlay-map): New function.
10511 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10513         * subr.el (user-error): New function.
10514         * window.el (switch-to-buffer):
10515         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10516         (smerge-match-conflict):
10517         * simple.el (previous-matching-history-element)
10518         (next-matching-history-element, goto-history-element, undo-more)
10519         (undo-start):
10520         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10521         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10522         (next-file, tags-loop-scan, list-tags, complete-tag):
10523         * progmodes/compile.el (compilation-loop):
10524         * mouse.el (mouse-minibuffer-check):
10525         * man.el (Man-bgproc-sentinel, Man-goto-page):
10526         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10527         (Info-history-forward, Info-follow-reference, Info-menu)
10528         (Info-extract-menu-item, Info-extract-menu-counting)
10529         (Info-forward-node, Info-backward-node, Info-next-menu-item)
10530         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10531         (Info-next-reference, Info-prev-reference, Info-index)
10532         (Info-index-next, Info-follow-nearest-node)
10533         (Info-copy-current-node-name):
10534         * imenu.el (imenu--make-index-alist)
10535         (imenu-default-create-index-function, imenu-add-to-menubar):
10536         * files.el (basic-save-buffer, recover-file):
10537         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10538         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10539         (checkdoc-message-text, checkdoc-defun):
10540         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10541         * cus-edit.el (customize-changed-options, customize-rogue)
10542         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10543         (custom-variable-mark-to-reset-standard)
10544         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10545         (custom-file):
10546         * completion.el (check-completion-length):
10547         * comint.el (comint-search-arg)
10548         (comint-previous-matching-input-string-position)
10549         (comint-previous-matching-input)
10550         (comint-replace-by-expanded-history-before-point, comint-send-input)
10551         (comint-copy-old-input, comint-backward-matching-input)
10552         (comint-goto-process-mark, comint-set-process-mark):
10553         * calendar/calendar.el (calendar-cursor-to-date): Use it.
10554         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10556 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10558         * dabbrev.el (dabbrev--ignore-case-p): New function.
10559         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10560         Use it.
10562         * files.el (automount-dir-prefix): Mark as obsolete.
10564 2012-05-04  Glenn Morris  <rgm@gnu.org>
10566         * patcomp.el, play/bruce.el: Move to obsolete/.
10568 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
10570         Fix minor Y10k bugs.
10571         * arc-mode.el (archive-unixdate):
10572         * autoinsert.el (auto-insert-alist):
10573         * calc/calc-forms.el (math-this-year):
10574         * emacs-lisp/copyright.el (copyright-current-year)
10575         (copyright-update-year, copyright):
10576         * tar-mode.el (tar-clip-time-string):
10577         * time.el (display-time-update):
10578         Don't assume years have 4 digits.
10580 2012-05-04  Chong Yidong  <cyd@gnu.org>
10582         * dos-w32.el (file-name-buffer-file-type-alist)
10583         (direct-print-region-use-command-dot-com):
10584         * ffap.el (ffap-menu-regexp):
10585         * find-file.el (ff-special-constructs):
10586         * follow.el (follow-debug):
10587         * forms.el (forms--debug):
10588         * iswitchb.el (iswitchb-all-frames):
10589         * ido.el (ido-all-frames):
10590         * emacs-lisp/timer.el (timer-max-repeats):
10591         * mail/feedmail.el (feedmail-mail-send-hook)
10592         (feedmail-mail-send-hook-queued):
10593         * mail/footnote.el (footnote-signature-separator):
10594         * mail/mailabbrev.el (mail-alias-separator-string)
10595         (mail-abbrev-mode-regexp):
10596         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10597         * progmodes/idlwave.el (idlwave-libinfo-file)
10598         (idlwave-default-completion-case-is-down)
10599         (idlwave-library-routines): Convert defvars to defcustoms.
10601         * mail/rmail.el (rmail-decode-mime-charset):
10602         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10603         (idlwave-shell-fix-inserted-breaks)
10604         (idlwave-shell-activate-alt-keybindings)
10605         (idlwave-shell-use-breakpoint-glyph):
10606         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10608 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10612 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
10614         * progmodes/verilog-mode.el (font-lock-keywords):
10615         Fix mis-highligting auto.  Reported by Craig Barner.
10616         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10617         defines from global name space.  Reported by Dan Dever.
10618         (verilog-auto-reset, verilog-auto-reset-widths)
10619         (verilog-auto-tieoff): Support using unbased numbers for
10620         AUTORESET and AUTOTIEOFF.
10621         (verilog-submit-bug-report): Update variable list.
10622         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10623         parenthesis from not matching.  Reported by Michael Rytting.
10624         (verilog-auto-template-lint): Fix hash error when linting modules
10625         with no used templates.
10626         (verilog-warn, verilog-warn-error)
10627         (verilog-warn-fatal): When non-interactive report multiple
10628         warnings before exiting.  Suggested by Brad Dobbie.
10629         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10630         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10631         to report unused template errors.  Reported by Brad Dobbie.
10632         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10633         nets, bug438.  Reported by Vns Blore.
10634         (verilog-auto-inout-module, verilog-auto-reg)
10635         (verilog-read-decls, verilog-read-sub-decls-sig)
10636         (verilog-signals-edit-wire-reg, verilog-signals-with):
10637         Fix passing of Verilog data types in ANSI input/output ports
10638         such as "output logic" into the AUTOs.  Special case "wire" and
10639         "reg" for backwards compatibility presuming Verilog 2001.
10640         (verilog-auto-ascii-enum): Add "auto enum" as alias.
10641         (verilog-preprocess): Fix replication of preprocess output.
10642         Reported by Brad Dobbie.
10643         (verilog-auto-inst-interfaced-ports):
10644         Create verilog-auto-inst-interfaced-ports, bug429.
10645         Reported by Julian Gorfajn.
10646         (verilog-after-save-font-hook)
10647         (verilog-before-save-font-hook): New variable.
10648         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10649         (verilog-save-font-mods): Wrap disabling fontification, reported
10650         by David Rogoff.
10651         (verilog-do-indent, verilog-pretty-declarations-auto)
10652         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10653         Reported by Pierre-David Pfister.
10654         (verilog-set-auto-endcomments): Fix endtask auto comments outside
10655         of class declarations, bug292.  Reported by Kevin Heilman.
10656         (verilog-read-decls): Fix 'parameter type' not appearing in
10657         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
10658         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10659         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
10660         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10661         Reported by David Kravitz.
10663 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
10665         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10666         assignment with tests in ifs and for loops.
10667         (verilog-extended-complete-re, verilog-complete-reg): Change so
10668         that DPI inport functions don't look like fuction declarations.
10669         (verilog-pretty-expr): Don't line up assignment
10670         operations to the test and increment in if and for loops
10671         (verilog-extended-complete-re, verilog-complete-reg): Change so
10672         that DPI inport functions don't look like fuction declarations.
10674 2012-05-03  Kenichi Handa  <handa@m17n.org>
10676         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10677         decoding, and show a warning message without signaling an error
10678         (Bug#11282).
10680 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10682         * emacs-lisp/bytecomp.el
10683         (byte-compile-file-form-custom-declare-variable): Compile all elements,
10684         since cconv.el might have introduced :fun-body, internal-make-closure,
10685         and friends for bytecomp to handle (bug#11391).
10686         * custom.el (defcustom): Avoid ((λ ..) ..).
10688 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10692 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
10694         * notifications.el (dbus-debug):
10695         * term/linux.el (gpm-mouse-enable):
10696         * term/screen.el (xterm-register-default-colors): Declare.
10698 2012-05-02  Chong Yidong  <cyd@gnu.org>
10700         * cus-start.el (gc-cons-percentage, exec-suffixes)
10701         (dos-display-scancodes, dos-hyper-key, dos-super-key)
10702         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10703         (make-cursor-line-fully-visible, void-text-area-pointer)
10704         (font-list-limit): Add customization data.
10706         * allout.el (allout-exposure-change-functions)
10707         (allout-structure-added-functions)
10708         (allout-structure-deleted-functions)
10709         (allout-structure-shifted-functions): Rename abnormal hooks from
10710         *-hook, and convert to defcustoms.
10711         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10712         Convert to defcustoms.
10713         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10715         * allout-widgets.el: Hook callers changed.
10717 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
10719         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10720         the yanked message in preference to the default value of
10721         buffer-file-coding-system.
10723 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
10725         * window.el (display-buffer--action-function-custom-type):
10726         Fix entry.
10728 2012-05-02  Alan Mackenzie  <acm@muc.de>
10730         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10732 2012-05-01  Glenn Morris  <rgm@gnu.org>
10734         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10736         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
10738         * cus-edit.el (custom-variable-documentation): Simplify with format.
10740 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10741             Stefan Monnier  <monnier@iro.umontreal.ca>
10743         * simple.el (suggest-key-bindings, execute-extended-command):
10744         Move from keyboard.c.
10746 2012-05-01  Chong Yidong  <cyd@gnu.org>
10748         * follow.el: Eliminate advice.
10749         (set-process-filter, process-filter, sit-for): Advice deleted.
10750         (follow-mode-off-hook): Obsolete hook removed.
10751         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10752         Vars deleted.
10753         (follow-auto): Use a :set function.
10754         (follow-mode): Rewritten.  Don't advise process filters.
10755         (follow-switch-to-current-buffer-all, follow-scroll-up)
10756         (follow-scroll-down): Assume follow-mode is bound.
10757         (follow-comint-scroll-to-bottom)
10758         (follow-align-compilation-windows): New functions.
10759         (follow--window-sorter): New function.
10760         (follow-all-followers): Use it to explicitly sort windows by their
10761         positions; don't make assumptions about next-window order.
10762         (follow-windows-start-end, follow-delete-other-windows-and-split)
10763         (follow-calc-win-start): Doc fix.
10764         (follow-windows-aligned-p, follow-select-if-visible): Don't call
10765         vertical-motion unnecessarily.
10766         (follow-adjust-window): New function.
10767         (follow-post-command-hook): Use it.
10768         (follow-call-set-process-filter, follow-call-process-filter)
10769         (follow-intercept-process-output, follow-tidy-process-filter-alist)
10770         (follow-stop-intercept-process-output, follow-generic-filter):
10771         Functions deleted.
10772         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10773         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10774         New functions, replacing advice on scroll-bar-* commands.
10775         (follow-mwheel-scroll): New function (Bug#4112).
10777         * comint.el (comint-adjust-point): New function.
10778         (comint-postoutput-scroll-to-bottom): Use it.
10779         Call follow-comint-scroll-to-bottom for Follow mode buffers.
10781 2012-05-01  Glenn Morris  <rgm@gnu.org>
10783         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10784         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10785         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10786         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10787         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10788         Remove no-byte-compile setting.
10790 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10792         * minibuffer.el (completion-table-with-quoting): Fix compatibility
10793         all-completions code to not return a number in the last cdr.
10795 2012-04-30  Leo Liu  <sdl.web@gmail.com>
10797         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10798         read-only error.
10800 2012-04-29  Chong Yidong  <cyd@gnu.org>
10802         * follow.el (follow-calc-win-end): Rewrite to handle partial
10803         screen lines correctly (Bug#8390).
10804         (follow-avoid-tail-recenter): Minor cleanup.
10806 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10808         Avoid the obsolete `assoc' package.
10809         * speedbar.el (speedbar-refresh): Avoid adelete.
10810         (speedbar-file-lists): Simplify and avoid aput.
10811         * man.el (Man--sections, Man--refpages): New vars, replacing
10812         Man-sections-alist and Man-refpages-alist.
10813         (Man-build-section-alist, Man-build-references-alist):
10814         Use them; avoid aput.
10815         (Man--last-section, Man--last-refpage): New vars.
10816         (Man-follow-manual-reference): Use them.
10817         Use the `default' arg of completing-read.
10818         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
10820 2012-04-27  Chong Yidong  <cyd@gnu.org>
10822         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10824         * startup.el (x-apply-session-resources): New function.
10826         * term/ns-win.el (ns-initialize-window-system):
10827         * term/w32-win.el (w32-initialize-window-system):
10828         * term/x-win.el (x-initialize-window-system): Use it to properly
10829         set menu-bar-mode and other vars from X resources, even if the
10830         initial frame is not a window-system frame (Bug#2299).
10832         * subr.el (read-key): Avoid running filter function when setting
10833         up temporary tool bar entries (Bug#9922).
10835 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
10837         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10838         (Bug#11344)
10840 2012-04-27  Chong Yidong  <cyd@gnu.org>
10842         * select.el (xselect--encode-string): New function, split from
10843         xselect-convert-to-string.
10844         (xselect-convert-to-string): Use it.
10845         (xselect-convert-to-filename, xselect-convert-to-os)
10846         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10847         returned strings are properly encoded (Bug#11315).
10849 2012-04-27  Chong Yidong  <cyd@gnu.org>
10851         * simple.el (delete-active-region): Move to killing custom group.
10853 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
10855         * progmodes/which-func.el (which-func-current): Quote %
10856         characters for mode-line processing.
10858 2012-04-27  Chong Yidong  <cyd@gnu.org>
10860         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10861         reaching eob (Bug#11286).
10863 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
10865         * progmodes/gdb-mi.el (gdb-control-level): New variable.
10866         (gdb): Make it buffer-local and init to zero.
10867         (gdb-control-commands-regexp): New variable.
10868         (gdb-send): Don't wrap in "-interpreter-exec console" if
10869         gdb-control-level is positive.  Increment gdb-control-level
10870         whenever the command matches gdb-control-commands-regexp, and
10871         decrement it each time the command is "end".  (Bug#11279)
10873 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
10875         * window.el (adjust-window-trailing-edge, enlarge-window)
10876         (shrink-window, window-resize):
10877         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10878         windows (Bug#11276).
10880 2012-04-27  Chong Yidong  <cyd@gnu.org>
10882         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10883         fix "missing prefix" warning.  All callers changed.
10885 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10887         * emacs-lisp/assoc.el: Move to obsolete/.
10889 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10891         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10893         * term/ns-win.el (ns-define-service):
10894         * progmodes/pascal.el (pascal-goto-defun):
10895         * progmodes/js.el (js--read-tab):
10896         * progmodes/etags.el (tags-lazy-completion-table):
10897         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10898         * emacs-lisp/ewoc.el (ewoc--wrap):
10899         * emacs-lisp/assoc.el (aput, adelete, amake):
10900         * doc-view.el (doc-view-convert-current-doc):
10901         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10903 2012-04-26  Chong Yidong  <cyd@gnu.org>
10905         * image.el (image-type-from-buffer): Only return supported image
10906         type (Bug#9045).
10908         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10909         value, for symmetry with diff-end-of-hunk.
10910         (diff-split-hunk, diff-find-source-location)
10911         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10912         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10913         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10914         compute the relevant hunk or file properly (Bug#6005).
10915         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10917 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10919         * vc/vc-mtn.el:
10920         * vc/vc-hg.el:
10921         * vc/vc-git.el:
10922         * vc/vc-dir.el:
10923         * vc/vc-cvs.el:
10924         * vc/vc-bzr.el:
10925         * vc/vc-arch.el:
10926         * vc/vc.el: Replace lexical-let by lexical-binding.
10927         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10928         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10929         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10931 2012-04-26  Chong Yidong  <cyd@gnu.org>
10933         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10934         (diff-mode-shared-map): Bind it to / and [remap undo].
10936         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10937         (ediff-window-setup-function): Use it as the default, to set up
10938         windows based on whether the current frame is graphical (Bug#2138).
10939         (ediff-choose-window-setup-function-automatically): Make obsolete.
10941         * vc/ediff-init.el: Always define ediff-pixel-width/height.
10943 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10945         * ffap.el: Remove old code for obsolete package.
10946         (ffap-complete-as-file-p): Remove.
10948         Use completion-table-with-quoting for comint and pcomplete.
10949         * comint.el (comint--unquote&requote-argument)
10950         (comint--unquote-argument, comint--requote-argument): New functions.
10951         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10952         (comint-quote-filename): Use regexp-opt-charset.
10953         (comint--common-suffix, comint--common-quoted-suffix)
10954         (comint--table-subvert): Remove.
10955         (comint-unquote-function, comint-requote-function): New vars.
10956         (comint--complete-file-name-data): Use them with
10957         completion-table-with-quoting.
10958         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10959         * pcomplete.el (pcomplete-arg-quote-list)
10960         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10961         (pcomplete-unquote-argument-function): Default to non-nil.
10962         (pcomplete-unquote-argument): Simplify.
10963         (pcomplete--common-quoted-suffix): Remove.
10964         (pcomplete-requote-argument-function): New var.
10965         (pcomplete--common-suffix): New function.
10966         (pcomplete-completions-at-point): Use completion-table-with-quoting
10967         and completion-table-subvert.
10969         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10970         (minibuffer--double-dollars): Preserve properties.
10971         (completion--sifn-requote): New function.
10972         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10974         * minibuffer.el: Add support for completion of quoted/escaped data.
10975         (completion-table-with-quoting, completion-table-subvert): New funs.
10976         (completion--twq-try, completion--twq-all): New functions.
10977         (completion--nth-completion): New function.
10978         (completion-try-completion, completion-all-completions): Use it.
10980 2012-04-25  Leo Liu  <sdl.web@gmail.com>
10982         * progmodes/python.el (python-pdbtrack-get-source-buffer):
10983         Use compilation-message if available to find real filename.
10985 2012-04-25  Chong Yidong  <cyd@gnu.org>
10987         * vc/diff-mode.el (diff-setup-whitespace): New function.
10988         (diff-mode): Use it.
10990         * vc/diff.el (diff-sentinel):
10991         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10992         Whitespace mode variables based on diff style (Bug#8612).
10994 2012-04-25  Leo Liu  <sdl.web@gmail.com>
10996         * progmodes/python.el (python-send-region): Add suffix .py to the
10997         temp file.
10999         * files.el (auto-mode-alist): Use javascript-mode instead.
11001 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
11003         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
11005         * net/soap-client.el (soap-resolve-references-for-sequence-type)
11006         (soap-resolve-references-for-array-type): Hack to prevent self
11007         references, see Bug#9.
11008         (soap-parse-envelope): Report the contents of the 'detail' node
11009         when receiving a fault reply.
11010         (soap-parse-envelope): Report the contents of the entire 'detail' node.
11012         * net/soap-inspect.el (soap-sample-value-for-simple-type)
11013         (soap-inspect-simple-type): New function.
11015         * net/soap-client.el (soap-simple-type): New struct.
11016         (soap-default-xsd-types, soap-default-soapenc-types)
11017         (soap-decode-basic-type, soap-encode-basic-type):
11018         support unsignedInt and double basic types.
11019         (soap-resolve-references-for-simple-type)
11020         (soap-parse-simple-type, soap-encode-simple-type): New function.
11021         (soap-parse-schema): Parse xsd:simpleType declarations.
11023         * net/soap-client.el (soap-default-xsd-types)
11024         (soap-default-soapenc-types): Add integer, byte and anyURI types.
11025         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11026         the local name of "soapenc:Array".
11027         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11028         decoding integer, byte and anyURI xsd types.
11030 2012-04-25  Chong Yidong  <cyd@gnu.org>
11032         * cus-edit.el (custom-buffer-create-internal): Update header text.
11034 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
11036         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11037         settings on 'system-type', not on 'window-system'.  On MS-Windows,
11038         set interactive-mode on in GDB.
11040 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11042         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11043         (ruby-syntax-propertize-regexp): Remove.
11044         (ruby-syntax-propertize-function): Split regexp into chunks.
11045         Match following code directly.
11047 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
11049         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11050         (ruby-syntax-propertize-regexp): New function.
11051         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11052         by a special keyword.
11054         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11055         (ruby-syntax-general-delimiters-goto-beg)
11056         (ruby-syntax-propertize-general-delimiters): New functions.
11057         (ruby-syntax-propertize-function): Use them to handle GDL.
11058         (ruby-font-lock-keywords): Move old handling of GDL...
11059         (ruby-font-lock-syntactic-keywords): .. to here.
11060         (ruby-calculate-indent): Adjust indentation for GDL.
11062 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
11064         * notifications.el (top): Remove unneeded declarations.
11065         (notifications-specification-version): Change to "1.2".
11066         (notifications-interface, notifications-notify-method)
11067         (notifications-close-notification-method): Fix docstring.
11068         (notifications-get-capabilities-method): New defconst.
11069         (notifications-notify): Add :action-items, :resident and
11070         :transient hints.  Change "image_data" to "image-data" and
11071         "image_path" to "image-path".
11072         (notifications-get-capabilities): New defun.
11074 2012-04-24  Leo Liu  <sdl.web@gmail.com>
11076         * progmodes/python.el: Move hideshow setup to the end.
11078 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
11080         * window.el (handle-select-window): Clear echo area since this is
11081         no more done by read_char (Bug#11304).
11083 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11085         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11086         and `/ M' to filter-derived-mode.
11087         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11088         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11089         (ibuffer-mark-by-mode): Use default rather than initial-input.
11090         (ibuffer-filter-by-derived-mode): Autoload and require-match.
11092 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
11094         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11095         (ibuffer-filter-by-derived-mode): New filter.
11096         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11098 2012-04-23  Andreas Politz  <politza@fh-trier.de>
11100         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11102 2012-04-23  Chong Yidong  <cyd@gnu.org>
11104         * cus-edit.el (customize-apropos, customize-apropos-options):
11105         Disable matching of non-option variables (Bug#11176).
11106         (customize-option, customize-option-other-window)
11107         (customize-changed-options): Doc fix.
11108         (customize-apropos-options, customize-apropos-faces)
11109         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11111         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11112         Fix word list splitting (Bug#11132).
11113         (apropos-symbol, apropos-keybinding, apropos-label)
11114         (apropos-property, apropos-function-button)
11115         (apropos-variable-button, apropos-misc-button): New faces.
11116         (apropos-symbol-face, apropos-keybinding-face)
11117         (apropos-label-face, apropos-property-face, apropos-match-face):
11118         Variables removed (Bug#8396).
11119         (apropos-library-button, apropos-format-plist, apropos-print)
11120         (apropos-print-doc, apropos-describe-plist): Callers changed.
11122 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
11124         * net/xesam.el (xesam-mode-map): Use let-bound map in
11125         initialization.  (Bug#11292)
11127 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11129         Preserve ispell session localwords when switching back to
11130         original buffer.
11132         * textmodes/ispell.el (ispell-buffer-session-localwords):
11133         New buffer-local variable to hold buffer session localwords.
11134         (ispell-kill-ispell): Add option 'clear to delete session
11135         localwords.
11136         (ispell-command-loop, ispell-change-dictionary)
11137         (ispell-buffer-local-words): Preserve session localwords when
11138         needed.
11140         * textmodes/flyspell.el (flyspell-process-localwords)
11141         (flyspell-do-correct): Preserve session localwords when needed.
11143 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11145         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11146         using obsolete `translation-table-for-input'.
11147         (ispell-word, ispell-process-line, ispell-complete-word):
11148         Use plain `insert' instead of removed `ispell-insert-word'.
11150 2012-04-22  Chong Yidong  <cyd@gnu.org>
11152         * cus-edit.el (custom-variable-menu)
11153         (custom-variable-reset-saved, custom-face-menu)
11154         (custom-face-reset-saved): If there is no saved value, make the
11155         "reset-saved" operation bring back the default (Bug#9509).
11156         (custom-face-state): Properly detect themed faces.
11158         * faces.el (face-spec-set): Stop supporting deprecated form of
11159         third arg.
11161 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
11163         Move functions from C to Lisp.  Make non-blocking method calls
11164         the default.  Implement further D-Bus standard interfaces.
11166         * net/dbus.el (dbus-message-internal): Declare function.
11167         Remove unneeded function declarations.
11168         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11169         (dbus-message-type-method-return, dbus-message-type-error)
11170         (dbus-message-type-signal): Declare variables.  Remove local
11171         definitions.
11172         (dbus-interface-dbus, dbus-interface-peer)
11173         (dbus-interface-introspectable, dbus-interface-properties)
11174         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11175         Adapt docstring.
11176         (dbus-interface-objectmanager): New defconst.
11177         (dbus-call-method, dbus-call-method-asynchronously)
11178         (dbus-send-signal, dbus-method-return-internal)
11179         (dbus-method-error-internal, dbus-register-service)
11180         (dbus-register-signal, dbus-register-method): New defuns, moved
11181         from dbusbind.c
11182         (dbus-call-method-handler, dbus-setenv)
11183         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11184         New defuns.
11185         (dbus-call-method-non-blocking): Make it an obsolete function.
11186         (dbus-unregister-object, dbus-unregister-service)
11187         (dbus-handle-event, dbus-register-property)
11188         (dbus-property-handler): Obey the new structure of
11189         `bus-registered-objects'.
11190         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
11191         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11192         Use `dbus-call-method'.
11194 2012-04-22  Chong Yidong  <cyd@gnu.org>
11196         * cus-edit.el (custom-commands, custom-reset-menu)
11197         (Custom-reset-standard): Tweak labels.
11198         (custom-reset-button-menu): Change default to t.
11199         (custom-buffer-create-internal): For the custom-reset-button-menu
11200         case, put the revert button first.
11201         (custom-group-subtitle): New face.
11202         (custom-group-value-create): Align docstring to a specific column.
11204         * wid-edit.el (widget-documentation-link-add): Don't handle
11205         indentation in this function.
11206         (widget-documentation-string-indent-to): New function.
11207         (widget-documentation-string-value-create): Use it.
11209         * autorevert.el (auto-revert):
11210         * epg-config.el (epg):
11211         * ibuffer.el (ibuffer):
11212         * mpc.el (mpc):
11213         * ses.el (ses):
11214         * eshell/eshell.el (eshell):
11215         * net/ange-ftp.el (ange-ftp):
11216         * progmodes/ebnf2ps.el (postscript):
11217         * progmodes/flymake.el (flymake):
11218         * progmodes/prolog.el (prolog):
11219         * progmodes/verilog-mode.el (verilog-mode):
11220         * progmodes/which-func.el (which-func):
11221         * term/xterm.el (xterm):
11222         * textmodes/picture.el (picture):
11223         * textmodes/tildify.el (tildify):
11224         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11225         customization buffers.
11227 2012-04-22  Alan Mackenzie  <acm@muc.de>
11229         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11230         Adding a ) can hide the resulting (..) from searches.  Fix it.
11231         Bound the backward search to the position of the existing (.
11233 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
11235         * progmodes/verilog-mode.el (verilog-mode): Check whether
11236         which-func-modes is t before adding verilog-mode.
11237         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11239 2012-04-21  Leo Liu  <sdl.web@gmail.com>
11241         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11243 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
11245         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11246         filling of the last column of a table (Bug#5635).
11247         (woman-find-next-control-line): New arg, specifying an additional
11248         regexp component for the control line.
11249         (woman2-roff-buffer): Use it.
11250         (woman-break-table): New function.
11251         (woman2-TS): Use it.
11253 2012-04-21  Chong Yidong  <cyd@gnu.org>
11255         * woman.el (woman-set-buffer-display-table, woman-decode-region)
11256         (woman-horizontal-escapes, woman-negative-vertical-space)
11257         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11258         (WoMan-warn-ignored): Use ?\s instead of ?\ .
11260 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * minibuffer.el (completion-file-name-table): Complete user names.
11264 2012-04-20  Leo Liu  <sdl.web@gmail.com>
11266         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11267         and pcase-let*.
11269 2012-04-20  Chong Yidong  <cyd@gnu.org>
11271         * server.el (server-execute): Respect initial-buffer-choice if it
11272         is a string and there are no files to open (Bug#2825).
11273         (server-create-window-system-frame, server-create-tty-frame):
11274         Don't switch buffers here.
11275         (server-process-filter): Only try to open a window system frame if
11276         compiled with graphical support (Bug#8314).
11278 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
11280         * battery.el (battery-echo-area-format): Display remaining time
11281         for sysfs backend too (Bug#11269).
11282         (battery-linux-sysfs): Fix conditional for the charge.
11284 2012-04-20  Chong Yidong  <cyd@gnu.org>
11286         * progmodes/gdb-mi.el (gdb): Revert previous change.
11287         (gdb-inferior-io--init-proc): New function.
11288         (gdb-init-1): Use it.
11289         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11290         responsible for allocating a new pty and hooking it to gdb when
11291         the old pty gets an EIO due to process exit.
11292         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
11293         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11294         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11296 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11298         * window.el (window-min-size, window-sizable, window-min-delta)
11299         (window-max-delta, window--resizable, window-resizable)
11300         (window-total-size, window-full-height-p, window-full-width-p)
11301         (window-in-direction, window--resize-mini-window, window-resize)
11302         (window--resize-child-windows-normal)
11303         (window--resize-child-windows, window--resize-siblings)
11304         (window--resize-this-window, adjust-window-trailing-edge)
11305         (enlarge-window, shrink-window): Doc fixes.
11307 2012-04-20  Chong Yidong  <cyd@gnu.org>
11309         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11310         New function to call delete-process on the gdb-inferior buffer's pty.
11311         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11312         pty process (Bug#11273).
11313         (gdb-update): New arg to suppress talking to the gdb process.
11314         (gdb-done-or-error): Use it.
11315         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11316         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11317         sentinel not being called.
11319         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11321         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11323 2012-04-20  Glenn Morris  <rgm@gnu.org>
11325         * net/network-stream.el (open-network-stream): Doc fix.
11327 2012-04-20  Chong Yidong  <cyd@gnu.org>
11329         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11331 2012-04-20  Alan Mackenzie  <acm@muc.de>
11333         Ensure searching for keywords is case sensitive.
11335         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11336         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11337         (c-defun-name, c-mark-function, c-cpp-define-name)
11338         (c-comment-indent, c-scan-conditionals, c-indent-defun)
11339         (c-context-line-break): Bind case-fold-search to nil.
11341         * progmodes/cc-mode.el (c-font-lock-fontify-region):
11342         Bind case-fold-search to nil.
11344 2012-04-20  Chong Yidong  <cyd@gnu.org>
11346         * mail/sendmail.el (mail-bury): Call return action with the right
11347         Rmail buffer (Bug#11242).
11349         * server.el (server-process-filter): Handle corner case where both
11350         tty and nowait options are present (Bug#11102).
11352 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11354         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11355         (top level): Put into the executable the ident-style '$Id:' tag on
11356         windows-nt as well.
11358 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11360         * electric.el (electric-indent-post-self-insert-function): Check that
11361         electric-indent-mode is enabled in current buffer.
11363 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11365         * imenu.el (imenu-progress-message): Restore; it is "used" in
11366         erc/erc-imenu.el and net/snmp-mode.el.
11368 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11370         * avoid.el (mouse-avoidance-mode): Mark unused arg.
11371         (mouse-avoidance-nudge-mouse): Remove unused binding.
11373         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11375         * descr-text.el (describe-char):
11376         * progmodes/python.el (python-describe-symbol):
11377         Don't call `toggle-read-only', set `buffer-read-only'.
11379         * imenu.el (imenu-default-goto-function): Mark unused args.
11380         (imenu-progress-message): Remove obsolete macro; all callers changed.
11382         * subr.el (keymap-canonicalize): Remove unused binding.
11383         (read-passwd): Mark unused arg.
11385         * tutorial.el (tutorial--display-changes): Remove unused binding.
11386         (tutorial--save-tutorial-to): Remove unused variable.
11388         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11389         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11390         (package-generate-autoloads, package-menu--generate)
11391         (package-menu--find-upgrades): Remove unused bindings.
11393         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11394         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
11395         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11396         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11397         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11398         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11399         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11400         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11401         (cua-delete-char-rectangle): Mark unused args.
11402         (cua-align-rectangle): Remove unused binding.
11404         * mail/rmail.el (compilation--message->loc)
11405         (epa--find-coding-system-for-mime-charset): Declare.
11407         * net/dbus.el (dbus-register-service): Declare.
11408         (dbus-name-owner-changed-handler): Remove unused binding.
11410         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11411         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11412         (nxml-scan-backward-within): Mark unused arg.
11413         (nxml-dynamic-markup-word): Remove unused binding.
11415         * mouse.el (mouse-menu-major-mode-map):
11416         * emacs-lisp/authors.el (authors-scan-change-log)
11417         (authors-add-to-author-list):
11418         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11419         * emacs-lisp/smie.el (smie-auto-fill):
11420         * mail/sendmail.el (mail-bury):
11421         * mail/unrmail.el (unrmail):
11422         * net/tls.el (open-tls-stream):
11423         * textmodes/picture.el (picture-mouse-set-point):
11424         Remove unused bindings.
11426 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
11428         * net/tramp.el (tramp-action-password): Let-bind
11429         `enable-recursive-minibuffers' to t.
11431 2012-04-18  Sam Steingold  <sds@gnu.org>
11433         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11434         instead of 'string to accommodate values like [f11].
11435         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11436         * progmodes/gdb-mi.el: Likewise.
11438 2012-04-18  Leo Liu  <sdl.web@gmail.com>
11440         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11441         current buffer.
11442         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11443         LOCAL is nil.
11445 2012-04-18  Chong Yidong  <cyd@gnu.org>
11447         * simple.el (line-move): Use forward-line if in batch mode
11448         (Bug#11053).
11450 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
11452         * files.el (after-find-file): Do not try to add a final newline if
11453         the buffer is read-only (Bug#11156).
11455 2012-04-17  Richard Stallman  <rms@gnu.org>
11457         * mail/rmail.el (rmail-start-mail):
11458         Pass (rmail-mail-return...) for the return-action.
11459         Pass (rmail-yank-current-message...) for the yank-action.
11460         (rmail-yank-current-message): New function.
11461         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11462         (rmail-reply): Likewise.
11463         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11465         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11466         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
11467         buffer, not newbuf.
11469 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
11471         * server.el (server-ensure-safe-dir): Simplify.
11473 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         * emacs-lisp/smie.el: Provide smarter auto-filling.
11476         (smie-auto-fill): New function.
11477         (smie-setup): Use it.
11479         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11481 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
11483         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11484         (comment-indent): Use it.
11486 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11488         * ses.el: The overall change is to add cell renaming, that is
11489         setting fancy names for cell symbols other than name matching
11490         "\\`[A-Z]+[0-9]+\\'" regexp .
11491         (ses-localvars): Add ses--renamed-cell-symb-list.
11492         (ses-create-cell-variable): New defun.
11493         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11494         (ses-relocate-formula): Relocate formulas only for cells the
11495         symbols of which are not renamed, i.e. symbols whose names do not
11496         match regexp "\\`[A-Z]+[0-9]+\\'".
11497         (ses-relocate-all): Relocate values only for cells the symbols of
11498         which are not renamed.
11499         (ses-load): Create cells variables as the (ses-cell ...) are read,
11500         in order to check row col consistency with cell symbol name only
11501         for cells that are not renamed.
11502         (ses-replace-name-in-formula): New defun.
11503         (ses-rename-cell): New defun.
11505 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
11507         * progmodes/perl-mode.el (perl-indent-parens-as-block):
11508         New option (bug#11118).
11509         (perl-calculate-indent): Respect it.
11511 2012-04-17  Glenn Morris  <rgm@gnu.org>
11513         * dired-aux.el (dired-mark-read-string): Doc fix.
11515 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
11517         * dired-aux.el (dired-mark-read-string): Offer optional completion.
11518         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
11520 2012-04-17  Glenn Morris  <rgm@gnu.org>
11522         * mouse.el (mouse-drag-track):
11523         * speedbar.el (speedbar-frame-mode):
11524         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11526 2012-04-16  Leo Liu  <sdl.web@gmail.com>
11528         * progmodes/python.el: Trivial cleanup.
11530 2012-04-16  Glenn Morris  <rgm@gnu.org>
11532         * vc/vc.el (vc-string-prefix-p):
11533         * vc/pcvs-util.el (cvs-string-prefix-p):
11534         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11535         * mpc.el (mpc-string-prefix-p):
11536         Make all of these into obsolete aliases for string-prefix-p.
11537         Update callers.
11538         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11540         * textmodes/two-column.el: Move custom options to the start.
11541         (frame-width): Remove compat definition.
11542         (2C-associate-buffer, 2C-dissociate):
11543         Use with-current-buffer rather than save-excursion.
11544         (2C-dissociate): Force a mode-line update.
11545         (2C-autoscroll): Use ignore-errors.
11547         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11548         Autoload trivia.
11550         * emacs-lisp/cl-extra.el (*random-state*):
11551         Remove unnecessary declaration.
11553         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11555         * play/cookie1.el (cookie-snarf):
11556         Give an explicit error if input file cannot be read.
11558         * play/yow.el (yow-file): Use expand-file-name rather than concat.
11560         * progmodes/perl-mode.el (c-macro-expand):
11561         Remove unnecessary autoload (it is in loaddefs.el).
11563         * textmodes/picture.el (picture-desired-column)
11564         (picture-update-desired-column): Convert comments to doc-strings.
11565         (picture-substitute): Remove function.
11566         (picture-mode-map): Initialize in the defvar.
11568         * woman.el: Remove eval-after-load for tar-mode.
11569         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11570         (woman-tar-extract-file): Autoload it.
11572         * frame.el (automatic-hscrolling): Make this alias obsolete.
11574 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11576         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11577         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11578         (ispell-dictionary-base-alist): Revert to original XEmacs
11579         friendly version for default.  [:alpha:] will be added in
11580         `ispell-set-spellchecker-params' if needed.
11582 2012-04-16  Chong Yidong  <cyd@gnu.org>
11584         * image.el (imagemagick--file-regexp): New variable.
11585         (imagemagick-register-types): Use it.
11586         (imagemagick-types-inhibit): Add :set function.  Allow new value
11587         of t to inhibit all types.
11589         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11590         so we can preload it.
11592         * loadup.el (fboundp): Preload regexp-opt, needed by
11593         imagemagick-register-types.
11595 2012-04-15  Chong Yidong  <cyd@gnu.org>
11597         * frame.el (scrolling): Remove nearly unused customization group.
11599         * scroll-all.el (scroll-all-mode): Move to windows group.
11601 2012-04-15  Chong Yidong  <cyd@gnu.org>
11603         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11605 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11607         Avoid the use of ((lambda ...) ...) in lexical-binding code.
11608         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11610 2012-04-15  Glenn Morris  <rgm@gnu.org>
11612         * simple.el (process-file-side-effects): Doc fix.
11614 2012-04-15  Glenn Morris  <rgm@gnu.org>
11616         * international/mule-cmds.el (set-language-environment): Doc fix.
11618 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
11620         * server.el (server-auth-key, server-generate-key): Doc fixes.
11621         (server-get-auth-key): Doc fix.  Use `string-match-p'.
11622         (server-start): Reflow docstring.
11624 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
11626         * server.el (server-generate-key): `called-interactively-p'
11627         requires a parameter.
11629 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
11631         * server.el (server-auth-key): New variable.
11632         (server-generate-key, server-get-auth-key): New function.
11633         (server-start): Use the new variable and functions to allow
11634         setting a permanent server key (bug#9423).
11636 2012-04-14  Leo Liu  <sdl.web@gmail.com>
11638         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11640 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
11642         Spelling fixes.
11643         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11644         Emacs uses American spelling.
11646 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
11648         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11649         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
11650         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11651         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
11653 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11655         * progmodes/which-func.el (which-func-modes): Change default.
11657 2012-04-14  Kim F. Storm  <storm@cua.dk>
11659         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11660         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11662 2012-04-14  Chong Yidong  <cyd@gnu.org>
11664         * custom.el (custom-theme-set-variables): Doc fix.
11666 2012-04-14  Glenn Morris  <rgm@gnu.org>
11668         * international/mule.el (set-auto-coding-for-load): Doc fix.
11670 2012-04-14  Alan Mackenzie  <acm@muc.de>
11672         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11673         imenu work again for Objective C Mode.  Correct the *-index values,
11674         these having been disturbed by a previous change in 2011-08.
11676         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11677         Correct two search limits.
11679 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11681         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11683 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
11685         * international/characters.el: Fix sorting.
11687 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11689         * international/characters.el: Add more missing Latin case pairs.
11691 2012-04-14  Glenn Morris  <rgm@gnu.org>
11693         * files.el (dir-locals-set-class-variables): Doc fix.
11695 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11697         * international/characters.el: Add set-case-syntax-pair call for
11698         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11699         counterpart.  (Bug#11209)
11701         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
11703 2012-04-14  Glenn Morris  <rgm@gnu.org>
11705         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11707 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11709         * textmodes/ispell.el (ispell-dictionary-base-alist):
11710         Add data for Hebrew.
11712 2012-04-14  Chong Yidong  <cyd@gnu.org>
11714         * net/rcirc.el (rcirc-cmd-quit):
11715         Revert 2012-03-18 change (Bug#11192).
11717 2012-04-14  Glenn Morris  <rgm@gnu.org>
11719         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11721 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11723         * minibuffer.el (completion-in-region-mode-map):
11724         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
11726 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
11728         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11730 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
11732         * minibuffer.el (minibuffer-local-filename-syntax): New variable
11733         to allow `C-M-f' and `C-M-b' to move to the nearest path
11734         separator (bug#9511).
11736 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
11738         * avoid.el: Require cl when compiling.  And also move the
11739         `provide' to the end.
11741 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11743         * avoid.el (mouse-avoidance-banish-position): New variable.
11744         (mouse-avoidance-banish-destination): Use it (bug#10165).
11746 2012-04-13  Leo Liu  <sdl.web@gmail.com>
11748         * progmodes/which-func.el (which-func-modes): Add objc-mode.
11750 2012-04-13  Ken Brown  <kbrown@cornell.edu>
11752         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11753         this is no longer needed now that cygstart understands file:// URLs.
11754         (browse-url-filename-alist): For the same reason, don't modify
11755         file:// URLs on Cygwin.
11757 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11759         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11760         the region on shift if the binding is already shifted (bug#11221).
11762 2012-04-12  Glenn Morris  <rgm@gnu.org>
11764         * mail/mailpost.el: Move to obsolete/.
11766 2012-04-12  Drew Adams  <drew.adams@oracle.com>
11768         * imenu.el (imenu--generic-function): Ignore invisible definitions
11769         (bug#10123).
11771 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
11773         * hexl.el (hexl-bits): New variable.
11774         (hexl-options): Mention the variable in the doc string.
11775         (hexl-rulerise, hexl-line-displen): New functions.
11776         (hexl-mode): Mention the new variable.
11777         (hexl-mode, hexl-current-address, hexl-current-address):
11778         Use the displen.
11779         (hexl-ascii-start-column): New function.
11780         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11781         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11783 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11785         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11786         '("-i" ENCODING), in 2 separate command-line arguments, to specify
11787         the encoding, as expected by hunspell.
11789 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11791         * battery.el (battery--linux-sysfs-regexp): New const.
11792         (battery-status-function): Use it.  Remove yeeloong special case.
11793         (battery-yeeloong-sysfs): Remove.
11794         (battery-echo-area-format): Remove yeeloong special case.
11796 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11798         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11799         Reported by Noah Friedman.
11801         * subr.el (read-passwd): Use read-string.
11803 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11805         * vcursor.el (vcursor-move): Increase the priority of the overlay
11806         (bug#9663).
11808 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11810         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11811         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11813 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
11815         * textmodes/artist.el (artist-mode): Convert artist-mode to use
11816         define-minor-mode (bug#10760).
11818 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11820         * progmodes/grep.el (rgrep): Tweak the find command line so
11821         that directories matching `grep-find-ignored-files' won't be
11822         pruned (bug#10351).
11824 2012-04-11  Chong Yidong  <cyd@gnu.org>
11826         * startup.el (command-line): Remove support for long-obsolete
11827         variable font-lock-face-attributes.
11829 2012-04-11  Glenn Morris  <rgm@gnu.org>
11831         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11833 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11835         * window.el (window--state-get-1): Obey window-point-insertion-type.
11837 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
11839         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11840         to previous function when point is on the first character of a
11841         function.  Take care of that in `narrow-to-defun' (bug#6157).
11843 2012-04-11  Glenn Morris  <rgm@gnu.org>
11845         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11846         not just file-errors.
11848         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11849         (vc-bzr-sha1): Use internal sha1.
11851 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11853         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11855 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
11857         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11858         that start in the middle of the line (bug#10496).
11860 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
11862         * battery.el (battery-linux-proc-acpi): Only one battery is
11863         discharged at a time, but that seems to confuse battery.el when
11864         computing `rate-type' for the battery not being discharged
11865         (bug#10332).
11867 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11869         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11871         * international/quail.el: Use dolist and simplify.
11872         (quail-define-package, quail-update-keyboard-layout)
11873         (quail-define-rules): Use dolist.
11874         (quail-insert-kbd-layout, quail-get-translation): CSE.
11876         * tmm.el: Use dolist, remove left over hook.
11877         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11878         Use dolist.
11879         (calendar-load-hook): Don't mess with it.
11881         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11882         Use derived-mode-p.  Run the diff asynchronously.
11884 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11886         * obsolete/mouse-sel.el: Add an Obsolete-since header.
11888 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
11890         * misc.el: Display absolute path of loaded DLLs (bug#10424).
11891         (list-dynamic-libraries--loaded): New function.
11892         (list-dynamic-libraries--refresh): Use it.
11894 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
11896         * progmodes/python.el (python-fill-paragraph):
11897         Make python-fill-region in a multiline string work when font-lock is
11898         disabled (bug#7018).
11900 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
11902         * language/european.el (cp775): Add oem/legacy (en)coding on
11903         DOS/MS Windows for the Baltic languages.  There are still plenty
11904         of texts written in this encoding/codepage (bug#6519).
11906 2012-04-10  Glenn Morris  <rgm@gnu.org>
11908         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11909         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11911 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
11913         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11914         next-line "n" and previous-line "p" in order to make recentf more
11915         consistent with ibuffer, dired or org-mode (bug#9387).
11917 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11919         * image.el (put-image): Return the overlay created instead of the
11920         optional input string (bug#7834).  Note that this may break code
11921         that is (for some reason or other) depending on `put-image'
11922         returning the string.
11924         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11926         * simple.el (zap-to-char): Allow zapping using input methods
11927         (bug#1580).
11929         * textmodes/fill.el (fill-region): Leave point and mark where they
11930         were before filling (bug#5399).
11932 2012-04-09  Glenn Morris  <rgm@gnu.org>
11934         * version.el (emacs-bzr-get-version):
11935         Handle lightweight checkouts of local branches.
11937 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
11939         * international/characters.el: Recover lost case pairs.  (Bug#11209)
11941 2012-04-09  Chong Yidong  <cyd@gnu.org>
11943         * custom.el (custom-variable-p): Return nil for non-symbol
11944         arguments instead of signaling an error.
11945         (user-variable-p): Obsolete alias for custom-variable-p.
11947         * apropos.el (apropos-variable):
11948         * files-x.el (read-file-local-variable):
11949         * simple.el (set-variable):
11950         * woman.el (woman-mini-help):
11951         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11953 2012-04-09  Glenn Morris  <rgm@gnu.org>
11955         * startup.el (normal-top-level): Don't look for leim-list.el
11956         in places where it will not be found.  (Bug#910)
11958         * international/mule-cmds.el (set-default-coding-systems):
11959         * files.el (normal-mode):
11960         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
11961         This function was removed with ucs-tables.el in 2008.
11963 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
11965         * textmodes/ispell.el (ispell-check-version): For hunspell, set
11966         ispell-encoding8-command to "-i", without a trailing space.
11967         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11968         separate command-line arguments, to specify the encoding, since
11969         that's how hunspell expects it.
11971 2012-04-08  Glenn Morris  <rgm@gnu.org>
11973         * loadup.el: Load bindings before cus-start.
11974         This reduces somewhat the number of "rogue" settings in emacs -Q.
11976 2012-04-07  Glenn Morris  <rgm@gnu.org>
11978         * version.el (emacs-bzr-get-version): New function.
11979         (emacs-bzr-version): New variable.
11980         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
11981         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11983 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
11985         * international/uni-bidi.el, international/uni-category.el:
11986         * international/uni-combining.el, international/uni-decimal.el:
11987         * international/uni-decomposition.el, international/uni-digit.el:
11988         * international/uni-lowercase.el, international/uni-mirrored.el:
11989         * international/uni-name.el, international/uni-numeric.el:
11990         * international/uni-titlecase.el, international/uni-uppercase.el:
11991         Update for Unicode 6.1.
11993 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
11995         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11997 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11999         * window.el (shrink-window): Mention the `window-min-height'
12000         variable in the doc string.
12002 2012-04-05  Bastien Guerry  <bzg@altern.org>
12004         * color.el (color-lighten-name): Fix typo.
12006 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12008         * server.el (server--on-display-p): New function.
12009         (server--on-display-p): Use it.
12011 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
12013         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12014         (bug#11145).
12016 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12018         * comint.el (comint--common-quoted-suffix): Check string boundary
12019         before comparing (bug#11158).
12020         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12022 2012-04-04  Chong Yidong  <cyd@gnu.org>
12024         * minibuffer.el (completion-extra-properties): Doc fix.
12026         * subr.el (delayed-warnings-hook): Doc fix.
12028 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
12030         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12031         selection (Bug#11159).
12032         (epa-insert-keys): Inform that the default public key will be
12033         exported if no key is selected.
12035 2012-04-04  Richard Stallman  <rms@gnu.org>
12037         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12039 2012-04-03  Chong Yidong  <cyd@gnu.org>
12041         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12042         mail-insert-file, not its obsolete alias mail-attach-file.
12044 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
12046         * notifications.el (notifications-notify): Fix docstring.
12048 2012-04-02  Glenn Morris  <rgm@gnu.org>
12050         * emacs-lisp/authors.el (authors-aliases): Another addition.
12052 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
12054         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12055         `tramp-compat-call-process' instead of `tramp-local-call-process'.
12056         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12058 2012-04-01  Chong Yidong  <cyd@gnu.org>
12060         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12061         Handle root directory properly.
12062         (copy-directory): Caller changed.
12064         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12065         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12067 2012-03-31  Glenn Morris  <rgm@gnu.org>
12069         * term/xterm.el (xterm-extra-capabilities): Doc fix.
12071         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
12073         * calendar/calendar.el (calendar-window-list)
12074         (calendar-hide-window): Restore.  (Bug#11140)
12075         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12077         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12079 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12081         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12082         Check if file is a symlink (Bug#10489).
12084         * files.el (copy-directory): Likewise.
12086 2012-03-30  Chong Yidong  <cyd@gnu.org>
12088         * image.el (imagemagick-types-inhibit)
12089         (imagemagick-register-types): Doc fix.
12091 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12093         * textmodes/ispell.el (ispell-get-extended-character-mode):
12094         Disable extended-char-mode for hunspell.  hunspell does not support it
12095         and treats ~word as ordinary words in pipe mode.
12097 2012-03-30  Glenn Morris  <rgm@gnu.org>
12099         * tutorial.el (help-with-tutorial): Ensure local variables don't
12100         happen to make the buffer read-only.  (Bug#11127)
12102 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12104         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12105         (perl-calculate-indent): Return `noindent' in strings.
12107 2012-03-28  Sam Steingold  <sds@gnu.org>
12109         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12110         instead of the broken adhockery which does not prevent calendar
12111         buffers from being displayed at random after exit.
12112         (calendar-window-list, calendar-hide-window): Remove the broken
12113         adhockery.
12115 2012-03-28  Glenn Morris  <rgm@gnu.org>
12117         * replace.el (query-replace-map): Doc fix.
12119 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
12121         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12122         contents.  (Bug#11109)
12124 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12126         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12127         (bug#11077).
12128         (avl-tree--check, avl-tree--check-node): New funs.
12130 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
12132         * window.el (switch-to-visible-buffer): New option.
12133         (switch-to-prev-buffer, switch-to-next-buffer):
12134         Observe switch-to-visible-buffer.  Make sure that checking for a window
12135         showing a buffer already is done on the same frame.
12137 2012-03-27  Glenn Morris  <rgm@gnu.org>
12139         * startup.el (mail-host-address): Doc fix.
12141 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12144         than 197 variables.
12146 2012-03-26  Ami Fischman  <ami@fischman.org>
12148         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12150 2012-03-26  Glenn Morris  <rgm@gnu.org>
12152         * files.el (save-buffers-kill-emacs): Doc fix.
12154         * startup.el (normal-top-level, command-line, command-line-1):
12155         Give them doc strings.
12157 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
12159         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12160         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12162 2012-03-25  Chong Yidong  <cyd@gnu.org>
12164         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12165         theme if it was previously enabled before (Bug#11031).
12167         * cus-theme.el (custom-theme-write-faces): Retrieve current face
12168         spec with custom-face-get-current-spec if its :shown-value is not
12169         determined yet (Bug#9337).
12170         (customize-create-theme, custom-theme-revert): Doc fixes.
12172         * button.el (button-at): Minor addition to docstring.
12174 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
12176         * vc/vc.el (vc-merge): Fix a prompt.
12178 2012-03-24  Chong Yidong  <cyd@gnu.org>
12180         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12181         point (Bug#9623).
12183         * button.el (button-at): Minor addition to docstring.
12185 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12187         * newcomment.el (comment-choose-indent): No space after BOL.
12189 2012-03-22  Sam Steingold  <sds@gnu.org>
12191         * window.el (switch-to-prev-buffer): Revert last patch because the
12192         bug turned out to be an advertised feature (Elisp manual 28.14).
12194 2012-03-22  Glenn Morris  <rgm@gnu.org>
12196         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
12197         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12199 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12201         * net/network-stream.el (network-stream-open-starttls): Make error
12202         message under Windows be less misleading.
12204 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
12206         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12207         understands (bug#9942).
12209 2012-03-22  Chong Yidong  <cyd@gnu.org>
12211         * simple.el (end-of-visible-line): Handle return value of
12212         next-single-property-change properly (Bug#9371).
12214 2012-03-22  Kenichi Handa  <handa@m17n.org>
12216         * international/quail.el (quail-insert-kbd-layout): Fix previous
12217         change.  To avoid unwanted bidi reordering, use
12218         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12220 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
12222         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12223         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12224         (ruby-beginning-of-indent): Be more careful with the difference
12225         between word-boundary and symbol boundary.
12226         (ruby-mode-syntax-table): Make : a symbol constituent.
12228 2012-03-21  Andreas Politz  <politza@fh-trier.de>
12230         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12232 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12234         * progmodes/etags.el (tags-completion-at-point-function):
12235         Improve last fix.
12237         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12239 2012-03-21  Sam Steingold  <sds@gnu.org>
12241         * progmodes/etags.el (tags-completion-at-point-function):
12242         Avoid the error when point is inside the pattern.
12244 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
12246         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12247         line (Bug#10855).
12249 2012-03-21  Drew Adams  <drew.adams@oracle.com>
12251         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12253 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
12255         * ido.el (ido-set-current-directory, ido-read-internal)
12256         (ido-choose-completion-string, ido-completion-help): Handle nil
12257         value of ido-completion-buffer (Bug#11008).
12259 2012-03-21  Sam Steingold  <sds@gnu.org>
12261         * window.el (switch-to-prev-buffer): Do not switch to a visible
12262         window previous buffer, just like with the frame previous buffers.
12264 2012-03-21  Chong Yidong  <cyd@gnu.org>
12266         * faces.el (make-face, make-empty-face, copy-face):
12267         * face-remap.el (face-remap-add-relative, face-remap-set-base):
12268         Doc fixes.
12270 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12272         * wid-edit.el (widget-complete-field): Remove (bug#11051).
12273         (widget-complete): Remove broken use of it.
12275 2012-03-20  Chong Yidong  <cyd@gnu.org>
12277         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12278         Use string-width and truncate-string-width to handle arbitrary
12279         characters.
12281 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
12283         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12284         to draw rectangles, not squares.  (Regression introduced by revno
12285         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12287 2012-03-18  Chong Yidong  <cyd@gnu.org>
12289         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12290         it is not yet defined (for temacs).
12292 2012-03-18  Leo Liu  <sdl.web@gmail.com>
12294         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12295         prefix.
12297 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12299         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12300         (ispell-choices-win-default-height, ispell-silently-savep)
12301         (ispell-dictionary-alist, ispell-encoding8-command)
12302         (ispell-check-version, ispell-aspell-find-dictionary)
12303         (ispell-valid-dictionary-list, ispell-words-keyword)
12304         (ispell-get-word, ispell-internal-change-dictionary)
12305         (ispell-region, ispell-skip-region-list)
12306         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12307         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12308         (ispell-message-text-end, ispell-message)
12309         (ispell-buffer-local-parsing): Doc fix.
12311 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
12313         * htmlfontify.el: Add support for code block fontification for ODT
12314         export (Bug #9914).
12315         (hfy-optimisations): Define new option
12316         `body-text-only'
12317         (hfy-fontify-buffer): Honor above setting.
12318         (hfy-begin-span, hfy-end-span): New routines factored out form
12319         `hfy-fontify-buffer'.
12320         (hfy-begin-span-handler, hfy-end-span-handler): New variables
12321         that permit insertion of custom tags.
12322         (hfy-fontify-buffer): Use above handlers.
12323         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12324         (hfy-face-to-css): Re-defined to be a variable.
12325         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
12326         over multiple runs.  This is made possible by having the caller let
12327         bind a special variable `hfy-user-sheet-assoc'.
12328         (htmlfontify-string): New defun.
12329         (hfy-compile-face-map): Make sure that the last char in the
12330         buffer is correctly fontified.
12331         (hfy-face-resolve-face): Whitespace only change.
12333 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12335         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12336         message more clear.
12338 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12340         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12342 2012-03-16  Alan Mackenzie  <acm@muc.de>
12344         Further optimize the handling of large macros.
12346         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12347         limit to a call of `c-literal-limits'.
12348         (c-determine-+ve-limit): New function.
12349         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12350         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12351         In CASE 5B, restrict a search limit to 500.
12352         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12354         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12355         Restrict macro bounds to +-500 from after-change's BEG END.
12357 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12359         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12361 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
12363         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12364         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
12366 2012-03-16  Glenn Morris  <rgm@gnu.org>
12368         * view.el (view-buffer, view-buffer-other-window)
12369         (view-buffer-other-frame): Doc fixes re special mode-class.
12371         * subr.el (eval-after-load): If named feature is provided not from
12372         a file, run after-load forms.  (Bug#10946)
12374         * calendar/calendar.el (calendar-insert-at-column):
12375         Handle non-unit-width characters a bit better.  (Bug#10978)
12377 2012-03-15  Chong Yidong  <cyd@gnu.org>
12379         * emacs-lisp/ring.el (ring-extend): New function.
12380         (ring-insert+extend): Extend the ring correctly (Bug#11019).
12382         * comint.el (comint-read-input-ring)
12383         (comint-add-to-input-history): Grow comint-input-ring lazily.
12385 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12387         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12388         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12390         * imenu.el: Fix multiple inheritance breakage (bug#9199).
12391         (imenu-add-to-menubar): Don't add a redundant index.
12392         (imenu-update-menubar): Handle a dynamically composed keymap.
12394 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
12396         * mail/sendmail.el (mail-encode-header):
12397         Bind rfc2047-encode-encoded-words to nil.
12399 2012-03-13  Glenn Morris  <rgm@gnu.org>
12401         * calendar/calendar.el (calendar-string-spread):
12402         Handle non-unit-width characters a bit better.  (Bug#10978)
12404 2012-03-13  Leo Liu  <sdl.web@gmail.com>
12406         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12407         directory and file as argument (Bug#10822).
12409 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
12411         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12412         For dynamically generated code, follow $PC.
12413         (gdb-disassembly-handler-custom): Handle no function name case.
12415 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
12417         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12418         * emulation/ws-mode.el (ws-query-replace):
12419         * sort.el (sort-regexp-fields):
12420         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
12422 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12424         * dabbrev.el: Fix cycle completion order (bug#10963).
12425         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12426         (dabbrev-completion): Don't use an obarray; provide
12427         a cycle-sort-function.
12429 2012-03-12  Leo Liu  <sdl.web@gmail.com>
12431         * simple.el (kill-new): Use equal-including-properties for comparison.
12432         (kill-do-not-save-duplicates): Doc fix.
12434 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12436         * dabbrev.el: Fix cycle completion (bug#10963).
12437         Use lexical binding and wrap to 80 columns.
12438         (dabbrev-completion): Delay computing the list of completions.
12440 2012-03-12  Kenichi Handa  <handa@m17n.org>
12442         * international/quail.el (quail-insert-kbd-layout): Surround each
12443         row by LRO and PDF instead of inserting many LRMs.  Pad the left
12444         and right of each non-spacing marks.  Insert invisible space
12445         between lower and upper characters to prevent composition.
12447 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12449         * minibuffer.el (minibuffer-complete): Don't get confused when the
12450         function is run twice via different commands (bug#10958).
12451         (complete-with-action): Fix docstring.
12453 2012-03-12  Chong Yidong  <cyd@gnu.org>
12455         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12456         (nxml-completion-at-point-function): New function.
12457         (nxml-mode): Use it.
12458         (nxml-bind-meta-tab-to-complete-flag): Default to t.
12460         * emacs-lisp/package.el (package-unpack, package-unpack-single):
12461         Load generated autoloads file before byte compiling (Bug#10970).
12462         (package--make-autoloads-and-compile): New helper fun.
12464 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
12466         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12468 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
12470         * autorevert.el (auto-revert-handler): Ensure, that
12471         file-readable-p is applied only for local files or in
12472         auto-revert-tail-mode.
12474 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
12476         * server.el (server-eval-at): Handle non-tcp connections.
12477         Decode result string.
12479         * server.el (server-msg-size): New constant.
12480         (server-reply-print): New function.
12481         (server-eval-and-print): Use it.
12482         (server-eval-at): Use server-quote-arg and server-unquote-arg.
12483         Handle -print-nonl.
12485 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
12487         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12488         (Bug#10987).
12490 2012-03-11  Chong Yidong  <cyd@gnu.org>
12492         * simple.el (goto-line): Doc fix (Bug#9938).
12494         * subr.el (save-window-excursion): Doc fix (Bug#9979).
12496         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12497         when finished (Bug#10963).
12499 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
12501         * window.el (split-window-below): Fix bug in case where
12502         split-window-keep-point is nil (Bug#10971).
12504 2012-03-11  Juri Linkov  <juri@jurta.org>
12506         * replace.el (replace-highlight): Set isearch-word to nil
12507         unconditionally.  (Bug#10887)
12509 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
12511         * net/mairix.el (mairix-replace-invalid-chars): Rename from
12512         mairix-replace-illegal-chars; all callers changed.  Don't remove
12513         ^, ~, and = characters: they are meaningful in mairix search specs.
12514         (mairix-widget-create-query): Add usage information about mairix
12515         search forms: negating words, searching for substrings, etc.
12517 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
12519         * international/fontset.el (font-encoding-alist): Add an entry for
12520         ksx1001 (Bug#5667).
12522 2012-03-10  Richard Stallman  <rms@gnu.org>
12524         * mail/sendmail.el (mail-encode-header):
12525         Set rfc2047-encode-encoded-words.
12527         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12529         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12530         view buffer means not swapped.
12531         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12532         (rmail-write-region-annotate): Error if real text has disappeared.
12534         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12536 2012-03-10  Chong Yidong  <cyd@gnu.org>
12538         * emulation/cua-rect.el (cua--init-rectangles):
12539         * emulation/cua-base.el (cua--init-keymaps):
12540         Add delete-forward-char to remappings (Bug#9666).
12542 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
12544         * speedbar.el (speedbar-unhighlight-one-tag-line):
12545         Avoid unhighlighting due to frame switching (Bug#10275).
12547 2012-03-10  Chong Yidong  <cyd@gnu.org>
12549         * minibuffer.el (completion-in-region, completion-help-at-point):
12550         Give the completion field overlay a high priority (Bug#6830).
12552         * dired.el (dired-goto-file): Recognize absolute file name
12553         listings (Bug#7126).
12554         (dired-goto-file-1): New helper function.
12555         (dired-toggle-read-only): Inhibit warnings.
12557 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
12559         * net/dbus.el (dbus-property-handler): Return empty array if
12560         there are no properties.
12562 2012-03-09  Leo Liu  <sdl.web@gmail.com>
12564         * savehist.el (savehist-printable): Stricter check for string
12565         value (Bug#10937).
12567 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
12569         * mail/smtpmail.el (smtpmail-send-it):
12570         Bind coding-system-for-write to *-unix, so that FCC files are kept in
12571         valid mbox format.
12573 2012-03-09  Glenn Morris  <rgm@gnu.org>
12575         * files.el (dir-locals-find-file):
12576         Don't check result is regular, readable.
12577         (dir-locals-read-from-file): Demote errors.
12579 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
12581         * international/quail.el (quail-insert-kbd-layout):
12582         Insert invisible LRM characters before each character in a keyboard
12583         layout cell, to prevent their reordering by bidi display engine.
12584         For details, see the discussion in
12585         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12587 2012-03-08  Alan Mackenzie  <acm@muc.de>
12589         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12590         the starting position; make it extend the marked region when
12591         invoked repeatedly - all under appropriate circumstances.
12592         Fixes bugs #5525, #10906.
12594 2012-03-08  Glenn Morris  <rgm@gnu.org>
12596         * files.el (locate-dominating-file, dir-locals-find-file):
12597         Undo 2012-03-06 change.
12599 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
12601         * international/quail.el (quail-help):
12602         Force bidi-paragraph-direction be left-to-right.  See discussion in
12603         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12604         for the reason.
12606 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
12608         Avoid superfluous registering of signals.  (Bug#10807)
12610         * notifications.el (notifications-on-action-object)
12611         (notifications-on-close-object): New defvars.
12612         (notifications-on-action-signal, notifications-on-closed-signal):
12613         Unregister the signal if not needed any longer.
12614         (notifications-notify): Register `notifications-action-signal' or
12615         `notifications-closed-signal', if :on-action or :on-close has been
12616         passed as argument.
12618 2012-03-07  Chong Yidong  <cyd@gnu.org>
12620         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12621         non-X platforms.
12623 2012-03-06  Glenn Morris  <rgm@gnu.org>
12625         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12626         (x-disown-selection-internal, x-get-selection-internal):
12627         Doc fix (add arglist signatures).  (Bug#10783)
12629 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
12631         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12632         Handle breakpoints with no "type".
12634 2012-03-06  Glenn Morris  <rgm@gnu.org>
12636         * files.el (locate-dominating-file): Add optional predicate argument.
12637         (dir-locals-find-file): Make use of above change.
12639 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
12641         * info.el (Info-insert-dir): Also try "dir.gz".
12643 2012-03-06  Glenn Morris  <rgm@gnu.org>
12645         * files.el (dir-locals-find-file):
12646         Ignore non-readable or non-regular files.  (Bug#10928)
12648         * files.el (locate-dominating-file): Doc fix.
12650 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
12652         * calendar/calendar.el (calendar-set-mode-line):
12653         `getenv' returns a string.  (Bug#10951)
12655 2012-03-05  Leo Liu  <sdl.web@gmail.com>
12657         * simple.el (backward-delete-char-untabify): Constrain point to
12658         field (Bug#10939).
12660         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12662 2012-03-05  Chong Yidong  <cyd@gnu.org>
12664         * simple.el (count-words): If called from Lisp, return the word
12665         count, for symmetry with `count-lines'.  Arglist changed.
12666         (count-words--message): Args changed.  Consolidate counting code
12667         from count-words and count-words-region.
12668         (count-words-region): Caller changed.
12669         (count-lines-region): Make it an obsolete alias.
12671 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
12673         * saveplace.el (save-place-to-alist)
12674         (save-place-ignore-files-regexp): Allow value nil to disable this
12675         feature.
12677 2012-03-04  Chong Yidong  <cyd@gnu.org>
12679         * faces.el (face-spec-reset-face): For the default face, reset the
12680         attributes to default values (Bug#10748).
12682 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12684         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12685         previous patch: Check `message-send-mail-function', and not the
12686         default function (bug#10897).
12688 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
12690         * notifications.el (notifications-on-action-signal)
12691         (notifications-on-closed-signal): Check for unique service name of
12692         incoming event.  Fix error in removing entry.
12693         (top): Register for signals with wildcard service name.
12694         (notifications-notify): Use daemon unique service name for map entries.
12696 2012-03-04  Chong Yidong  <cyd@gnu.org>
12698         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12700 2012-03-04  Glenn Morris  <rgm@gnu.org>
12702         * abbrev.el (copy-abbrev-table, abbrev-table-p)
12703         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12704         (expand-abbrev, define-abbrev-table): Doc fixes.
12706 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12708         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12709         `message-default-send-mail-function' and not `send-mail-function'
12710         when doing the prompting for `sendmail-query-once' before sending
12711         in Message buffers (bug#10897).
12713         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12714         This is inconsistent with all the other stream functions, which leave
12715         the setting up to the higher levels (if so wanted) (bug#10931).
12717 2012-03-02  Alan Mackenzie  <acm@muc.de>
12719         Depessimize the handling of very large macros.
12721         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12722         (c-macro-cache-syntactic): New variables to implement a one
12723         element macro cache.
12724         (c-invalidate-macro-cache): New function.
12725         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12726         Adapt to use the new cache.
12727         (c-state-safe-place): Use better the cache of safe positions.
12728         (c-state-semi-nonlit-pos-cache)
12729         (c-state-semi-nonlit-pos-cache-limit):
12730         New variables for...
12731         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
12732         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12733         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12734         Use c-state-semi-safe-place.
12736         * progmodes/cc-langs.el (c-get-state-before-change-functions):
12737         Add c-invalidate-macro-cache to the C, C++, Obj entries.
12739 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
12741         * jka-compr.el (jka-compr-call-process):
12742         Apply `file-accessible-directory-p' only when the default directory is
12743         not remote.
12745 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
12747         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
12748         access of FILE2, if FILE1 does not exist.
12750         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12751         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12753         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12754         Add "PAGER=" to `process-environment'.
12756 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
12758         * progmodes/sql.el: Bug fix
12759         (sql-get-login-ext): Save login values in globals.
12760         (sql-get-login): Use new version of `sql-get-login-ext'.
12761         (sql-interactive-mode): Set global `sql-connection' to nil.
12762         (sql-connect): Set global values for connection.
12763         (sql-product-interactive): Save global values as buffer local.
12765 2012-02-29  Leo Liu  <sdl.web@gmail.com>
12767         * abbrev.el (define-abbrevs): Reset sys to nil.
12769 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12771         * files.el (file-equal-p): Rename from `files-equal-p'.
12772         Return nil when one or both files don't exist.
12773         (file-subdir-of-p): Now only top directory must exists,
12774         return nil if it doesn't.
12775         (copy-directory): No need to test with `file-subdir-of-p' after
12776         creating dir.
12777         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12778         to `file-equal-p'.
12780 2012-02-28  Glenn Morris  <rgm@gnu.org>
12782         * shell.el (shell-mode):
12783         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12784         * play/landmark.el (landmark-font-lock-face-O):
12785         * play/handwrite.el (handwrite):
12786         * play/gomoku.el (gomoku-O):
12787         * net/browse-url.el (browse-url-browser-display):
12788         * international/mule.el (define-charset):
12789         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12790         * filesets.el (filesets-find-file-delay):
12791         * eshell/em-xtra.el (eshell-xtra):
12792         * eshell/em-unix.el (eshell-grep):
12793         * emulation/viper.el (viper-mode):
12794         * emacs-lisp/regexp-opt.el (regexp-opt-group):
12795         * emacs-lisp/easymenu.el (easy-menu-define):
12796         * calendar/timeclock.el (timeclock-use-display-time):
12797         * bs.el (bs-mode):
12798         * bookmark.el (bookmark-save-flag):
12799         Doc fix (standardize possessive apostrophe usage).
12801 2012-02-27  Chong Yidong  <cyd@gnu.org>
12803         * emulation/viper-cmd.el (viper-intercept-ESC-key):
12804         Fix key-binding lookup for ESC key (Bug#9146).
12806         * font-lock.el (font-lock-specified-p): Rename from
12807         font-lock-spec-present.  Callers changed.
12809 2012-02-27  Daniel Hackney  <dan@haxney.org>
12811         * emacs-lisp/package.el (package-compute-transaction):
12812         Handle holding a package version to t in package-load-list.
12814 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
12816         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12817         (tramp-get-inode, tramp-get-device): Use cached values.
12819 2012-02-26  Alan Mackenzie  <acm@muc.de>
12821         Check there is a font-lock specification before doing initial
12822         fontification.
12824         * font-core.el (font-lock-mode): Move the conditional from
12825         :after-hook to font-lock-initial-fontify.
12826         (font-lock-default-function): Move the check for a specification
12827         to font-lock-spec-present.
12829         * font-lock.el (font-lock-initial-fontify): Call ...
12830         (font-lock-spec-present): New function.
12832 2012-02-26  Jim Blandy  <jimb@red-bean.com>
12834         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12835         (gdb-send): Apply it to the operand of the '-interpreter-exec
12836         console' command, so that we can pass arguments with (say) quotes
12837         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
12839 2012-02-26  Chong Yidong  <cyd@gnu.org>
12841         * help-fns.el (describe-function-1): Clarify description of
12842         remapping (Bug#10844).
12844         * files.el (files-equal-p): Doc fix.
12845         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
12846         and quit the loop once a mismatch is found.
12848 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
12850         * bs.el (bs--show-with-configuration): Don't throw an error
12851         if the window cannot be split; otherwise, subsequent calls to
12852         bs-show fail, restoring a stale window config.  (Bug#10882)
12854 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
12856         * term/ns-win.el (global-map): Bind ns-drag-file to
12857         ns-find-file (Bug#5855, Bug#10050).
12859 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
12861         * calendar/parse-time.el (parse-time-string): Allow extractor to
12862         return nil.
12864 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
12866         * net/tramp.el (tramp-file-name-for-operation):
12867         Add `files-equal-p' and `file-subdir-of-p'.
12869         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12870         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12871         Add COPY-CONTENTS argument.
12873 2012-02-25  Chong Yidong  <cyd@gnu.org>
12875         Add custom groups for VC backends, for consistency with vc-bzr.
12877         * vc/vc-arch.el (vc-arch):
12878         * vc/vc-cvs.el (vc-cvs):
12879         * vc/vc-git.el (vc-git):
12880         * vc/vc-hg.el (vc-hg):
12881         * vc/vc-mtn.el (vc-mtn):
12882         * vc/vc-rcs.el (vc-rcs):
12883         * vc/vc-sccs.el (vc-sccs):
12884         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12885         All relevant defcustoms reassigned.
12887 2012-02-25  Chong Yidong  <cyd@gnu.org>
12889         * newcomment.el (comment-styles): Add autoload (Bug#10868).
12891         * term/x-win.el (x-initialize-window-system): Reduce default for
12892         x-selection-timeout to 5 seconds (Bug#8869).
12894 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12896         * files.el (files-equal-p, file-subdir-of-p): New functions.
12897         (copy-directory): Error when trying to copy a directory on itself.
12898         Add missing copy-contents arg to tramp handler.
12899         * dired-aux.el (dired-copy-file-recursive): Same.
12900         (dired-create-files): Modify destination when source is equal to
12901         dest when copying files.
12902         Return also when dest is a subdir of source.  (Bug#10489)
12904 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
12906         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12907         (Bug#10874)
12909 2012-02-23  Alan Mackenzie  <acm@muc.de>
12911         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12912         parameter "after-hook:" to allow the expansion to run code after
12913         the execution of the mode hooks.
12915         * font-lock.el (font-lock-initial-fontify): New function extracted
12916         from font-lock-mode-internal.
12918         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12919         :after-hook.
12921 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12923         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12924         (completion--cache-all-sorted-completions): New function.
12925         (completion-all-sorted-completions): Use it.
12926         (completion--do-completion, minibuffer-force-complete):
12927         Use it to re-instate the flush hook.
12929         * icomplete.el (icomplete-completions): Replace last fix with a better
12930         one (bug#10850).
12932 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
12934         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12935         when it might call us back infinitely (bug#10797).
12937 2012-02-23  Glenn Morris  <rgm@gnu.org>
12939         * minibuffer.el (completion-category-overrides): Doc fix.
12941 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12943         * minibuffer.el (completion-table-with-context): Fix inf-loop.
12944         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12946 2012-02-23  Glenn Morris  <rgm@gnu.org>
12948         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12949         (authors-obsolete-files-regexps, authors-ignored-files)
12950         (authors-ambiguous-files, authors-renamed-files-alist):
12951         Add more entries.
12953 2012-02-23  Juri Linkov  <juri@jurta.org>
12955         * isearch.el (isearch-occur): Sync interactive spec with occur's
12956         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
12958         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12960 2012-02-22  Juri Linkov  <juri@jurta.org>
12962         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12963         (ucs-insert): Doc fix.  Check for hex digits in the string.
12964         Don't display `nil' in the error message.  (Bug#10857)
12966 2012-02-22  Alan Mackenzie  <acm@muc.de>
12968         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12970 2012-02-22  Glenn Morris  <rgm@gnu.org>
12972         * ffap.el (ffap-c-path):
12973         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
12975 2012-02-22  Chong Yidong  <cyd@gnu.org>
12977         * custom.el (load-theme): Doc fix.
12979 2012-02-22  Glenn Morris  <rgm@gnu.org>
12981         * dired-x.el (dired-guess-shell-alist-default):
12982         Remove escape sequences from nroff output.  (Bug#172)
12984 2012-02-21  Glenn Morris  <rgm@gnu.org>
12986         * vc/emerge.el (emerge-defvar-local):
12987         Set `permanent-local' property rather than unused `preserved'.
12989         * textmodes/picture.el (picture-delete-char): New alias.
12990         (picture-mode-map): Use it.  (Bug#10860)
12991         (picture-mode): Doc fix.
12993 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
12995         * newcomment.el (uncomment-region-default): Remove unused binding.
12997 2012-02-21  Glenn Morris  <rgm@gnu.org>
12999         * textmodes/picture.el (picture-motion, picture-motion-reverse)
13000         (picture-self-insert, picture-tab-chars): Doc fix.
13001         (picture-mode-map): Fix C-a, C-e.
13003 2012-02-20  Glenn Morris  <rgm@gnu.org>
13005         * emacs-lisp/authors.el (authors-aliases): Add another entry.
13007 2012-02-20  Leo Liu  <sdl.web@gmail.com>
13009         * icomplete.el (icomplete-completions): Check FROM arg before
13010         passing to substring (Bug#10850).
13012 2012-02-19  Chong Yidong  <cyd@gnu.org>
13014         * comint.el: Require ansi-color.
13015         (comint-output-filter-functions): Add ansi-color-process-output.
13017         * ansi-color.el: Don't set comint-output-filter-functions; it is
13018         now in the initial value defined in comint.el.
13019         (ansi-color-apply-face-function): New variable.
13020         (ansi-color-apply-on-region): Use it.
13021         (ansi-color-apply-overlay-face): New function.
13023         * shell.el (shell): No need to require ansi-color.
13024         (shell-mode): Use ansi-color-apply-face-function to highlight
13025         color escapes using font-lock-face property (Bug#10835).
13027 2012-02-19  Chong Yidong  <cyd@gnu.org>
13029         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13030         mode-line formats (Bug#10839).
13032 2012-02-18  Glenn Morris  <rgm@gnu.org>
13034         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13036         * mail/undigest.el (unforward-rmail-message): Doc fix.
13038         * saveplace.el (save-place-ignore-files-regexp): Add :version.
13040 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
13042         * international/characters.el (script-list): Sync with the latest
13043         Unicode Character Database.
13045 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
13047         * international/titdic-cnv.el: Remove duplicate coding tag.
13048         * language/cham.el: Likewise.
13049         * language/tai-viet.el: Likewise.
13051 2012-02-18  Glenn Morris  <rgm@gnu.org>
13053         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13054         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13055         (calendar-bahai-all-holidays-flag, calendar-other-dates):
13056         * calendar/diary-lib.el (diary-abbreviated-year-flag):
13057         * calendar/holidays.el (holiday-bahai-holidays)
13058         (calendar-holidays, list-holidays):
13059         Use utf-8 Bahá'í in doc-strings, menus, etc.
13061 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
13063         * saveplace.el (save-place-ignore-files-regexp): New variable
13064         allowing for excluding files from saving their location of point.
13065         The default value matches the temporary commit message editing
13066         files from Git, SVN, Bazaar, and Mercurial.
13067         (save-place-to-alist): Use it.
13069 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
13070             Stefan Monnier  <monnier@iro.umontreal.ca>
13072         * newcomment.el (uncomment-region-default): Don't leave extra space
13073         when an arg is provided (bug#8150).
13075 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
13077         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13079 2012-02-17  Glenn Morris  <rgm@gnu.org>
13081         * net/socks.el: Require network-stream.  (Bug#10599)
13083 2012-02-17  Kenichi Handa  <handa@m17n.org>
13085         * international/charprop.el:
13086         * international/uni-name.el:
13087         * international/uni-old-name.el:
13088         * international/uni-comment.el: Regenerate.
13090 2012-02-16  Glenn Morris  <rgm@gnu.org>
13092         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13093         Interactively in calendar buffer, give an error if not on a date.
13095 2012-02-15  Glenn Morris  <rgm@gnu.org>
13097         * shell.el (shell-delimiter-argument-list):
13098         Revert 2011-02-17 change.  (Bug#8027)
13100 2012-02-15  Chong Yidong  <cyd@gnu.org>
13102         * minibuffer.el (completion-at-point-functions): Doc fix.
13104         * custom.el (defcustom): Doc fix; note use of defvar.
13106 2012-02-15  Glenn Morris  <rgm@gnu.org>
13108         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13109         Doc fixes.
13111 2012-02-14  Glenn Morris  <rgm@gnu.org>
13113         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13115 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
13117         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13118         way the ports list is computed.
13119         (smtpmail-query-smtp-server): Prompt the user for a port number if
13120         we can't connect to any of the standard ports (bug#10810).
13122 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
13124         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13126 2012-02-13  Glenn Morris  <rgm@gnu.org>
13128         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
13130 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
13132         * net/gnutls.el (gnutls-trustfiles): New variable.
13133         (gnutls-negotiate): Use it.
13135 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
13137         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13138         does its stuff if Gnus is running.
13140 2012-02-13  Alan Mackenzie  <acm@muc.de>
13142         Fix a loop in c-set-fl-decl-start.
13144         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13145         c-backward-syntactic-ws actually moves backwards.
13147 2012-02-13  Leo Liu  <sdl.web@gmail.com>
13149         * net/rcirc.el (rcirc-markup-attributes): Move point to the
13150         beginning so that all \C-o chars are removed.
13152 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
13154         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13156 2012-02-12  Alan Mackenzie  <acm@muc.de>
13158         Fix infinite loop with long macros.
13159         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13161 2012-02-12  Chong Yidong  <cyd@gnu.org>
13163         * window.el (display-buffer): Doc fix (Bug#10785).
13165 2012-02-12  Glenn Morris  <rgm@gnu.org>
13167         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13168         (x-disown-selection-internal, x-get-selection-internal):
13169         Sync docs with the xselect.c versions.
13171         * allout-widgets.el: Add missing license notice.
13173 2012-02-11  Glenn Morris  <rgm@gnu.org>
13175         * select.el (x-get-selection-internal, x-own-selection-internal)
13176         (x-disown-selection-internal):
13177         * x-dnd.el (x-get-selection-internal): Update declarations.
13179         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13181         * window.el (window-sides-slots):
13182         * tool-bar.el (tool-bar-position):
13183         * term/xterm.el (xterm-extra-capabilities):
13184         * ses.el (ses-self-reference-early-detection):
13185         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13186         (verilog-auto-wire-type)
13187         (verilog-auto-delete-trailing-whitespace)
13188         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13189         (verilog-auto-tieoff-declaration):
13190         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13191         (sql-oracle-statement-starters, sql-oracle-scan-on):
13192         * progmodes/prolog.el (prolog-align-comments-flag)
13193         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13194         (prolog-left-indent-regexp, prolog-paren-indent-p)
13195         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13196         (prolog-types, prolog-mode-specificators)
13197         (prolog-determinism-specificators, prolog-directives)
13198         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13199         (prolog-electric-dot-flag)
13200         (prolog-electric-dot-full-predicate-template)
13201         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13202         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13203         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13204         (prolog-program-switches, prolog-prompt-regexp)
13205         (prolog-debug-on-string, prolog-debug-off-string)
13206         (prolog-trace-on-string, prolog-trace-off-string)
13207         (prolog-zip-on-string, prolog-zip-off-string)
13208         (prolog-use-standard-consult-compile-method-flag)
13209         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13210         (prolog-imenu-max-lines, prolog-info-predicate-index)
13211         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13212         (prolog-char-quote-workaround):
13213         * progmodes/cc-vars.el (c-defun-tactic):
13214         * net/tramp.el (tramp-encoding-command-interactive)
13215         (tramp-local-end-of-line):
13216         * net/soap-client.el (soap-client):
13217         * net/netrc.el (netrc-file):
13218         * net/gnutls.el (gnutls):
13219         * minibuffer.el (completion-category-overrides)
13220         (completion-cycle-threshold)
13221         (completion-pcm-complete-word-inserts-delimiters):
13222         * man.el (Man-name-local-regexp):
13223         * mail/feedmail.el (feedmail-display-full-frame):
13224         * international/characters.el (glyphless-char-display-control):
13225         * eshell/em-ls.el (eshell-ls-date-format):
13226         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13227         (lisp-lambda-list-keyword-parameter-indentation)
13228         (lisp-lambda-list-keyword-parameter-alignment):
13229         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13230         * dired-x.el (dired-omit-verbose):
13231         * cus-theme.el (custom-theme-allow-multiple-selections):
13232         * calc/calc.el (calc-highlight-selections-with-faces)
13233         (calc-lu-field-reference, calc-lu-power-reference)
13234         (calc-note-threshold):
13235         * battery.el (battery-mode-line-limit):
13236         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13237         (archive-7z-update):
13238         * allout.el (allout-prefixed-keybindings)
13239         (allout-unprefixed-keybindings)
13240         (allout-inhibit-auto-fill-on-headline)
13241         (allout-flattened-numbering-abbreviation):
13242         * allout-widgets.el (allout-widgets-auto-activation)
13243         (allout-widgets-icons-dark-subdir)
13244         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13245         (allout-widgets-theme-dark-background)
13246         (allout-widgets-theme-light-background)
13247         (allout-widgets-item-image-properties-emacs)
13248         (allout-widgets-item-image-properties-xemacs)
13249         (allout-widgets-run-unit-tests-on-load)
13250         (allout-widgets-time-decoration-activity)
13251         (allout-widgets-hook-error-post-time)
13252         (allout-widgets-track-decoration):
13253         Add missing :version tags to new defcustoms and defgroups.
13255         * progmodes/sql.el (sql-ansi-statement-starters)
13256         (sql-oracle-statement-starters): Add custom type.
13258         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13259         (prolog-system-version): Give it a type.
13261 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
13263         * term/pc-win.el (x-select-text, x-selection-owner-p)
13264         (x-own-selection-internal, x-disown-selection-internal)
13265         (x-get-selection-internal): Sync doc strings and argument lists
13266         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
13268 2012-02-11  Leo Liu  <sdl.web@gmail.com>
13270         * progmodes/python.el (python-end-of-statement): Fix infinite
13271         loop.  (Bug#10788)
13273 2012-02-10  Glenn Morris  <rgm@gnu.org>
13275         * international/mule-cmds.el (unify-8859-on-encoding-mode)
13276         (unify-8859-on-decoding-mode): Properly mark as obsolete.
13278 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
13280         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13281         about SMTP before checking the From header.
13283         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13284         into own function for reuse by emacsbug.el.
13286 2012-02-10  Leo Liu  <sdl.web@gmail.com>
13288         * subr.el (condition-case-unless-debug): Rename from
13289         condition-case-no-debug.  All callers changed.
13290         (with-demoted-errors): Fix caller.
13292         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13293         * nxml/rng-valid.el (rng-do-some-validation):
13294         * emacs-lisp/package.el (package-refresh-contents)
13295         (package-menu-execute):
13296         * desktop.el (desktop-create-buffer):
13297         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13299 2012-02-10  Glenn Morris  <rgm@gnu.org>
13301         * textmodes/bibtex.el:
13302         Add missing :version tags for new/changed defcustoms.
13304         * files.el (remote-file-name-inhibit-cache): Doc fixes.
13306 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
13308         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13309         (smtpmail-via-smtp): Use it, or fall back on the From address.
13310         (smtpmail-send-it): Ditto.
13312 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13314         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13315         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
13316         (byte-compile-tmp-var): New const.
13317         (byte-compile-defvar): Use it to minimize .elc size.
13318         Just use `defvar' rather than simulate it (bug#10761).
13320 2012-02-09  Glenn Morris  <rgm@gnu.org>
13322         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
13324         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13325         Add :version tags.
13327         * progmodes/compile.el (compilation-error-screen-columns)
13328         (compilation-first-column, compilation-filter-start): Doc fixes.
13330         * vc/log-view.el (log-view-toggle-entry-display):
13331         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13333         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13334         (report-emacs-bug-can-use-xdg-email):
13335         (report-emacs-bug-insert-to-mailer): Doc fixes.
13336         (report-emacs-bug): Message fix.
13338         * net/browse-url.el (browse-url-can-use-xdg-open)
13339         (browse-url-xdg-open): Doc fixes.
13341         * electric.el (electric-indent-mode, electric-pair-mode)
13342         (electric-layout-rules, electric-layout-mode): Doc fixes.
13343         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13345 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
13347         * server.el (server-unselect-display): Don't inadvertently kill
13348         the current buffer.  (Bug#10729)
13350 2012-02-08  Glenn Morris  <rgm@gnu.org>
13352         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13353         (sql-list-table): Doc fixes.
13355         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13356         Comment out (does nothing).
13358         * completion.el (dynamic-completion-mode):
13359         * dirtrack.el (dirtrack-debug-mode):
13360         * electric.el (electric-layout-mode):
13361         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13362         * face-remap.el (text-scale-mode, buffer-face-mode):
13363         * iimage.el (iimage-mode):
13364         * image-mode.el (image-transform-mode):
13365         * minibuffer.el (completion-in-region-mode):
13366         * scroll-lock.el (scroll-lock-mode):
13367         * simple.el (next-error-follow-minor-mode):
13368         * tar-mode.el (tar-subfile-mode):
13369         * tooltip.el (tooltip-mode):
13370         * vcursor.el (vcursor-use-vcursor-map):
13371         * wid-browse.el (widget-minor-mode):
13372         * emulation/tpu-edt.el (tpu-edt-mode):
13373         * emulation/tpu-extras.el (tpu-cursor-free-mode):
13374         * international/iso-ascii.el (iso-ascii-mode):
13375         * language/thai-util.el (thai-word-mode):
13376         * mail/supercite.el (sc-minor-mode):
13377         * net/goto-addr.el (goto-address-mode):
13378         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13379         * progmodes/cwarn.el (cwarn-mode):
13380         * progmodes/flymake.el (flymake-mode):
13381         * progmodes/glasses.el (glasses-mode):
13382         * progmodes/hideshow.el (hs-minor-mode):
13383         * progmodes/pascal.el (pascal-outline-mode):
13384         * textmodes/enriched.el (enriched-mode):
13385         * vc/smerge-mode.el (smerge-mode):
13386         Doc fixes (minor mode argument).
13388 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
13390         * ls-lisp.el (ls-lisp-sanitize): New function.
13391         (ls-lisp-insert-directory): Use it to fix or remove any elements
13392         in file-alist with missing attributes.  (Bug#4673)
13394 2012-02-07  Alan Mackenzie  <acm@muc.de>
13396         Fix spurious recognition of c-in-knr-argdecl.
13398         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13399         putative K&R region.
13401 2012-02-07  Alan Mackenzie  <acm@muc.de>
13403         * progmodes/cc-engine.el (c-forward-objc-directive):
13404         Prevent looping in "#pragma mark @implementation".
13406 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
13408         * notifications.el (notifications-on-closed-signal): Make `reason'
13409         optional.  (Bug#10744)
13411 2012-02-07  Glenn Morris  <rgm@gnu.org>
13413         * emacs-lisp/easy-mmode.el (define-minor-mode):
13414         Doc fixes for the macro and the mode it defines.
13416         * image.el (imagemagick-types-inhibit): Doc fix.
13418         * cus-start.el (imagemagick-render-type): Add it.
13420 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
13422         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13423         Set the default at load time, too, so that `font-lock-fontify-buffer'
13424         can be called without setting up the entire mode first.  This fixes
13425         a bug in `mm-inline-text' with C MIME parts.
13427 2012-02-06  Chong Yidong  <cyd@gnu.org>
13429         * simple.el (list-processes--refresh): Delete exited processes
13430         (Bug#8094).
13432         * comint.el (comint-next-prompt): next-single-char-property-change
13433         and prev-single-char-property-change never return nil (Bug#8657).
13435         * custom.el (defcustom): Doc fix (Bug#9711).
13437 2012-02-05  Chong Yidong  <cyd@gnu.org>
13439         * cus-edit.el (custom-variable-reset-backup): Quote the value
13440         before storing it in the customized-value property (Bug#6712).
13441         (custom-display): Add a customization type tag.
13442         (custom-buffer-create-internal): Improve tooltip message.
13444         * wid-edit.el (widget-field-value-get): New optional arg to
13445         suppress trailing whitespace truncation.
13446         (character): Use it (Bug#2689).
13448 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
13450         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13451         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13453 2012-02-05  Chong Yidong  <cyd@gnu.org>
13455         * cus-edit.el (custom-variable-value-create): For mismatched
13456         types, show the current value (Bug#7600).
13458         * custom.el (defcustom): Doc fix.
13460 2012-02-05  Glenn Morris  <rgm@gnu.org>
13462         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13464 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
13466         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13467         (pp-buffer): Use `ignore-errors', `looking-at-p'.
13468         (pp-last-sexp): Use `looking-at-p'.
13470 2012-02-04  Glenn Morris  <rgm@gnu.org>
13472         * files.el (revert-buffer):
13473         Doc fix (mention revert-buffer-in-progress-p).
13475         * emacs-lisp/ert-x.el (ert-simulate-command):
13476         Check deferred-action-list (which is obsolete) is bound.
13478         * subr.el (with-wrapper-hook): Doc fixes.
13480         * simple.el (filter-buffer-substring-functions)
13481         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13483 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
13485         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13486         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
13488 2012-02-04  Leo Liu  <sdl.web@gmail.com>
13490         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13492 2012-02-04  Glenn Morris  <rgm@gnu.org>
13494         * image.el (image-extension-data): Add obsolete alias.
13496         * isearch.el (isearch-update): Doc fix.
13498         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13500         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13502 2012-02-03  Glenn Morris  <rgm@gnu.org>
13504         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
13505         (image-animate-timeout): Doc fix.
13507         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13509 2012-02-02  Glenn Morris  <rgm@gnu.org>
13511         * server.el (server-auth-dir): Doc fix.
13512         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
13514         * subr.el (run-mode-hooks): Doc fix.
13516 2012-02-02  Juri Linkov  <juri@jurta.org>
13518         * image-mode.el (image-toggle-display-image): Remove tautological
13519         `major-mode' from the `derived-mode-p' test.
13521 2012-02-02  Kenichi Handa  <handa@m17n.org>
13523         * composite.el (compose-region): Cancel previous change.
13525 2012-02-02  Kenichi Handa  <handa@m17n.org>
13527         * composite.el (compose-region, compose-string): Signal error for
13528         a null string component (Bug#6988).
13530 2012-02-01  Chong Yidong  <cyd@gnu.org>
13532         * view.el (view-buffer-other-window, view-buffer-other-frame):
13533         Handle special modes like view-buffer (Bug#10650).
13534         (view-buffer): Simplify.
13536         * frame.el (set-frame-font): Tweak meaning of third argument.
13538         * dynamic-setting.el (font-setting-change-default-font):
13539         Use set-frame-font (Bug#9982).
13541 2012-02-01  Glenn Morris  <rgm@gnu.org>
13543         * progmodes/compile.el (compilation-internal-error-properties):
13544         Respect compilation-first-column in the "*compilation*" buffer.
13546         * emacs-lisp/easy-mmode.el (define-minor-mode):
13547         Relax :variable's test for a named function.
13549 2012-01-31  Alan Mackenzie  <acm@muc.de>
13551         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13552         off by one error.
13554 2012-01-31  Chong Yidong  <cyd@gnu.org>
13556         * frame.el (set-frame-font): New arg ALL-FRAMES.
13558         * menu-bar.el (menu-set-font): Use set-frame-font.
13560         * faces.el (face-spec-reset-face): Don't apply unspecified
13561         attribute values to the default face.
13563 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
13565         * progmodes/cwarn.el (cwarn): Remove dead link.
13566         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13567         Remove * from defcustom docstrings.
13568         (turn-on-cwarn-mode): Make obsolete.
13569         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13570         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13572 2012-01-31  Glenn Morris  <rgm@gnu.org>
13574         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13575         Fix :variable handling of mode a symbol not equal to modefun.
13576         Allow named functions to be used as the cdr of :variable.
13578 2012-01-30  Glenn Morris  <rgm@gnu.org>
13580         * emacs-lisp/authors.el (authors-fixed-entries):
13581         Remove reference to deleted file rnewspost.el.
13583 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
13585         * window.el (window-with-parameter): Remove unused variable `windows'.
13586         (window--side-check): Remove unused variable `code'.
13587         (window--resize-siblings): Remove unused variable `first'.
13588         (adjust-window-trailing-edge): Remove unused variable `failed'.
13589         (window-deletable-p, window--delete): Remove unused variable `buffer'.
13590         Use `let', not `let*'.
13591         (balance-windows-2): Remove unused variable `found'.
13592         (window--state-put-2): Remove unused variable `splits'.
13593         (window-state-put): Remove unused variable `selected'.
13594         (same-window-p): Use `string-match-p'.
13595         (display-buffer-assq-regexp): Remove unused variable `value'.
13596         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13597         Mark argument ALIST as ignored.
13598         (pop-to-buffer): Remove unused variable `old-window'.
13600 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
13602         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13603         and .lzma compressed files.
13605 2012-01-29  Chong Yidong  <cyd@gnu.org>
13607         * frame.el (window-system-default-frame-alist): Doc fix.
13609         * dynamic-setting.el (font-setting-change-default-font): Don't
13610         change the default face if SET-FONT argument is non-nil (Bug#9982).
13612 2012-01-29  Samuel Bronson  <naesten@gmail.com>
13614         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13616 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
13618         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13619         breakpoints in files outside current directory (Bug#6098).
13621 2012-01-29  Chong Yidong  <cyd@gnu.org>
13623         * progmodes/python.el: Require ansi-color at top-level.
13625         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13626         Define and use in Emacs Lisp mode (Bug#9360).
13627         (lisp-mode-abbrev-table): Add doc.
13628         (lisp-mode-variables): Don't set local-abbrev-table.
13629         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13631 2012-01-28  Roland Winkler  <winkler@gnu.org>
13633         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13635 2012-01-28  Roland Winkler  <winkler@gnu.org>
13637         * textmodes/bibtex.el (bibtex-entry-alist): New function.
13638         (bibtex-set-dialect): Use it.  Either set global values of
13639         dialect-dependent variables or bind these variables buffer-locally
13640         (Bug#10254).
13641         (bibtex-mode): Call bibtex-set-dialect via
13642         hack-local-variables-hook.
13643         (bibtex-dialect): Update docstring.
13644         Add safe-local-variable predicate.
13645         (bibtex-entry-alist, bibtex-field-alist): Initialize via
13646         bibtex-set-dialect.
13647         (bibtex-mode-map): Define menu for each dialect.
13648         (bibtex-entry): Fix docstring.
13650 2012-01-28  Chong Yidong  <cyd@gnu.org>
13652         * eshell/esh-arg.el (eshell-quote-argument): New function.
13654         * eshell/esh-ext.el (eshell-invoke-batch-file):
13655         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13656         first arg to eshell-parse-command (Bug#10523).
13658 2012-01-28  Drew Adams  <drew.adams@oracle.com>
13660         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13661         `default-directory' is non-nil.
13663 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
13665         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13666         line that displays system-configuration-options.  (Bug#9924)
13668 2012-01-28  Drew Adams  <drew.adams@oracle.com>
13670         * descr-text.el (describe-char): Show information about POS, in
13671         addition to information about the character at POS.  Improve and
13672         update the doc string.  Change "code point" to "code point in
13673         charset", to avoid confusion with the character's Unicode code
13674         point shown above that.  (Bug#10129)
13676 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
13678         * descr-text.el (describe-char): Show the raw character, not only
13679         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
13680         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13681         for the reasons.
13683 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
13685         * emacs-lisp/package.el (package-install):
13686         Run package-refresh-contents if there is no archive yet (Bug#9798).
13688 2012-01-28  Chong Yidong  <cyd@gnu.org>
13690         * emacs-lisp/package.el (package-maybe-load-descriptor):
13691         New function, split from package-maybe-load-descriptor.
13692         (package-maybe-load-descriptor): Use it.
13693         (package-download-transaction): Fully load required packages
13694         inside the loop, so that `require' calls work (Bug#10593).
13695         (package-install): No need to call package-initialize now.
13697 2012-01-28  Chong Yidong  <cyd@gnu.org>
13699         * simple.el (deactivate-mark): Doc fix (Bug#8614).
13701         * tooltip.el (tooltip-mode): Doc fix.
13702         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13704         * frame.el (set-cursor-color): Doc fix (Bug#352).
13706         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13707         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13709         * cus-edit.el (custom-buffer-create-internal): Fix search button
13710         action (Bug#10542).
13711         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13713 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
13715         * dired.el (dired-mark-files-regexp):
13716         Include any subdirectory components.  (Bug#10445)
13718 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
13720         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13721         Handle [host]:port syntax.  (Bug#10533)
13723 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
13725         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13727 2012-01-26  Glenn Morris  <rgm@gnu.org>
13729         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13730         * term.el (term-raw-escape-map): Use Control-X-prefix.
13731         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
13733 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
13735         * window.el (window-state-get, window--state-get-1): Don't deal
13736         with fixed-sizeness of windows.  Simplify code.
13738 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
13740         * window.el (window--state-get-1, window--state-put-2):
13741         Don't save and restore the mark.
13743 2012-01-25  Chong Yidong  <cyd@gnu.org>
13745         * custom.el (custom-variable-p): Doc fix.
13747 2012-01-25  Glenn Morris  <rgm@gnu.org>
13749         * dired.el (dired-goto-file): Handle some of the more common
13750         characters that `ls -b' escapes.  (Bug#10596)
13752         * progmodes/compile.el (compilation-next-error-function):
13753         Respect compilation-first-column in the "*compilation*" buffer.
13754         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
13756         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
13758 2012-01-24  Glenn Morris  <rgm@gnu.org>
13760         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
13762 2012-01-24  Julien Danjou  <julien@danjou.info>
13764         * color.el (color-rgb-to-hsl): Fix value computing.
13765         (color-hue-to-rgb): New function.
13766         (color-hsl-to-rgb): New function.
13767         (color-clamp, color-saturate-hsl, color-saturate-name)
13768         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13769         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13771 2012-01-24  Glenn Morris  <rgm@gnu.org>
13773         * vc/vc-rcs.el (vc-rcs-create-tag):
13774         * vc/vc-sccs.el (vc-sccs-create-tag):
13775         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
13777 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
13779         * eshell/esh-util.el (eshell-read-hosts-file):
13780         Skip comment lines.  (Bug#10549)
13782         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
13784 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
13786         * subr.el (display-delayed-warnings): Doc fix.
13787         (collapse-delayed-warnings): New function to collapse identical
13788         adjacent warnings.
13789         (delayed-warnings-hook): Add it.
13791 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
13793         * net/tramp.el (tramp-action-login): Set connection property "login-as".
13795         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13796         (tramp-default-user-alist): Don't add "pscp".
13797         (tramp-do-copy-or-rename-file-out-of-band): Use connection
13798         property "login-as", if set.  (Bug#10530)
13800 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
13802         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13803         "plink1" and "psftp".  (Bug#10530)
13805 2012-01-21  Kenichi Handa  <handa@m17n.org>
13807         * international/mule-cmds.el (prefer-coding-system): Show a
13808         warning message if the default value of file-name-coding-system
13809         was not changed.
13811 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
13813         * windmove.el (windmove-reference-loc):
13814         Fix windmove-reference-loc miscalculation.
13816 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
13818         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13819         default unit.
13821 2012-01-21  Glenn Morris  <rgm@gnu.org>
13823         * international/mule.el (auto-coding-alist): Add .tbz.
13825         * files.el (local-enable-local-variables): Doc fix.
13826         (inhibit-local-variables-regexps): Rename from
13827         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
13828         Doc fix.  Add some extensions from auto-coding-alist.
13829         (inhibit-local-variables-suffixes):
13830         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
13831         (inhibit-local-variables-p):
13832         New function, extracted from set-auto-mode-1.
13833         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
13834         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
13835         (hack-local-variables): Doc fix.  Make the mode-only case
13836         respect enable-local-variables and friends.
13837         Respect inhibit-local-variables-regexps for file-locals, but
13838         not for directory-locals.
13839         (set-visited-file-name):
13840         Take account of inhibit-local-variables-regexps.
13841         Whether it applies may change as the file name is changed.
13842         * jka-cmpr-hook.el (jka-compr-install):
13843         * jka-compr.el (jka-compr-uninstall):
13844         Update for inhibit-first-line-modes-suffixes name change.
13846 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
13848         * help-macro.el (make-help-screen): Temporarily restore original
13849         binding for minor-mode-map-alist (Bug#10454).
13851 2012-01-19  Julien Danjou  <julien@danjou.info>
13853         * color.el (color-name-to-rgb): Use the white color to find the max
13854         color component value and return correctly computed values.
13855         (color-name-to-rgb): Add missing float conversion for max value.
13857 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
13859         * window.el (window--state-get-1, window-state-get): Do not use
13860         special state value for window-persistent-parameters.
13861         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
13862         (window--state-put-2): Reset all window parameters to nil before
13863         assigning values of persistent parameters.
13865 2012-01-18  Alan Mackenzie  <acm@muc.de>
13867         Eliminate sluggishness and hangs in fontification of "semicolon
13868         deserts".
13870         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13871         Change value 10000 -> 3000.
13872         (c-state-safe-place): Reformulate so it doesn't stack up an
13873         infinite number of wrong entries in c-state-nonlit-pos-cache.
13874         (c-determine-limit-get-base, c-determine-limit): New functions to
13875         determine backward search limits disregarding literals.
13876         (c-find-decl-spots): Amend commenting.
13877         (c-cheap-inside-bracelist-p): New function which detects "={".
13879         * progmodes/cc-fonts.el
13880         (c-make-font-lock-BO-decl-search-function): Give a limit to a
13881         backward search.
13882         (c-font-lock-declarations): Fix an occurrence of point being
13883         undefined.  Check additionally for point being in a bracelist or
13884         near a macro invocation without a semicolon so as to avoid a
13885         fruitless time consuming search for a declarator.  Give a more
13886         precise search limit for declarators using the new
13887         c-determine-limit.
13889 2012-01-18  Glenn Morris  <rgm@gnu.org>
13891         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13892         (set-auto-mode): Doc fixes.
13894 2012-01-17  Glenn Morris  <rgm@gnu.org>
13896         * isearch.el (search-nonincremental-instead): Fix doc typo.
13898         * dired.el (dired-insert-directory): Handle newlines in directory name.
13899         (dired-build-subdir-alist): Unescape newlines in directory name.
13901 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
13903         * net/tramp.el (tramp-local-end-of-line): New defcustom.
13904         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13905         (tramp-action-terminal): Use it.  (Bug#10530)
13907 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13909         * minibuffer.el (completion--replace): Strip properties (bug#10062).
13911 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
13913         * window.el (window-state-ignored-parameters): Remove variable.
13914         (window--state-get-1): Rename argument MARKERS to IGNORE.
13915         Handle persistent window parameters.  Make copy of clone-of
13916         parameter only if requested.  (Bug#10348)
13917         (window--state-put-2): Install a window parameter only if it has
13918         a non-nil value or an existing parameter shall be overwritten.
13920 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
13922         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13924 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
13926         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13927         don't pass the (nil) value of `upnode' to string-match.
13929 2012-01-14  Chong Yidong  <cyd@gnu.org>
13931         * startup.el (command-line): Fix X resource class for cursorColor.
13932         Fix values recognized by the cursorBlink resource.
13934 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
13936         * epg.el (epg--make-temp-file): Avoid permission race condition
13937         when running on old Emacs versions (bug#10403).
13939 2012-01-14  Glenn Morris  <rgm@gnu.org>
13941         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13943 2012-01-13  Alan Mackenzie  <acm@muc.de>
13945         Fix filling for when filladapt mode is enabled.
13947         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13948         c-mask-paragraph, pass in `fill-paragraph' rather than
13949         `fill-region-as-paragraph'.  (This is a reversion of a previous
13950         change.)
13951         * progmodes/cc-mode.el (c-basic-common-init):
13952         Make fill-paragraph-handle-comment buffer local and set it to nil.
13954 2012-01-13  Glenn Morris  <rgm@gnu.org>
13956         * dired.el (dired-switches-escape-p): New function.
13957         (dired-insert-directory): Use dired-switches-escape-p.
13958         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
13960         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
13962 2012-01-12  Glenn Morris  <rgm@gnu.org>
13964         * mail/sendmail.el (mail-mode): Update paragraph-separate for
13965         changes in adaptive-fill-regexp.  (Bug#10276)
13967 2012-01-11  Alan Mackenzie  <acm@muc.de>
13969         Fix Emacs bug #10463 - put `widen's around the critical spots.
13971         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13972         widen around each invocation of c-state-pp-to-literal.  Remove an
13973         unused let variable.
13975 2012-01-11  Glenn Morris  <rgm@gnu.org>
13977         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
13978         Doc fix.
13980 2012-01-10  Chong Yidong  <cyd@gnu.org>
13982         * net/network-stream.el (network-stream-open-starttls):
13983         Avoid emitting a confusing error message when the server gives a bad
13984         response to the capability command.
13986 2012-01-10  Glenn Morris  <rgm@gnu.org>
13988         * mail/unrmail.el (unrmail): Tweak previous change.
13990 2012-01-09  Chong Yidong  <cyd@gnu.org>
13992         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13994 2012-01-08  Alan Mackenzie  <acm@muc.de>
13996         Optimize font locking in long enum definitions.
13998         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13999         arm to a cond form to handle enums.
14000         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14001         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14003 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14005         * files.el (move-file-to-trash): Preserve default file modes on error.
14006         (Bug#10401)
14008 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14010         * faces.el (set-face-attribute): Clarify the meaning of the nil
14011         frame (bug#10294).
14013         * subr.el (with-selected-frame): Mention that the selected frame
14014         is restored (bug#9980).
14016         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14017         (bug#9759).
14019         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14020         (password-read): Don't autoload unused function.
14022 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
14024         * progmodes/which-func.el (which-func-mode): Turn into a
14025         non-interactive function and mark as obsolete (bug#10428).
14027 2012-01-06  Chong Yidong  <cyd@gnu.org>
14029         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14030         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14031         functions, along with 1 and -1.
14033 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
14035         * time.el (display-time-load-average)
14036         (display-time-default-load-average): Doc fixes.  See the thread
14037         starting at
14038         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14039         for the details.
14041 2012-01-06  Glenn Morris  <rgm@gnu.org>
14043         * mail/unrmail.el (unrmail): Give an explicit error if the input file
14044         has no messages.  (Bug#10377)
14046         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14047         than Info-edit.  (Bug#10385)
14049         * time.el (display-time-load-average, display-time-next-load-average):
14050         Doc fixes.
14052         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14053         local setting of buffer-read-only to the input buffer.  (Bug#10419)
14055         * calendar/calendar.el (calendar-mode):
14056         Locally set scroll-margin to 0.  (Bug#10379)
14058 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
14060         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
14062 2012-01-05  Glenn Morris  <rgm@gnu.org>
14064         * eshell/em-unix.el (diff-no-select): Autoload it.
14065         (eshell/diff): Use diff-no-select.  (Bug#10420)
14067 2012-01-05  Chong Yidong  <cyd@gnu.org>
14069         * shell.el (shell-dynamic-complete-functions): Revert last change.
14070         (shell-command-completion-function): New function.
14071         (shell-completion-vars): Use it to implement
14072         shell-completion-execonly (Bug#10417).
14074         * custom.el (enable-theme): Don't set custom-safe-themes.
14076         * cus-theme.el (custom-theme-merge-theme):
14077         Ignore custom-enabled-themes and custom-safe-themes.
14079 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
14081         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14082         first prompt in `sql-interacive-mode'.
14083         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14084         keywords.
14085         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14086         (sql-product-interactive): Bug fix: Set `sql-buffer' in
14087         context of original buffer.  Invoke `sql-login-hook'.
14089 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
14091         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14092         letters in cite-prefix.
14094 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14096         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14098 2012-01-03  Chong Yidong  <cyd@gnu.org>
14100         * shell.el (shell-dynamic-complete-functions):
14101         Put pcomplete-completions-at-point, so as to try
14102         comint-filename-completion first (Bug#10417).
14104 2012-01-02  Richard Stallman  <rms@gnu.org>
14106         * battery.el (battery-status-function):
14107         Detect when to use battery-yeeloong-sysfs.
14108         (battery-echo-area-format): Add string for Yeeloong.
14109         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14110         (battery-yeeloong-sysfs): New function.
14112 2012-01-02  Chong Yidong  <cyd@gnu.org>
14114         * dirtrack.el (dirtrack-list): Eliminate unused third element.
14115         (dirtrack): Merge code for handling relative filenames in prompt
14116         from shell-dir-cookie-watcher.
14117         (dirtrack-debug-message): New arg to avoid excess format calls.
14119         * shell.el (shell-dir-cookie-re): Variable deleted.
14120         (shell-dir-cookie-watcher): Function deleted.
14121         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14122         with dirtrack-mode.
14124 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
14126         * term/w32-win.el (dynamic-library-alist) <gnutls>:
14127         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14128         libgnutls-26.dll.
14130 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
14132         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14134 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
14136         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14137         headers of non-MIME messages, when rmail-enable-mime is non-nil.
14139 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
14141         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14142         also for alternative shells.
14143         (tramp-open-connection-setup-interactive-shell): Check, whether
14144         the shell is a busybox.
14145         (tramp-send-command): Don't suppress multiple prompts for
14146         busyboxes, it hurts.
14148 2011-12-28  Chong Yidong  <cyd@gnu.org>
14150         * progmodes/gdb-mi.el (gdb-get-source-file-list)
14151         (gdb-get-source-file): Move mode line update to
14152         gdb-get-source-file (Bug#10087).
14154 2011-12-25  Chong Yidong  <cyd@gnu.org>
14156         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14157         gud-gdb-marker-filter without taking it as an argument.
14158         (gud-gdb-run-command-fetch-lines): Caller changed.
14159         (gud-gdb-completion-function): New variable.
14160         (gud-gdb-completion-at-point): Use it.
14161         (gud-gdb-completions-1): Split from gud-gdb-completions.
14163         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14164         function as separate arguments.
14165         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14166         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14167         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14168         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14169         (gdb-stopped, def-gdb-auto-update-trigger)
14170         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14171         (gdb-get-changed-registers, gdb-get-main-selected-frame):
14172         Callers changed.
14173         (gud-gdbmi-completions): New function.
14174         (gdb): Use it for generating the completion table.
14176 2011-12-24  Alan Mackenzie  <acm@muc.de>
14178         Introduce a mechanism to widen the region used in context font
14179         locking.  Use this to protect declarations from losing their contexts.
14181         * progmodes/cc-langs.el (c-before-font-lock-functions):
14182         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14183         (c-before-context-fontification-functions): New defvar, a list of
14184         functions to be run just before context (etc.) font locking.
14186         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14187         New, functionality extracted from
14188         c-neutralize-syntax-in-and-mark-CPP.
14189         (c-in-after-change-fontification): New variable.
14190         (c-after-change): Set c-in-after-change-fontification.
14191         (c-set-fl-decl-start): Rejig its interface, so it can be called
14192         from both after-change and context fontifying.
14193         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14194         New functions.
14195         (c-standard-font-lock-fontify-region-function): New variable.
14196         (c-font-lock-fontify-region): New function.
14198 2011-12-24  Juri Linkov  <juri@jurta.org>
14200         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14201         (Bug#10348)
14203 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
14205         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14206         existence of source file.  (Bug#10325)
14208 2011-12-23  Alan Mackenzie  <acm@muc.de>
14210         Fix unstable fontification inside templates.
14212         * progmodes/cc-langs.el (c-before-font-lock-functions):
14213         Newly created from the singular version.  The (c c++ objc) entry now
14214         additionally has c-set-fl-decl-start.  The other languages (apart
14215         from AWK) have that as a single entry.
14217         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14218         The functionality for "local" declarations has been extracted to
14219         c-set-fl-decl-start.
14221         * progmodes/cc-mode.el (c-common-init, c-after-change):
14222         Changes due to pluralisation of c-before-font-lock-functions.
14223         (c-set-fl-decl-start): New function, extracted from
14224         c-font-lock-enclosing-decls and enhanced.
14226 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
14228         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14230 2011-12-22  Juri Linkov  <juri@jurta.org>
14232         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
14234 2011-12-22  Chong Yidong  <cyd@gnu.org>
14236         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14238 2011-12-21  Drew Adams  <drew.adams@oracle.com>
14240         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
14242 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
14244         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14246 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
14248         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
14249         highlighting and support.  Fix up comments for capitalization.
14250         (cfengine-mode-debug): New var.
14251         (cfengine3-mode): Change the modeline indicator to "CFE3".
14252         (cfengine3-font-lock-keywords): Improve defun highlighting.
14253         (cfengine2-actions): Rename from `cfengine-actions'.
14254         (cfengine2-font-lock-keywords): Rename from
14255         `cfengine-font-lock-keywords'.
14256         (cfengine2-imenu-expression): Rename from
14257         `cfengine-imenu-expression'.
14258         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14259         (cfengine2-beginning-of-defun): Rename from
14260         `cfengine-beginning-of-defun'.
14261         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14262         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14263         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
14264         modeline indicator to "CFE2".
14265         (cfengine-mode): Defalias to `cfengine-auto-mode'.
14266         (cfengine-mode-abbrevs): Mark obsolete.
14268 2011-12-21  Chong Yidong  <cyd@gnu.org>
14270         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14271         filename argument.
14273 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
14275         * window.el (window-normalize-buffer-to-display): Remove.
14276         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14278 2011-12-19  Chong Yidong  <cyd@gnu.org>
14280         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14281         Don't signal an error in a predicate function; return non-nil.
14282         (vc-dir-mark-file): Move the error here.
14283         (vc-dir-mark-unmark): If acting on the region, keep going if one
14284         of the entries cannot be marked/unmarked.
14285         (vc-dir-mark-all-files): If current entry is a directory, mark
14286         only child files, as documented.
14288 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14290         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14291         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14292         addition.
14294 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
14296         * term/ns-win.el (ns-get-selection-internal)
14297         (ns-store-selection-internal): Declare.
14298         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14299         Declare as obsolete.
14300         (ns-get-pasteboard, ns-paste-secondary):
14301         Use ns-get-selection-internal.
14302         (ns-set-pasteboard, ns-copy-including-secondary):
14303         Use ns-store-selection-internal.
14305 2011-12-17  Chong Yidong  <cyd@gnu.org>
14307         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14308         (vc-deduce-fileset): Doc fix.
14310 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
14312         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14314 2011-12-13  Sam Steingold  <sds@gnu.org>
14316         * man.el (Man-getpage-in-background): When running under a
14317         window-system, ignore $MANWIDTH and $COLUMNS.
14319 2011-12-15  Kenichi Handa  <handa@m17n.org>
14321         * language/ethio-util.el: Change coding tag to utf-8-emacs.
14322         (setup-ethiopic-environment-internal): Comment out key-binding for
14323         ethio-toggle-punctuation.
14325 2011-12-13  Alan Mackenzie  <acm@muc.de>
14327         Add the switch statement to AWK Mode.
14329         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14330         "default" to the keywords regexp.
14332         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14333         expression as the rest.
14334         (c-nonlabel-token-key): Allow string literals for AWK.
14335         Refactor for the other modes.
14337         Large brace-block initialisation makes CC Mode slow: Fix.
14338         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14339         routines.  Limit backward searching in c-font-lock-enclosing.decl.
14341         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14342         pp-state and literal type in addition to the limits.
14343         (c-state-safe-place): New defun, extracted from c-state-literal-at.
14344         (c-state-literal-at): Use the above new defun.
14345         (c-slow-in-literal, c-fast-in-literal): Remove.
14346         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14348         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14349         being in a literal.  Add a limit for backward searching.
14351         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14352         c-slow-in-literal.
14354 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14358 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
14360         * window.el (delete-other-windows): Use correct frame in call to
14361         window-with-parameter.
14363 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
14365         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14366         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14367         (makefile-gmake-statements, makefile-makepp-statements):
14368         Use it and add new makepp keywords.
14369         (makefile-makepp-font-lock-keywords): Add new patterns.
14370         (makefile-match-function-end): Match new [...] and [[...]].
14372 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
14374         * ses.el (ses-call-printer-return, ses-cell-property-get)
14375         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14376         (ses-create-cell-variable, ses-reset-header-string)
14377         (ses-cell-set-formula, ses-repair-cell-reference-all)
14378         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14379         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14380         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14381         (ses-aset-with-undo, ses-load, ses-truncate-cell)
14382         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14383         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14384         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14385         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14386         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14387         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14388         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14389         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14391 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14393         * ses.el: The overall change is to add cell renaming, that is
14394         setting fancy names for cell symbols other than name matching
14395         "\\`[A-Z]+[0-9]+\\'" regexp .
14396         (ses-create-cell-variable): New defun.
14397         (ses-relocate-formula): Relocate formulas only for cells the
14398         symbols of which are not renamed, i.e. symbols whose names do not
14399         match regexp "\\`[A-Z]+[0-9]+\\'".
14400         (ses-relocate-all): Relocate values only for cells the symbols of
14401         which are not renamed.
14402         (ses-load): Create cells variables as the (ses-cell ...) are read,
14403         in order to check row col consistency with cell symbol name only
14404         for cells that are not renamed.
14405         (ses-replace-name-in-formula): New defun.
14406         (ses-rename-cell): New defun.
14408 2011-12-11  Chong Yidong  <cyd@gnu.org>
14410         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14411         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14413 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
14415         * window.el (other-window): Fix docstring.
14417 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14419         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14420         `from' or `to' address before taking its substring.
14421         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14422         encoded name is chopped in the middle of the encoded string, and
14423         thus displayed encoded.
14425 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
14427         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14429 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14431         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
14432         to use texinfo-update-node and commands that call it if the
14433         Texinfo file uses @node lines without next/prev/up pointers.
14434         Correct outdated description about texinfo-master-menu.
14435         (texinfo-all-menus-update, texinfo-master-menu)
14436         (texinfo-update-node, texinfo-every-node-update)
14437         (texinfo-multiple-files-update): Doc fix.  Warn against updating
14438         all the @node lines.
14439         (texinfo-master-menu): Only call texinfo-update-node if the prefix
14440         argument is numeric.  Explain better in the doc string what the
14441         function really does.
14442         (texinfo-insert-master-menu-list): Improve the error message
14443         displayed if there's no menu in the Top node.
14444         (Bug#2975)  See also this thread:
14445         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14447 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
14449         * speedbar.el (speedbar-supported-extension-expressions):
14450         Add .adb and .ads, commonly used for Ada source code (bug#10256).
14452 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
14454         * printing.el (pr-mode-alist):
14455         * simple.el (filter-buffer-substring-functions)
14456         (completion-list-insert-choice-function):
14457         * window.el (window-with-parameter, window-atom-root)
14458         (window-sides-slots, window-size-fixed, window-min-delta)
14459         (window-max-delta, window--resize-mini-window)
14460         (window--resize-child-windows-normal, window-tree)
14461         (delete-other-windows, quit-window, split-window)
14462         (display-buffer-record-window, special-display-buffer-names)
14463         (special-display-regexps, special-display-popup-frame)
14464         (same-window-p, split-window-sensibly)
14465         (display-buffer-overriding-action, display-buffer-alist)
14466         (display-buffer-base-action, display-buffer, switch-to-buffer)
14467         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14468         (fit-window-to-buffer, recenter-positions)
14469         (mouse-autoselect-window-state, mouse-autoselect-window-select):
14470         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14471         and remove unneeded backslashes in docstrings.
14473 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14475         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14477         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14478         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14479         end in ".mk".
14480         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14481         when reading the makefile (bug#10116).
14483 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14485         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14486         (bug#10116).
14488 2011-12-06  Glenn Morris  <rgm@gnu.org>
14490         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14492 2011-12-06  Chong Yidong  <cyd@gnu.org>
14494         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14496 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14498         * textmodes/table.el (table-shorten-cell): Fix typo.
14500 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
14502         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14504 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
14506         * descr-text.el (describe-char): Fix display of strong
14507         right-to-left characters and directional embeddings and overrides.
14509         * simple.el (what-cursor-position): Fix display of codepoints of
14510         strong right-to-left characters.
14512 2011-12-05  Chong Yidong  <cyd@gnu.org>
14514         * faces.el (read-color): Doc fix.
14516 2011-12-05  Glenn Morris  <rgm@gnu.org>
14518         * align.el (align--set-marker): Add doc-string.
14519         Don't try to move something that is not a marker.  (Bug#10216)
14521 2011-12-04  Glenn Morris  <rgm@gnu.org>
14523         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14524         overly zealous deletion of trailing whitespace.
14526 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
14528         * server.el (server-delete-client): On Windows, do not try to delete
14529         the only terminal.
14530         (server-process-filter): On Windows, treat requests for a tty frame as
14531         if they were for a GUI frame if the running server is in GUI mode.
14533 2011-12-03  Glenn Morris  <rgm@gnu.org>
14535         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
14537 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14539         * electric.el: Streamline electric-indent's hook.
14540         (electric-indent-chars): Revert to simple list.
14541         (electric-indent-functions): New var.
14542         (electric-indent-post-self-insert-function): Use it.
14544         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14545         there's no inferior buffer (bug#10196).
14546         (prolog-consult-compile): Don't use toggle-read-only.
14548 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
14550         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14551         interrupt.  (Bug#10187)
14553 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14555         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14556         (bug#9160).
14558         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14559         (bug#10191).
14561 2011-12-02  Juri Linkov  <juri@jurta.org>
14563         * info.el (Info-search): Display "end of manual" when Isearch
14564         reaches the end of single-file Info manual.  (Bug#9918)
14566 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
14568         * isearch.el (isearch-message-prefix): Run the input method part
14569         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
14571 2011-12-02  Juri Linkov  <juri@jurta.org>
14573         * isearch.el (isearch-occur): Use `word-search-regexp' for
14574         `isearch-word'.
14575         (isearch-search-and-update): Add condition for `isearch-word' and
14576         call `word-search-regexp'.  (Bug#10145)
14578 2011-12-01  Glenn Morris  <rgm@gnu.org>
14580         * eshell/em-hist.el (eshell-hist-initialize):
14581         Handle eshell-history-size nil and HISTSIZE set or unset.
14582         (eshell-history-file-name, eshell-history-size): Fix custom type.
14584 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14586         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14588 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
14590         * progmodes/verilog-mode.el (verilog-pretty-expr):
14591         Rework verilog-pretty-expr to handle new assignment operators in system
14592         verilog, such as += *= and the like.
14593         (verilog-assignment-operator-re): Regular expression to find the
14594         assigment operator in a verilog assignment.
14595         (verilog-assignment-operation-re): Regular expression to find an
14596         assignment statement for pretty-expr.
14597         (verilog-in-attribute-p): Query returns true if point is in an
14598         attribute context; used to skip these for expression line up from
14599         pretty-expr.
14600         (verilog-in-parameter-p): Query returns true if point is in an
14601         parameter definition context; used to skip these for expression
14602         line up from pretty-expr.
14603         (verilog-in-parenthesis-p): Query returns true if point is in a
14604         parenthetical expression, specifically ( ) but not [ ] or { };
14605         used by pretty-expr.
14606         (verilog-just-one-space): If there is no space, don't add one.
14607         (verilog-get-lineup-indent-2): Specifically skip just attribute
14608         contexts for expression lineup, rather than skipping all
14609         parenthetical expressions.
14610         (verilog-calculate-indent): Fix comment, and fix indent.
14611         (verilog-do-indent): Indent declarations in lists (suggested by
14612         Joachim Lechner).
14613         (verilog-mode-abbrev-table): Populate abbrev mode with the various
14614         skeleton items.
14615         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14616         by Alain Mellan).
14618 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
14620         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14621         parameters with embedded comments.  Reported by Ray Stevens.
14622         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14623         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14624         Reported by Tim Holt.
14625         (verilog-auto): Fix AUTOing a upper module then AUTOing module
14626         instantiated by upper module causing wrong expansion until AUTOed a
14627         second time.  Reported by K C Buckenmaier.
14628         (verilog-diff-auto): Fix showing .* as a difference when
14629         `verilog-auto-star-save' off.  Reported by Dan Dever.
14630         (verilog-auto-reset, verilog-read-always-signals)
14631         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14632         temporary signals in reset list if
14633         verilog-auto-reset-blocking-in-non is nil, and match assignment
14634         style to each signal's assignment type, bug381.
14635         Reported by Thomas Esposito.
14636         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14637         (verilog-uvm-statement-re): Support UVM indentation and
14638         highlighting, with old OVM keywords only.
14639         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14640         Support AUTOTIEOFF creating non-wire data types.
14641         Suggested by Jonathan Greenlaw.
14642         (verilog-auto-insert-lisp, verilog-delete-to-paren)
14643         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14644         (verilog-inject-sense, verilog-read-inst-pins)
14645         (verilog-read-sub-decls, verilog-read-sub-decls-line):
14646         Fix mismatching parenthesis inside commented out code when deleting
14647         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
14648         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14649         non-numeric vector width.  Reported by Alex Reed.
14650         (verilog-auto-ascii-enum): Add "onehot" option to work around not
14651         detecting signals with parameter widths.  Reported by Alex Reed.
14652         (verilog-auto-delete-trailing-whitespace):
14653         With `verilog-auto-delete-trailing-whitespace' remove trailing
14654         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
14655         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14656         Fix verilog-scan-cache corruption when running user AUTO expansion
14657         hooks that call indentation routines.
14658         (verilog-simplify-range-expression): Fix typo ignoring lower case
14659         identifiers.
14660         (verilog-delete-auto): Fix delete-autos to also remove user created
14661         automatics, as long as they start with AUTO.
14662         (verilog-batch-diff-auto, verilog-diff-auto)
14663         (verilog-diff-function): Add `verilog-diff-auto' and bind to
14664         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
14665         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14666         (verilog-in-paren-quick, verilog-re-search-backward-quick)
14667         (verilog-re-search-forward-quick, verilog-syntax-ppss):
14668         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14669         is disabled and its cache will get corrupt, causing AUTOS not to
14670         expand.  Instead use only -quick functions.
14671         (verilog-scan-region): Fix scanning over escaped quotes.
14672         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14673         (verilog-re-search-backward-quick)
14674         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14675         related functions now ignore strings, to fix misparsing of strings
14676         with magic comments embedded in them.
14677         (verilog-read-auto-template):
14678         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14679         Reported by Brad Dobbie.
14680         (verilog-read-auto-template):
14681         Fix 'verilog-auto-inst-template-numbers' with comments.
14682         Reported by Brad Dobbie.
14683         (verilog-auto-inst, verilog-auto-inst-param)
14684         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14685         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
14686         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14687         debugging templates without merge conflicts, bug357.
14688         Reported by Brad Dobbie.
14689         (verilog-read-auto-template):
14690         Fix verilog-auto-inst-template-numbers with multiple templates.
14691         Reported by Brad Dobbie.
14692         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14693         abbrevs so user won't be asked to save.
14694         (verilog-read-auto-lisp-present): Fix to start at beginning of
14695         buffer in case called outside of verilog-auto.
14696         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14697         to "X-2".  Reported by Matthew Myers.
14698         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14699         all inputs from module templates.  Reported by Leith Johnson.
14700         (verilog-module-inside-filename-p): Fix locating programs as with
14701         modules.
14702         (verilog-auto-inst-port): Fix vl-width expressions when using
14703         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
14704         (verilog-decls-get-regs, verilog-decls-get-signals,
14705         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14706         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14707         verilog-read-decls): Combine reg and wire structures into one var
14708         structure to represent SystemVerilog concepts.
14709         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14710         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14711         (verilog-auto-wire-type, verilog-insert-definition):
14712         Add verilog-auto-wire-type and AUTOLOGIC to support using
14713         SystemVerilog "logic" keyword instead of "wire"/"reg".
14714         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14715         to declares outputs that also have assignments (presumably in an
14716         ifdef or generate if so there's not a driver conflict).
14717         Reported by Matthew Myers.
14718         (verilog-auto-declare-nettype, verilog-insert-definition):
14719         Add verilog-auto-declare-nettype to fix declarations using
14720         `default_nettype none.  Reported by Julian Gorfajn.
14721         (verilog-read-always-signals-recurse, verilog-read-decls)
14722         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14723         malformed end statement, bug325.  Reported by Joshua Wise and
14724         Andrew Drake.
14725         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14726         (verilog-inst-comment-re): Fix not deleting Interfaced comment
14727         when expanding .* in interfaces, bug320.
14728         Reported by Pierre-David Pfister.
14729         (verilog-read-module-name): Fix import statements between module
14730         name and open parenthesis, bug317.
14731         Reported by Pierre-David Pfister.
14732         (verilog-simplify-range-expression): Fix simplification of
14733         multiplications inside AUTOWIRE connections, bug303.
14734         (verilog-auto-inst-port): Support parameter expansion in
14735         multidimensional arrays.
14736         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14737         after "assert property".  Reported by Julian Gorfajn.
14738         (verilog-simplify-range-expression): Fix "couldn't merge" errors
14739         with multiplication, bug303.
14740         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14741         Reported by Jan Frode Lonnum.
14743 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
14745         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14746         (hfy-shell-file-name, hfy-shell):
14747         * international/fontset.el (x-decompose-font-name): Fix typos.
14749 2011-11-29  Ken Brown  <kbrown@cornell.edu>
14751         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14752         (gdb-version): Remove defvar.
14753         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14754         (gdb-gud-context-command, gdb-non-stop-handler)
14755         (gdb-current-context-command, gdb-stopped): Use it.
14756         (gdb-init-1): Enable pretty printing here.
14757         (gdb-non-stop-handler): Don't enable pretty-printing here.
14758         Check to see if the target supports non-stop mode; if not, turn off
14759         non-stop mode.  Use the following.
14760         (gdb-check-target-async): New defun.
14761         (gud-watch, gdb-stopped): Fix whitespace.
14762         (gdb-get-source-file): Don't try to display the source file if
14763         `gdb-main-file' is nil.
14765 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14767         * align.el: Try to generate fewer markers (bug#10047).
14768         (align--set-marker): New macro.
14769         (align-region): Use it.
14771 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14773         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14775 2011-11-29  Chong Yidong  <cyd@gnu.org>
14777         * indent.el (indent-for-tab-command, indent-according-to-mode):
14778         Doc fix.
14779         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
14781 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
14783         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14784         aware of remote file names.  (Bug#10124)
14786 2011-11-29  Chong Yidong  <cyd@gnu.org>
14788         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14790 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14792         * files.el (find-file): Don't use force-same-window (bug#10144).
14793         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14794         use pop-to-buffer if the selected window can't be used.
14795         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14797 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
14799         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14800         special-mode-map.
14802 2011-11-28  Chong Yidong  <cyd@gnu.org>
14804         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14806 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
14808         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14809           gdb-get-source-file-list on gdb-create-source-file-list.
14811 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
14813         * whitespace.el (whitespace-newline): Use a different foreground
14814         color for 16-color light-background displays.
14816 2011-11-24  Chong Yidong  <cyd@gnu.org>
14818         * window.el (display-buffer--special-action): Doc fix.
14820 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
14822         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14823         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14824         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14825         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14826         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14827         (avl-tree-stack-first):
14828         * emacs-lisp/cconv.el (cconv--analyse-use):
14829         * net/gnutls.el (gnutls-negotiate): Fix typos.
14831 2011-11-24  Glenn Morris  <rgm@gnu.org>
14833         * lpr.el (lpr-windows-system, lpr-lp-system):
14834         * mail/binhex.el (binhex-begin-line):
14835         * progmodes/grep.el (grep-history, grep-find-history):
14836         * textmodes/flyspell.el:
14837         * vc/pcvs-defs.el (cvs-global-menu):
14838         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14839         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14840         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14842         * net/tls.el: Fix case of "GnuTLS".
14844         * paths.el (rmail-file-name): Format doc-string for make-docfile.
14846         * version.el (emacs-build-system): Give it a doc-string.
14848 2011-11-24  Juri Linkov  <juri@jurta.org>
14850         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14852 2011-11-24  Glenn Morris  <rgm@gnu.org>
14854         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14855         if called on a non-mime message just toggle the headers.  (Bug#8006)
14857 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14859         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14860         (allout-lead-with-comment-string, allout-structure-deleted-hook)
14861         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14862         (allout-rebullet-heading, allout-open-sibtopic)
14863         (allout-toggle-current-subtree-encryption)
14864         (allout-toggle-subtree-encryption, allout-encrypt-string)
14865         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14866         (allout-distinctive-bullets-string, allout-auto-activation):
14867         * window.el (window-normalize-buffer-to-display):
14868         * progmodes/verilog-mode.el (verilog-batch-indent):
14869         * textmodes/bibtex.el (bibtex-field-braces-opt)
14870         (bibtex-field-strings-opt):
14871         * vc/cvs-status.el (cvs-tree-merge):
14872         Fix typos.
14874 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
14876         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14877         `non-essential' to t, in order to avoid remote connections.
14879 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
14881         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14882         On MS-DOS and MS-Windows, compare with loaddefs.el
14883         case-insensitively.
14885 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14887         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
14889 2011-11-23  Glenn Morris  <rgm@gnu.org>
14891         * paths.el (rmail-file-name): Reformat the doc-string so that it
14892         is picked up.
14894         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14895         (rmail-auto-file): Ignore case in the "special" field names,
14896         as mail-fetch-field does for all others.
14898         * mail/rmail.el (rmail-forward):
14899         * mail/rmailkwd.el (rmail-set-label):
14900         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14901         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
14903         * mail/rmail.el (rmail-current-message): Doc fix.
14905         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
14907 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14909         * server.el (server-eval-and-print): Allow C-g (bug#6585).
14911 2011-11-22  Glenn Morris  <rgm@gnu.org>
14913         * mail/rmailmm.el (test-rmail-mime-handler)
14914         (test-rmail-mime-bulk-handler)
14915         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14917 2011-11-21  Juri Linkov  <juri@jurta.org>
14919         * calc/calc.el (calc-read-key-sequence):
14920         Let-bind `input-method-function' to nil.  (Bug#10018)
14922 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14924         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14925         Tell the caller that the next line needs recomputation, even
14926         though it doesn't start a sexp (bug#10094).
14928 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14930         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14932 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14934         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14935         Use force-same-window.
14937 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14939         * descr-text.el (describe-char-unicode-data):
14940         * json.el (json-string-escape):
14941         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14942         (Footnote-unicode, Footnote-style-p):
14943         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14945 2011-11-20  Chong Yidong  <cyd@gnu.org>
14947         * window.el (replace-buffer-in-windows): Restore interactive spec.
14949 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14951         * electric.el (electric-indent-mode): Fix last change (too optimistic).
14953         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14954         (byte-compile-global-not-obsolete-vars): New var.
14955         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14956         Use it.
14957         (byte-compile-warn-obsolete): Align text with the one in *Help*.
14959 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14961         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14962         * progmodes/pascal.el (electric-pascal-equal):
14963         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14964         * xml.el (xml-substitute-special): Fix typos.
14966 2011-11-20  Glenn Morris  <rgm@gnu.org>
14968         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14969         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14970         Doc fixes.
14971         (rmail-decode-mime-charset): Mark as obsolete.
14973         * mail/rmailsum.el (rmail-message-regexp-p-1):
14974         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14975         Before using mime functions, check they are set.  (Bug#10077)
14977 2011-11-19  Juri Linkov  <juri@jurta.org>
14979         * info.el (Info-finder-find-node): Use `package--builtins' instead
14980         of `package-alist'.  Use node names formed by the pattern "Keyword "
14981         and the keyword name.
14983 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
14985         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14987 2011-11-19  Juri Linkov  <juri@jurta.org>
14989         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14990         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
14991         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14992         `old-history', `old-history-forward'.  Add let-binding
14993         `window-selected'.  Remove calls to `kill-buffer',
14994         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
14995         before calling `Info-find-node', so `Info-find-node-2' will reread
14996         the Info file.  Restore window positions only when `window-selected'
14997         is non-nil.
14999 2011-11-19  Juri Linkov  <juri@jurta.org>
15001         * isearch.el (isearch-lazy-highlight-new-loop):
15002         Remove condition `(not isearch-error)'.  (Bug#9918)
15004         * misearch.el (multi-isearch-search-fun): Add condition
15005         `(not bound)' to ignore lazy-highlighting search.
15006         Add the search-failed message "end of multi" when the end of
15007         multi-sequence is reached.  Uncapitalize the search-failed
15008         message "Repeat for next buffer".
15010         * info.el (Info-search): Add the search-failed message
15011         "end of the manual" when the end of the manual is reached
15012         in Isearch mode.
15014 2011-11-19  Juri Linkov  <juri@jurta.org>
15016         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15017         Use non-destructive `remove' instead of `delete' because
15018         `Info-history-list' stored to `Info-isearch-initial-history-list' in
15019         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15021 2011-11-19  Juri Linkov  <juri@jurta.org>
15023         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15024         to nil instead of binding `search-ring' and `regexp-search-ring'.
15025         (Bug#9185)
15027 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
15029         * simple.el (line-move): Force movement by logical lines for any
15030         hscrolled window, not only when auto-hscroll-mode is on.
15031         (line-move-visual): Update doc string to that effect.  (Bug#10076)
15033 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
15035         * language/european.el (macintosh): Define as alias for mac-roman.
15037 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
15039         * mail/rmailmm.el (rmail-mime-display-header)
15040         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15041         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15042         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15043         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15044         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15045         of a raw aref.
15046         (rmail-mime-entity-segment): To get past the tagline, move forward
15047         2 more lines, to account for the 2 empty lines that precede and
15048         follow the line with the buttons.
15049         (rmail-mime-update-tagline): Move one more line, to get past the
15050         empty line that follows the buttons in the tagline.  (Bug#9520)
15052 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
15054         * window.el (window-max-delta-1, window-min-delta-1)
15055         (window-min-size-1, window-state-get-1, window-state-put-1)
15056         (window-state-put-2): Use "window--" prefix.
15058 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15060         * emacs-lisp/smie.el: Improve warnings and conflict detection.
15061         (smie-warning-count): New var.
15062         (smie-set-prec2tab): Use it.
15063         (smie-bnf->prec2): Improve warnings.  Add docstring.
15064         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15065         (smie-bnf--set-class): New function.
15066         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
15067         corner case.
15069         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15070         (compilation-error-properties, compilation-move-to-column):
15071         Handle compilation-first-column while in the target buffer.
15073         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15074         Don't hardcode point-min==1.
15076         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15077         (eshell-rewrite-for-command): Remove workaround.
15078         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15079         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15080         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15082         * files-x.el (modify-file-local-variable): Obey commenting conventions.
15084 2011-11-17  Glenn Morris  <rgm@gnu.org>
15086         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15087         Ignore buffer-local generated-autoload-file if it is the same
15088         as the global value.  (Bug#10049)
15090 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
15092         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15093         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15094         (reftex-toc-previous-heading, reftex-toc-max-level)
15095         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15096         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15097         (reftex-toc-do-promote, reftex-toc-promote-prepare)
15098         (reftex-toc-promote-action, reftex-toc-extract-section-number)
15099         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15100         (reftex-toc-rename-label, reftex-toc-visit-location)
15101         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15102         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15103         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15104         leaving "*toc*" only for references to the buffer.
15106 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
15108         * window.el (window-resize, delete-window, split-window):
15109         Replace window-splits by window-combination-resize.
15110         * cus-start.el (window-splits): Replace by window-combination-resize.
15112 2011-11-17  Glenn Morris  <rgm@gnu.org>
15114         * progmodes/sh-script.el (sh-font-lock-keywords-var):
15115         Make bash entry derive from sh entry, not shell entry.
15117 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
15119         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15120         local file name.
15122 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
15124         * menu-bar.el (menu-bar-file-menu):
15125         * printing.el (pr-ps-utility):
15126         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15127         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15128         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15129         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15130         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15131         (icalendar--convert-cyclic-to-ical)
15132         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15133         (icalendar--convert-ical-to-diary)
15134         (icalendar--convert-recurring-to-diary)
15135         (icalendar--convert-non-recurring-all-day-to-diary)
15136         (icalendar-import-format-sample):
15137         * progmodes/idlw-shell.el (idlwave-shell-mode):
15138         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15139         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15140         (vhdl-ps-print-init): Fix typos.
15142 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
15144         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15145         FSF and collapse date sequence, obscure author/maintainer email address
15146         better, remove extra version line, track relocation of author's webpage.
15148         * progmodes/python.el (python-pdbtrack-input-prompt)
15149         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15150         regular python pdb prompts.  Adjustments shamelessly taken exactly as
15151         suggested in EmacsWiki page (tiny change):
15152         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15154 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
15156         * expand.el (expand-pos, expand-index, expand-point):
15157         Remove redundant info from docstring.
15158         (expand-add-abbrevs): Doc fix.
15159         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15160         (expand-sample-perl-mode-expand-list): Fix typos.
15162         * net/dbus.el (dbus-event-member-name):
15163         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15164         * term/pc-win.el (msdos-create-frame-with-faces):
15165         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15167 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
15169         * window.el (split-window, window-state-get-1)
15170         (window-state-put-1, window-state-put-2): Rename occurrences of
15171         window-nest to window-combination-limit.
15172         * cus-start.el (window-nest): Rename to window-combination-limit.
15174 2011-11-16  Chong Yidong  <cyd@gnu.org>
15176         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15177         regexp (Bug#10033).
15179 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15181         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15182         `completing-read' will remove *Completions* and will preserve
15183         current-buffer for us.
15184         (tmm-add-prompt): Users of *Completions* will always (re)set its
15185         major mode.
15186         (tmm-old-comp-map): Remove.
15188 2011-11-16  Glenn Morris  <rgm@gnu.org>
15190         * mail/rmailedit.el: Require rmailmm when compiling.
15191         (rmail-old-mime-state): New declaration.
15192         (rmail-edit-current-message): If editing a mime message,
15193         edit the "raw" message from the mbox buffer.
15194         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
15196 2011-11-15  Glenn Morris  <rgm@gnu.org>
15198         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15199         which wasn't being used.  Add optional arg to force given state.
15200         (rmail-mime): Add optional arg to force given state.
15202 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15204         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15205         * frame.el (display-mm-dimensions-alist):
15206         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15207         (outline-move-subtree-down):
15208         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15209         (newsticker--treeview-do-get-node):
15210         * net/quickurl.el (quickurl-list-buffer-name):
15211         * progmodes/dcl-mode.el (dcl-mode):
15212         * progmodes/gdb-mi.el (gdb-mapcar*):
15213         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15215 2011-11-15  Glenn Morris  <rgm@gnu.org>
15217         * mail/rmail.el (rmail-file-coding-system): It's only ever used
15218         in a boolean sense, so just make it a boolean, and fix the doc.
15219         (rmail-show-mime-function, rmail-mime-feature)
15220         (rmail-require-mime-maybe): Doc fixes.
15221         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15223         * mail/rmailmm.el (rmail-show-mime): Doc fix.
15225 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15227         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15228         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15229         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15230         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15232 2011-11-15  Glenn Morris  <rgm@gnu.org>
15234         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15235         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15236         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15237         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15238         (rmail-mime, rmail-show-mime): Doc fixes.
15240         * term/ns-win.el (mode-line-frame-identification):
15241         Leave it alone.  (Bug#10051)
15243         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
15245         * mail/rmailout.el (rmail-output-to-rmail-buffer):
15246         Handle empty buffers.  (Bug#9978)
15248 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
15250         * international/mule.el (define-charset):
15251         * mail/rmailmm.el (rmail-mime-find-header-encoding):
15252         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15253         * progmodes/verilog-mode.el (verilog-backward-token):
15254         * textmodes/ispell.el (lookup-words):
15255         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15257 2011-11-14  Glenn Morris  <rgm@gnu.org>
15259         * progmodes/executable.el
15260         (executable-make-buffer-file-executable-if-script-p):
15261         Handle file-modes returning nil.
15263         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15264         message - not necessary, and causes problems.  (Bug#9831)
15266         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15268         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15270         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15271         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
15272         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15274 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
15276         * window.el (window-resize, delete-window): Use window-splits
15277         variable instead of function.
15278         (window-state-get-1, window-state-put-2, window-state-put):
15279         Don't deal with windows' splits status.
15281 2011-11-12  Glenn Morris  <rgm@gnu.org>
15283         * apropos.el (apropos-do-all, apropos-library, apropos-value)
15284         (apropos-documentation): Doc fixes.
15286 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
15288         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15289         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15291 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15293         * electric.el (electric-indent-post-self-insert-function): Make it
15294         possible for a char to only indent in some circumstances.
15295         (electric-indent-mode): Simplify.
15297 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
15299         * window.el (windows-with-parameter): Remove unused function.
15300         (windows-at-side): Rename to window-at-side-list.
15301         (window-check, window-atom-check, window-atom-check-1)
15302         (window-side-check, window-size-ignore, window-size-fixed-1)
15303         (window-in-direction-2): Prefix with "window--".
15304         (window-tree-1): Rename to window--subtree, fix doc-string.
15306 2011-11-11  Glenn Morris  <rgm@gnu.org>
15308         * subr.el (eval-after-load): If FILE is already loaded,
15309         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
15311 2011-11-10  Glenn Morris  <rgm@gnu.org>
15313         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15314         Call svn via vc-svn-command rather than vc-do-command.
15315         (vc-svn-command): Add --non-interactive.  (Bug#9993)
15316         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15318         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15319         Add toggle-read-only.  (Bug#7292)
15320         * files.el (toggle-read-only): Mention that it should only
15321         be used interactively.  (Bug#10006)
15323 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15325         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15326         Adjust regexp for OCaml warnings.
15328         * electric.el (electric-pair-post-self-insert-function): Let user
15329         turn it off buffer-locally (bug#9932).
15331         * progmodes/python.el (python-beginning-of-statement):
15332         Rewrite (bug#2703).
15334         * progmodes/compile.el: Better handle TABs (bug#9749).
15335         (compilation-internal-error-properties)
15336         (compilation-next-error-function): Obey the target buffer's
15337         compilation-error-screen-columns.
15339 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
15341         * progmodes/meta-mode.el: Remove obsolete comments.
15342         (meta-right-comment-regexp, meta-ignore-comment-regexp):
15343         Fix typos in docstrings.
15345 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
15347         * window.el (window-size-fixed-p): Rewrite doc-string.
15348         (window-resizable-p): Rename to window--resizable-p.  Update callers.
15349         (window--resizable): New function.  Make all callers of
15350         window-resizable call window--resizable instead.
15351         (window-resizable): Rewrite in terms of window--resizable.
15353 2011-11-08  Glenn Morris  <rgm@gnu.org>
15355         * progmodes/delphi.el (delphi-mode-syntax-table):
15356         Let define-derived-mode define a proper syntax table.  (Bug#9994)
15358 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15360         * window.el: Stay away from defsubst.
15361         (window-list-no-nils): Remove.
15362         (window-state-get-1, window-state-get): Use backquote instead.
15364 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15366         * emacs-lisp/find-func.el (find-function-read):
15367         Fix incorrect use of default argument in `completing-read'.
15369 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
15371         * window.el (display-buffer-function, special-display-function):
15372         Mention display-buffer-record-window but do not mention
15373         help-setup parameter in doc-strings.
15374         (window-min-delta): Fix doc-string typo.
15376 2011-11-08  Chong Yidong  <cyd@gnu.org>
15378         * window.el (window-total-height, window-total-width): Doc fix.
15379         (window-body-size): Move from C.
15380         (window-body-height, window-body-width): Move to C.
15382 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15384         * window.el: Make special-display like display-buffer-alist (bug#9532).
15385         (display-buffer--special-action): New function, morphed
15386         from display-buffer--special.
15387         (display-buffer): Use it to handle special-display-buffers at higher
15388         priority (just after display-buffer-alist).
15389         (display-buffer-fallback-action, display-buffer--other-frame-action)
15390         (pop-to-buffer-same-window): Remove display-buffer--special.
15392 2011-11-07  Glenn Morris  <rgm@gnu.org>
15394         * calendar/cal-menu.el (cal-menu-set-date-title):
15395         Do nothing if not in a calendar.  (Bug#9976)
15397 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15399         * files.el (find-file): Always use selected-window.
15401 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
15403         * window.el (window-combinations): Make WINDOW argument
15404         mandatory.  Rewrite doc-string.
15405         (walk-window-subtree, window-atom-check, window-min-delta)
15406         (window-max-delta, window--resize-this-window)
15407         (window--resize-root-window-vertically, window-tree)
15408         (balance-windows, window-state-put): Rewrite doc-strings as to
15409         not mention the term "subwindow".
15410         (window--resize-subwindows-skip-p): Rename to
15411         window--resize-child-windows-skip-p.
15412         (window--resize-subwindows-normal): Rename to
15413         window--resize-child-windows-normal.
15414         (window--resize-subwindows): Rename to
15415         window--resize-child-windows.
15416         (window-or-subwindow-p): Rename to window--in-subtree-p.
15418 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15420         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15421         Ensure that mbox format messages end in two newlines (Bug#9974).
15423 2011-11-06  Chong Yidong  <cyd@gnu.org>
15425         * window.el (window-combination-p): Function deleted; its
15426         side-effect is not used in any existing code.
15427         (window-combinations, window-combined-p): Call window-*-child
15428         directly.
15430 2011-11-05  Chong Yidong  <cyd@gnu.org>
15432         * window.el (window-valid-p): Rename from window-any-p.
15433         (window-size-ignore, window-state-get): Callers changed.
15434         (window-normalize-window): Rename from window-normalize-any-window.
15435         New arg LIVE-ONLY, replacing window-normalize-live-window.
15436         (window-normalize-live-window): Delete.
15437         (window-combination-p, window-combined-p, window-combinations)
15438         (walk-window-subtree, window-atom-root, window-min-size)
15439         (window-sizable, window-sizable-p, window-size-fixed-p)
15440         (window-min-delta, window-max-delta, window-resizable)
15441         (window-resizable-p, window-full-height-p, window-full-width-p)
15442         (window-current-scroll-bars, window-point-1, set-window-point-1)
15443         (window-at-side-p, window-in-direction, window-resize)
15444         (adjust-window-trailing-edge, maximize-window, minimize-window)
15445         (window-deletable-p, delete-window, delete-other-windows)
15446         (record-window-buffer, unrecord-window-buffer)
15447         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15448         (quit-window, split-window, window-state-put)
15449         (set-window-text-height, fit-window-to-buffer)
15450         (shrink-window-if-larger-than-buffer): Callers changed.
15452 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
15454         * mail/rmail.el (rmail-simplified-subject): Decode subject with
15455         rfc2047-decode-string.
15456         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15457         warnings.
15459         * window.el (window-body-height, window-body-width): Mention in
15460         the doc string that the return values are in frame's canonical
15461         units.  (Bug#9949)
15463 2011-11-03  Alan Mackenzie  <acm@muc.de>
15465         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15466         change in cc-engine.el.
15468 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15470         * window.el (switch-to-buffer): Use `force-same-window' interactively.
15472 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
15474         * window.el (quit-window): Call unrecord-window-buffer after
15475         showing another buffer in the window.  (Bug#9937)
15476         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15478 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
15480         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15481         Accept status with more than 9 shelves.  (Bug#9935)
15482         Reported by Colin D Bennett <colin@gibibit.com>.
15484 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
15486         * help.el (with-help-window): Don't reference
15487         temp-buffer-show-specifiers in doc-string.
15489 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15491         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15492         menu-item.
15494 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15496         * whitespace.el: New version 13.2.2.
15497         (whitespace-newline-mode): Disable properly.  Reported by Sarah
15498         <EmacsWiki>.
15500 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
15502         * net/newst-treeview.el: Remove "Time-stamp".
15503         (newsticker--group-manage-orphan-feeds): Do not call
15504         newsticker--treeview-tree-update.
15505         (newsticker-treeview-update, newsticker-treeview):
15506         Call newsticker--treeview-tree-update if necessary.
15508 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
15510         * window.el (window-iso-combination-p, window-iso-combined-p)
15511         (window-iso-combinations): Remove "iso-" infix.
15512         Suggested by Chong Yidong.
15513         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15514         (window-max-delta-1, window-resize, window--resize-siblings)
15515         (window--resize-this-window, adjust-window-trailing-edge)
15516         (split-window, balance-windows-1)
15517         (shrink-window-if-larger-than-buffer):
15518         * calendar/calendar.el (calendar-generate-window):
15519         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15521 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15523         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15524         in place (bug#9907).
15525         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15526         (eshell-rewrite-if-command, eshell-rewrite-for-command)
15527         (eshell-structure-basic-command, eshell-rewrite-while-command)
15528         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15529         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15530         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15531         (eshell-do-pipelines-synchronously, eshell-eval-command):
15532         Use backquotes and prefer setq to set.
15533         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15534         (eshell-macrop): Use functionp.
15535         (eshell-do-eval): Handle multiple expressions in `while' body.
15537 2011-10-30  Chong Yidong  <cyd@gnu.org>
15539         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15540         instead of set-mark (Bug#9810).
15542 2011-10-30  Chong Yidong  <cyd@gnu.org>
15544         * window.el (split-window-below, split-window-right): Rename from
15545         split-window-above-each-other and split-window-side-by-side
15546         respectively.  All callers changed.
15547         (split-window-sensibly, split-window-sensibly): Use them.
15548         (split-window-keep-point): Doc fix.
15550         * isearch.el: Add isearch-scroll property to split-window-below
15551         and split-window-right.
15553         * follow.el (follow-mode):
15554         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15555         * progmodes/ada-xref.el (ada-gdb-application):
15556         * emulation/vip.el (vip-buffer-in-two-windows):
15557         * image-dired.el (image-dired-dired-with-window-configuration):
15558         * dired-x.el (dired-do-find-marked-files):
15559         * dired.el (dired-pop-to-buffer):
15560         * bs.el (bs--show-with-configuration):
15561         * vc/emerge.el (emerge-setup-windows):
15562         * textmodes/two-column.el (2C-two-columns):
15563         * textmodes/reftex-toc.el (reftex-toc):
15564         * progmodes/gdb-mi.el (gdb-setup-windows):
15565         * progmodes/fortran.el (fortran-window-create):
15566         * net/newst-treeview.el (newsticker--treeview-window-init):
15567         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15568         * emulation/tpu-edt.el (tpu-gold-map):
15569         * emulation/crisp.el (crisp-mode-map):
15570         * calendar/calendar.el (calendar-basic-setup): Callers changed.
15572 2011-10-29  Chong Yidong  <cyd@gnu.org>
15574         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15576         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15578         * textmodes/flyspell.el (flyspell-word): Fix char offset for
15579         forged Ispell output (Bug#7904).
15581         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15583 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15585         * doc-view.el: Avoid ugly errors about not finding nil.
15586         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15587         (doc-view-dvipdf-program, doc-view-unoconv-program)
15588         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15589         Avoid nil or absolute file name as default value.
15590         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15592 2011-10-28  Alan Mackenzie  <acm@muc.de>
15594         * progmodes/cc-defs.el (c-version): -> 5.32.2.
15596 2011-10-28  Alan Mackenzie  <acm@muc.de>
15598         Amend the handling of c-beginning/end-of-defun in nested declaration
15599         scopes.
15601         * progmodes/cc-vars.el (c-defun-tactic): Move here from
15602         cc-langs.el.  Change it to a defcustom.
15604         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15605         cc-vars.el.
15607         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15608         Prevent "class foo : bar" being spuriously recognized as a label.
15610         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15611         Add parameter `inclusive' (to include enclosing braces in the region).
15612         (c-widen-to-enclosing-decl-scope): New function.
15613         (c-while-widening-to-decl-block): New macro.
15614         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15615         outward for defun boundaries, and correspondingly change symbol
15616         `respect-enclosure' to `go-outward'.
15617         (c-declaration-limits): Change algorithm to report only the "innermost"
15618         defun's boundaries.
15620 2011-10-28  Deniz Dogan  <deniz@dogan.se>
15622         * net/rcirc.el (rcirc-mode): Use hard newlines.
15624 2011-10-28  Alan Mackenzie  <acm@muc.de>
15626         Amend to indent and fontify macros "which include their own semicolon"
15627         correctly, using the "virtual semicolon" mechanism.
15629         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15631         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15632         Recode to scan one line at a time rather than having \n and \r
15633         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15634         (c-forward-label): Amend for virtual semicolons.
15635         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15637         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15638         of the new C macros.
15640         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15641         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15642         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15643         (c-opt-cpp-macro-define): Make into a full language variable.
15644         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15645         AWK Mode (including \n, \r) removed, no longer needed.
15647         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15648         Invoke c-make-macro-with-semi-re.
15650         * progmodes/cc-vars.el (c-macro-with-semi-re):
15651         (c-macro-names-with-semicolon): New variables.
15652         (c-make-macro-with-semi-re): New function.
15654 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15656         * vc/log-edit.el: Fill empty field rather than adding new one.
15657         (log-edit-add-field): New function.
15658         (log-edit-insert-changelog): Use it.
15660 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15662         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15664 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15666         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15667         (gdb--check-interpreter): New function.
15668         (gdb): Use it.
15670 2011-10-27  Glenn Morris  <rgm@gnu.org>
15672         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15673         (least-positive-float, least-negative-float)
15674         (least-positive-normalized-float, least-negative-normalized-float)
15675         (float-epsilon, float-negative-epsilon):
15676         Remove unnecessary declarations.
15678         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15679         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15680         (least-positive-float, least-negative-float)
15681         (least-positive-normalized-float, least-negative-normalized-float)
15682         (float-epsilon, float-negative-epsilon): Add doc-strings,
15683         based on those in cl.texi.
15685         * files.el (set-visited-file-name): If the major-mode changed,
15686         reload the local variables.  (Bug#9796)
15688 2011-10-27  Chong Yidong  <cyd@gnu.org>
15690         * subr.el (change-major-mode-after-body-hook): New hook.
15691         (run-mode-hooks): Run it.
15693         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15694         Use change-major-mode-before-body-hook.
15696         * simple.el (fundamental-mode):
15697         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15698         change introducing fundamental-mode-hook.
15700 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
15702         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15704 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
15706         * ido.el (ido-file-name-all-completions-1): Do not require
15707         tramp.el explicitly.  (Bug#7583)
15709 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15711         * progmodes/octave-mod.el:
15712         * progmodes/octave-inf.el: Update maintainer.
15714 2011-10-26  Chong Yidong  <cyd@gnu.org>
15716         * subr.el (with-wrapper-hook): Rewrite doc.
15718 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
15720         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15721         filenames "/method:foo:".  (Bug#9793)
15723 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15725         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15726         (bug#9865).
15728 2011-10-24  Glenn Morris  <rgm@gnu.org>
15730         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
15732 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
15734         * notifications.el: Add the requirement of a running D-Bus session
15735         bus to the Commentary.
15737 2011-10-24  Juri Linkov  <juri@jurta.org>
15739         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15740         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15741         (Bug#9364)
15743 2011-10-24  Juri Linkov  <juri@jurta.org>
15745         * info.el (Info-following-node-name-re): Add newline to the list
15746         of allowed characters for leading space.  (Bug#9824)
15748 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15750         * progmodes/octave-inf.el (inferior-octave-mode-map):
15751         Fix C-c C-h binding.
15752         * progmodes/octave-mod.el (octave-help): Remove.
15754 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
15756         Sync with Tramp 2.2.3.
15758         * net/tramp-cache.el (top): Pacify byte-compiler using
15759         `init-file-user' and `site-run-file'.
15761         * net/trampver.el: Update release number.
15763 2011-10-23  Chong Yidong  <cyd@gnu.org>
15765         * files.el (toggle-read-only): Remove obsolete comment about
15766         version control.
15768         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15769         for toggle-read-only.  Note that this hasn't called vc-next-action
15770         since 2008-05-02, though it wasn't documented at the time.
15772         * vc/ediff-init.el (ediff-toggle-read-only-function):
15773         Use toggle-read-only.
15775 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
15777         Fix bug #9560, sporadic wrong indentation; improve instrumentation
15778         of c-parse-state.
15780         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15781         correct faulty logical expression.
15782         (c-parse-state-state, c-record-parse-state-state):
15783         (c-replay-parse-state-state): New defvar/defuns.
15784         (c-debug-parse-state): Use new functions.
15786 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
15788         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15789         last fix.  Use window-in-direction correctly.
15791 2011-10-21  Chong Yidong  <cyd@gnu.org>
15793         * progmodes/idlwave.el (idlwave-mode):
15794         * progmodes/vera-mode.el (vera-mode): No need to set
15795         require-final-newline; that's done in prog-mode.
15796         Suggested by Stefan Monnier.
15798 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
15800         * mouse.el (mouse-drag-window-above)
15801         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15802         (mouse-drag-mode-line-1, mouse-drag-header-line)
15803         (mouse-drag-vertical-line-rightward-window): Remove.
15804         (mouse-drag-line): New function.
15805         (mouse-drag-mode-line, mouse-drag-header-line)
15806         (mouse-drag-vertical-line): Call mouse-drag-line.
15807         * window.el (window-at-side-p, windows-at-side): New functions.
15809 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
15811         * tar-mode.el (tar-grind-file-mode):
15812         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
15814 2011-10-21  Chong Yidong  <cyd@gnu.org>
15816         * progmodes/idlwave.el (idlwave-mode):
15817         * progmodes/vera-mode.el (vera-mode):
15818         Use mode-require-final-newline.
15820 2011-10-20  Glenn Morris  <rgm@gnu.org>
15822         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
15824 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
15826         * emulation/cua-base.el (cua-set-mark): Fix case of string.
15828 2011-10-20  Chong Yidong  <cyd@gnu.org>
15830         * emulation/cua-base.el (cua-mode):
15831         * mail/footnote.el (footnote-mode):
15832         * mail/mailabbrev.el (mail-abbrevs-mode):
15833         * net/xesam.el (xesam-minor-mode):
15834         * progmodes/bug-reference.el (bug-reference-mode):
15835         * progmodes/cap-words.el (capitalized-words-mode):
15836         * progmodes/compile.el (compilation-minor-mode)
15837         (compilation-shell-minor-mode):
15838         * progmodes/gud.el (gud-tooltip-mode):
15839         * progmodes/hideif.el (hide-ifdef-mode):
15840         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15841         * progmodes/subword.el (subword-mode):
15842         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15843         * progmodes/which-func.el (which-function-mode):
15844         * term/tvi970.el (tvi970-set-keypad-mode):
15845         * term/vt100.el (vt100-wide-mode):
15846         * textmodes/flyspell.el (flyspell-mode):
15847         * textmodes/ispell.el (ispell-minor-mode):
15848         * textmodes/nroff-mode.el (nroff-electric-mode):
15849         * textmodes/paragraphs.el (use-hard-newlines):
15850         * textmodes/refill.el (refill-mode):
15851         * textmodes/reftex.el (reftex-mode):
15852         * textmodes/rst.el (rst-minor-mode):
15853         * textmodes/sgml-mode.el (html-autoview-mode)
15854         (sgml-electric-tag-pair-mode):
15855         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15856         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15857         * emulation/crisp.el (crisp-mode):
15858         * emacs-lisp/eldoc.el (eldoc-mode):
15859         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15860         minor mode behavior.
15862 2011-10-19  Juri Linkov  <juri@jurta.org>
15864         * descr-text.el (describe-char): Add #x2010 and #x2011 to
15865         the list of hard-coded chars with escape-glyph face.
15867 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15869         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15871 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
15873         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15874         running process.
15876 2011-10-19  Glenn Morris  <rgm@gnu.org>
15878         * vc/vc-bzr.el (vc-bzr-after-dir-status):
15879         Ignore ignored files.  (Bug#9726)
15881 2011-10-19  Chong Yidong  <cyd@gnu.org>
15883         Doc fix for minor modes, stating that an omitted argument enables
15884         the mode unconditionally when called from Lisp.
15886         * abbrev.el (abbrev-mode):
15887         * allout.el (allout-mode):
15888         * autoinsert.el (auto-insert-mode):
15889         * autoarg.el (autoarg-mode, autoarg-kp-mode):
15890         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15891         (global-auto-revert-mode):
15892         * battery.el (display-battery-mode):
15893         * composite.el (global-auto-composition-mode)
15894         (auto-composition-mode):
15895         * delsel.el (delete-selection-mode):
15896         * desktop.el (desktop-save-mode):
15897         * dired-x.el (dired-omit-mode):
15898         * dirtrack.el (dirtrack-mode):
15899         * doc-view.el (doc-view-minor-mode):
15900         * double.el (double-mode):
15901         * electric.el (electric-indent-mode, electric-pair-mode):
15902         * emacs-lock.el (emacs-lock-mode):
15903         * epa-hook.el (auto-encryption-mode):
15904         * follow.el (follow-mode):
15905         * font-core.el (font-lock-mode):
15906         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15907         * help.el (temp-buffer-resize-mode):
15908         * hilit-chg.el (highlight-changes-mode)
15909         (highlight-changes-visible-mode):
15910         * hi-lock.el (hi-lock-mode):
15911         * hl-line.el (hl-line-mode, global-hl-line-mode):
15912         * icomplete.el (icomplete-mode):
15913         * ido.el (ido-everywhere):
15914         * image-file.el (auto-image-file-mode):
15915         * image-mode.el (image-minor-mode):
15916         * iswitchb.el (iswitchb-mode):
15917         * jka-cmpr-hook.el (auto-compression-mode):
15918         * linum.el (linum-mode):
15919         * longlines.el (longlines-mode):
15920         * master.el (master-mode):
15921         * mb-depth.el (minibuffer-depth-indicate-mode):
15922         * menu-bar.el (menu-bar-mode):
15923         * minibuf-eldef.el (minibuffer-electric-default-mode):
15924         * mouse-sel.el (mouse-sel-mode):
15925         * msb.el (msb-mode):
15926         * mwheel.el (mouse-wheel-mode):
15927         * outline.el (outline-minor-mode):
15928         * paren.el (show-paren-mode):
15929         * recentf.el (recentf-mode):
15930         * reveal.el (reveal-mode, global-reveal-mode):
15931         * rfn-eshadow.el (file-name-shadow-mode):
15932         * ruler-mode.el (ruler-mode):
15933         * savehist.el (savehist-mode):
15934         * scroll-all.el (scroll-all-mode):
15935         * scroll-bar.el (scroll-bar-mode):
15936         * server.el (server-mode):
15937         * shell.el (shell-dirtrack-mode):
15938         * simple.el (auto-fill-mode, transient-mark-mode)
15939         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15940         (line-number-mode, column-number-mode, size-indication-mode)
15941         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15942         * strokes.el (strokes-mode):
15943         * time.el (display-time-mode):
15944         * t-mouse.el (gpm-mouse-mode):
15945         * tool-bar.el (tool-bar-mode):
15946         * tooltip.el (tooltip-mode):
15947         * type-break.el (type-break-mode-line-message-mode)
15948         (type-break-query-mode):
15949         * view.el (view-mode):
15950         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15951         (global-whitespace-mode, global-whitespace-newline-mode):
15952         * xt-mouse.el (xterm-mouse-mode): Doc fix.
15954         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15955         Fix autogenerated docstring.
15957 2011-10-19  Juri Linkov  <juri@jurta.org>
15959         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15960         by checking environment variables "DESKTOP_SESSION" and
15961         "XDG_CURRENT_DESKTOP".  (Bug#9779)
15963 2011-10-19  Juri Linkov  <juri@jurta.org>
15965         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15966         (browse-url-chromium-program, browse-url-chromium-arguments):
15967         New defcustoms.
15968         (browse-url-default-browser): Check for `browse-url-chromium' and
15969         call `browse-url-chromium-program'.
15970         (browse-url-chromium): New command.  (Bug#9779)
15972 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
15974         * facemenu.el (list-colors-duplicates): On Windows, detect more
15975         duplicates by assuming that only colors matching "^System" are
15976         special "system colors".  (Bug#9722)
15978 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15980         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15981         to distinguish the author from the committer.
15983 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
15985         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15987 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
15989         * international/mule.el (sgml-html-meta-auto-coding-function):
15990         Add support for detecting encoding in HTML5 specified only as
15991         <meta charset="UTF-8">.  Implementation just makes http-equiv and
15992         content-type parts from HTML4 encoding string optional.  (Bug#9716)
15994 2011-10-18  Glenn Morris  <rgm@gnu.org>
15996         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
15998 2011-10-18  Chong Yidong  <cyd@gnu.org>
16000         * faces.el (cursor): Doc fix.
16002 2011-10-17  Chong Yidong  <cyd@gnu.org>
16004         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16006 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
16008         * dirtrack.el (dirtrack): Support shell buffers with path
16009         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
16011 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
16013         * json.el: Bump version to 1.3 and note change in History.
16014         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16016 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16018         * comint.el (comint-insert-input, comint-send-input)
16019         (comint-get-old-input-default, comint-backward-matching-input)
16020         (comint-next-prompt): Use nil instead of `input' for field property of
16021         past user input (bug#114).
16023         * minibuffer.el (completion--replace): Inherit surrounding properties
16024         (bug#114).
16025         (minibuffer-complete-and-exit): Use it.
16027         * comint.el (comint--table-subvert): Quote the all-completions output
16028         (bug#9160).
16030 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
16032         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16034         * menu-bar.el (menu-bar-file-menu): Add entry for making new
16035         window on right of selected.  (Bug#9350) Reword other window
16036         entries and separate them from frame entries.
16038 2011-10-15  Glenn Morris  <rgm@gnu.org>
16040         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16041         Doc fixes.
16043 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
16045         * net/network-stream.el (network-stream-open-starttls):
16046         Improve detection of failure due to lack of TLS support.
16048         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16049         putting the input text in front and in bold.
16051 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16053         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16055         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16056         empty buffer.
16058         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16059         unread-command-events rather than pushing yet-another event.
16061 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
16063         * mail/sendmail.el (sendmail-query-once): Improve the wording of
16064         the explanation of the possible choices.  Make the options passed
16065         to completing-read shorter.
16067 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16069         * textmodes/flyspell.el (flyspell-large-region): Make sure
16070         extended character mode is used if defined (Bug#1339).
16072 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
16074         * simple.el (what-cursor-position): Fix the display of the
16075         character info for LRE, LRO, RLE, and RLO characters by appending
16076         an invisible PDF.
16078 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16080         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16081         even in case of error; add debug spec; simplify data flow.
16082         (with-timeout-handler): Remove.
16084 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
16086         Fix Bug#6019, Bug#9315.
16088         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16089         complete `buffer-file-name', the local file name part could look
16090         remotely (for example on VMS).
16092         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16093         `tramp-run-real-handler'.
16094         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16095         already quoted by '"'.
16097         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16098         Let `file-name-handler-alist' be nil, the local file name part
16099         could look remotely (for example on VMS).
16101 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16103         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16104         from here...
16105         (flyspell-post-command-hook): ...to here.
16107 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16109         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16110         if not needed.
16111         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
16112         using completion.  Protect against "slow" callers.
16113         Remove the "message hack".
16115 2011-10-11  Juri Linkov  <juri@jurta.org>
16117         * isearch.el (isearch-lazy-highlight-word): New variable.
16118         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16119         Use it.  (Bug#9727)
16121 2011-10-11  Glenn Morris  <rgm@gnu.org>
16123         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16124         like f90-previous-statement does.
16126 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16128         * eshell/eshell.el (eshell-command): History should be saved
16129         only in interactive use, to avoid error.
16131 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16133         * minibuffer.el (completion-file-name-table): Fix last change,
16134         i.e. ignore normal errors but not the other ones.
16136 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
16138         * window.el (special-display-buffer-names)
16139         (special-display-regexps): Remove some remnants of earlier
16140         changes from doc-strings.
16141         (quit-windows-on): New function.
16143         * vc/vc.el (vc-revert, vc-rollback):
16144         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16145         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
16146         (Bug#6183) (Bug#7074) (Bug#7447)
16148 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
16150         * window.el (frame-auto-hide-function): Add version tag.
16151         (Bug#9699)
16153 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
16155         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16156         condition.
16158 2011-10-09  Leo Liu  <sdl.web@gmail.com>
16160         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16161         (Bug#9701)
16163 2011-10-08  Glenn Morris  <rgm@gnu.org>
16165         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16166         before the first code statement zero indent.  (Bug#9690)
16168 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
16170         * simple.el (count-words-region): Always count in the region.
16171         Report the number of lines and characters too.
16172         (count-words): New command, which counts in the buffer if the
16173         region is inactive, as count-words-region used to.
16174         (count-words--message): New function.  Handle plurals.
16175         (count-lines-region): Make it an alias for count-words-region.
16177         * bindings.el (esc-map): Replace count-lines-region with
16178         count-words-region.
16180 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
16182         * window.el (window--delete): Delete dedicated frame
16183         unconditionally when argument KILL is non-nil.  (Bug#9699)
16184         (switch-to-buffer): Fix doc-string typo.
16186 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16188         * eshell/eshell.el (eshell-command): Avoid using hooks.
16190 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
16192         * bindings.el ([M-left],[M-right]): Bind to left-word and
16193         right-word respectively.
16195 2011-10-07  Glenn Morris  <rgm@gnu.org>
16197         * cus-start.el (debug-on-quit): Fix custom type.
16199 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16201         * subr.el (define-key-after): Clarify that the function is not
16202         useful for non-menu keymaps.
16204         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16206 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16208         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16209         in current minibuffer (Fix bug with recursive minibuffers).
16211 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
16213         * progmodes/gdb-mi.el (gdb): Doc fix.
16215 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
16217         * window.el (frame-auto-hide-function): New option replacing
16218         frame-auto-delete.  Suggested by Stefan Monnier.
16219         (window--delete): Call frame-auto-hide-function instead of
16220         investigating frame-auto-delete.
16221         (window-point-1, set-window-point-1): New functions.
16222         (window-in-direction, record-window-buffer, window-state-get-1)
16223         (display-buffer-record-window): Use window-point-1 instead of
16224         window-point.
16225         (set-window-buffer-start-and-point): Use set-window-point-1.
16227 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16229         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16231 2011-10-05  Glenn Morris  <rgm@gnu.org>
16233         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16234         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
16236 2011-10-05  Leo Liu  <sdl.web@gmail.com>
16238         * subr.el (read-char-choice): Fix argument to buffer-live-p which
16239         works with buffer object.
16241 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16243         * mpc.el (mpc-tool-bar-map): Add labels.
16245 2011-10-04  Glenn Morris  <rgm@gnu.org>
16247         * calendar/holidays.el (calendar-check-holidays): Doc fix.
16249 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
16251         * window.el (window--delete): New function.
16252         (frame-auto-delete): Resuscitate option.
16253         (bury-buffer, replace-buffer-in-windows)
16254         (quit-window): Rewrite using window--delete.
16255         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16256         Pass display-buffer-mark-dedicated to window--display-buffer-2
16257         (Bug#9639).
16259 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16261         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16262         returns a list (bug#9554).  Add remote file name completion.
16263         * comint.el (comint--table-subvert): Curry and get quote&unquote
16264         functions as arguments.
16265         (comint--complete-file-name-data): Adjust call accordingly.
16266         * pcomplete.el (pcomplete--table-subvert): Remove.
16267         (pcomplete-completions-at-point): Use comint--table-subvert instead.
16269         * minibuffer.el (completion-table-case-fold): Use currying.
16270         (completion--styles-type, completion--cycling-threshold-type):
16271         New constants.
16272         (completion-styles, completion-category-overrides)
16273         (completion-cycle-threshold): Use them.
16274         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16275         completion-table-case-fold.
16277 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
16279         * minibuffer.el (completion-category-overrides): Fix type of styles
16280         and add more user friendly tags (bug#9660).
16282 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16284         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16285         (mule-input-method-string): New widget.
16286         (default-input-method, language-info-custom-alist): Use it.
16288 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16290         * pcomplete.el: Require comint.
16291         (pcomplete--common-suffix): Remove.
16292         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16293         (pcomplete--table-subvert): Sync with comint--table-subvert.
16294         (pcomplete--entries): Use comint-completion-file-name-table.
16295         * comint.el (comint-unquote-filename): Simplify.
16296         (comint-completion-file-name-table): New function (bug#9616).
16297         (comint--complete-file-name-data): Use it.
16299         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16300         (pcmpl-gnu-tar-buffer): Remove.
16301         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16302         around.  Make sure pcomplete-suffix-list is only changed temporarily.
16303         Don't look inside the tar's file if it's too large.
16305 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
16307         * cus-edit.el (custom-mode-map):
16308         * epa.el (epa-key-list-mode-map):
16309         * man.el (Man-mode-map):
16310         * startup.el (splash-screen-keymap):
16311         * simple.el (special-mode-map): Use scroll-up-command and
16312         scroll-down-command.
16314         * progmodes/idlw-help.el (idlwave-help-mode-map):
16315         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16316         * net/newst-plainview.el (newsticker-mode-map):
16317         * emulation/ws-mode.el (wordstar-mode-map):
16318         * emulation/vi.el (vi-com-map):
16319         * calc/calc-graph.el (calc-graph-show-dumb):
16320         * term/sun.el (terminal-init-sun):
16321         * term/ns-win.el (global-map):
16322         * progmodes/grep.el (grep-mode-map):
16323         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16324         * mail/rmail.el (rmail-mode-map):
16325         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16327         * custom.el (custom-safe-themes, load-theme): Treat value of t for
16328         custom-safe-themes as special.
16330 2011-10-01  Julien Danjou  <julien@danjou.info>
16332         * notifications.el (notifications-notify): Fix docstring.
16334 2011-10-01  Per Starbäck  <per@starback.se>
16336         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
16338 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
16340         * startup.el (command-line-1): Fix last fix by inserting
16341         initial-scratch-message into *scratch* before displaying it.
16342         (Bug#9605) and (Bug#9636)
16344 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
16346         * simple.el (line-move): If auto-hscroll-mode is disabled and the
16347         window is hscrolled, move by logical lines.  (Bug#9607)
16348         (line-move-visual): Update the doc string to the above effect.
16350 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
16352         * window.el (display-buffer-record-window): When WINDOW is the
16353         selected window use `point' instead of `window-point'.  (Bug#9626)
16355         * startup.el (command-line-1): Use insert-before-markers when
16356         inserting initial-scratch-message.  (Bug#9605)
16358         * help.el (help-window): Remove variable.
16360 2011-09-29  Glenn Morris  <rgm@gnu.org>
16362         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16364 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
16366         * descr-text.el (describe-char-categories): Accept category
16367         descriptions more than one line long.
16369 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16371         * simple.el (delete-trailing-whitespace): Fix last change.
16373         * progmodes/perl-mode.el (perl-syntax-propertize-function):
16374         Don't confuse "y => 3" as the beginning of a `y' operation.
16376         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16377         object has more than 4 slots (bug#9613).
16379 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
16381         * subr.el (with-output-to-temp-buffer):
16382         * net/quickurl.el (quickurl, quickurl-browse-url):
16383         Fix typos in docstrings.
16385 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
16387         * minibuffer.el (completion-styles)
16388         (completion-category-overrides): Cross reference each other in doc
16389         strings.
16391 2011-09-27  Glenn Morris  <rgm@gnu.org>
16393         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16394         to split-string.  (Bug#9606)
16396 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16398         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16399         (bug#9615).
16401 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
16403         * emacs-lisp/package.el (list-packages): Fix echo area message.
16405 2011-09-27  Leo Liu  <sdl.web@gmail.com>
16407         * ido.el (ido-read-internal): Accept cons cell HIST arg.
16409 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
16411         * net/dbus.el (dbus-unregister-object): Don't release services for
16412         registered signals.  (Bug#9581)
16414 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
16416         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16417         function that picks between cfengine 2 and 3 support
16418         automatically.  Update docs accordingly.
16420 2011-09-22  Kenichi Handa  <handa@m17n.org>
16422         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16423         ZERO.
16424         (indian-itrans-v5-table-for-tamil): New variable.
16425         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16427 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
16429         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16430         that's true if the current command involved collapsing of text.
16431         It's reset to false at the beginning of the next command.
16432         (allout-post-command-business): Move the cursor to the beginning
16433         of entry if the cursor is hidden and collapsing activity just
16434         happened.
16436 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
16438         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16439         tracking (Bug#9541).
16441 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
16443         * net/newst-reader.el (newsticker-html-renderer)
16444         (newsticker-show-news): Automatically load html rendering package
16445         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
16446         because w3m-fill-column is let-bound" and the error "Symbol's value
16447         as variable is void: w3m-fill-column".
16449 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
16451         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16452         Release services only if they are defined.  (Bug#9581)
16454 2011-09-23  Richard Stallman  <rms@gnu.org>
16456         * textmodes/paragraphs.el (forward-sentence): For backwards case,
16457         distinguish start of paragraph from start of its text.
16459         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16461         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16462         (rmail-generate-viewer-buffer): Put that hook on view buffer.
16463         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16465 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
16467         * international/mule-diag.el (mule-diag): Insert a newline after
16468         each fontset description.
16470 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16472         * simple.el (delete-trailing-whitespace):
16473         Document last change; simplify.
16475 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
16477         * simple.el (delete-trailing-whitespace): Also delete
16478         extra newlines at the end of the buffer.
16480         * textmodes/picture.el: Make motion commands obey shift-select-mode.
16481         (picture-newline): Use forward-line so as to ignore fields.
16483 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16485         * subr.el (with-wrapper-hook): Fix edebug spec.
16487 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16489         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16490         (bug#4538).
16492 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
16494         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16495         Fix nasty bug using wrong cached values.
16497 2011-09-23  Alan Mackenzie  <acm@muc.de>
16499         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16501 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
16503         * window.el (pop-to-buffer): Ensure right window is selected if we
16504         chose another frame.
16506 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
16508         * simple.el (what-cursor-position): Use get-char-property-change
16509         and next-single-char-property-change, to be able to show display
16510         properties that come from overlays as well as text properties.
16512 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
16514         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16516         * cmuscheme.el (run-scheme, switch-to-scheme):
16517         * cus-edit.el (customize-group, custom-buffer-create)
16518         (customize-browse):
16519         * info.el (info):
16520         * shell.el (shell):
16521         * mail/sendmail.el (mail):
16522         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16524 2011-09-22  Richard Stallman  <rms@gnu.org>
16526         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16527         move back only to line beg, don't move back over blank lines.
16529 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
16531         * files.el (copy-directory): Set directory attributes only in case
16532         they could be retrieved from the source directory.  (Bug#9565)
16534 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
16536         * progmodes/hideshow.el (hs-looking-at-block-start-p)
16537         (hs-find-block-beginning, hs-hide-level-recursive):
16538         Ignore strings as well as comments.  (Bug#9502)
16540 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
16542         * progmodes/sql.el (sql-comint-postgres):
16543         Convert port number to a string.  (Bug#9566)
16545 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
16547         * window.el (quit-window): Undedicate window when switching to
16548         previous buffer.  Reported by Thierry Volpiatto
16549         <thierry.volpiatto@gmail.com>.
16550         (special-display-popup-frame): When popping up a new frame reset
16551         its previous buffers to nil.  Simplify code.
16553 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
16555         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16556         and process filter, as done also in `shell-command'.
16558 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
16560         * window.el (set-window-buffer-start-and-point):
16561         Call set-window-start with NOFORCE argument t.
16562         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16563         (quit-window): Reword doc-string.  Handle new format of
16564         quit-restore parameter.  Don't delete window if it has a
16565         previous buffer we can show instead of the present one.
16566         (display-buffer-record-window): Rewrite using a new format for
16567         the quit-restore window parameter
16568         (special-display-popup-frame, display-buffer-same-window)
16569         (display-buffer-reuse-window, display-buffer-pop-up-frame)
16570         (display-buffer-pop-up-window, display-buffer-use-some-window):
16571         Adapt symbol passed to display-buffer-record-window.
16572         * help.el (help-window-setup): Handle new format of quit-restore
16573         parameter.
16575 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16577         * faces.el (face-list): Fix docstring (bug#9564).
16579         * window.el (display-buffer--action-function-custom-type):
16580         Don't include internal functions in the Custom interface.
16582 2011-09-20  Juri Linkov  <juri@jurta.org>
16584         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16585         (Info-forward-node, Info-backward-node, Info-next-preorder)
16586         (Info-last-preorder): Use it.  (Bug#9528)
16588 2011-09-20  Juri Linkov  <juri@jurta.org>
16590         * info.el (Info-last-preorder): Visit last menu item only when
16591         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16593 2011-09-20  Julien Danjou  <julien@danjou.info>
16595         * password-cache.el (password-cache-remove): Remove entries even if the
16596         value is nil, so that password with a nil value (negative caching) is
16597         possible to invalidate.
16599 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
16601         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16602         all whitespace around breakpoint.  (Bug#9553)
16603         (f90-find-breakpoint): Only break at whitespace inside a comment.
16605 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16607         * minibuffer.el (completion-file-name-table): Keep track of errors.
16608         (completion-table-with-predicate): Handle the case where pred1 is nil.
16609         * pcomplete.el (pcomplete-completions-at-point): Simplify.
16611 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16613         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16614         (debugger-return-value): Signal an error if the debugging context does
16615         not await any return value.
16617         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16618         * image-mode.el (image-toggle-display-text)
16619         (image-toggle-display-image): Stay away from evil `intangible'.
16621 2011-09-19  Leo Liu  <sdl.web@gmail.com>
16623         * replace.el (occur-revert-arguments): Make it permanent-local.
16624         (occur-mode): Don't call font-lock-defontify.
16626 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
16628         * net/ldap.el (ldap-search-internal): Don't push empty search
16629         result (Bug#9508).
16631 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16633         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16635 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
16637         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16638         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16640 2011-09-18  Juri Linkov  <juri@jurta.org>
16642         * buff-menu.el (Buffer-menu-mode-map):
16643         * dired.el (dired-mode-map):
16644         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16645         (lisp-interaction-mode-map):
16646         * emacs-lisp/package.el (package-menu-mode-map):
16647         * epa.el (epa-key-list-mode-map):
16648         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16649         (menu-bar-options-menu):
16650         * outline.el (outline-mode-menu-bar-map):
16651         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16652         * vc/vc-dir.el (vc-dir-menu-map):
16653         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16654         Capitalize non-function content words in menu item strings.
16656         * dired.el (dired-mode-map): Add menu item for
16657         `image-dired-dired-toggle-marked-thumbs'.
16659 2011-09-18  Juri Linkov  <juri@jurta.org>
16661         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16662         to `isearch-case-fold-search' and restore its original value
16663         after the `isearch-mode' call.
16665 2011-09-18  Juri Linkov  <juri@jurta.org>
16667         * progmodes/grep.el (grep-process-setup): Don't check code for 1
16668         because `zgrep' returns 1 for successful matches (bug#9226).
16670 2011-09-18  Juri Linkov  <juri@jurta.org>
16672         * info.el (Info-extract-menu-node-name): Check the second match
16673         for empty string (second test-case of bug#9528).
16674         (Info-last-preorder): Let-bind `Info-history' to nil to not add
16675         intermediate nodes to the history (first test-case of bug#9528).
16677 2011-09-18  Juri Linkov  <juri@jurta.org>
16679         * info.el (Info-mode-syntax-table): New variable.
16680         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16682 2011-09-18  Juri Linkov  <juri@jurta.org>
16684         * info.el (Info-file-supports-index-cookies):
16685         Increment line-beginning-position's arg from 3 to 4 because makeinfo
16686         outputs one more line for long file names (bug#4142).
16688 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
16690         * newcomment.el (comment-normalize-vars): If prompting for
16691         comment-start, set comment-start-skip too (Bug#8424).
16693 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
16695         * icomplete.el: Fix previous fix of Bug#5849.
16696         (icomplete-mode): Don't set completion-show-inline-help.
16697         (icomplete-minibuffer-setup): Set completion-show-inline-help
16698         locally during icompletion.
16700 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
16702         * woman.el (woman2-process-escapes): Don't delete unrecognized
16703         escapes (Bug#7843).
16705         * files.el (inhibit-first-line-modes-regexps): Add image files.
16706         (hack-local-variables-prop-line): Return nil for malformed
16707         prop-lines (Bug#9044).
16709 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
16711         * net/tramp.el (top): Don't require 'shell.
16712         (tramp-methods): Fix docstring.
16713         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16714         Return complete remote file name.  Handle "smb" case.
16715         Use `tramp-tmpdir', if defined for the respective method.
16716         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16718         * net/tramp-compat.el (top): Require 'shell.
16720         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16721         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16722         `tramp-current-host'.
16723         (tramp-get-remote-tmpdir): Remove.
16725         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16726         `tramp-tmpdir' entries.
16727         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16728         (tramp-smb-handle-file-attributes): Ignore errors.
16729         (tramp-smb-wait-for-output): Check also for process end.
16731 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16733         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16734         when sending QUIT (bug#9312).
16736 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
16738         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16739         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16740         occur-mode-display-occurrence.
16741         (occur-edit-mode): Add usage message.
16742         (occur-cease-edit): New command.
16743         (occur-after-change-function): Use text properties to find the
16744         position of the prefix text.
16745         (occur-engine): Set stickiness of prefix text properties.
16747 2011-09-17  Glenn Morris  <rgm@gnu.org>
16749         * progmodes/etags.el (complete-tag):
16750         Fix call to completion-in-region.  (Bug#9526)
16752 2011-09-17  Juri Linkov  <juri@jurta.org>
16754         * textmodes/ispell.el (ispell-word): Add to the error message
16755         the word, ispell program name and current dictionary (bug#9121).
16756         (ispell-tex-arg-end): Capitalize "error" in the error message.
16758 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
16760         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16761         check.  (Bug#4251)
16763 2011-09-17  Juri Linkov  <juri@jurta.org>
16765         * window.el (window-safe-min-height, window-safe-min-width):
16766         Fix typos (followup to bug#9522).
16768 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
16770         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16772 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
16774         * simple.el (line-move): If goal-column is set, move by logical
16775         lines, not by display lines.  (Bug#971)
16776         (next-line, previous-line, goal-column, line-move-visual): Doc fix
16777         to reflect the above change.
16779 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16781         * image.el (imagemagick-register-types): Use regexp-opt.
16783 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
16785         * window.el (display-buffer-base-action): Rename from
16786         display-buffer-default-action.  Make default value empty.
16787         (display-buffer-overriding-action): Convert to defvar.
16788         (display-buffer-fallback-action): New var.
16790 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
16792         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16793         declaration.
16794         (package--add-to-archive-contents): If there is a duplicate entry
16795         with an older version, remove it.
16796         (package-menu-mark-delete, package-menu-mark-install)
16797         (package-menu-mark-unmark): Make unused args optional.
16798         (package-menu-mark-obsolete-for-deletion):
16799         Use package-menu-get-status instead of a regexp search.
16800         (package-menu-get-status): Use tabulated-list-entry.
16801         (package-menu-mark-upgrades): New command.
16802         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
16803         (package-menu-execute): Do installation before deletion.
16804         (package-menu-refresh, package-menu-execute): Use derived-mode-p
16805         instead of checking major-mode.
16806         (package-menu--find-upgrades): New function.
16808 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16810         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16811         passwords in the log buffer.
16812         (smtpmail-process-filter): Update the process marker so that the
16813         "broken by peer" status message is inserted in the right place.
16815 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16817         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16818         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16819         bibtex-completion-at-point-function.
16820         (bibtex-completion-at-point-function): Use them.
16822         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16824         * mpc.el (mpc-constraints-tag-lookup): New function.
16825         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16826         also to browser "album|playlist".
16828 2011-09-14  Juri Linkov  <juri@jurta.org>
16830         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
16831         (isearch-edit-string): Use length of `isearch-string' when
16832         `isearch-fail-pos' returns nil.
16833         (isearch-message): Remove duplicate code and call
16834         `isearch-fail-pos' with arg `t'.
16836 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
16838         * replace.el (occur-mode-goto-occurrence): Don't force using other
16839         window (Bug#9499).
16841         * dired-aux.el (dired-do-chmod): Don't provide initial input.
16843 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
16845         * window.el (display-buffer-window): Remove.
16846         (display-buffer-record-window): Use help-setup window parameter
16847         instead of variable display-buffer-window.
16848         (display-buffer-function, special-display-buffer-names)
16849         (special-display-function): Mention help-setup parameter instead
16850         of display-buffer-window in doc-string.
16851         * help.el (help-window-setup): New argument help-window.
16852         Use help-window-setup parameter instead of display-buffer-window.
16853         Reword some messages.
16854         (with-help-window): Pass window used for displaying the buffer
16855         to help-window-setup.  Don't set display-buffer-window.
16857 2011-09-13  Glenn Morris  <rgm@gnu.org>
16859         * emacs-lisp/debug.el (debugger-make-xrefs):
16860         Preserve point.  (Bug#9462)
16862 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
16864         * window.el (window-deletable-p): Use next-frame.
16866 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
16868         * window.el (window-auto-delete): Remove.
16869         (window-deletable-p): Remove argument FORCE.  Don't deal with
16870         dedication and previous buffers.
16871         (switch-to-prev-buffer): Don't delete window.
16872         (delete-windows-on): Delete a window's frame if and only if the
16873         window is dedicated.
16874         (replace-buffer-in-windows): Delete buffer's window or frame if
16875         and only if window is dedicated.
16876         (quit-window): Handle quit-restore as before last change.
16877         (bury-buffer): Delete window only if window-deletable-p returns t.
16879 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
16881         * window.el (window-deletable-p): Never delete the last frame on a
16882         given terminal.
16884 2011-09-13  Glenn Morris  <rgm@gnu.org>
16886         * help.el (describe-key-briefly): Copy previous standard-output change.
16888 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
16890         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
16892 2011-09-13  Glenn Morris  <rgm@gnu.org>
16894         * emacs-lisp/lisp-mode.el (lisp-indent-function):
16895         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16897 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
16899         * dired-aux.el (dired-mark-read-string): Don't return default
16900         value on empty input (Bug#9361).
16901         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16902         Omit initial minibuffer contents.
16903         (dired-do-chmod): Signal an error on empty input.
16904         (dired-mark-read-string): Don't return default on empty input.
16906         * files.el (file-modes-symbolic-to-number): Doc fix.
16908 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16910         * international/mule-cmds.el (ucs-completions): Remove.
16911         (read-char-by-name): Use complete-with-action instead; add metadata.
16913 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
16915         * window.el (display-buffer--action-function-custom-type)
16916         (display-buffer--action-custom-type): New vars.
16917         (display-buffer-alist, display-buffer-default-action)
16918         (display-buffer-overriding-action): Add defcustom types.
16920         * frame.el (delete-other-frames): Doc fix (Bug#276).
16922 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16924         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16926 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
16928         Change modes that used same-window-* vars to use switch-to-buffer.
16930         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16931         Use switch-to-buffer.
16933         * cus-edit.el (customize-group, custom-buffer-create)
16934         (customize-browse, custom-buffer-create-other-window):
16935         Use switch-to-buffer or switch-to-buffer-other-window.
16937         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16938         (Info-prev, Info-up, Info-speedbar-goto-node)
16939         (info-display-manual): Use switch-to-buffer.
16940         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16942         * mail/sendmail.el (mail): Use switch-to-buffer.
16943         (mail-recover): Use switch-to-buffer-other-window.
16945         * cmuscheme.el (run-scheme, switch-to-scheme):
16946         * ielm.el (ielm):
16947         * shell.el (shell):
16948         * net/rlogin.el (rlogin):
16949         * net/telnet.el (telnet, rsh):
16950         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16952 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
16954         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16956 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16958         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16959         so don't mention it (bug#9301).
16960         (dired-sort-toggle-or-edit): Clarify string further.
16962         * faces.el (face-spec-set-match-display): Make `(type graphic)'
16963         match `x', `w32' and `ns', like the manual says (bug#9029).
16965         * subr.el (eval-after-load): Doc string clarification (bug#9125).
16966         (process-kill-buffer-query-function): Mention the buffer name in
16967         the query.
16969         * image-mode.el (image-next-line): The line parameter is mandatory
16970         (bug#9258).
16972         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16973         which can be useful (bug#9301).
16975         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16977         * subr.el (match-string): Mention that the current buffer should
16978         be the same as the search was done in (bug#9282).
16980         * facemenu.el: Disable the remove-* commands if the mark isn't
16981         active (bug#9162).
16983 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
16985         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16986         of display-buffer.
16987         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16989         * replace.el (occur-mode-goto-occurrence)
16990         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16991         and display-buffer.
16993         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16994         display-buffer.
16996         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16997         special-display and same-window variables.
16998         (mail-other-window): Use switch-to-buffer-other-window.
16999         (mail-other-frame): USe switch-to-buffer-other-frame.
17001         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17002         Use display-buffer-other-frame.
17003         (gdb-display-gdb-buffer): Use pop-to-buffer.
17005         * progmodes/gud.el (gud-goto-info): Use info-other-window.
17007         * progmodes/python.el: Don't set same-window-buffer-names.
17009         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17011         * window.el (display-buffer-alist): Add *Python*.
17013 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
17015         * window.el (display-buffer-alist): Add entry for buffers
17016         previously handled same-window-*.
17017         (display-buffer-alist, display-buffer-default-action)
17018         (display-buffer-overriding-action): Mark as risky.
17019         (display-buffer-alist): Document action function changes.
17020         (display-buffer--same-window-action)
17021         (display-buffer--other-frame-action): New variables.
17022         (switch-to-buffer, display-buffer-other-frame): Use them.
17023         (display-buffer): Rename reuse-frame entry to reusable-frames.
17024         (display-buffer-reuse-selected-window): Function deleted.
17025         (display-buffer-reuse-window): Handle reusable-frames alist entry.
17026         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17027         (display-buffer-special): New function.
17028         (display-buffer--maybe-pop-up-frame-or-window): Rename from
17029         display-buffer-reuse-or-pop-window.  Split off special-display
17030         part into display-buffer-special.
17031         (display-buffer-use-some-window): Don't perform any special
17032         pop-up-frames handling.
17033         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17034         (display-buffer--maybe-same-window): Rename from
17035         display-buffer-maybe-same-window.
17037         * info.el: Don't set same-window-regexps.
17038         (info-setup): New function.
17039         (info-other-window, info): Call it.
17041         * cus-edit.el: Don't set same-window-regexps.
17042         (customize-group): New argument.
17043         (customize-group-other-window): Use it.
17044         (customize-face, customize-face-other-window): Likewise.
17045         (custom-buffer-create-other-window): Use pop-to-buffer directly.
17047         * net/rlogin.el:
17048         * net/telnet.el:
17049         * progmodes/gud.el: Don't set same-window-regexps.
17051         * cmuscheme.el:
17052         * ielm.el:
17053         * shell.el:
17054         * mail/sendmail.el:
17055         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17057 2011-09-10  Juri Linkov  <juri@jurta.org>
17059         * isearch.el (isearch-edit-string): Remove obsolete mention of
17060         `C-w' (`isearch-yank-word-or-char') from docstring.
17061         (isearch-query-replace): Fix typo in docstring (bug#9466).
17063 2011-09-10  Juri Linkov  <juri@jurta.org>
17065         * paren.el (show-paren-function): Don't show escaped parens.
17066         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
17068 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
17070         * mail/sendmail.el (mml-to-mime, mml-attach-file)
17071         (mm-default-file-encoding): Remove autoload forms, they are
17072         replaced with autoload cookies in mml.el and mm-encode.el.
17073         (mail-add-attachment): New command.
17074         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17075         (mail-mode): Mention mail-insert-file and mail-add-attachment in
17076         the doc string.
17077         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17079 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
17081         * simple.el (count-words-region): Use buffer if there's no region
17082         (bug#9429).
17084 2011-09-09  Juri Linkov  <juri@jurta.org>
17086         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17087         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17088         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
17090 2011-09-09  Alan Mackenzie  <acm@muc.de>
17092         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17093         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
17095 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
17097         Fix for Savannah bug#9392.
17098         * simple.el (mail-encode-mml): New defvar.
17100         * mail/rmail.el (mail-encode-mml): Add a defvar.
17101         (rmail-enable-mime-composing): Default to t.
17102         (rmail-forward): Use MIME method of forwarding only if both
17103         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17104         Set mail-encode-mml non-nil if the MIME method was used.
17106         * mail/sendmail.el (mml-to-mime): Add autoload form.
17107         (mail-encode-mml): Add a defvar.
17108         (mail-mode): Make mail-encode-mml buffer-local and initialize it
17109         to nil.
17110         (mail-send): If mail-encode-mml is non-nil, run the outgoing
17111         message through mml-to-mime, and reset mail-encode-mml to nil.
17113 2011-09-09  Glenn Morris  <rgm@gnu.org>
17115         * woman.el (woman-if-body): When processing an .el block,
17116         do not delete the next .el block as well.  (Bug#9447)
17117         (woman-special-characters): Add oq, cq, and hy characters.
17119 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
17121         * window.el (window-deletable-p): Make sure window is live before
17122         invoking window-prev-buffers.
17124 2011-09-08  Leo Liu  <sdl.web@gmail.com>
17126         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
17128 2011-09-08  Juri Linkov  <juri@jurta.org>
17130         * progmodes/compile.el (compilation-environment): Make it
17131         a defcustom (bug#8340).
17133 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
17135         * window.el (frame-auto-delete): Rename to window-auto-delete.
17136         Make it control auto-deletion of windows and/or frames.
17137         (window-deletable-p): New argument FORCE.  Rewrite conditions
17138         for deleting window/frame.  (Bug#9419)
17139         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17140         Rewrite handling of case when window/frame can be deleted.
17141         (delete-windows-on): Call window-deletable-p with new FORCE
17142         argument t.  (Bug#9456)
17144 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
17146         * help-mode.el (help-mode): Restore autoload.
17148 2011-09-07  Juri Linkov  <juri@jurta.org>
17150         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17151         `compilation-environment'.  Set buffer-local
17152         `compilation-environment' to `thisenv' later after (funcall mode).
17153         (Bug#8340)
17155         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
17156         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17157         instead of replacing its value.  (Bug#8340)
17159 2011-09-07  Juri Linkov  <juri@jurta.org>
17161         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17162         based on text properties put by `grep-filter' instead of matching
17163         escape sequences.
17164         (grep-mode): Set buffer-local `compilation-error-screen-columns'
17165         to the value of `grep-error-screen-columns' (bug#9438).
17167 2011-09-07  Juri Linkov  <juri@jurta.org>
17169         * simple.el (next-error-highlight, next-error-highlight-no-select):
17170         Doc fix (bug#9432).
17172 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
17174         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17175         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
17177 2011-09-07  Leo Liu  <sdl.web@gmail.com>
17179         * net/rcirc.el (rcirc-mode): Conditionally initialize
17180         rcirc-input-ring.
17182 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17184         * emacs-lisp/find-func.el (find-function-C-source): Only set
17185         find-function-C-source-directory after checking that we found a source
17186         file there (bug#9440).
17188 2011-09-06  Alan Mackenzie  <acm@muc.de>
17190         * isearch.el (isearch-other-meta-char): Wherever a key list is
17191         unread, "unread" the prefix arg, too.  This fixes bug #8901.
17193 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
17195         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17197 2011-09-05  Juri Linkov  <juri@jurta.org>
17199         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17201 2011-09-05  Juri Linkov  <juri@jurta.org>
17203         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17204         keeping point where processing of grep matches begins, and
17205         continue to delete remaining escape sequences from the same point.
17206         (grep-filter): Make leading zero optional in "0?1;31m" because
17207         git-grep emits "\033[1;31m" escape sequences unlike expected
17208         "\033[01;31m" as GNU Grep does (bug#9408).
17209         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17211 2011-09-05  Juri Linkov  <juri@jurta.org>
17213         * subr.el (y-or-n-p): Capitalize "yes".
17215 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
17217         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
17218         `tramp-cache-unload-hook' where appropriate.
17219         (tramp-methods): Rename `tramp-remote-sh' to
17220         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
17221         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17223         * net/tramp-sh.el (top): Don't require 'shell.
17224         (tramp-methods): Add `tramp-remote-shell' and
17225         `tramp-remote-shell-args' entries.
17226         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17227         (tramp-sh-handle-shell-command): Remove.
17228         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17229         Use `tramp-remote-shell'.
17231 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
17233         * mail/sendmail.el (sendmail-query-once-function): Delete.
17234         (sendmail-query-once): Save directly to send-mail-function.
17235         Update message-send-mail-function too.
17237         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17239 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17241         * progmodes/python.el (python-mode-map): Use correct function to
17242         start python interpreter from menu-bar (as reported by Geert
17243         Kloosterman).
17244         (inferior-python-mode-map): Fix typo.
17245         (python-shell-map): Remove.
17247 2011-09-03  Deniz Dogan  <deniz@dogan.se>
17249         * net/rcirc.el (rcirc-print): Simplify code for
17250         rcirc-scroll-show-maximum-output.  There is no need to walk
17251         through all windows to find the right one.
17253 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17255         * help.el (help-return-method): Doc fix.
17257 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
17259         * window.el (window-deletable-p): Don't return a non-nil value
17260         when there's a buffer that was shown in the window before.
17261         (Bug#9419)
17262         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17263         Set window's previous buffers to nil.
17265 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
17267         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17268         newline before and after the tag line, so it doesn't interfere
17269         with determining the paragraph direction of bidirectional text.
17271 2011-09-03  Leo Liu  <sdl.web@gmail.com>
17273         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
17275 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17277         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17278         (pop-to-buffer): Change interactive spec.  Pass second argument
17279         directly to display-buffer.
17280         (display-buffer): Fix interactive spec.  Use functionp to
17281         distinguish between a function and a list of functions.
17283         * abbrev.el (edit-abbrevs):
17284         * arc-mode.el (archive-extract):
17285         * autoinsert.el (auto-insert):
17286         * bookmark.el (bookmark-bmenu-list):
17287         * files.el (find-file):
17288         * view.el (view-buffer):
17289         * progmodes/compile.el (compilation-goto-locus):
17290         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17292 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17294         * window.el (display-buffer-alist): Doc fix.
17295         (display-buffer): Add docstring.  Don't treat
17296         display-buffer-default specially.
17297         (display-buffer-reuse-selected-window)
17298         (display-buffer-same-window, display-buffer-maybe-same-window)
17299         (display-buffer-reuse-window, display-buffer-pop-up-frame)
17300         (display-buffer-pop-up-window)
17301         (display-buffer-reuse-or-pop-window)
17302         (display-buffer-use-some-window): New functions.
17303         (display-buffer-default-action): Use them.
17304         (display-buffer-default): Delete.
17305         (pop-to-buffer-1): Fix choice of actions.
17307 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17309         * minibuffer.el (completion--insert-strings): Don't get confused by
17310         completion entries that end with an LF char.
17312 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
17314         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17316 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
17318         * window.el (display-buffer): Restore interactive spec.
17319         (display-buffer-same-window, display-buffer-other-window):
17320         New functions.
17321         (pop-to-buffer-1): New function.  Use the above.
17322         (pop-to-buffer, pop-to-buffer-same-window): Use it.
17323         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17325         * view.el (view-buffer-other-window, view-buffer-other-frame):
17326         Just use pop-to-buffer.
17328 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17330         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
17332 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
17334         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
17336 2011-08-31  Richard Stallman  <rms@gnu.org>
17338         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17339         of the separation of rmail-view-buffer from rmail-buffer.
17340         If you say no to "replace original", the decrypt is in the
17341         view buffer.  If you say yes, the decrypt goes into the
17342         rmail buffer also.
17344 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
17346         * window.el (display-buffer-window): Rewrite doc-string.
17347         (display-buffer-record-window): New function.
17348         (display-buffer-macro-specifiers)
17349         (display-buffer-even-window-sizes, display-buffer-set-height)
17350         (display-buffer-set-width, display-buffer-in-window)
17351         (display-buffer-reuse-window, display-buffer-split-specifiers)
17352         (display-buffer-side-specifiers, display-buffer-split-window-1)
17353         (display-buffer-split-window, display-buffer-split-atom-window)
17354         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17355         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17356         (display-buffer-other-window-means-other-frame)
17357         (display-buffer-normalize-special)
17358         (display-buffer-normalize-default)
17359         (display-buffer-normalize-argument)
17360         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17361         (display-buffer-normalize-specifiers, display-buffer-frame)
17362         (display-buffer-same-window, display-buffer-same-frame)
17363         (display-buffer-other-window)
17364         (display-buffer-same-frame-other-window)
17365         (display-buffer-other-frame, pop-to-buffer-same-window)
17366         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17367         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17368         (switch-to-buffer-same-frame)
17369         (switch-to-buffer-other-window-same-frame)
17370         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17371         (display-buffer-alist-set-1, display-buffer-alist-set-2)
17372         (display-buffer-alist-set): Remove.
17373         (display-buffer-function, special-display-buffer-names)
17374         (special-display-regexps, special-display-function):
17375         In doc-string refer to display-buffer-window and quit-restore
17376         parameter.
17377         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17378         (special-display-frame-alist, special-display-popup-frame)
17379         (same-window-buffer-names, same-window-regexps, same-window-p)
17380         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17381         (split-window-preferred-function, split-height-threshold)
17382         (split-width-threshold, window-splittable-p)
17383         (split-window-sensibly, window--try-to-split-window)
17384         (window--frame-usable-p, even-window-heights)
17385         (window--even-window-heights, window--display-buffer-1)
17386         (window--display-buffer-2, display-buffer-other-frame):
17387         Restore old Emacs 23 code, order and doc-strings where applicable.
17388         (display-buffer-default, display-buffer-assq-regexp): New functions.
17389         (display-buffer-alist): Rewrite doc-string.
17390         (display-buffer-default-action)
17391         (display-buffer-overriding-action): New variables.
17392         (display-buffer, switch-to-buffer): Rewrite.
17393         (pop-to-buffer): Restore Emacs 23 behavior but use
17394         window-normalize-buffer-to-display.
17395         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17396         Restore Emacs 23 behavior but use
17397         window-normalize-buffer-to-switch-to.
17398         (pop-to-buffer-same-window): Rewrite.
17399         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17400         Rewrite using Emacs 23 options.
17402 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
17404         * net/tramp.el (tramp-root-regexp): Remove.
17405         (tramp-completion-file-name-regexp-unified)
17406         (tramp-completion-file-name-regexp-separate)
17407         (tramp-completion-file-name-regexp-url): Don't use leading volume
17408         letter on w32 systems.  (Bug#5303, Bug#9311)
17409         (tramp-drop-volume-letter): Simplify definition.
17410         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17412 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17414         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17415         (bug#9356).
17417 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
17419         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17421 2011-08-29  Juri Linkov  <juri@jurta.org>
17423         * isearch.el (isearch-done): Don't display message "Mark saved"
17424         when arg `edit' is non-nil to prevent its flicker in the echo area.
17426 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17428         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17429         obsolete packages for deletion.
17431 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
17433         * help-mode.el (help-mode-map): Add special-mode-map to parent.
17434         (help-mode): Derive help-mode from special-mode.  Don't invoke
17435         view-mode from help-mode.
17436         (help-xref-override-view-map): Remove.
17437         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17438         view-mode is not used anymore.
17440 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17442         * server.el (server-port): Doc fix.
17444         * cus-theme.el (custom-theme-choose-mode): Inherit from
17445         special-mode (Bug#9124).
17446         (custom-theme-choose-mode-map): Add special-mode to parent.
17448 2011-08-28  Alan Mackenzie  <acm@muc.de>
17450         * progmodes/cc-fonts.el
17451         (c-make-font-lock-BO-decl-search-function): New function.
17452         (c-basic-matchers-after - "Fontify the clauses after various
17453         keywords"): Extract the three keyword lists for the 3 erroneous
17454         constructs from the list of four, and use the new function above
17455         in place of an old one.
17457 2011-08-28  Deniz Dogan  <deniz@dogan.se>
17459         * net/rcirc.el (rcirc-insert-prev-input)
17460         (rcirc-insert-next-input): Remove unused argument.
17462 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17464         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17466 2011-08-27  Alan Mackenzie  <acm@muc.de>
17468         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17469         handle function pointer parameters properly.
17471 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
17473         * window.el (display-buffer-reuse-window): Fix case where
17474         selected window was reused with non-nil OTHER-WINDOW argument.
17475         (Bug#9381)
17477 2011-08-27  Deniz Dogan  <deniz@dogan.se>
17479         * net/rcirc.el (rcirc-check-auth-status): Adding support for
17480         oftc's NickServ messages.
17482 2011-08-27  Glenn Morris  <rgm@gnu.org>
17484         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
17486 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
17488         * emacs-lisp/package.el (package-install): Call package-initialize
17489         if called interactively.
17491 2011-08-26  Leo Liu  <sdl.web@gmail.com>
17493         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
17495 2011-08-25  Juri Linkov  <juri@jurta.org>
17497         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17498         `search-whitespace-regexp' (bug#9364).
17500 2011-08-25  Juri Linkov  <juri@jurta.org>
17502         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17503         `regexp-search-ring' to their global values to protect from
17504         updating by `read-from-minibuffer' (bug#9185).
17506 2011-08-25  Juri Linkov  <juri@jurta.org>
17508         * textmodes/ispell.el (ispell-command-loop): Add newline
17509         at the end of the "Use option `i'..." line.
17511 2011-08-25  Juri Linkov  <juri@jurta.org>
17513         * battery.el (display-battery-mode): If `battery-status-function'
17514         or `battery-mode-line-format' is nil, display the message and set
17515         `display-battery-mode' to nil (bug#9363).
17517 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
17519         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17520         bidi-string-mark-left-to-right; they are unnecessary now.
17522 2011-08-25  Deniz Dogan  <deniz@dogan.se>
17524         * net/quickurl.el: Documentation typo fixes.
17526 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
17528         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17530 2011-08-25  Glenn Morris  <rgm@gnu.org>
17532         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17534         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17535         (smtpmail-via-smtp): Handle nil response from smtp.
17537 2011-08-24  Juri Linkov  <juri@jurta.org>
17539         * proced.el (proced-marked): Inherit from `error' instead of
17540         `font-lock-warning-face'.
17542         * ibuffer.el (ibuffer-marked-face): Change default face from
17543         `font-lock-warning-face' to `warning'.
17544         (ibuffer-deletion-face): Change default face from
17545         `font-lock-type-face' to `error'.
17547         * battery.el (battery-update): Use the face `error' instead of
17548         `font-lock-warning-face' (bug#6117).
17550 2011-08-24  Juri Linkov  <juri@jurta.org>
17552         * faces.el (success): Change face color from "Green3" to
17553         "ForestGreen" on light background (bug#9353).
17555 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
17557         * window.el (quit-window): Rename from quit-restore-window.
17558         Use same arglist as old quit-window.
17559         (frame-auto-delete): Doc fix.
17561         * view.el (view-mode-exit): Use quit-window.
17563 2011-08-24  Juri Linkov  <juri@jurta.org>
17565         * isearch.el (isearch-ring-adjust1): Start visiting previous
17566         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17567         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17568         for empty search string (when the last search string is reused
17569         automatically) to adjust the isearch ring to the last element and
17570         prepare the correct index for further M-p commands (bug#9185).
17572 2011-08-24  Kenichi Handa  <handa@m17n.org>
17574         * international/ucs-normalize.el: If decomposition property of
17575         CHAR is the default one (i.e. a list of CHAR itself), treat it as
17576         nil.
17577         (nfd, nfkd): Likewise.
17579 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17581         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17582         from process filters aren't reliably transmitted to the surrounding
17583         accept-process-output.
17584         (mpc-proc-check): New function.
17585         (mpc-proc-sync): Use it (bug#8293)
17587 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17589         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17590         Add compatibility functions (bug#9313).
17592 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
17594         * cus-start.el (all): Add entry for bidi-paragraph-direction.
17596         * international/uni-bidi.el: Regenerate.
17598 2011-08-23  Kenichi Handa  <handa@m17n.org>
17600         * international/charprop.el:
17601         * international/uni-bidi.el:
17602         * international/uni-category.el:
17603         * international/uni-combining.el:
17604         * international/uni-comment.el:
17605         * international/uni-decimal.el:
17606         * international/uni-decomposition.el:
17607         * international/uni-digit.el:
17608         * international/uni-lowercase.el:
17609         * international/uni-mirrored.el:
17610         * international/uni-name.el:
17611         * international/uni-numeric.el:
17612         * international/uni-old-name.el:
17613         * international/uni-titlecase.el:
17614         * international/uni-uppercase.el: Regenerate.
17616 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
17618         * help.el (help-window-setup): Fix message displayed when other
17619         window is reused.  (Bug#9341)
17621 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17623         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17624         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17626         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17627         Mark obsolete.
17628         * shell.el (shell-parse-pcomplete-arguments): New function.
17629         (shell-completion-vars): Use it instead (bug#9160).
17631 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17633         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17634         strings and comments (bug#9333).
17636         * emacs-lisp/debug.el (debug-arglist): New function.
17637         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
17638         (debug-on-entry-1): Handle interpreted closures (bug#9120).
17640 2011-08-22  Juri Linkov  <juri@jurta.org>
17642         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17643         Revert regexp that highlights output switches to its old
17644         pre-2010-10-28 value and remove one `?' from it (bug#9319).
17646         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17647         to check for empty output (bug#9226).
17649 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
17651         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17652         symbol-constituent as the default, as that stops font-lock from
17653         working properly (Bug#8843).
17655 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17657         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17658         `coding-system-for-*' around the process open call to avoid
17659         auth-source side effects.
17660         (smtpmail-try-auth-methods): Expand the secret password.
17661         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17662         probe hangs.
17664 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
17666         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17668         * emacs-lisp/find-func.el (find-function-noselect): New arg
17669         lisp-only.
17671         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17672         signal an error for built-in functions (Bug#6664).
17674 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17676         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17677         (smtpmail-try-auth-methods): Use it.
17679 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
17681         * font-lock.el (font-lock-fontify-region)
17682         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17683         (font-lock-default-unfontify-buffer)
17684         (font-lock-default-fontify-region)
17685         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17687         * progmodes/compile.el (compilation-error-properties):
17688         Fix confusion between file struct and message struct (Bug#9319).
17689         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17690         `ant' regexp.
17692         * net/browse-url.el (browse-url-firefox): Don't call
17693         browse-url-firefox-sentinel unless using -remote (Bug#9328).
17695 2011-08-20  Glenn Morris  <rgm@gnu.org>
17697         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17699         * tutorial.el (tutorial--default-keys): Update some default bindings.
17701         * files.el (hack-local-variables): Fully ignore case for "mode:".
17703 2011-08-20  Alan Mackenzie  <acm@muc.de>
17705         Resolve invalid use of a regexp in regexp-opt.
17707         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17708         detection for a java annotation.
17710         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17711         detection for a java annotation.
17713         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17714         handling for java.
17715         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17717 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
17719         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17720         (Bug#9274).
17722 2011-08-20  Alan Mackenzie  <acm@muc.de>
17724         Fontify CPP expressions correctly when starting in the middle of
17725         such a construct.  Mainly for when jit-lock etc. starts a chunk
17726         here.
17728         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17729         variable.
17730         (c-make-font-lock-search-form): New function, extracted from
17731         c-make-font-lock-search-function.
17732         (c-make-font-lock-search-function): Use the above function.
17733         (c-make-font-lock-context-search-function): New function.
17734         (c-cpp-matchers): Enhance the preprocessor expression case with
17735         the above function
17736         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17737         which takes an expression.
17739         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17741 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
17743         * window.el (display-buffer-reuse-window)
17744         (display-buffer-pop-up-window): Don't reuse or split a side
17745         window.
17747 2011-08-19  Glenn Morris  <rgm@gnu.org>
17749         * files.el (hack-local-variables-prop-line, hack-local-variables):
17750         Downcase "Mode:".  (Bug#9331)
17752 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
17754         * international/characters.el: Add L and R categories.
17756         * subr.el (bidi-string-mark-left-to-right): Rename from
17757         string-mark-left-to-right.  Use category search.
17759         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17761 2011-08-18  Juri Linkov  <juri@jurta.org>
17763         * faces.el (error, warning, success): New faces with definitions
17764         copied from old default values of `font-lock-warning-face',
17765         `compilation-warning', `compilation-info' (bug#6117).
17767         * font-lock.el (font-lock-warning-face): Inherit from `error'.
17769         * progmodes/compile.el (compilation-error): Inherit from `error'.
17770         (compilation-warning): Inherit from `warning'.
17771         (compilation-info): Inherit from `success'.
17773         * dired.el (dired-marked): Inherit from `warning'.
17774         (dired-flagged): Inherit from `error'.
17776 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17778         * mail/smtpmail.el (auth-source): Require to avoid problems with
17779         binding variables (bug#9298).  Also clean up some unused
17780         autoloads.
17782         * net/network-stream.el (network-stream-open-starttls):
17783         Support using starttls.el without using gnutls-cli.
17785 2011-08-17  Juri Linkov  <juri@jurta.org>
17787         * progmodes/grep.el (rgrep): Handle the case when
17788         `grep-find-command' is a cons cell (bug#9278).
17790 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
17792         * window.el (display-buffer-pop-up-frame): Run frame creation
17793         function with BUFFER current (as special-display-popup-frame
17794         does).  Reported by Drew Adams.
17796 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
17798         * epa-mail.el: Simplify GnuPG group expansion using
17799         epg-expand-group.
17800         (epa-mail-group-alist, epa-mail-group-modtime)
17801         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17802         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17803         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17804         Remove.
17806 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
17808         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17810 2011-08-16  Alan Mackenzie  <acm@muc.de>
17812         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17813         Correct, to avoid the inside of macros.
17815 2011-08-16  Richard Stallman  <rms@gnu.org>
17817         * epa-mail.el: Handle GnuPG group definitions.
17818         (epa-mail-group-alist, epa-mail-group-modtime)
17819         (epa-mail-gnupg-conf-file): New variables.
17820         (epa-mail-parse-groups, epa-mail-sync-groups)
17821         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17822         (epa-mail-expand-recipients): New functions.
17823         (epa-mail-encrypt): Call epa-mail-expand-recipients.
17825         * mail/rmail.el (rmail-epa-decrypt): New command.
17827         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17828         Don't bind buffer-read-only, just inhibit-read-only.
17829         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17830         (epa-decrypt-armor-in-region): Make error message clearer.
17832 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17834         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17835         and "a2b" to "ab" for `prefix'.
17837 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
17839         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17840         filter groups.
17841         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
17842         Fourquet (Bug#8804).
17844 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
17846         * startup.el (argi): Declare as global variable (bug#9275).
17848 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
17850         * subr.el (string-mark-left-to-right): Search the entire string
17851         for RTL script, not just the terminating character.  Doc fix.
17853 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17855         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17856         New function.
17857         (js--regexp-literal, js-syntax-propertize-function): Remove.
17858         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17859         (js-mode-map): Don't rebind electric keys.
17860         (js-insert-and-indent): Remove.
17861         (js-mode): Setup electric-layout and electric-indent instead.
17863         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17865 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
17867         * epa.el (epa-progress-callback-function): Fix the logic of
17868         displaying progress.
17869         * epa-file.el (epa-file-insert-file-contents): Make progress
17870         display more user-friendly.
17871         (epa-file-write-region): Ditto.
17873 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
17875         * subr.el (string-mark-left-to-right): New function.
17877         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17878         Use string-mark-left-to-right.
17879         (list-buffers-noselect): Caller changed.
17881         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17882         Use string-mark-left-to-right.
17883         (tabulated-list-print): Recenter after moving point.
17885 2011-08-10  Juri Linkov  <juri@jurta.org>
17887         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17888         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17889         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17891 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
17893         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17894         (Bug#7554).
17896 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17898         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17899         character.  (Bug#6594)
17901 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
17903         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17904         (image-dired--with-db-file): New macro.
17905         (image-dired-write-tags, image-dired-remove-tag)
17906         (image-dired-create-gallery-lists, image-dired-write-comments)
17907         (image-dired-get-comment, image-dired-mark-tagged-files)
17908         (image-dired-list-tags, image-dired-gallery-generate): Use it.
17909         (image-dired-gallery-generate): Use insert-file-contents.
17911         * time.el (display-time-world-list, display-time-world-display):
17912         * time-stamp.el (time-stamp-string):
17913         * vc/add-log.el (add-change-log-entry): Use setenv instead of
17914         set-time-zone-rule (Bug#7337).
17916 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
17918         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17919         (epg-error-to-string, epg-errors-to-string): New function.
17920         (epg-wait-for-completion): Reverse errors list.
17921         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17922         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17923         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17924         (epg-sign-keys, epg-generate-key-from-file)
17925         (epg-generate-key-from-string): Format errors by using
17926         epg-errors-to-string (bug#9255).
17927         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17929 2011-08-07  Juri Linkov  <juri@jurta.org>
17931         * faces.el (list-faces-display): Remove extra angle bracket
17932         from `help-mode-map'.
17934         * info.el (Info-history-toc-nodes): Doc fix.
17936         * longlines.el (longlines-mode): Doc fix.
17938 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17940         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17941         of statements and in a few more cases (bug#9183).
17943         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17944         New functions.
17945         (cl-transform-lambda): Use them (bug#9239).
17947 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
17949         * window.el (display-buffer-same-window)
17950         (display-buffer-same-frame, display-buffer-other-window)
17951         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17952         (pop-to-buffer-other-window)
17953         (pop-to-buffer-same-frame-other-window)
17954         (pop-to-buffer-other-frame): Make them defuns.
17955         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17957 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17959         * subr.el (make-composed-keymap): Move from C.  Change calling
17960         convention, and improve docstring to bring attention to a subtle point.
17961         * minibuffer.el (completing-read-default): Adjust accordingly.
17963 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
17965         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17966         (tramp-open-shell): Use `tramp-shell-quote-argument'.
17968         * net/trampver.el: Update release number.
17970 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17972         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17973         "in" (bug#9190).
17975 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17977         * mail/sendmail.el (sendmail-query-once): Restore the current
17978         buffer after querying (bug#9074).
17980         * dired.el (dired-flagged): Use different faces for marked and
17981         flagged files (bug#6117).
17983         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17984         (bug#4433).
17986         * ido.el (ido-mode): Switch off the message if called
17987         non-interactively.
17989         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17990         before 587, since it appears that that's more likely to work for
17991         more people.
17993         * cus-edit.el (custom-file): When running under emacs -q, always
17994         refuse to save the customizations, even if the .emacs file doesn't
17995         exist.
17997         * info.el: Remove the `Info-beginning-of-buffer' function
17998         (bug#8325).
18000         * net/network-stream.el (network-stream-open-starttls):
18001         Use `starttls-available-p' to see whether starttls.el can be used.
18003 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
18005         * window.el (display-buffer-in-window): Don't set dedicated status
18006         of window here (Bug#9215).
18007         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18008         (display-buffer-pop-up-side-window)
18009         (display-buffer-in-side-window): Set dedicated status of window here.
18011 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18013         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18014         before binding generated-autoload-file.
18016 2011-08-01  Deniz Dogan  <deniz@dogan.se>
18018         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18020 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
18022         Sync with Tramp 2.2.2.
18024         * net/trampver.el: Update release number.
18026 2011-07-30  Juri Linkov  <juri@jurta.org>
18028         * dired-aux.el (dired-touch-initial): Remove function.
18029         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18030         current time, and `default' to the last modification time of the
18031         current marked file (bug#6887).
18033 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
18035         * simple.el (goto-line): Use string-to-number to provide a
18036         numeric argument to read-number (bug#9163).
18038 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
18040         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18041         connection process, it could be nil.
18043 2011-07-27  Leo Liu  <sdl.web@gmail.com>
18045         Simplify url handling in rcirc-mode.
18047         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18048         (rcirc-browse-url-at-mouse): Remove.
18049         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18051 2011-07-26  Alan Mackenzie  <acm@muc.de>
18053         Fontify bitfield declarations properly.
18055         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18056         (c-symbol-chars): Now exported as a lang variable.
18057         (c-not-primitive-type-keywords): New lang variable.
18059         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18060         QT keyword "more" to prevent "more slots: ...." being spuriously
18061         parsed as a bitfield declaration.
18063         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18064         Refactor and enhance to handle bitfield declarations.
18065         (c-punctuation-in): New function.
18066         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18067         declarations properly.
18069 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
18071         * calendar/icalendar.el (icalendar--all-events): Take care of
18072         multiple vcalendars in a single file.
18073         (icalendar--convert-float-to-ical): Checkdoc fixes.
18075 2011-07-25  Deniz Dogan  <deniz@dogan.se>
18077         * image.el (insert-image): Clarifying docstring.
18079 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
18081         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18082         `tramp-send-command-and-check' if there is no error.
18083         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18085 2011-07-22  Alan Mackenzie  <acm@muc.de>
18087         Prevent cc-langs.elc being loaded at run time.
18089         * progmodes/cc-mode.el: Remove two autoload forms which loaded
18090         cc-langs.
18092         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18093         "(require 'cc-langs)".  Quote a form so it will evaluate at
18094         (cc-mode's) compilation time.
18096 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
18098         * net/tramp.el (tramp-file-name-handler): Avoid recursive
18099         loading.  (Bug#9114)
18101 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
18103         * window.el (display-buffer-pop-up-window)
18104         (display-buffer-pop-up-side-window)
18105         (display-buffer-in-side-window): Call display-buffer-set-height
18106         and display-buffer-set-width after setting the new window's
18107         buffer so `fit-window-to-buffer' and friends work on the right buffer.
18109 2011-07-20  Sam Steingold  <sds@gnu.org>
18111         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18112         (etags-tags-included-tables): Call `convert-standard-filename' on
18113         the file names contained in TAGS so that windows Emacs can handle
18114         TAGS files created by cygwin ctags.
18116 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18118         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18119         which apparently didn't work.
18121 2011-07-19  Roland Winkler  <winkler@gnu.org>
18123         * proced.el (proced-send-signal): For *Marked Processes* buffer
18124         put point at beginning of buffer.
18126 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
18128         * proced.el (proced-format): Make header lines align with the text
18129         (bug#1779).
18131 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18133         * view.el (view-buffer): Allow running in `special' modes if we're
18134         visiting a file (bug#8615).
18136 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
18138         * window.el (display-buffer-alist-of-strings-p)
18139         (display-buffer-alist-set-1, display-buffer-alist-set-2):
18140         New functions.
18141         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18142         more accurately.
18144 2011-07-18  Alan Mackenzie  <acm@muc.de>
18146         Fontify declarators properly when, e.g., a jit-lock chunk begins
18147         inside a declaration.
18149         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18151         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18152         New function.
18153         (c-complex-decl-matchers): Insert reference to
18154         c-font-lock-enclosing-decls.
18156         * progmodes/cc-engine.el (c-backward-single-comment):
18157         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18158         to nil around calls to (forward-comment -1).
18160 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18162         * image.el (put-image): Doc typo fix.
18164         * progmodes/etags.el (tags-search): Doc typo fix.
18166         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18167         password if we get errors 550 to 554.
18169 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18171         * net/gnutls.el (gnutls-log-level): Remove.
18173         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18174         indentation character (bug#6380).
18176         * files.el (buffer-offer-save): Made permanently local (bug#6241).
18178         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18179         to clarify what the problem is (bug#4291).
18181         * simple.el (current-kill): Clarify what
18182         `interprogram-paste-function' does (bug#7500).
18183         (auto-fill-mode): Document `auto-fill-function' in relation to
18184         `auto-fill-mode' (bug#2470).
18186 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
18188         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18189         method if slot is read-only (bug#9035).
18191 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
18193         * frame.el (select-frame-set-input-focus): New argument NORECORD.
18194         * window.el (pop-to-buffer): Select window used even if it was
18195         selected before, see discussion of (Bug#8615), (Bug#6954).
18196         Pass argument NORECORD on to select-frame-set-input-focus.
18198 2011-07-15  Glenn Morris  <rgm@gnu.org>
18200         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
18201         Respect help-form.
18203 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
18205         * net/gnutls.el (gnutls-min-prime-bits): New variable.
18206         (gnutls-negotiate): Use it.
18208 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18210         * net/gnutls.el (gnutls-negotiate):
18211         Upcase `gnutls-algorithm-priority'.
18213 2011-07-15  Glenn Morris  <rgm@gnu.org>
18215         * jka-compr.el (jka-compr-verbose): Move from here...
18216         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
18217         Add missing :version tag.
18218         * info.el: No need to require jka-compr when compiling.
18220 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18222         * net/gnutls.el (gnutls-algorithm-priority): New variable.
18223         (gnutls-negotiate): Use it.
18225         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18227         * info.el (Info-beginning-of-buffer): New command.
18228         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18229         announcing `b' as the key (bug#8325).
18230         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18232         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18234         * international/mule-cmds.el
18235         (describe-specified-language-support): Make the error message
18236         clearer (bug#8905).
18238         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18240         * isearch.el (isearch-barrier): Add a doc string, since it's
18241         mentioned in a function doc string (bug#8678).
18243 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
18245         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18246         buffer argument (Bug#9083) and self-identifying label argument.
18248 2011-07-15  Glenn Morris  <rgm@gnu.org>
18250         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
18252 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18254         * man.el (Man-fontify-manpage): Fix message when formatting the
18255         man page (bug#7929).
18257 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18259         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18260         argument LRM; if non-nil, append an invisible LRM character to the
18261         buffer name.
18262         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18263         last argument non-nil, when formatting buffer names.
18264         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18265         paragraph direction.
18267 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18269         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18270         the man page name (bug#7929).
18272         * image.el (put-image): Mention the `put-image' overlay property
18273         (bug#7834).
18275         * scroll-bar.el (set-scroll-bar-mode): Mention that
18276         `scroll-bar-mode' lists the values (bug#7772).
18278         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18279         command (bug#7729).
18281         * rect.el (apply-on-rectangle): Return the point after the last
18282         operation.
18283         (string-rectangle): Go to the point after the last operation
18284         (bug#7522).
18286         * printing.el (pr-toggle-region): Clarify the documentation
18287         slightly (bug#7493).
18289         * time.el (display-time-update):
18290         Allow `display-time-mail-function' to return nil (bug#7158).
18291         Fix suggested by Detlev Zundel.
18293         * vc/diff.el (diff): Clarify the order the file names are read
18294         (bug#7111).
18296         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18297         the doc string (bug#7015).
18299         * font-lock.el (font-lock-maximum-decoration): Mention what
18300         numeric levels mean (bug#6935).
18302         * startup.el (initial-buffer-choice): Don't mention the `none'
18303         selection, which is against policy.
18305 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
18307         * window.el (display-buffer-normalize-special):
18308         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18310 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18312         * subr.el (version<, version<=, version=): Mention "-CVS" and
18313         "-12345" alpha version numbers.
18315 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18317         * bindings.el: Add advertised binding for set-mark-command
18318         (Bug#5772).
18320 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18322         * bindings.el (mode-line-other-buffer):
18323         * bookmark.el (bookmark-bmenu-2-window):
18324         * bs.el (bs-cycle-next, bs-cycle-previous):
18325         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18326         switch-to-buffer.
18328         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18329         Delete.
18331 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
18333         * follow.el (follow-debug-message, follow-redisplay):
18334         * jka-cmpr-hook.el (with-auto-compression-mode):
18335         Fix typos in docstrings.
18337 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18339         * subr.el (with-silent-modifications): Clarify somewhat what the
18340         macro inhibits (bug#6525).
18342         * simple.el (eval-expression): Note what it does if called
18343         interactively (bug#6495).
18345 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18347         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18348         Use pop-to-buffer buffer-or-name if it is nil.
18350         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18351         Remove switch-to-buffer.
18353 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18355         * files.el (make-directory): Clarify that an error will be raised
18356         if there's an error (bug#6397).
18358         * startup.el (initial-buffer-choice): Add `none' as a choice
18359         (bug#6234).
18361         * subr.el (add-hook): Clarify section about buffer-local hooks
18362         (bug#6218).
18364         * dired.el (dired-flagged): Clarify doc string (bug#6117).
18366 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18368         * tabify.el (untabify): Preserve the current column so that point
18369         doesn't move (bug#6032).
18371 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18373         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18374         Rewrite to avoid awkward possessive "s" (bug#5986).
18376 2011-07-13  Glenn Morris  <rgm@gnu.org>
18378         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
18379         (dired-insert-directory): Give a message the first time
18380         if ls is found not to support --dired.
18382 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18384         * simple.el (toggle-truncate-lines): Clarify what is toggled
18385         (bug#5580).  Text by Drew Adams.
18387 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18389         * simple.el (blink-matching-open): Make the error message from the
18390         last change less verbose.
18392 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
18394         * font-lock.el (font-lock-comment-face): Use the high contrast
18395         "yellow" color for font-lock-comment-face on low color terminals
18396         using a dark background color (bug#4221).
18398 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18400         * dired.el (dired-insert-set-properties): Make the doc string
18401         reflect what it does now (bug#5325).
18403         * simple.el (blink-matching-open): Say that we were unable to find
18404         the match within the limit, if we're limited (bug#5122).
18406         * international/mule-cmds.el (prefer-coding-system): Add an
18407         example (bug#4869).
18409         * progmodes/etags.el (tags-search): Document `file-list-form'
18410         (bug#4731).
18412 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
18414         * net/browse-url.el (browse-url-default-browser)
18415         (browse-url-browser-function): Make the default browser choice a
18416         bit more logical (bug#4300).  Also clean up the doc string.
18418 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18420         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18421         binary endings (bug#4440).
18423 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18425         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18426         which can be pretty annoying (bug#8971).
18428         * jka-compr.el (jka-compr-verbose): New variable, and use
18429         throughout (bug#8971).
18431         * info.el (Info-find-file): Fall back on the installation
18432         directory if we can't find the info node anywhere else.
18434 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
18436         * vc/vc.el (vc-revert-file):
18437         Don't set file time-stamp in the past.  (Bug#5181)
18439 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18441         * files.el (after-find-file): Give a better error message when
18442         trying to find a symlink that points to a file that doesn't exist
18443         (bug#4398).
18445         * progmodes/cc-vars.el: Remove (probably) misleading comment
18446         (bug#4396).
18448 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
18450         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18452 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18454         * mouse-sel.el: Hack restoring functionality, while keeping
18455         compatibility with 2010-07-03 changes to mouse selection.
18456         (mouse-sel-primary-overlay): New var.
18457         (mouse-sel-selection-alist): Use it.
18458         (mouse-sel-mode): Doc fix; remove points that are default features
18459         of mouse.el.
18461 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
18463         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18464         Fix previous fix (bug#2490).
18466 2011-07-12  Roland Winkler  <winkler@gnu.org>
18468         * textmodes/bibtex.el (bibtex-initialize):
18469         Use pop-to-buffer-same-window.
18470         (bibtex-search-entries): Fix interactive call.
18472 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18474         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18475         Fontise bytecomp Error lines more correctly (bug#2490).
18476         Fix suggested by Johan Bockgård.
18478         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18480         * dired-x.el (dired-guess-default): Use `delete-dups'.
18482 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18484         * dired.el (dired-mark-prompt):
18485         * dired-aux.el (dired-read-shell-command): Doc fix.
18487 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18489         * mail/sendmail.el (sendmail-query-once):
18490         Use `customize-save-variable' unconditionally, now that it works under
18491         emacs -Q.
18493         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18495         * cus-edit.el (custom-file): Take an optional no-error variable.
18496         (customize-save-variable): Set the variable, and give a warning if
18497         running under "emacs -q".
18499 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
18501         * loadhist.el (unload-feature-special-hooks):
18502         Add `auto-coding-functions', `fill-nobreak-predicate' and
18503         `find-directory-functions' (bug#5327).
18505 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18507         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18509         * cus-edit.el (custom-guess-name-alist): -alist variables should
18510         use the `alist' type (bug#3120).  Suggested by Drew Adams.
18512         * printing.el: Add documentation to all the `pr-toggle-' commands.
18514 2011-07-11  Leo Liu  <sdl.web@gmail.com>
18516         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18517         backends where it makes sense (bug#2623).
18519 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18521         * dired-x.el (dired-guess-default): Remove duplicate shell command
18522         entries (bug#2028).
18523         (dired-guess-default): Fix grammar in doc string (bug#2028).
18524         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18526         * subr.el (remove-duplicates): New conveniency function.
18528 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18530         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18531         (bug#1526).
18533 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
18535         * window.el (display-buffer-normalize-default): Don't invert
18536         meaning of even-window-heights.  Reported by Eli Zaretskii
18537         <eliz@gnu.org>.
18539 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
18541         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18543 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
18545         * window.el (display-buffer): Fix arguments to
18546         display-buffer-reuse-window in last change.
18548         * faces.el (link): Use a less saturated blue on light backgrounds.
18550         * startup.el (fancy-startup-text, fancy-about-text)
18551         (fancy-startup-tail): Use font-lock faces, for background safety.
18553 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
18555         * emulation/viper-cmd.el (viper-change-state-to-vi):
18556         Limit triggering of abbrev expansion (Bug#9038).
18558 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
18560         * window.el (display-buffer-default-specifiers): Remove.
18561         (display-buffer-macro-specifiers): Remove default specifiers.
18562         (display-buffer-alist): Default to nil.
18563         (display-buffer-reuse-window): New optional argument other-window.
18564         (display-buffer-pop-up-window): Allow splitting internal
18565         windows.  Check whether a live window was created.
18566         (display-buffer-other-window-means-other-frame)
18567         (display-buffer-normalize-arguments): Rename to
18568         display-buffer-normalize-argument and rewrite.  Set the
18569         other-window specifier.
18570         (display-buffer-normalize-special): New function.
18571         (display-buffer-normalize-options): Rename to
18572         display-buffer-normalize-default and rewrite.
18573         (display-buffer-normalize-options-inhibit): Remove.
18574         (display-buffer-normalize-specifiers): Rewrite.
18575         (display-buffer): Process other-window specifier and call
18576         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
18577         more faithfully.
18578         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18579         (display-buffer-alist-set): Don't handle 'unset default values.
18580         (display-buffer-in-window, display-buffer-alist-set):
18581         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
18582         <tassilo@member.fsf.org>.
18584 2011-07-09  Leo Liu  <sdl.web@gmail.com>
18586         * register.el (insert-register): Restore accidental change on
18587         2011-06-26.  (Bug#9028)
18589 2011-07-09  Glenn Morris  <rgm@gnu.org>
18591         * subr.el (remq): Handle the empty list.  (Bug#9024)
18593 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
18595         * mail/sendmail.el (send-mail-function): No longer delay custom
18596         initialization.
18597         * custom.el (custom-initialize-delay): Doc fix.
18599 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18601         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18603 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
18605         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18606         human-friendly prompt.
18608 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18610         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18611         provided by a particular plugin.
18613 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18615         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18616         save customizations (with "emacs -Q"), just set the variable
18617         instead of erroring out.
18619         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18621 2011-07-08  Juri Linkov  <juri@jurta.org>
18623         * arc-mode.el (archive-zip-expunge, archive-zip-update)
18624         (archive-zip-update-case): Use 7z if found by `executable-find'.
18625         The order of searching the available programs is the same as in
18626         `archive-zip-extract' (bug#8968).
18628 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18630         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18631         (menu-bar-options-menu): Tweak descriptions.
18633 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18635         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18636         menu items into verb phrases (bug#1421).  Also refill to fit under
18637         80 columns.
18639 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18641         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18642         (Info-read-node-name): Doc fix (Bug#1084).
18644         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18645         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18646         (end-of-sexp, beginning-of-sexp)
18647         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18648         (forward-symbol, forward-same-syntax, word-at-point)
18649         (sentence-at-point): Doc fix (Bug#1144).
18651 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18653         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18654         should cover it (bug#1281).
18656         * cus-edit.el (custom-show): Mark as obsolete.
18658         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18659         negotiation fails, then possibly try again with a non-encrypted
18660         connection (bug#9017).
18662         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18663         be used.
18665 2011-07-07  Richard Stallman  <rms@gnu.org>
18667         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18668         property, and handle its changed format.
18669         Look for the correct line number.
18670         Use file's line contents (but not past first =) to find
18671         correct line in message.
18673 2011-07-07  Kenichi Handa  <handa@m17n.org>
18675         * international/characters.el (build-unicode-category-table):
18676         Delete it.
18677         (unicode-category-table): Set it by unicode-property-table-internal.
18679         * international/mule-cmds.el (char-code-property-alist): Move to
18680         to src/chartab.c.
18681         (get-char-code-property): Call unicode-property-table-internal to
18682         load a file.  Call get-unicode-property-internal where necessary.
18683         (put-char-code-property): Call unicode-property-table-internal to
18684         load a file.  Call put-unicode-property-internal where necessary.
18685         put-unicode-property-internal where necessary.
18686         (char-code-property-description):
18687         Call unicode-property-table-internal to load a file.
18689         * international/charprop.el:
18690         * international/uni-bidi.el:
18691         * international/uni-category.el:
18692         * international/uni-combining.el:
18693         * international/uni-comment.el:
18694         * international/uni-decimal.el:
18695         * international/uni-decomposition.el:
18696         * international/uni-digit.el:
18697         * international/uni-lowercase.el:
18698         * international/uni-mirrored.el:
18699         * international/uni-name.el:
18700         * international/uni-numeric.el:
18701         * international/uni-old-name.el:
18702         * international/uni-titlecase.el:
18703         * international/uni-uppercase.el: Regenerate.
18705         * loadup.el: Load international/charprop.el before
18706         international/characters.
18708 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18710         * window.el (next-buffer, previous-buffer): Signal an error if
18711         called from a minibuffer window.
18713         * bindings.el: Revert 2011-07-04 change.
18715 2011-07-06  Richard Stallman  <rms@gnu.org>
18717         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18718         (rmail-mime-insert-bulk, rmail-mime-insert-text):
18719         Treat markers like ints.
18720         (rmail-mime-entity): Doc fix.
18722 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18724         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18725         defcustom again for backwards compatibility.
18727         * simple.el (shell-command-on-region): Fill.
18729         * dired-aux.el (dired-kill-line): Add a doc string.
18731         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18732         to "\\sw\\|\\s_" (bug#358).
18734         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18735         (dired-unmark-backward): Ditto.
18736         (dired-flag-backup-files): Ditto.
18738         * dired-x.el (dired-mark-sexp): Ditto.
18740 2011-07-06  Richard Stallman  <rms@gnu.org>
18742         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18743         (rmail-mime-entity): New arg TRUNCATED.
18744         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18745         New functions.
18746         (rmail-mime-save): Warn if entity is truncated.
18747         (rmail-mime-toggle-hidden): Likewise, for showing.
18748         (rmail-mime-process-multipart): Record when an entity is truncated.
18750         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18751         if ENTITY is a string.
18753 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18755         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18756         of faces when `M-C-x'-ing their definitions (bug#8378).
18757         Also clean up the code slightly.
18759         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18760         because that makes the colors go away.
18762         * mail/sendmail.el (send-mail-function): Change the default to
18763         `sendmail-query-once'.
18764         (sendmail-query-once): Add an autoload cookie.
18766         * net/network-stream.el (network-stream-open-starttls): Try using
18767         a plain connection even if the server offered STARTTLS, and we
18768         kinda wanted to use it, if Emacs doesn't have any STARTTLS
18769         capability.  This should make smtpmail.el work in slightly more
18770         configurations.
18772 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
18774         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18775         New defun.
18776         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18778 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
18780         * progmodes/sql.el: Version 3.0
18781         (sql-product-alist): Add product :completion-object,
18782         :completion-column, and :statement attributes.
18783         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18784         (sql-mode-syntax-table): Mark all punctuation.
18785         (sql-font-lock-keywords-builder): Temporarily remove fallback on
18786         ansi keywords.
18787         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18788         (sql-mode-oracle-font-lock-keywords): Improve.
18789         (sql-oracle-show-reserved-words): New function for development.
18790         (sql-product-font-lock): Simplify for source code buffers.
18791         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18792         New functions.
18793         (sql-highlight-product): Set product specific syntax table.
18794         (sql-mode-map): Add statement movement functions.
18795         (sql-ansi-statement-starters, sql-oracle-statement-starters):
18796         New variable.
18797         (sql-statement-regexp, sql-beginning-of-statement)
18798         (sql-end-of-statement, sql-signum): New functions.
18799         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18800         (sql-show-sqli-buffer): Bug fix.
18801         (sql-interactive-mode): Store connection data as buffer local.
18802         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
18803         with sql-interactive-mode.
18804         (sql-save-connection): Save buffer local settings.
18805         (sql-connection-menu-filter): Change menu entry name.
18806         (sql-product-interactive): Bug fix.
18807         (sql-preoutput-hold): New variable.
18808         (sql-interactive-remove-continuation-prompt): Bug fixes.
18809         (sql-debug-redirect): New variable.
18810         (sql-str-literal): New function.
18811         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18812         Redesign.
18813         (sql-oracle-save-settings, sql-oracle-restore-settings)
18814         (sql-oracle-list-all, sql-oracle-list-table): New functions.
18815         (sql-completion-object, sql-completion-column)
18816         (sql-completion-sqlbuf): New variables.
18817         (sql-build-completions-1, sql-build-completions)
18818         (sql-try-completion): New functions.
18819         (sql-read-table-name): Use them.
18820         (sql-contains-names): New buffer local variable.
18821         (sql-list-all, sql-list-table): Use it.
18822         (sql-oracle-completion-types): New variable.
18823         (sql-oracle-completion-object, sql-sqlite-completion-object)
18824         (sql-postgres-completion-object): New functions.
18826 2011-07-06  Glenn Morris  <rgm@gnu.org>
18828         * window.el (pop-to-buffer): Doc fix.
18830 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
18832         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18834 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
18836         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18838         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18840 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
18842         * button.el (button): Inherit from link face.  Suggested by Dan
18843         Nicolaescu.
18845 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18847         * progmodes/gdb-mi.el: Fit in 80 columns.
18848         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18849         switch-to-buffer.
18851         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18852         if imenu is simply not configured (bug#8941).
18854 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
18856         * allout.el (allout-post-undo-hook): New allout outline-change
18857         event hook to signal undo activity.
18858         (allout-post-command-business): Run allout-post-undo-hook if an
18859         undo just occurred.
18860         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18861         * allout-widgets.el (allout-widgets-after-undo-function):
18862         Ensure the integrity of the current item's decoration after it has been
18863         in the vicinity of an undo.
18864         (allout-widgets-mode): Include allout-widgets-after-undo-function
18865         on the new allout-post-undo-hook.
18867 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18869         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18870         Let define-derived-mode define it.
18871         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18872         cycles of abbrev-table inheritance (bug#8998).
18874 2011-07-05  Roland Winkler  <winkler@gnu.org>
18876         * textmodes/bibtex.el: Add support for biblatex.
18877         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18878         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18879         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18880         (bibtex-entry-alist, bibtex-field-alist): New variables.
18881         (bibtex-entry-field-alist): Obsolete alias for
18882         bibtex-BibTeX-entry-alist.
18883         (bibtex-entry-alist, bibtex-field-alist): New widgets.
18884         (bibtex-set-dialect): New command.
18885         (bibtex-entry-type, bibtex-entry-head)
18886         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18887         Bind via bibtex-set-dialect.
18888         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18889         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18890         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18891         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18892         Define via bibtex-set-dialect.
18893         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18894         Obey bibtex-no-opt-remove-re.
18895         (bibtex-vec-push, bibtex-vec-incr): New functions.
18896         (bibtex-format-entry, bibtex-field-list)
18897         (bibtex-print-help-message, bibtex-validate)
18898         (bibtex-search-entries): Use new format of bibtex-entry-alist.
18900 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18902         * progmodes/compile.el (compilation-goto-locus):
18903         * net/tramp-cmds.el (tramp-append-tramp-buffers):
18904         * bs.el (bs-cycle-next, bs-cycle-previous):
18905         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18906         * bindings.el (mode-line-other-buffer):
18907         * autoinsert.el (auto-insert):
18908         * arc-mode.el (archive-extract):
18909         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18911 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18913         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18914         Fix check of `emacs-lock-unlockable-modes'.
18915         Coerce true values of `emacs-lock--try-unlocking' to t.
18917 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18919         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18920         * emacs-lock.el: New file.
18922 2011-07-05  Julien Danjou  <julien@danjou.info>
18924         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18925         than `boundp' to check if face is set.
18927 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18929         * register.el (registerv-make):
18930         * window.el (window-min-height): Fix typos in docstrings.
18932 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
18934         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18935         Update doc string.
18937 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
18939         * server.el (server-execute): Catch quit and call
18940         `server-return-error' to pass the error back to emacsclient and
18941         close the connection (bug#8942).
18943 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
18945         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18946         insecure exception for current topic.  Also note that auto-saves
18947         are handled differently.
18949         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18950         State variables for tracking auto-save inhibition situation.
18952         (allout-write-contents-hook-handler): Rename from
18953         'allout-write-file-hook-handler', and describe how it depends on
18954         write-contents-functions sensitivity to non-nil value to prevent
18955         file write.
18957         (allout-auto-save-hook-handler): Remove.  auto-save does not check
18958         this in individual buffers, only in the starting buffer, so this
18959         is not the right way for us to inhibit auto-save in a buffer
18960         according to its condition.
18962         (allout-mode): Use new allout-write-contents-hook-handler, and
18963         only with write-contents-functions.  Remove auto-save provisions -
18964         they're implemented elsewhere.
18966         (allout-before-change-handler): If undo is in progress, note that
18967         for attention of allout-post-command-business.
18969         (allout-post-command-business): If the command we're following was
18970         an undo, check for change in the status of encrypted items and
18971         adjust auto-save inhibitions accordingly.
18973         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18974         according to whether there are or aren't any plain-text topics
18975         pending encryption.
18977         (allout-inhibit-auto-save-info-for-decryption):
18978         Adjust buffer-saved-size and some allout state to inhibit auto-saves
18979         if there are plain-text topics pending encryption.
18981         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18982         buffer-saved-size and some allout state to not inhibit auto-saves
18983         if there are no longer any plain-text topics pending encryption.
18985         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18986         No longer provide for exemption of the current topic.
18988 2011-07-04  Juri Linkov  <juri@jurta.org>
18990         Add 7z operations to delete and save changed members (bug#8968).
18991         * arc-mode.el (archive-7z-expunge, archive-7z-update):
18992         New defcustoms.
18993         (archive-7z-write-file-member): New function.
18994         (archive-7z-summarize): Fix the number of dashes in the
18995         listing output.
18997 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18999         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19000         (bug#8958).
19002 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
19004         * bindings.el: Ignore next-buffer and previous-buffer in
19005         minibuffer-local-map.
19007         * font-lock.el (font-lock-builtin-face): Change light background
19008         color to dark slate blue (Bug#6693).
19010 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
19012         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19014 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19016         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19017         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19018         Add switch-to-buffer.
19020 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19022         * isearch.el (isearch-search-fun-function): Clarify further the
19023         meaning of the function returned.
19025 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
19027         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19029         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19030         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19031         Use it.
19032         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
19033         `tramp-default-remote-path' does not exist.
19034         (tramp-send-command-and-read): New optional argument NOERROR.
19035         (tramp-open-connection-setup-interactive-shell)
19036         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19037         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19038         (tramp-process-sentinel): Flush also process' connection property.
19039         (tramp-sh-handle-start-file-process): Do not set process
19040         sentinel.  It is done now ...
19041         (tramp-maybe-open-connection): ... here.  (Bug#8929)
19043 2011-07-04  MON KEY  <monkey@sandpframing.com>
19045         * play/animate.el (animate-string): Doc fixes and allow changing
19046         the buffer name (bug#5417).
19048 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19050         * play/animate.el (animation-buffer-name): Rename from *animate*.
19052 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
19054         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19055         This is simpler and helps future-proof the code.
19056         (timer-until): Use time-subtract and float-time.
19057         (timer--time-less-p): Use time-less-p.
19059 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
19061         * type-break.el (timep): Use the value of `float-time' to avoid a
19062         byte-compiler warning.
19064         * server.el (server-eval-and-print): Return any result, even nil.
19066 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
19068         * type-break.el: Accept time formats that the builtins accept.
19069         (timep, type-break-time-difference): Accept any format that
19070         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19071         This is simpler and helps future-proof the code.
19072         (type-break-time-difference): Round rather than ignoring
19073         subseconds components.
19075 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19077         * info.el (Info-apropos-matches): Make non-interactive, since it
19078         doesn't seem to do anything useful as a command (bug#8829).
19080 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
19082         * frame.el (frame-background-mode, frame-set-background-mode):
19083         Move from faces.el.
19084         (frame-default-terminal-background): New function.
19086         * custom.el (custom-push-theme): Don't record faces in `changed'
19087         theme; this doesn't work correctly for per-frame face settings.
19088         (disable-theme): Use face-set-after-frame-default to reset faces.
19089         (custom--frame-color-default): New function.
19091 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19093         * dired.el (dired-flagging-regexp): Remove unused variable
19094         (bug#8769).
19096 2011-03-29  Kevin Ryde  <user42@zip.com.au>
19098         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19099         `perl-Test2' extend to match possible "fail #N" rep count
19100         (bug#8377).
19102 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19104         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19105         `smtpmail-via-smtp' now returns the error instead of nil.
19107         * isearch.el (isearch-search-fun-function): Clarify the doc string
19108         (bug#8101).
19110 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
19112         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19113         unnecessary spaces (bug#8987).
19115 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19117         * net/network-stream.el (open-network-stream): Use the
19118         :end-of-capability command thoughout.
19120 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
19122         * net/network-stream.el (open-network-stream): Add the
19123         :end-of-capability command parameter, used by pop3.el.
19125 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19127         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19129         * fringe.el (fringe-query-style): Remove redundant text " (type ?
19130         for list)" (bug#6475).
19132         * files.el (file-expand-wildcards): Ignore non-readable
19133         sub-directories while trying to find matches instead of signaling
19134         an error (bug#6297).
19136         * man.el (Man-reference-regexp): Allow matching possible
19137         word-wrapped references (bug#6289).
19139         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19140         for consistency with the other vc buffers (bug#6197).
19141         (vc-checkin): Ditto.
19143         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19145         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19147 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19149         * custom.el (defcustom): Clarify that :set is only used in the
19150         Customize user interface (bug#6089).
19152         * progmodes/flymake.el (flymake-mode): If the buffer isn't
19153         associated with a file, refuse to run instead of erroring out
19154         (bug#6084).
19156         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19157         the doc string, since it appears that using `fill-column' always
19158         controls the width (bug#7845).
19160         * simple.el (shell-command-on-region): Say where the error output
19161         went if `shell-command-default-error-buffer' is set (bug#6857).
19163 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
19165         * allout.el (allout-yank-processing): Adjust cursor position for
19166         backwards-deleted space.
19168         (allout-rebullet-heading): Register changes with
19169         allout-exposure-changed-hook, so the modified topic is properly
19170         decorated.
19172 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19174         * minibuffer.el (completion-in-region): Document PREDICATE
19175         (bug#7136).
19177         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19178         of keyword/argument pairs (bug#6904).
19180         * replace.el (multi-occur):
19181         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19183 2011-07-02  Drew Adams  <drew.adams@oracle.com>
19185         * dired.el (dired-mark-if): Make the message about whether it's
19186         marking or unmarking clearer (bug#8523).
19188 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19190         * disp-table.el (display-table-print-array): New function.
19191         (describe-display-table): Use it to print the vectors more pretty
19192         (Bug#8859).
19194 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
19196         * window.el (window-state-get-1): Don't assign clone numbers.
19197         Add clone-of item to list of window parameters.
19198         (window-state-put-2): Don't process clone numbers.
19199         (display-buffer-alist): Fix doc-string.
19201 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19203         * subr.el (remq): Don't allocate if it's not needed.
19204         (keymap--menu-item-binding, keymap--menu-item-with-binding)
19205         (keymap--merge-bindings): New functions.
19206         (keymap-canonicalize): Use them to refine the canonicalization.
19207         * minibuffer.el (minibuffer-local-completion-map)
19208         (minibuffer-local-must-match-map): Move initialization from C.
19209         (minibuffer-local-filename-completion-map): Move initialization from C;
19210         don't inherit from anything here.
19211         (minibuffer-local-filename-must-match-map): Make obsolete.
19212         (completing-read-default): Use make-composed-keymap to combine
19213         minibuffer-local-filename-completion-map with either
19214         minibuffer-local-must-match-map or
19215         minibuffer-local-filename-completion-map.
19217 2011-07-01  Glenn Morris  <rgm@gnu.org>
19219         * type-break.el (type-break-time-sum): Use dolist.
19221         * textmodes/flyspell.el (flyspell-word-search-backward):
19222         Replace CL function.
19224 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19226         * mouse.el (mouse--strip-first-event): New function.
19227         (function-key-map): Use it to map fringe clicks to normal clicks
19228         by default.
19230         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19231         (vc-bzr-revision-completion-table): Add support for annotate and date.
19233         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19234         inherit from parent.
19236 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19238         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19239         (dired-show-file-type): Doc fixup (bug#8818).
19241         * dired.el (dired-mode): Fix up the doc string as suggested by
19242         Drew Adams (bug#8817).
19244         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19245         cookie, since the manual says that it should be possible to add
19246         this function to `find-file-hook' (bug#8709).
19248 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19250         * progmodes/cfengine.el: Moved all cfengine3.el functionality
19251         here.  Noted Ted Zlatanov as the maintainer.
19252         (cfengine-common-settings, cfengine-common-syntax): New functions
19253         to set up common things between `cfengine-mode' and
19254         `cfengine3-mode'.
19255         (cfengine3-mode): New mode.
19256         (cfengine3-defuns cfengine3-defuns-regex
19257         (cfengine3-class-selector-regex cfengine3-category-regex)
19258         (cfengine3-vartypes cfengine3-font-lock-keywords)
19259         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19260         (cfengine3-indent-line): Add from cfengine3.el.
19262 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
19264         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19266         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19268 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
19270         * window.el (same-window-buffer-names, same-window-regexps)
19271         (same-window-p, special-display-frame-alist)
19272         (special-display-popup-frame, special-display-function)
19273         (special-display-buffer-names, special-display-regexps)
19274         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19275         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19276         (split-window-preferred-function, split-height-threshold)
19277         (split-width-threshold, even-window-heights)
19278         (display-buffer-mark-dedicated, window-splittable-p)
19279         (split-window-sensibly, window-safely-shrinkable-p):
19280         Un-obsolete.
19281         (display-buffer): Don't spread args with function specifier
19282         because special-display-popup-frame won't like it.
19284 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
19286         Time-stamp simplifications and fixes.
19287         These improve accuracy slightly, and future-proof the code
19288         against some potential changes to current-time format.
19290         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19291         by using time-since and float-time.
19293         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19294         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
19295         + NNN microseconds".
19297         * type-break.el (type-break-time-sum): Rewrite using time-add.
19299         * play/hanoi.el (hanoi-current-time-float): Remove.
19300         All uses replaced by float-time.
19302         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19303         This yields a more-accurate answer.
19304         (rng-time-to-float): Remove; no longer needed.
19306         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19308         * calendar/timeclock.el (timeclock-seconds-to-time):
19309         Defalias to seconds-to-time, since they're the same thing.
19311         * emacs-lisp/elp.el (elp-elapsed-time):
19312         * emacs-lisp/benchmark.el (benchmark-elapse):
19313         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19315 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19317         * window.el (bury-buffer): Don't iconify the only frame.
19318         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19319         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
19321 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
19323         * eshell/em-smart.el (eshell-smart-display-navigate-list):
19324         Add mouse-yank-primary.
19326 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19328         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19330 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19332         * emacs-lisp/find-func.el (find-library--load-name): New fun.
19333         (find-library-name): Use it to find relative load names when provided
19334         absolute file name (bug#8803).
19336 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19338         * textmodes/flyspell.el (flyspell-word): Consider words that
19339         differ only in case as potential doublons (bug#5687).
19341         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19342         Remove two rather uninteresting debugging-like messages to make
19343         debbugs.el more silent.
19345         * comint.el (comint-password-prompt-regexp): Accept "Response" as
19346         a password-like phrase.
19348 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
19350         * progmodes/cc-guess.el: New file.
19352         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19354         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19355         derived from `c-basic-common-init'.
19357         * progmodes/cc-mode.el (top-level): Require cc-guess.
19358         (c-basic-common-init): Use `cc-choose-style-for-mode'.
19360 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
19362         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19364 2011-06-30  Alan Mackenzie  <acm@muc.de>
19366         * progmodes/cc-engine.el (c-guess-continued-construct):
19367         Correct the handling of template-args-cont, particularly for when font
19368         lock is disabled.  Name this case as "CASE G".
19370 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
19372         * allout.el (allout-yank-processing): Fix injection of extra space
19373         between bullet and non-whitespace character in first topic when
19374         pasting, ensuring that the actual spacing in the pasted topic
19375         following the bullet char is preserved.  This extra space was
19376         causing pasted encrypted topics to get a decrypted status even
19377         when the content was actually still encrypted.  Now the decryption
19378         status from before the paste is preserved.
19380         (allout-flag-region): Set all allout overlays so they evaporate
19381         when reduced to zero length (evanescent), to prevent overlay
19382         leakage.
19384 2011-06-30  Glenn Morris  <rgm@gnu.org>
19386         * w32-fns.el (w32-charset-info-alist): Declare.
19388         * find-dired.el (find-grep-options): Simplify.
19390         * term/ns-win.el (ns-set-resource): Declare.
19392         * ses.el (row, col): Declare dynamic variables honestly.
19394         * textmodes/reftex-parse.el (index-tags): Declare.
19396 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
19398         * cus-edit.el (customize-push-and-save): New function.
19400         * files.el (hack-local-variables-confirm): Use it.
19402         * custom.el (load-theme): New arg NO-CONFIRM.
19403         Use customize-push-and-save (Bug#8720).
19404         (custom-enabled-themes): Doc fix.
19406         * cus-theme.el (customize-create-theme)
19407         (custom-theme-merge-theme): Callers to load-theme changed.
19409 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19411         * thingatpt.el (thing-at-point-short-url-regexp): Require that
19412         short URLs have at least one dot in them (bug #7614).
19414         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19415         nil, because using a pty is apparently too slow (bug #895).
19417 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19419         * mail/sendmail.el (sendmail-query-once): New function.
19420         (sendmail-query-once-function): New variable.
19422 2011-06-29  Glenn Morris  <rgm@gnu.org>
19424         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19426         * ses.el (top-level): Require cl when compiling.
19427         (ses-set-localvars): Fix error statement.
19428         Call it at compile time to silence a storm of warnings.
19430 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
19432         * window.el (normalize-live-buffer): Rename to
19433         window-normalize-buffer.
19434         (normalize-live-frame): Rename to window-normalize-frame.
19435         (normalize-any-window): Rename to window-normalize-any-window.
19436         (normalize-live-window): Rename to window-normalize-live-window.
19437         (make-window-atom): Rename to window-make-atom.
19438         (window-resize-reset): Rename to window--resize-reset.
19439         (window-resize-reset-1): Rename to window--resize-reset-1.
19440         (resize-mini-window): Rename to window--resize-mini-window.
19441         (resize-subwindows-skip-p): Rename to
19442         window--resize-subwindows-skip-p.
19443         (resize-subwindows-normal): Rename to
19444         window--resize-subwindows-normal.
19445         (resize-subwindows): Rename to window--resize-subwindows.
19446         (resize-other-windows): Rename to window--resize-siblings.
19447         (resize-this-window): Rename to window--resize-this-window.
19448         (resize-root-window): Rename to window--resize-root-window.
19449         (resize-root-window-vertically): Rename to
19450         window--resize-root-window-vertically.
19451         (normalize-buffer-to-display): Rename to
19452         window-normalize-buffer-to-display.
19453         (normalize-buffer-to-switch-to): Rename to
19454         window-normalize-buffer-to-switch-to.
19455         Correspondingly update all callers of the functions listed
19456         above.
19457         (display-buffer-alist, display-buffer-normalize-arguments)
19458         (display-buffer-normalize-options, display-buffer)
19459         (display-buffer-alist-set): Use "function" instead of
19460         "fun-with-args".
19462 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
19464         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19465         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
19466         debbugs.gnu.org.  Mention acknowledgment email.
19468 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19470         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19471         buffer multibyteness, since it shouldn't matter.
19473 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
19475         * window.el (display-buffer-in-side-window): Handle dedicated
19476         windows as in display-buffer-reuse-window.
19477         (display-buffer-normalize-alist): Use value of override
19478         specifier.
19479         (display-buffer-normalize-specifiers): Use value of
19480         other-window-means-other-frame specifier.
19481         (display-buffer-alist): Rewrite some texts in widgets.
19482         (display-buffer): Spread arguments when calling function
19483         specified by fun-with-args.
19485 2011-06-28  Deniz Dogan  <deniz@dogan.se>
19487         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19488         Unnest `let'.
19490         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19491         selectors (Bug#5732).
19492         (css-proprietary-nmstart-re): Use `regexp-opt'.
19494 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
19496         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19497         (eshell-ls-date-format): New defcustom.
19498         (eshell-ls-file): Use it.
19500 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19502         * help-fns.el (describe-variable): Fix message for terminal-local vars.
19504 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
19506         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19507         (ange-ftp-make-tmp-name): New arg.
19508         (ange-ftp-file-local-copy): Use it.
19510 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
19512         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19513         no-conversion (Bug#8870).
19515 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
19517         * window.el (window-right, window-left, window-child)
19518         (window-child-count, window-last-child)
19519         (window-iso-combination-p, walk-window-tree-1)
19520         (window-atom-check-1, window-tree-1, delete-window)
19521         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19522         new naming conventions - window-vchild, window-hchild,
19523         window-next and window-prev are now called window-top-child,
19524         window-left-child, window-next-sibling and window-prev-sibling
19525         respectively.
19526         (resize-window-reset): Rename to window-resize-reset.
19527         (resize-window-reset-1): Rename to window-resize-reset-1.
19528         (resize-window): Rename to window-resize.
19529         (window-min-height, window-min-width)
19530         (resize-mini-window, resize-this-window, resize-root-window)
19531         (resize-root-window-vertically, adjust-window-trailing-edge)
19532         (enlarge-window, shrink-window, maximize-window)
19533         (minimize-window, delete-window, quit-restore-window)
19534         (split-window, balance-windows, balance-windows-area-adjust)
19535         (balance-windows-area, window-state-put-2)
19536         (display-buffer-even-window-sizes, display-buffer-set-height)
19537         (display-buffer-set-width, set-window-text-height)
19538         (fit-window-to-buffer): Rename all "resize-window" prefixed
19539         calls to use the "window-resize" prefix convention.
19540         (display-buffer-alist): Fix symbol for label specifier.
19541         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19542         corresponding specifier.
19543         Reported by Juanma Barranquero <lekktu@gmail.com>.
19545 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19547         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19548         convention.
19549         (ses-call-printer): Does not pass an empty string to formatter when the
19550         cell is empty to keep from barking printer Calc math-format-value.
19552 2011-06-27  Richard Stallman  <rms@gnu.org>
19554         * battery.el (battery-mode-line-limit): New variable.
19555         (battery-update): Handle it.
19557         * mail/rmailmm.el (rmail-mime-process-multipart):
19558         Handle truncated messages.
19560 2011-06-27  Glenn Morris  <rgm@gnu.org>
19562         * progmodes/flymake.el (flymake-err-line-patterns):
19563         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
19565 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19567         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19568         (ses--clean-!, ses--clean-_): New functions.
19569         (ses-range): Add configurability of readout order, and conversion
19570         to Calc vector.
19572         * ses.el (ses-repair-cell-reference-all): New function.
19573         (ses-cell-symbol): Set macro as safe, so that it can be used in
19574         formulas.
19576         * ses.el: Update cycle detection algorithm.
19577         (ses-localvars): Add ses--Dijkstra-attempt-nb and
19578         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19579         (ses-set-localvars): New function.
19580         (ses-make-cell): Add property-list as a cell element.
19581         (ses-cell-property-get-fun, ses-cell-property-get)
19582         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19583         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19584         New functions.
19585         (ses-cell-property-set, ses-cell-property-pop)
19586         (ses-cell-property-get-handle): New macro.
19587         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19588         New aliases, used for code readability.
19589         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19590         cycle detection.
19591         (ses-self-reference-early-detection): New defcustom.
19592         (ses-formula-references): Robustify against self-referring cells.
19593         (ses-mode): Use ses-set-localvars.
19594         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19595         before lauching the update processing.
19596         (ses-initialize-Dijkstra-attempt): New function.
19597         (ses-recalculate-cell): Update for cycle detection based on
19598         Dijkstra algorithm.
19600         * ses.el: Fix commenting and indenting convention.
19602 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19604         * bs.el (bs-cycle-next): Complete last change.
19606 2011-06-27  Drew Adams  <drew.adams@oracle.com>
19608         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19610 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19612         * net/network-stream.el (network-stream-open-starttls):
19613         Don't re-get capabilities unless we've reestablished connection.
19614         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19616         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19617         to binary to possibly avoid line encoding issues on Windows (among
19618         other things).
19620 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19622         * net/network-stream.el (open-network-stream): Return an :error
19623         saying what the problem was, if possible.
19625         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19626         server.
19628         * net/network-stream.el (network-stream-open-starttls): If we
19629         wanted to use STARTTLS, and the server offered it, but we weren't
19630         able to because we had no STARTTLS support, then close the connection.
19631         (open-network-stream): Return an :error element, if present.
19633 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
19635         * hl-line.el (hl-line-sticky-flag): Doc fix.
19636         (global-hl-line-sticky-flag): New option (Bug#8323).
19637         (global-hl-line-highlight): Obey it.
19639         * vc/vc.el (vc-revert-show-diff): Default to t.
19641 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
19643         * allout-widgets.el (allout-widgets-post-command-business):
19644         Stop decorating intermediate isearch matches.  They're not being
19645         undecorated when an isearch is continued past, and isearch
19646         automatically collapses them.  This leads to "widget leaks", where
19647         decorated items accumulate in collapsed areas.  Lines with lots of
19648         hidden widgets can slow down cursor travel, substantially.
19649         Too much complicated machinery would be needed to ensure undecoration,
19650         so we're doing without this nicety.
19652         (allout-widgets-tally-string): Don't try to do a hash-table-count
19653         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
19654         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19655         *Messages* when allout-widgets-maintain-tally is t.
19657 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
19659         * window.el (display-buffer-normalize-argument): Rename to
19660         display-buffer-normalize-arguments.  Handle special meaning of
19661         LABEL argument.  Respect special-display-function when popping up
19662         a new frame.  Fix code searching for a window showing the buffer
19663         on another frame.
19664         (display-buffer-normalize-specifiers):
19665         Call display-buffer-normalize-arguments.
19666         (display-buffer-in-window): Don't undedicate the window if its
19667         buffer remains the same.
19668         Reported by Drew Adams <drew.adams@oracle.com>.
19669         (display-buffer-alist): Add choice for same-window macro
19670         specfier.
19671         (display-buffer): Mention special meaning of LABEL argument in
19672         doc-string.  Fix quoting.  Don't pop up a new frame even as
19673         fallback.
19675 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
19677         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19678         avoid deleting the current window in some cases (bug#8911).
19680 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
19682         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19683         (Bug#8934)
19685 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19687         * net/network-stream.el (network-stream-open-starttls):
19688         Use built-in TLS support if `gnutls-available-p' is true.
19689         (network-stream-open-tls): Ditto.
19691 2011-06-26  Leo Liu  <sdl.web@gmail.com>
19693         * register.el (registerv): New struct.
19694         (registerv-make): New function.
19695         (jump-to-register, describe-register-1, insert-register):
19696         Support the jump-func, print-func and insert-func slot of a registerv
19697         struct.  (Bug#8415)
19699 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
19701         * vc/vc.el (vc-revert-show-diff): New defcustom.
19702         (vc-diff-internal): New arg specifying diff buffer.
19703         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
19704         reuse an existing *vc-diff* buffer (Bug#8927).
19706         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19708 2011-06-26  Glenn Morris  <rgm@gnu.org>
19710         * progmodes/f90.el (f90-critical-indent): New option.
19711         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19712         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19713         (f90-mode): Doc fix.
19714         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19715         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19716         (f90-beginning-of-block, f90-next-block, f90-indent-region)
19717         (f90-match-end): Handle block, critical.
19719 2011-06-25  Glenn Morris  <rgm@gnu.org>
19721         * calendar/diary-lib.el (diary-included-files): Doc fix.
19722         (diary-include-files): New function, extracted from
19723         diary-include-other-diary-files and diary-mark-included-diary-files.
19724         (diary-include-other-diary-files, diary-mark-included-diary-files):
19725         Just call diary-include-files.
19726         (diary-mark-entries): Reset diary-included-files on first call.
19728         * calendar/diary-lib.el (diary-mark-entries)
19729         (diary-mark-included-diary-files):
19730         Visit included diary-files in temp buffers.
19732         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19733         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19734         (f90-start-block-re, f90-imenu-generic-expression)
19735         (f90-looking-at-program-block-start, f90-no-block-limit):
19736         Add support for submodules.
19738         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19739         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19741 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
19743         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19744         buffer-file-type before setting its value, to avoid disastrous
19745         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
19747 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
19749         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19751         * ses.el (ses-unload-function):
19752         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19754         * proced.el (proced-unload-function):
19755         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19757 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
19759         * server.el (server-create-window-system-frame): Add parameters arg.
19760         (server-process-filter): Doc fix.  Handle frame-parameters.
19762 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
19764         Fix bug#8730, bug#8781.
19766         * loadhist.el (unload--set-major-mode): New function.
19767         (unload-feature): Use it.
19769         * progmodes/python.el (python-after-info-look): Add autoload cookie.
19770         (python-unload-function): New function.
19772 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19774         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19776 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
19778         * net/browse-url.el (browse-url-firefox-program): Add icecat to
19779         the candidates list.
19781 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
19783         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19785 2011-06-23  Richard Stallman  <rms@gnu.org>
19787         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19788         (rmail-variables): Set next-error-move-function.
19789         (rmail-what-message): Take argument POS.
19790         (rmail-next-error-move): New function.
19792 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19794         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19795         messages for adjacent non-terminals.
19797 2011-06-23  Richard Stallman  <rms@gnu.org>
19799         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19800         (rmail-show-message-1): Preserve buffer modified flag.
19801         (rmail-start-mail): Don't specify use of rmail-mail-return;
19802         that's done by mail-bury now.
19803         (rmail-mail-return): Handle arg NEWBUF.
19805 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
19807         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19808         SIZE is a number.
19810 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
19812         * window.el (get-lru-window, get-mru-window)
19813         (get-largest-window): Never return a minibuffer window.
19814         (display-buffer-pop-up-window): Fix a bug that could lead to
19815         reusing the minibuffer window.
19816         (display-buffer): Pass original specifier argument to
19817         display-buffer-function instead of the normalized one.
19818         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19820 2011-06-22  Leo Liu  <sdl.web@gmail.com>
19822         * minibuffer.el (completing-read-function)
19823         (completing-read-default): Move from minibuf.c.
19825 2011-06-22  Richard Stallman  <rms@gnu.org>
19827         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19828         to Rmail even if not started by a special Rmail command.
19830         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19831         Copy the buffer currently showing just one message.
19833 2011-06-22  Roland Winkler  <winkler@gnu.org>
19835         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19836         (bibtex-clean-entry): First delete the old key so that a
19837         customized algorithm for generating the new key does not get
19838         confused by the old key.
19839         (bibtex-url): Obey regexp of first step.
19840         (bibtex-search-entries): Do not use add-to-list with local
19841         list-var.
19843 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19845         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19846         stored a user name, then query for the password first, instead of
19847         waiting for SMTP to give an error message and the trying again.
19849 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
19851         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19852         BUFFER in call-process.
19854 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19856         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19857         QUIT twice.
19858         (smtpmail-try-auth-methods): Require user name and password from
19859         auth-source.
19861 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
19863         * window.el (display-buffer-default-specifiers)
19864         (display-buffer-alist): Remove entries for pop-up-frame-alist.
19865         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19866         (split-window): Normalize SIDE argument (Bug#8916).
19868         * frame.el (pop-up-frame-alist, pop-up-frame-function)
19869         (special-display-frame-alist, special-display-popup-frame):
19870         Remove duplicate declarations.  These are now in window.el.
19872 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19874         * mail/smtpmail.el (smtpmail-via-smtp):
19875         Set :use-starttls-if-possible so that we always use STARTTLS if the
19876         server supports it.  SMTP servers that support STARTTLS commonly
19877         require it.
19879         * net/network-stream.el (network-stream-open-starttls): Support
19880         upgrading to STARTTLS always, even if we don't have built-in support.
19881         (open-network-stream): Add the :always-query-capabilities keyword.
19883         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19884         upgrades with `open-network-stream', and rely solely on
19885         auth-source for all credentials.  Big changes throughout the file,
19886         but in particular:
19887         (smtpmail-auth-credentials): Remove.
19888         (smtpmail-starttls-credentials): Remove.
19889         (smtpmail-via-smtp): Check for servers saying they want AUTH after
19890         MAIL FROM, too.
19892         * net/network-stream.el (network-stream-open-starttls):
19893         Provide support for client certificates both for external and built-in
19894         STARTTLS.
19895         (auth-source): Require.
19896         (open-network-stream): Document the :client-certificate keyword.
19897         (network-stream-certificate): Change cert-cert to cert and
19898         cert-key to key.
19900 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
19902         * net/tramp-cache.el (top): Don't load the persistency file when
19903         "emacs -Q" has been called.
19905 2011-06-21  Tim Harper  <timcharper@gmail.com>
19907         * term/ns-win.el (ns-initialize-window-system):
19908         Set application-specific `ApplePressAndHoldEnabled' system
19909         resource to NO as it is not yet supported by the NS port.
19911 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
19913         * misc.el (list-dynamic-libraries--refresh): Compute header here...
19914         (list-dynamic-libraries): ...not here.
19916 2011-06-21  Leo Liu  <sdl.web@gmail.com>
19918         * subr.el (sha1): Implement sha1 using secure-hash.
19920 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
19922         * window.el (display-buffer-alist): In default value do not
19923         enforce searching a window on any but the selected frame.
19924         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19925         (display-buffer-select-window): Remove function.
19926         (display-buffer-in-window): When a window on another frame gets
19927         reused, do not select it any more but just raise its frame if
19928         necessary (Bug#8851) and (Bug#8856).
19929         (display-buffer-normalize-options): Handle pop-up-frames related
19930         options more faithfully.
19931         (pop-to-buffer): Don't rely on `display-buffer' selecting the
19932         window if it is on another frame.
19933         (display-buffer-alist, display-buffer-default-specifiers):
19934         Don't make new frame unsplittable by default.
19935         (display-buffer-normalize-argument): Fix doc-string typo and use
19936         'same-frame-other-window instead of 'other-window when associating
19937         with display-buffer-macro-specifiers.
19939 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
19941         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19942         New functions.
19943         (5x5-mode-map, 5x5-mode-menu): Bind them.
19944         (5x5-draw-grid): Tweak the solver's rendering.
19946 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19948         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19949         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19951 2011-06-21  Drew Adams  <drew.adams@oracle.com>
19953         * menu-bar.el: Use function variable instead of switch-to-buffer.
19954         (menu-bar-select-buffer-function): New variable.
19955         (menu-bar-update-buffers): Use it (bug#8876).
19957 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19959         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19960         variable's status.
19962 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
19964         * x-dnd.el (x-dnd-version-from-flags)
19965         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19966         and long as number (Bug#8899).
19967         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19969 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19971         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19972         (completion-try-completion, completion-all-completions): Compute the
19973         metadata argument if it's missing; make it optional (bug#8795).
19975         * wid-edit.el: Use lex-bind and move towards completion-at-point.
19976         (widget-complete): Use new :completion-function property.
19977         (widget-completions-at-point): New function.
19978         (default): Use :completion-function instead of :complete.
19979         (widget-default-completions): Rename from widget-default-complete;
19980         Rewrite.
19981         (widget-string-complete, widget-file-complete, widget-color-complete):
19982         Remove functions.
19983         (file, symbol, function, variable, coding-system, color):
19984         * international/mule-cmds.el (default-input-method, charset)
19985         (language-info-custom-alist):
19986         * cus-edit.el (face): Use new property :completions.
19988         * progmodes/pascal.el (pascal-completions-at-point): New function.
19989         (pascal-mode): Use it.
19990         (pascal-mode-map): Use completion-at-point.
19991         (pascal-toggle-completions): Make obsolete.
19992         (pascal-complete-word, pascal-show-completions):
19993         * progmodes/octave-mod.el (octave-complete-symbol):
19994         Redefine as obsolete alias.
19995         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19996         Signal absence of completion info for old Octave,
19997         (inferior-octave-complete): Redefine as obsolete alias.
19998         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19999         (meta-completions-at-point): Rename from meta-complete-symbol and
20000         adapt it for use on completion-at-point-functions.
20001         (meta-common-mode): Use it.
20002         (meta-looking-at-backward, meta-match-buffer): Remove.
20003         (meta-complete-symbol): Redefine as obsolete alias.
20004         (meta-common-mode-map): Use completion-at-point.
20005         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20006         (makefile-mode-map): Use completion-at-point.
20007         (makefile-completions-at-point): Rename from makefile-complete and
20008         adapt it for use on completion-at-point-functions.
20009         (makefile-mode): Use it.
20010         (makefile-complete): Redefine as obsolete alias.
20012 2011-06-20  Deniz Dogan  <deniz@dogan.se>
20014         * net/rcirc.el: Delete trailing whitespaces once and for all.
20016 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
20018         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20020 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
20022         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20024         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20026 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
20028         * window.el (display-buffer-other-window-means-other-frame):
20029         Call display-buffer-normalize-alist.
20030         (display-buffer-normalize-specifiers-1): Rename to
20031         display-buffer-normalize-argument.  New argument other-frame.
20032         Rewrite.
20033         (display-buffer-normalize-specifiers-2): Rename to
20034         display-buffer-normalize-options.
20035         (display-buffer-normalize-alist-1): New function.
20036         (display-buffer-normalize-specifiers-3): Rename to
20037         display-buffer-normalize-alist.
20038         Call display-buffer-normalize-alist-1.
20039         (display-buffer-normalize-options-inhibit): New variable.
20040         (display-buffer-normalize-specifiers): Rewrite calling
20041         display-buffer-normalize-alist,
20042         display-buffer-normalize-argument, and
20043         display-buffer-normalize-options.  Don't call the latter if
20044         display-buffer-normalize-options-inhibit is non-nil.
20045         (frame-auto-delete): New option.
20046         (window-deletable-p): Use frame-auto-delete.
20047         (window-list-no-nils, window-state-ignored-parameters)
20048         (window-state-get-1, window-state-get, window-state-put-list)
20049         (window-state-put-1, window-state-put-2, window-state-put):
20050         New functions.
20051         (display-buffer-normalize-options): Move special-display-p group
20052         after pop-up-frame group (Bug#8851) and (Bug#8856).
20054 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
20056         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20057         groups (Bug#8776).
20058         (rx-submatch-n): New function.
20059         (rx): Document it.
20061         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20062         (Bug#8768).
20064         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20066         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20068         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20069         anytime existing face settings are present (Bug#8889).
20071         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20072         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20073         Remove unused argument.
20075 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
20077         * window.el (display-buffer-default-specifiers):
20078         Remove pop-up-frame.  Add pop-up-window-min-height,
20079         pop-up-window-min-width, and another reuse-window specifier
20080         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
20081         (display-buffer-normalize-specifiers-2):
20082         Handle split-height-threshold and split-width-threshold also when
20083         pop-up-windows is unset.  Add a reuse-window specifier for the
20084         case popping up a new window fails.
20085         (special-display-popup-frame): Remove double quoting.
20086         (display-buffer-normalize-specifiers-1): Fix thinko.
20088 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20090         * shell.el (shell-completion-vars): Set pcomplete-termination-string
20091         according to comint-completion-addsuffix.
20093         * pcomplete.el: Convert to lexical binding and fix bug#8819.
20094         (pcomplete-suffix-list): Mark as obsolete.
20095         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20096         pcomplete-seen in the closure.
20097         (pcomplete-comint-setup): Setup completion-at-point as well.
20098         (pcomplete--entries): New function.
20099         (pcomplete--env-regexp): New var.
20100         (pcomplete-entries): Rewrite to work with partial-completion and
20101         without relying on pcomplete-suffix-list.
20102         (pcomplete-pare-list): Remove, unused.
20104 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
20106         * window.el (display-buffer-alist): Set pop-up-window-min-height
20107         and pop-up-window-min-width in default value.  Reported by
20108         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
20109         other-window-means-other-frame.
20110         (display-buffer-macro-specifiers): Comment out entry for
20111         other-window specifier.
20112         (display-buffer-other-window-means-other-frame): New function.
20113         (display-buffer-normalize-specifiers-1): New arguments
20114         buffer-name and label.  Treat other-window case specially.
20115         (display-buffer-normalize-specifiers-2): Treat other-window case
20116         specially.
20117         (display-buffer-normalize-specifiers-3): New function.
20118         (display-buffer-normalize-specifiers):
20119         Call display-buffer-normalize-specifiers-3.
20121 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
20123         * window.el (same-window-p): Fix two typos introduced when
20124         adding with-no-warnings.
20125         (display-buffer-normalize-specifiers-1): Don't check
20126         pop-up-frames for 'unset initialization.
20127         (display-buffer-normalize-specifiers-2): Major rewrite using
20128         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20129         (pop-up-frames, display-buffer-reuse-frames)
20130         (display-buffer-mark-dedicated): Don't initialize to 'unset.
20131         Suggested by David Engster <deng@randomsample.de>.
20132         (even-window-heights): Initialize to 'unset.
20133         (display-buffer-alist-set): Handle new 'unset initializations.
20134         (display-buffer-macro-specifiers): Don't pop up a new frame in the
20135         other window case.
20137 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
20139         * window.el (display-buffer-normalize-specifiers-1):
20140         Respect current value of pop-up-frames for most reasonable values of
20141         second argument of display-buffer (Bug#8865).
20142         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20143         (switch-to-buffer-other-window-same-frame)
20144         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
20145         Adams (Bug#8875).
20146         (display-buffer): Don't check noninteractive when calling
20147         display-buffer-pop-up-frame.
20148         (display-buffer-pop-up-frame): Never pop up a frame in
20149         noninteractive mode (Bug#8857).
20150         (enlarge-window, shrink-window): Don't report an error when the
20151         window can't be resized as requested (Bug#8862).
20153 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20155         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20157         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20159         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20161 2011-06-15  Alan Mackenzie  <acm@muc.de>
20163         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20164         for declarators, disable knr checking to speed up for normal files.
20165         2: Refactor, replacing a sequence of nested if forms by a cond form.
20167 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20169         * net/network-stream.el (open-network-stream): Add the keyword
20170         :always-query-capabilities for the case where you want to force a
20171         `plain' network connection, but the protocol still requires the
20172         capabilitiy command (i.e., SMTP and EHLO).
20174         * subr.el (process-live-p): Rename from `process-alive-p' for
20175         consistency with other `-live-p' functions.
20177 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20179         * window.el (same-window-buffer-names, same-window-regexps)
20180         (special-display-frame-alist, special-display-popup-frame)
20181         (special-display-function, special-display-buffer-names)
20182         (special-display-regexps, pop-up-frame-alist)
20183         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20184         (pop-up-windows, split-window-preferred-function)
20185         (split-height-threshold, split-width-threshold, even-window-heights)
20186         (display-buffer-mark-dedicated): Don't encourage the use of
20187         display-buffer-alist from Elisp code.
20189 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
20191         * progmodes/python.el (python-mode): Derive from prog-mode.
20192         * progmodes/ps-mode.el (ps-mode):
20193         * progmodes/mixal-mode.el (mixal-mode):
20194         * progmodes/cfengine.el (cfengine-mode):
20195         * progmodes/ld-script.el (ld-script-mode): Likewise.
20197 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
20199         * window.el (display-buffer-alist): Trim default value to avoid
20200         popping up a new frame (Bug#8857) or reusing an arbitrary window
20201         on another frame.
20202         (display-buffer): Do not fall back on popping up a new frame in
20203         batch mode (Bug#8857).
20205 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
20207         * cus-theme.el (describe-theme-1): Use custom-theme-p.
20208         (custom-theme-summary): New function.
20209         (customize-themes): Use it.
20211 2011-06-13  Glenn Morris  <rgm@gnu.org>
20213         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20215 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
20217         * help.el (help-window): Remove variable.
20218         (help-window-point-marker, temp-buffer-max-height)
20219         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20220         (help-print-return-message): Don't set help-window.
20221         (resize-temp-buffer-window): Rewrite cod eand doc-string.
20222         (help-window-setup-finish): Remove.
20223         (help-window-display-message, help-window-setup)
20224         (with-help-window): Major rewrite based on new
20225         display-buffer-window variable.
20227         * help-mode.el (help-mode-finish): Remove help-window related
20228         code.
20230         * view.el (view-exits-all-viewing-windows): Remove reference to
20231         view-return-to-alist in doc-string.
20232         (view-return-to-alist): Make obsolete.
20233         (view-buffer): Call pop-to-buffer-same-window and remove
20234         undo-window code.
20235         (view-buffer-other-window): Call pop-to-buffer-other-window and
20236         simplify code.  Ignore second argument.
20237         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20238         simplify code.  Ignore second argument.
20239         (view-return-to-alist-update): Make obsolete.
20240         (view-mode-enter): Rename second argument to QUIT-RESTORE.
20241         Rewrite using quit-restore window parameters.
20242         (view-mode-exit): Rename second argument to EXIT-ONLY.
20243         Rewrite using quit-restore-window.
20244         (View-exit, View-exit-and-edit, View-leave, View-quit)
20245         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20246         appropriate arguments.
20247         (view-end-message): Use quit-restore window parameter.
20249         * window.el (display-buffer-function): Rewrite doc-string.
20250         (display-buffer-window, display-buffer-alist): New variables.
20251         (display-buffer-split-specifiers)
20252         (display-buffer-side-specifiers)
20253         (display-buffer-macro-specifiers): New constants.
20254         (display-buffer-even-window-sizes, display-buffer-set-height)
20255         (display-buffer-set-width, display-buffer-select-window)
20256         (display-buffer-in-window, display-buffer-reuse-window)
20257         (display-buffer-split-window-1, display-buffer-split-window)
20258         (display-buffer-split-atom-window, display-buffer-pop-up-window)
20259         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20260         (display-buffer-in-side-window, normalize-buffer-to-display)
20261         (display-buffer-normalize-specifiers-1)
20262         (display-buffer-normalize-specifiers-2)
20263         (display-buffer-normalize-specifiers, display-buffer-frame):
20264         New functions.
20265         (display-buffer): Major rewrite.
20266         (display-buffer-other-window, display-buffer-other-frame)
20267         (pop-to-buffer, switch-to-buffer-other-window)
20268         (switch-to-buffer-other-frame): Rewrite.
20269         (display-buffer-same-window, display-buffer-same-frame)
20270         (display-buffer-same-frame-other-window)
20271         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20272         (pop-to-buffer-other-window)
20273         (pop-to-buffer-same-frame-other-window)
20274         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20275         (switch-to-buffer-other-window-same-frame): New functions.
20276         (same-window-p, special-display-p): Rewrite disabling warnings.
20277         Make obsolete.
20278         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20279         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20280         Make obsolete
20281         (same-window-buffer-names, same-window-regexps)
20282         (special-display-frame-alist, special-display-popup-frame)
20283         (special-display-function, special-display-buffer-names)
20284         (special-display-regexps, pop-up-frame-alist)
20285         (pop-up-frame-function, split-window-preferred-function)
20286         (split-height-threshold, split-width-threshold)
20287         (even-window-heights): Make obsolete.
20289 2011-06-12  Glenn Morris  <rgm@gnu.org>
20291         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
20292         Misc simplifications.
20294 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
20296         * window.el (window-safely-shrinkable-p): Restore function which
20297         was inadvertently removed in change from 2011-06-11.  Declare as
20298         obsolete.
20300         * calendar/calendar.el (calendar-generate-window):
20301         Use window-iso-combined-p instead of combination of one-window-p and
20302         window-safely-shrinkable-p.
20304 2011-06-12  Glenn Morris  <rgm@gnu.org>
20306         * progmodes/fortran.el (fortran-mode-syntax-table):
20307         * progmodes/f90.el (f90-mode-syntax-table):
20308         Set % to punctuation.  (Bug#8820)
20309         (f90-find-tag-default): Remove, no longer needed.
20311 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
20313         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20315 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
20317         * image.el (image-animated-p): Return animation delay in seconds.
20318         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20319         (image-animate-timeout): Remove DELAY argument.  Don't assume
20320         every subimage has the same delay; get it from image-animated-p.
20321         (image-animate): Caller changed.
20323 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
20325         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20326         to ignored backtrace functions.
20328 2011-06-11  Glenn Morris  <rgm@gnu.org>
20330         * calendar/appt.el (appt-disp-window-function): Doc fix.
20331         (appt-check): Handle overlapping appointments.  (Bug#8337)
20333 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
20335         * window.el (window-tree-1, window-tree): New functions, moving
20336         the latter to window.el.
20337         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20338         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20339         (bw-refresh-edges): Remove.
20340         (balance-windows-1, balance-windows-2): New functions.
20341         (balance-windows): Rewrite in terms of window tree functions,
20342         balance-windows-1 and balance-windows-2.
20343         (bw-adjust-window): Remove.
20344         (balance-windows-area-adjust): New function with functionality of
20345         bw-adjust-window but using resize-window.
20346         (set-window-text-height): Rewrite doc-string.
20347         Use normalize-live-window and resize-window.
20348         (enlarge-window-horizontally, shrink-window-horizontally):
20349         Rename argument to DELTA.
20350         (window-buffer-height): New function.
20351         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20352         Rewrite using new window resize routines.
20353         (kill-buffer-and-window, mouse-autoselect-window-select):
20354         Use ignore-errors instead of condition-case.
20355         (quit-window): Call delete-frame instead of delete-windows-on
20356         for the only buffer on frame.
20358 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20360         * loadup.el (top-level): Load window before files for the sake
20361         of replace-buffer-in-windows.
20363         * files.el (read-buffer-to-switch)
20364         (switch-to-buffer-other-window)
20365         (switch-to-buffer-other-frame, display-buffer-other-frame):
20366         Move to window.el.
20368         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20369         (previous-buffer): Move to window.el.
20371         * bindings.el (unbury-buffer): Move to window.el.
20373         * window.el (delete-other-windows-vertically): Move after
20374         definition of delete-other-windows.
20375         (other-window, delete-windows-on, replace-buffer-in-windows):
20376         Move here from window.c.
20377         (record-window-buffer, unrecord-window-buffer)
20378         (set-window-buffer-start-and-point, switch-to-prev-buffer)
20379         (switch-to-next-buffer): New functions.
20380         (get-next-valid-buffer, last-buffer, next-buffer): Move here
20381         from simple.el.  Call switch-to-next-buffer.
20382         (previous-buffer): Move here from simple.el.
20383         Call switch-to-prev-buffer.
20384         (bury-buffer): Move here from buffer.c.  Switch to previous
20385         buffer when window cannot be deleted.
20386         (unbury-buffer): Move here from bindings.el.
20387         (ctl-x-map): Move binding for other-window from window.c to
20388         here.
20389         (read-buffer-to-switch, switch-to-buffer-other-window)
20390         (switch-to-buffer-other-frame): Move here from files.el.
20391         (normalize-buffer-to-switch-to): New functions.
20392         (switch-to-buffer): Move here from buffer.c.
20393         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20395 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20397         * window.el (window-min-height, window-min-width): Move here
20398         from window.c.  Add defcustoms and rewrite doc-strings.
20399         (resize-mini-window, resize-window): New functions.
20400         (adjust-window-trailing-edge, enlarge-window, shrink-window):
20401         Move here from window.c.
20402         (maximize-window, minimize-window): New functions.
20403         (delete-window, delete-other-windows, split-window): Move here
20404         from window.c.
20405         (window-split-min-size): New function.
20406         (split-window-keep-point): Mention split-window-above-each-other
20407         instead of split-window-vertically.
20408         (split-window-above-each-other, split-window-vertically):
20409         Rename split-window-vertically to split-window-above-each-other
20410         and provide defalias for old definition.
20411         (split-window-side-by-side, split-window-horizontally):
20412         Rename split-window-horizontally to split-window-side-by-side
20413         and provide defalias for the old definition.
20414         (ctl-x-map): Move bindings for delete-window,
20415         delete-other-windows and enlarge-window here from window.c.
20416         Replace bindings for split-window-vertically and
20417         split-window-horizontally by bindings for
20418         split-window-above-each-other and split-window-side-by-side.
20420         * cus-start.el (all): Remove entries for window-min-height and
20421         window-min-width.  Add entries for window-splits and
20422         window-nest.
20424 2011-06-09  Glenn Morris  <rgm@gnu.org>
20426         * calendar/appt.el (appt-mode-line): New function.
20427         (appt-check, appt-disp-window): Use it.
20429         * files.el (hack-one-local-variable-eval-safep):
20430         Allow minor-modes with explicit +/-1 arguments.
20432 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
20434         * term/xterm.el (xterm): Add defgroup.
20435         (xterm-extra-capabilities): Add defcustom to supply known xterm
20436         capabilities, skip querying them, or query them (default).
20437         (terminal-init-xterm): Use it.
20438         (terminal-init-xterm-modify-other-keys): New function to set up
20439         modifyOtherKeys support to simplify `terminal-init-xterm'.
20441 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
20443         * window.el (resize-window-reset, resize-window-reset-1)
20444         (resize-subwindows-skip-p, resize-subwindows-normal)
20445         (resize-subwindows, resize-other-windows, resize-this-window)
20446         (resize-root-window, resize-root-window-vertically)
20447         (window-deletable-p, window-or-subwindow-p)
20448         (frame-root-window-p): New functions.
20450 2011-06-09  Glenn Morris  <rgm@gnu.org>
20452         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20453         (ange-ftp-get-files): Use it.
20455 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
20457         * mail/sendmail.el (mail-recover-1, mail-recover):
20458         * files.el (recover-file, recover-session):
20459         Handle dired-listing-switches not being just a single short option.
20461 2011-06-09  Glenn Morris  <rgm@gnu.org>
20463         * calendar/appt.el (appt-display-message, appt-disp-window):
20464         Handle lists of appointments.
20466 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20468         * window.el (one-window-p): Move down in code.
20469         Rewrite doc-string.
20470         (window-current-scroll-bars): Rewrite doc-string.
20471         Normalize live window argument.
20472         (walk-windows, get-window-with-predicate, count-windows):
20473         Rewrite doc-string.  Use window-list-1.
20474         (window-in-direction-2, window-in-direction, get-mru-window):
20475         New functions.
20477 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
20479         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20480         Doc fix (Bug#8713).
20482 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
20484         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20486 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
20488         * loadhist.el (unload-feature-special-hooks):
20489         Add `comint-output-filter-functions'.
20491 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
20493         * calendar/appt.el (appt-check): Move some initializations into the let.
20495 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20497         * window.el (window-height): Defalias to window-total-height.
20498         (window-width): Defalias to window-body-width.
20500 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
20502         * image-mode.el (image-toggle-animation): New command.
20503         (image-mode-map): Bind it to RET.
20504         (image-mode): Update message.
20505         (image-toggle-display-image): Avoid a spurious cache flush.
20506         (image-transform-rotation): Doc fix.
20507         (image-transform-properties): Return quickly in the normal case.
20508         (image-animate-loop): Rename from image-animate-max-time.
20510         * image.el (image-animate-max-time): Move to image-mode.el.
20511         (create-animated-image): Remove unnecessary function.
20512         (image-animate): Rename from image-animate-start.  New arg.
20513         (image-animate-stop): Remove; just use image-animate-timer.
20514         (image-animate-timer): Use car-safe.
20515         (image-animate-timeout): Rename argument.
20517 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
20519         * window.el (get-lru-window, get-largest-window): Move here from
20520         window.c.  Rename first argument to ALL-FRAMES.
20521         Rephrase doc-strings.
20522         (get-buffer-window-list): Rewrite using window-list-1.
20523         Rephrase doc-string.
20524         (window-safe-min-height, window-safe-min-width): New constants.
20525         (window-size-ignore, window-min-size, window-min-size-1)
20526         (window-sizable, window-sizable-p, window-size-fixed-1)
20527         (window-size-fixed-p, window-min-delta-1, window-min-delta)
20528         (window-max-delta-1, window-max-delta, window-resizable)
20529         (window-resizable-p, window-total-height, window-total-width)
20530         (window-body-width): New functions.
20531         (window-full-height-p, window-full-width-p): Rewrite using
20532         window-total-size.
20533         (window-body-height): Rewrite using window-body-size.
20535 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
20537         * window.el (window-right, window-left, window-child)
20538         (window-child-count, window-last-child, window-any-p)
20539         (normalize-live-buffer, normalize-live-frame)
20540         (normalize-any-window, normalize-live-window)
20541         (window-iso-combination-p, window-iso-combined-p)
20542         (window-iso-combinations)
20543         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20544         (windows-with-parameter, window-with-parameter)
20545         (window-atom-root, make-window-atom, window-atom-check-1)
20546         (window-atom-check, window-side-check, window-check):
20547         New functions.
20548         (ignore-window-parameters, window-sides, window-sides-vertical)
20549         (window-sides-slots): New variables.
20550         (window-size-fixed): Move down in code.  Minor doc-string fix.
20552 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
20554         * comint.el (comint-dynamic-complete-as-filename)
20555         (comint-dynamic-complete-filename): Correctly call
20556         completion-in-region.
20558 2011-06-05  Deniz Dogan  <deniz@dogan.se>
20560         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20561         in last change.
20563 2011-06-05  Deniz Dogan  <deniz@dogan.se>
20565         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20566         (rcirc): Use it to prompt for encryption.
20568 2011-06-05  Roland Winkler  <winkler@gnu.org>
20570         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20571         (bibtex-search-entries): New command bound to C-c C-a.
20572         (bibtex-display-entries): New function.
20574 2011-06-05  Roland Winkler  <winkler@gnu.org>
20576         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20577         (bibtex-insert-kill): After yanking insert newline if necessary.
20578         (bibtex-initialize): Call bibtex-string-files-init only once.
20579         (bibtex-mode): Do not call easy-menu-add.
20580         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20581         (bibtex-yank): Set arg properly if nil.
20583 2011-06-05  Roland Winkler  <winkler@gnu.org>
20585         * textmodes/bibtex.el (bibtex-search-entry-globally):
20586         New variable.
20587         (bibtex-search-entry): Use it.
20589 2011-06-05  Roland Winkler  <winkler@gnu.org>
20591         * textmodes/bibtex.el (bibtex-entry-format): New option
20592         sort-fields.
20593         (bibtex-format-entry, bibtex-reformat): Honor this option.
20594         (bibtex-parse-entry): Return fields in proper order.
20596 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
20598         * doc-view.el (doc-view-remove-if): Move computation of result out
20599         of `dolist' to silence misleading lexical-binding warning.
20601 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
20603         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20604         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20606 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
20608         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20609         "SunOS 5.10".
20611 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
20613         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20614         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20615         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20616         (tramp-parse-putty):
20617         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20618         (tramp-completion-function-alist-ssh)
20619         (tramp-completion-function-alist-telnet)
20620         (tramp-completion-function-alist-su)
20621         (tramp-completion-function-alist-putty): Set `tramp-autoload'
20622         cookie.
20624         * net/tramp-ftp.el:
20625         * net/tramp-sh.el:
20626         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20627         load "tramp.el" `tramp-set-completion-function'.
20629 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20631         * shell.el: Require and use pcomplete.
20632         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20633         (shell-completion-vars): Set pcomplete-default-completion-function.
20635 2011-06-04  Deniz Dogan  <deniz@dogan.se>
20637         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20638         `memq' (Bug#8799).
20640 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20642         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20644 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
20646         * bs.el (bs--mark-unmark, bs--nth-wrapper):
20647         * mpc.el (mpc-select-extend, mpc-songpointer-context):
20648         * vc/log-view.el (log-view-beginning-of-defun):
20649         * vc/smerge-mode.el (smerge-apply-resolution-patch)
20650         (smerge-refine-forward, smerge-refine-chopup-region):
20651         Silence warning for unused `dotimes' counter variables.
20653 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20655         * net/tramp.el (tramp-with-progress-reporter): Rename from
20656         with-progress-reporter.  Use `declare'.
20657         * net/tramp-smb.el:
20658         * net/tramp-sh.el:
20659         * net/tramp-gvfs.el: Update all uses.
20661 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
20663         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20664         buffer isn't killed before making it current.
20666 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20668         Silence various byte-compiler warnings.
20669         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20670         `access-type' and new obsolescence format.
20671         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20672         new format.
20673         (byte-compile-check-variable): New `access-type' argument.
20674         Only warn if the access-type is obsolete.
20675         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20676         (byte-compile-variable-set): Adjust callers.
20677         * help-fns.el (describe-variable): Adjust to new obsolescence format.
20678         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20679         setting it as obsolete.
20680         * simple.el (minibuffer-completing-symbol):
20681         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20682         access as obsolete.
20683         * minibuffer.el (minibuffer-completing-file-name): Don't make it
20684         obsolete yet.
20685         * international/quail.el (quail-mouse-choose-completion): Remove unused
20686         code referring to obsolete var.
20687         (quail-choose-completion-string): Remove.
20688         * server.el (server-clients-with, server-kill-buffer-query-function)
20689         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20690         * proced.el (proced-send-signal):
20691         * emacs-lisp/lisp.el (lisp-complete-symbol):
20692         Replace completion-annotate-function with completion-extra-properties.
20694 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20696         * simple.el (goto-line): Use read-number.
20697         (overriding-map-is-bound): Remove.
20698         (saved-overriding-map): Change default.
20699         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20700         Take the map as argument.
20701         (universal-argument, negative-argument, digit-argument): Use it.
20702         (restore-overriding-map): Adjust.
20703         (do-auto-fill): Use fill-forward-paragraph.
20704         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20706         * minibuffer.el (minibuffer-inactive-mode-map): New var.
20707         (minibuffer-inactive-mode): New major mode.
20708         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20709         the *Messages* buffer" hack.
20710         (mouse-popup-menubar): Don't burp if the event is a normal key.
20712         Miscellaneous tweaks.
20713         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20714         lexical scoping as in subr.el's dolist and dotimes.
20715         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20716         Silence compiler warning.
20717         * thingatpt.el (forward-whitespace): Trivial coding style fix.
20718         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20719         * international/ccl.el (ccl-compile): Trivial simplification.
20720         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20721         * emacs-lisp/testcover.el (testcover-end): Remove spurious
20722         `printflag' argument.
20723         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20724         Purecopy the whole obsolescence data.
20726 2011-06-01  Leo Liu  <sdl.web@gmail.com>
20728         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20729         improve doc-string as suggested by Marco Pessotto
20730         <melmothx@gmail.com>.
20731         (rcirc-print): Fix last change.
20733 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20735         * minibuffer.el (complete-with-action): Return nil for the metadata and
20736         boundaries of non-functional tables.
20737         (completion-table-dynamic): Return nil for the metadata.
20738         (completion-table-with-terminator): Add default case, using
20739         complete-with-action.
20740         (completion--metadata): New function.
20741         (completion-all-sorted-completions, minibuffer-completion-help): Use it
20742         to try and avoid pathological performance problems.
20743         (completion--embedded-envvar-table): Return `category' metadata.
20745 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20747         * subr.el (process-alive-p): New tiny convenience function.
20749 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20751         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20752         content but also its previous major mode.
20754 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
20756         * emacs-lisp/debug.el (debug): Restore the previous content of the
20757         *Backtrace* buffer when we exit with C-M-c.
20759 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20761         * minibuffer.el: Add metadata method to completion tables.
20762         (completion-category-overrides): New defcustom.
20763         (completion-metadata, completion--field-metadata)
20764         (completion-metadata-get, completion--styles)
20765         (completion--cycle-threshold): New functions.
20766         (completion-try-completion, completion-all-completions):
20767         Add `metadata' argument to choose completion-styles.
20768         (completion--do-completion): Use metadata to choose cycling.
20769         (completion-all-sorted-completions): Use metadata for sorting.
20770         Remove :completion-cycle-penalty which is not needed any more.
20771         (completion--try-word-completion): Add `metadata' argument.
20772         (minibuffer-completion-help): Check metadata for annotation function
20773         and sorting.
20774         (completion-file-name-table): Return `category' metadata.
20775         (minibuffer-completing-file-name): Make obsolete.
20776         * simple.el (minibuffer-completing-symbol): Make obsolete.
20777         * icomplete.el (icomplete-completions): Pass new `metadata' param to
20778         completion-try-completion.
20780 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20782         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20784 2011-05-30  Leo Liu  <sdl.web@gmail.com>
20786         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20787         (rcirc-print): Decode all incoming messages (bug#8744).
20788         (rcirc-decode-coding-system): Allow value nil for automatic coding
20789         system detection.
20791 2011-06-01  Glenn Morris  <rgm@gnu.org>
20793         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20795 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20797         * image.el (image-animate-max-time): Allow nil and t values.
20798         Default to nil.
20799         (create-animated-image): Doc fix.
20800         (image-animate-start): Remove second arg; just use
20801         image-animate-max-time.
20802         (image-animate-timeout): Doc fix.  Args changed.
20804         * image-mode.el (image-toggle-display-image): Ensure that the
20805         image spec passed to the animate timer is the same object as in
20806         the buffer's display property (Bug#6981).
20807         (image-transform-properties): Doc fix.
20809         * image.el (image-animate-max-time): Default to nil.
20811 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
20813         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20814         entire buffer list (Bug#8184).
20816 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20818         * image.el (imagemagick-types-inhibit)
20819         (imagemagick-register-types): Doc fix.
20821 2011-05-29  Deniz Dogan  <deniz@dogan.se>
20823         * net/rcirc.el (rcirc): Use the user's stored encryption method by
20824         default.
20826 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20828         * select.el: Don't perform clipboard-manager saving in hooks;
20829         leave the hooks empty.
20831 2011-05-28  Leo Liu  <sdl.web@gmail.com>
20833         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20834         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
20835         (occur-edit-mode): New major mode (Bug#8463).
20836         (occur-after-change-function): New function.
20837         (occur-engine): Give Occur tags a read-only property.
20839 2011-05-28  Kevin Ryde  <user42@zip.com.au>
20841         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20843 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20845         * bindings.el (help-echo): Make the initial non-indicator dash
20846         empty on graphical terminals (Bug#7295).
20848         * files.el (auto-mode-alist): Move config rule after the
20849         in-stripping one (Bug#8547).
20851         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20853         * startup.el (normal-splash-screen): Remove gratuitous mode-line
20854         setting (Bug#8740).
20856 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
20858         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20859         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20860         (Bug#8539).
20862 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20864         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20866 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
20868         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20869         (hs-hide-block-at-point, hs-find-block-beginning)
20870         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20871         (Bug#8279).
20873 2011-05-28  Glenn Morris  <rgm@gnu.org>
20875         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
20877 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20879         * help-fns.el (describe-function-1): If the function is a derived
20880         major mode, print the parent mode.
20882         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20883         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20885 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20887         * minibuffer.el (completion--capf-wrapper): Check applicability before
20888         returning non-nil for non-exclusive completion data.
20889         * progmodes/etags.el (tags-completion-at-point-function):
20890         * info-look.el (info-lookup-completions-at-point): Mark as
20891         non-exclusive.
20892         (info-complete): Adjust accordingly.
20894         * info-look.el: Convert to lexical-binding and completion-at-point.
20895         (info-lookup-completions-at-point): New function.
20896         (info-complete): Use it and completion-in-region.
20898 2011-05-28  Drew Adams  <drew.adams@oracle.com>
20900         * isearch.el: Let M-e start with point at the first mismatched char.
20901         (isearch-fail-pos): New function.
20902         (isearch-edit-string): Use it.
20904 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
20906         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20908 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
20910         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
20911         traversal functions for avl-trees.
20912         (avl-tree--stack): New struct.
20913         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20914         (avl-tree-enter): Add optional `updatefun' arg.
20915         (avl-tree--do-enter): Add optional `updatefun' arg.
20916         Change return value.
20917         (avl-tree-delete): Add optional `test' and `nilflag' args.
20918         (avl-tree--do-delete): Add `test' and `nilflag' args.
20919         Change return value.
20920         (avl-tree-member): Add optional `nilflag'
20921         (avl-tree-member-p): New function.
20922         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20923         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20924         (avl-tree-stack-empty-p): New functions.
20926         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20927         avl-tree--del-balance1 and make it work both ways.
20928         (avl-tree--del-balance2): Remove.
20929         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20930         make it work both ways.
20931         (avl-tree--enter-balance2): Remove.
20932         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20933         New macros.
20934         (avl-tree--mapc, avl-tree-map): Add direction argument.
20936 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
20938         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20940 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
20942         * select.el: Support clipboard managers with built-in function
20943         x-clipboard-manager-save, via delete-frame-functions and
20944         kill-emacs-hook.
20945         (xselect-convert-to-targets): Add MULTIPLE target to list.
20946         (xselect-convert-to-save-targets): New function.
20948 2011-05-27  Kenichi Handa  <handa@m17n.org>
20950         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20951         let-binding rfc2047-encode-encoded-words to nil.
20953 2011-05-27  Glenn Morris  <rgm@gnu.org>
20955         * mail/emacsbug.el: Don't require url-util.
20957         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
20959         * files.el (set-auto-mode):
20960         Also respect mode: entries at the end of the file.  (Bug#8586)
20962 2011-05-26  Glenn Morris  <rgm@gnu.org>
20964         * files.el (hack-local-variables-prop-line, hack-local-variables):
20965         Downcase mode names, as seems to be traditional.
20966         (hack-local-variables, hack-local-variables-apply): Doc fixes.
20968         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20969         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
20971 2011-05-25  Julien Danjou  <julien@danjou.info>
20973         * textmodes/rst.el (rst-define-level-faces): Do not define face
20974         symbol if it is already defined.
20976 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20978         * play/5x5.el (5x5-new-game, 5x5-randomize):
20979         Reset 5x5-solver-output to nil when a new grid is cast.
20980         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20981         these debugging traces, as defmacro breaks the compiled code.
20983 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
20985         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20987 2011-05-24  Leo Liu  <sdl.web@gmail.com>
20989         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20990         (vc-bzr-sha1): Adapt.
20992         * sha1.el: Remove.  Function `sha1' is now builtin.
20994         * bindings.el: Provide sha1 feature.
20996 2011-05-24  Kenichi Handa  <handa@m17n.org>
20998         * mail/sendmail.el: Require `rfc2047'.
20999         (mail-insert-from-field): Do not perform RFC2047 encoding.
21000         (mail-encode-header): New function.
21001         (sendmail-send-it): Set buffer-file-coding-system of the work
21002         buffer to the return value of select-message-coding-system.
21003         Call mail-encode-header.
21005         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21007 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
21009         * mail/supercite.el (sc-default-cite-frame):
21010         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21012 2011-05-24  Glenn Morris  <rgm@gnu.org>
21014         * progmodes/python.el (brm-menu): Declare.
21016         * emulation/viper.el (viper-set-hooks): Declare.
21018         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21019         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21020         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21021         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21022         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21023         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21025 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21027         Add an :exit-function for completion-at-point.
21029         * minibuffer.el (completion--done): New fun.
21030         (completion--do-completion): Use it.  New arg `expect-exact'.
21031         (minibuffer-complete, minibuffer-complete-word): Don't output message,
21032         since completion--do-completion does it for us now.
21033         (minibuffer-force-complete): Use completion--done and
21034         completion--replace.  Handle sole-completion case with more care.
21035         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21036         (completion-extra-properties): New var.
21037         (completion-annotate-function): Make obsolete.
21038         (minibuffer-completion-help): Adjust accordingly.
21039         Use completion-list-insert-choice-function.
21040         (completion-at-point, completion-help-at-point):
21041         Bind completion-extra-properties.
21042         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21043         * simple.el (completion-list-insert-choice-function): New var.
21044         (completion-setup-function): Preserve it.
21045         (choose-completion): Pay attention to it, shuffle the code a bit.
21046         (choose-completion-string): New arg `insert-function'.
21048         * textmodes/bibtex.el: Convert to lexical binding.
21049         (bibtex-mode-map): Use completion-at-point.
21050         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21051         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21052         (bibtex-complete): Define as obsolete alias.
21053         (bibtex-complete-internal): Remove.
21054         (bibtex-format-entry): Remove unused sub-group in regexp.
21055         * shell.el (shell--command-completion-data)
21056         (shell-environment-variable-completion):
21057         * pcomplete.el (pcomplete-completions-at-point):
21058         * comint.el (comint--complete-file-name-data): Use :exit-function
21059         instead of completion-table-with-terminator so it also works for
21060         choose-completion.
21062 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21064         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21066         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21067         (bug#8710).
21069         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21071 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
21073         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21074         customization variable and implement: If non-nil, auto-fill will
21075         be inhibited while on topic's header line.
21077 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21079         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21080         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
21081         always have a solution in grid size = 5 cases.
21082         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21083         (5x5-solver-output, 5x5-log-buffer): New vars.
21084         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21085         Make these variables buffer local to achieve 5x5 multi-session-ness.
21086         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21087         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21088         (5x5-solve-suggest): New funs.
21089         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21090         randomize a grid so that we ensure that there is always a solution.
21091         (5x5-make-random-grid): Allow other movement than flipping.
21093 2011-05-23  Kevin Ryde  <user42@zip.com.au>
21095         * emacs-lisp/advice.el (ad-read-advised-function):
21096         Use `function-called-at-point' as the default, if it has
21097         advice and passes PREDICATE.
21099 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21101         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21102         byte-compile-lambda if it's actually a lambda.
21104         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21105         Fix function quoting.  Use backquote better.
21107 2011-05-22  Yuanle Song  <sylecn@gmail.com>
21109         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21110         matching (Bug#8516).
21112 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
21114         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21115         different face (Bug#8178).
21117 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
21119         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21120         defface (Bug#8144).
21122 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21124         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21125         funcall as well (bug#8712).  Warn when performing those conversions.
21126         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21128         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21130 2011-05-22  Glenn Morris  <rgm@gnu.org>
21132         * files.el (hack-local-variables-prop-line): Small simplifications.
21133         (hack-local-variables, hack-local-variables-prop-line):
21134         If MODE-ONLY, return the mode, rather than just `t'.
21136 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21138         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21140 2011-05-21  Glenn Morris  <rgm@gnu.org>
21142         * files.el (hack-local-variables-prop-line, hack-local-variables):
21143         If only interested in the mode, don't bother doing the other stuff.
21145         * image-mode.el (image-after-revert-hook):
21146         Redraw all frames on which the image is visible.  (Bug#8567)
21148         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
21150         * wid-edit.el (widget-checklist-match-inline):
21151         Fix 2011-04-19 change.  (Bug#8649)
21153 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21155         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21156         Also allow singlespace after single-letter capitals followed by a dot.
21158         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21159         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21161 2011-05-20  Nix  <nix@esperi.org.uk>
21163         * files.el (basic-save-buffer-2):
21164         Fix handling of break-hardlink-on-save with non-existent files.
21166 2011-05-19  Deniz Dogan  <deniz@dogan.se>
21168         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21169         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21171 2011-05-19  Glenn Morris  <rgm@gnu.org>
21173         * progmodes/f90.el (f90-type-def-re):
21174         Handle "type, bind(c)".  (Bug#8691)
21176         * emacs-lisp/autoload.el (batch-update-autoloads):
21177         Set autoload-excludes by parsing loadup.el rather than Makefiles.
21179 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
21181         * net/tramp.el (tramp-process-actions): Set "first-password-request"
21182         property for the correct connection in case of multihops.
21184 2011-05-18  Glenn Morris  <rgm@gnu.org>
21186         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21187         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21189         Rationalize calendar handling of day and month abbrev-arrays.
21190         * calendar/calendar.el (calendar-customized-p): New function.
21191         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21192         (calendar-day-name-array, calendar-month-name-array): Doc fix.
21193         Add :set function.
21194         (calendar-abbrev-length, calendar-day-abbrev-array)
21195         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21196         (calendar-day-abbrev-array, calendar-month-abbrev-array):
21197         Elements may no longer be nil.
21198         (calendar-day-name, calendar-month-name):
21199         Update for changed nature of abbrev arrays.
21200         * calendar/diary-lib.el (diary-name-pattern):
21201         Update for changed nature of abbrev arrays.
21202         (diary-mark-entries-1): Update calendar-make-alist calls.
21203         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21204         * calendar/cal-html.el (cal-html-day-abbrev-array):
21205         Simply inherit from calendar-day-abbrev-array.
21207 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21209         * progmodes/grep.el (grep-mode): Disable default
21210         compilation-directory-matcher setting (bug#8684).
21212 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
21214         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21215         instead of "head" and "tail".  There were problems with SunOS 5.9,
21216         and it performs better.
21218 2011-05-17  Glenn Morris  <rgm@gnu.org>
21220         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21222         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21223         Replace obsolete function.
21225         * shell.el (pcomplete-parse-arguments-function): Declare.
21227         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21228         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21229         (appt-check): Doc fixes.
21230         (appt-disp-window-function, appt-delete-window-function):
21231         Remove needless special case in custom :type.
21232         (appt-display-count): Default to 0, not nil.
21233         (appt-check): Reset appt-display-count to 0, not nil.
21235 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
21237         * progmodes/python.el (python-font-lock-keywords):
21238         Add the Python 3.X keyword "nonlocal" (bug#8639).
21240 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21242         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21244 2011-05-16  Kevin Ryde  <user42@zip.com.au>
21246         * info-look.el (makefile-automake-mode): New setups, looking in
21247         automake manual, then makefile-mode.
21248         (makefile-mode): Remove automake manual, have it just in
21249         makefile-automake-mode since there's various things different or
21250         not relevant to plain make.
21251         (makefile-mode): Remove "other-modes" non-existent automake-mode,
21252         believe a hypothetical automake-mode would go to makefile-mode,
21253         not the other way around.
21255 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
21257         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21258         hunk-end tags (Bug#8672).
21260         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21261         vc-annotate-show-diff-revision-at-line (Bug#8671).
21263 2011-05-14  Glenn Morris  <rgm@gnu.org>
21265         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21266         in the middle of an existing one with multiple authors.  (Bug#8645)
21267         (change-log-font-lock-keywords): Also handle multiple author lines
21268         with leading tabs.  (Bug#8644)
21270         * calendar/appt.el (appt-check): Rename some local variables.
21271         Some simplification/reordering.
21273         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21274         (feedmail-sendmail-f-doesnt-sell-me-out)
21275         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21276         (feedmail-debug-sit-for, feedmail-queue-express-hook)
21277         (feedmail-queue-runner-message-sender): Set :version.
21278         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21279         (bbdb-dwim-net-address, vm-mail): Declare.
21280         (feedmail-binmail-gnulinuxish-template):
21281         Rename from feedmail-binmail-linuxish-template.
21282         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21283         Use insert-buffer-substring.
21285 2011-05-14  Bill Carpenter  <bill@carpenter.org>
21287         * mail/feedmail.el (feedmail-patch-level): Increase.
21288         (feedmail-debug): New custom group.
21289         (feedmail-confirm-outgoing-timeout)
21290         (feedmail-sendmail-f-doesnt-sell-me-out)
21291         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21292         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21293         (feedmail-sender-line, feedmail-from-line)
21294         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21295         (feedmail-spray-this-address)
21296         (feedmail-spray-address-fiddle-plex-list)
21297         (feedmail-queue-use-send-time-for-date)
21298         (feedmail-queue-use-send-time-for-message-id)
21299         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21300         (feedmail-buffer-eating-function):
21301         Doc fixes.
21302         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21303         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21304         (feedmail-message-action-scroll-down): New functions.
21305         (feedmail-queue-directory, feedmail-queue-draft-directory):
21306         Use expand-file-name.
21307         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21308         Remove C-v help entry.
21309         (feedmail-queue-buffer-file-name): New variable.
21310         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21311         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21312         (feedmail-message-action-send-strong, feedmail-message-action-edit)
21313         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21314         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21315         (feedmail-message-action-toggle-spray)
21316         (feedmail-run-the-queue-no-prompts)
21317         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21318         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21319         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21320         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21321         (feedmail-envelope-deducer, feedmail-fiddle-from)
21322         (feedmail-fiddle-sender, feedmail-default-date-generator)
21323         (feedmail-fiddle-date, feedmail-fiddle-message-id)
21324         (feedmail-fiddle-spray-address)
21325         (feedmail-fiddle-list-of-spray-fiddle-plexes)
21326         (feedmail-fiddle-list-of-fiddle-plexes)
21327         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21328         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21329         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21330         Change default.  Doc fix.
21331         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21332         (feedmail-binmail-linuxish-template): New constant.
21333         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
21334         Respect feedmail-sendmail-f-doesnt-sell-me-out.
21335         (feedmail-send-it): Add debug call.
21336         Use feedmail-queue-buffer-file-name, and
21337         feedmail-send-it-immediately-wrapper.
21338         (feedmail-message-action-send): Add debug call.
21339         Use feedmail-send-it-immediately-wrapper.
21340         (feedmail-queue-express-to-queue): Add debug call.
21341         Run feedmail-queue-express-hook.
21342         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
21343         (feedmail-message-action-help-blat):
21344         Rename from feedmail-queue-send-edit-prompt-help-first.
21345         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
21346         Check line-endings.  Handle errors better.
21347         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21348         Doc fix.  Add debug call.
21349         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
21350         Use feedmail-queue-send-edit-prompt-inner.
21351         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21352         (feedmail-queue-send-edit-prompt-inner): New function, extracted
21353         from feedmail-queue-send-edit-prompt.
21354         (feedmail-queue-send-edit-prompt-help)
21355         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21356         (feedmail-tidy-up-slug): Add debug call.
21357         Respect feedmail-queue-slug-suspect-regexp.
21358         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21359         (feedmail-dump-message-to-queue): Add debug call.
21360         Expand queue-directory.
21361         (feedmail-dump-message-to-queue): Change message slightly.
21362         Use feedmail-say-chatter.
21363         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
21364         (feedmail-send-it-immediately-wrapper): New function.
21365         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
21366         Insert empty string rather than newline.  Handle full-frame case.
21367         Use catch/throw.  Use feedmail-say-chatter.
21368         (feedmail-fiddle-from): Try mail-host-address.
21369         (feedmail-default-message-id-generator): Doc fix.
21370         Bind system-time-locale.  Handle missing end.
21371         (feedmail-fiddle-x-mailer): Add debug call.
21372         Handle feedmail-x-mailer-line being nil.
21373         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21374         Add debug call.  Use buffer-substring-no-properties.
21375         (feedmail-say-debug, feedmail-say-chatter): New functions.
21376         (feedmail-find-eoh): Give an explicit error.
21378 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
21380         * net/newst-treeview.el (newsticker-treeview-face): Change default
21381         family from helvetica to sans.
21382         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21383         etc/images/newsticker.
21385         * net/newst-reader.el (newsticker-feed-face): Change default
21386         family from helvetica to sans.
21388         * net/newst-plainview.el (newsticker-new-item-face)
21389         (newsticker-old-item-face, newsticker-immortal-item-face)
21390         (newsticker-obsolete-item-face, newsticker-date-face)
21391         (newsticker-statistics-face): Change default family from
21392         helvetica to sans.
21393         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21394         etc/images/newsticker.
21396         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21397         (newsticker--process-auto-mark-filter-match): Tell user about
21398         auto-marking.
21400 2011-05-13  Didier Verna  <didier@xemacs.org>
21402         Common Lisp indentation improvements on defmethod and lambda-lists.
21403         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21404         TODO entries.
21405         (lisp-lambda-list-keyword-parameter-indentation)
21406         (lisp-lambda-list-keyword-parameter-alignment)
21407         (lisp-lambda-list-keyword-alignment): New customizable user options.
21408         (lisp-indent-defun-method): Improve docstring.
21409         (extended-loop-p): Fix comment.
21410         (lisp-indent-lambda-list-keywords-regexp): New variable.
21411         (lisp-indent-lambda-list): New function.
21412         (lisp-indent-259): Use it.
21413         (lisp-indent-defmethod): Support for more than one
21414         method qualifier and properly indent methods lambda-lists.
21415         (defgeneric): Provide a missing common-lisp-indent-function property.
21417 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21419         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21420         bounds for the empty string (bug#8667).
21422 2011-05-13  Glenn Morris  <rgm@gnu.org>
21424         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21426         * mail/sendmail.el (sendmail-program): Try executable-find first.
21427         (sendmail-send-it): `sendmail-program' cannot be unbound.
21429         * calendar/appt.el (appt-make-list): Simplify.
21430         (appt-time-msg-list): Doc fix.
21431         (appt-check): Change mode-line message at the time of the appointment.
21433 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21435         * progmodes/ld-script.el (ld-script-keywords)
21436         (ld-script-builtins): Update keywords list.
21438 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21440         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21442         * shell.el (shell-completion-vars): New function.
21443         (shell-mode):
21444         * simple.el (read-shell-command): Use it.
21445         (blink-matching-open): No need for " [...]" in minibuffer-message.
21447 2011-05-12  Glenn Morris  <rgm@gnu.org>
21449         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21450         (appt-check): Simplify.
21452 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
21454         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21455         literal "/dev/null".
21457 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21459         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21460         Fix typo.
21462 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
21464         * progmodes/which-func.el (which-function):
21465         Use add-log-current-defun instead of add-log-current-defun-function,
21466         which might not be defined (Bug#8260).
21468 2011-05-12  Glenn Morris  <rgm@gnu.org>
21470         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21471         Let byte-compile-initial-macro-environment always take precedence.
21473 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21475         * net/rcirc.el: Add support for SSL/TLS connections.
21476         (rcirc-server-alist): New field `encryption'.
21477         (rcirc): Check `encryption' settings.
21478         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
21479         Merge make-local-variable into `set'.
21480         (rcirc--connection-open-p): New function.
21481         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21482         the process is not a network process (e.g. running gnutls-cli).
21483         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21484         Make rcirc-(en|de)code-coding-system local here.
21485         (rcirc-mode): Merge make-local-variable into `set'.
21486         (rcirc-parent-buffer): Make permanent buffer-local.
21487         (rcirc-multiline-minor-mode): Don't do it here.
21488         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21489         there's no server buffer.
21491 2011-05-11  Glenn Morris  <rgm@gnu.org>
21493         * newcomment.el (comment-kill): Prefix "unused" local.
21495         * term/w32console.el (get-screen-color): Declare.
21497         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21498         Handle symbol elements of byte-compile-initial-macro-environment.
21500 2011-05-10  Leo Liu  <sdl.web@gmail.com>
21502         * bookmark.el (bookmark-bmenu-mode-map):
21503         Bind bookmark-bmenu-search to `/'.
21505         * mail/footnote.el: Convert to utf-8 encoding.
21506         (footnote-unicode-string, footnote-unicode-regexp): New variable.
21507         (Footnote-unicode): New function.
21508         (footnote-style-alist): Add unicode style to the list.
21509         (footnote-style): Doc fix.
21511 2011-05-10  Jim Meyering  <meyering@redhat.com>
21513         Fix doubled-word typos.
21514         * international/quail.el (quail-insert-kbd-layout): and and -> and
21515         * kermit.el: and and -> and
21516         * net/ldap.el (ldap-search-internal): to to -> to
21517         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21518         * progmodes/js.el (js-mode): and and -> and
21519         * textmodes/artist.el (artist-move-to-xy): at at -> at
21520         (artist-draw-region-trim-line-endings): if if -> if
21521         And Safetyc -> Safety.
21522         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21524 2011-05-10  Glenn Morris  <rgm@gnu.org>
21525             Stefan Monnier  <monnier@iro.umontreal.ca>
21527         * files.el (hack-one-local-variable-eval-safep):
21528         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
21530 2011-05-10  Glenn Morris  <rgm@gnu.org>
21532         * calendar/diary-lib.el (diary-list-entries-hook)
21533         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21534         (diary-nongregorian-marking-hook, diary-list-entries)
21535         (diary-include-other-diary-files, diary-mark-entries)
21536         (diary-mark-included-diary-files): Doc fixes.
21538 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
21540         * misc.el: Require tabulated-list.el during compilation.
21542 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
21544         * progmodes/compile.el (compilation-start):
21545         Run compilation-filter-hook for the async case too.
21546         (compilation-filter-hook): Doc fix.
21548 2011-05-09  Deniz Dogan  <deniz@dogan.se>
21550         * wdired.el: Remove outdated installation comment.  Fix usage
21551         comment.
21553 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
21555         * misc.el: Implement new command `list-dynamic-libraries'.
21556         (list-dynamic-libraries--loaded-only-p): New variable.
21557         (list-dynamic-libraries--refresh): New function.
21558         (list-dynamic-libraries): New command.
21560 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
21562         * progmodes/compile.el (compilation-error-regexp-alist-alist):
21563         Fix the ant regexp to handle end-line and end-column info from jikes.
21564         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
21565         higher priority to avoid clobbering by gnu.
21567 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
21569         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21570         if the face has existing theme settings (Bug#8454).
21572 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
21574         * progmodes/perl-mode.el (perl-imenu-generic-expression):
21575         Only match variables declared via `my' or `our' (Bug#8261).
21577         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21578         special file names `.' and `..' (Bug#8259).
21580 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
21582         * progmodes/grep.el (grep-mode-font-lock-keywords):
21583         Remove buffer-changing entries.
21584         (grep-filter): New function.
21585         (grep-mode): Add it to compilation-filter-hook.
21587         * progmodes/compile.el (compilation-filter-hook)
21588         (compilation-filter-start): New defvars.
21589         (compilation-filter): Call compilation-filter-hook prior to
21590         updating the process mark.
21592 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21594         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21596 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
21598         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21599         mailclient-send-it even if window-system is nil.  (Bug#8595)
21601         * term/w32console.el (terminal-init-w32console):
21602         Call get-screen-color and use its output to set the frame
21603         background-mode.  (Bug#8597)
21605 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21607         Make bytecomp.el understand that defmethod defines funs (bug#8631).
21608         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21609         New functions.
21610         (defgeneric, eieio--defmethod): Use them.
21611         (eieio-defgeneric): Remove.
21612         (defmethod): Call defgeneric in a way visible to the byte-compiler.
21614 2011-05-07  Glenn Morris  <rgm@gnu.org>
21616         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21617         Use let rather than let*.
21618         (timeclock-find-discrep): Remove unused local.
21620         * calendar/diary-lib.el (diary-comment-start): Doc fix.
21622         * calendar/appt.el (appt-time-msg-list): Doc fix.
21624 2011-05-06  Noah Friedman  <friedman@splode.com>
21626         * apropos.el (apropos-print-doc): Only use
21627         emacs-lisp-docstring-fill-column when it is bound to an integer,
21628         per that variable's documentation.
21630 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21632         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21633         and warnings are not silently discarded (e.g. use -d instead of -P).
21635 2011-05-06  Glenn Morris  <rgm@gnu.org>
21637         * calendar/appt.el (appt-message-warning-time): Doc fix.
21638         (appt-warning-time-regexp): New option.
21639         (appt-make-list): Respect appt-message-warning-time.
21641         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21642         New options.
21643         (diary-add-to-list): Strip comments from the displayed string.
21644         (diary-mode): Set comment-start and comment-end.
21646         * vc/diff-mode.el (smerge-refine-subst): Declare.
21647         (diff-refine-hunk): Don't require smerge-mode when compiling.
21649 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
21651         * simple.el (list-processes): Return nil as the docstring says.
21653 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
21655         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21656         to "".
21657         (ange-ftp-write-region, ange-ftp-insert-file-contents)
21658         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21659         determining of binary transfer.  (Bug#7383)
21661 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
21663         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21664         Fix port computation bug.  (Bug#8618)
21666 2011-05-05  Glenn Morris  <rgm@gnu.org>
21668         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21670         * simple.el (shell-dynamic-complete-functions)
21671         (comint-dynamic-complete-functions): Declare.
21673         * net/network-stream.el (gnutls-negotiate):
21674         * simple.el (tabulated-list-print): Fix declarations.
21676         * progmodes/gud.el (syntax-symbol, syntax-point):
21677         Remove unnecessary and incorrect declarations.
21679         * emacs-lisp/check-declare.el (check-declare-scan):
21680         Handle byte-compile-initial-macro-environment in bytecomp.el.
21682 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21684         Fix earlier half-done eieio-defmethod change (bug#8338).
21685         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21686         Streamline and change calling convention.
21687         (defmethod): Adjust accordingly and simplify.
21688         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21689         new eieio--defmethod.
21690         (slot-boundp): Minor CSE simplification.
21692 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
21694         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21695         (glasses-make-readable): Use glasses-separate-capital-groups.
21697 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
21699         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21700         (warning-series): Doc fix.
21701         (display-warning): Don't try to create the buffer if we just found it.
21703 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
21705         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21706         (autoload-find-generated-file): New function.
21707         (generate-file-autoloads): Bind generated-autoload-file to
21708         buffer-file-name.
21709         (update-file-autoloads, update-directory-autoloads):
21710         Use autoload-find-generated-file.  If called interactively, prompt for
21711         output file (Bug#7989).
21712         (batch-update-autoloads): Doc fix.
21714 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
21716         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21718 2011-05-04  Glenn Morris  <rgm@gnu.org>
21720         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21721         function, so it follows changes in calendar-date-style.
21722         (diary-fancy-date-matcher): New function.
21723         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21724         (diary-fancy-font-lock-fontify-region-function):
21725         Use diary-fancy-date-pattern as a function.
21727         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21728         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
21730 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
21732         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21733         instead of positional arguments.  Allow :keylist and :crlfiles
21734         arguments.
21735         (open-gnutls-stream): Call it.
21737         * net/network-stream.el (network-stream-open-starttls): Adjust to
21738         call `gnutls-negotiate' with :process and :hostname arguments.
21740 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21742         * minibuffer.el (completion--message): New function.
21743         (completion--do-completion, minibuffer-complete)
21744         (minibuffer-force-complete, minibuffer-complete-word): Use it.
21745         (completion--do-completion): Don't ignore completion-auto-help when in
21746         icomplete-mode.
21748         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21749         internal encoding (e.g. tibetan zero is not whitespace).
21750         (global-whitespace-mode): Prefer save-current-buffer.
21751         (whitespace-trailing-regexp): Remove useless save-match-data.
21752         (whitespace-empty-at-bob-regexp): Minor simplification.
21754 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
21756         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21758 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
21760         * textmodes/ispell.el (ispell-add-per-file-word-list):
21761         Use `concat' to create string for insertion.
21763 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
21765         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21766         Avoid open-line which runs post-self-insert-hook.
21767         (bibtex-fill-entry): Remove unused `end' var.
21769 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
21771         * textmodes/ispell.el (ispell-add-per-file-word-list):
21772         Protect against `nil' value of `comment-start' (Bug#8579).
21774 2011-05-03  Leo Liu  <sdl.web@gmail.com>
21776         * isearch.el (isearch-yank-pop): New command.
21777         (isearch-mode-map): Bind it to `M-y'.
21778         (isearch-forward): Mention it.
21780 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
21782         * simple.el (minibuffer-complete-shell-command): Remove.
21783         (minibuffer-local-shell-command-map): Use completion-at-point.
21784         (read-shell-command): Setup completion vars here instead.
21785         (read-expression-map): Bind TAB to symbol completion.
21787         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21788         error directly rather via storing it into `results'.
21790 2011-05-02  Leo Liu  <sdl.web@gmail.com>
21792         * vc/diff.el: Fix description.
21794 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21796         * server.el (server-eval-at): New function.
21798 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21800         * net/network-stream.el (open-network-stream): Take a :nowait
21801         parameter and pass it on to `make-network-process'.
21802         (network-stream-open-plain): Ditto.
21804 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21806         * faces.el (face-spec-set-match-display): Don't match toolkit
21807         options on terminal frames.
21809 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21811         * progmodes/pascal.el: Use lexical binding.
21812         (pascal-mode-map): Remove author preferences.
21814         * pcomplete.el (pcomplete-std-complete): Don't abuse
21815         completion-at-point.
21817 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
21819         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21820         removing code that has been dead since 1991 or so.
21822         * startup.el (command-line): When warning about "_emacs", use a
21823         delayed warning to allow the user to filter it out.
21825 2011-04-28  Deniz Dogan  <deniz@dogan.se>
21827         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21828         user has not joined.
21830 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21832         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21833         aren't any completions at point.
21835 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
21837         * subr.el (display-delayed-warnings): New function.
21838         (delayed-warnings-hook): New variable.
21840 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21842         * minibuffer.el (completion-at-point, completion-help-at-point):
21843         Don't presume that a given completion-at-point-function will always
21844         use the same calling convention.
21846         * pcomplete.el (pcomplete-completions-at-point):
21847         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
21848         pcomplete-seen is non-nil.
21849         (pcomplete-comint-setup): Also recognize the new comint/shell
21850         completion functions.
21851         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21852         pcomplete-seen is non-nil.
21854 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
21856         * calendar/icalendar.el (diary-lib): Add require statement.
21857         (icalendar--create-uid): Read out a uid from a text-property on
21858         the first character in the entry.  This allows for code to add its
21859         own uid to the entry.
21860         (icalendar--convert-float-to-ical): Add export of
21861         `diary-float'-entries save for those with the optional DAY
21862         argument.
21864 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
21866         * subr.el (shell-quote-argument): Use alternate escaping strategy
21867         when we spot a variable reference in a string.
21869 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
21871         * cus-start.el (all): Define customization for debug-on-event.
21873 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
21875         * subr.el (shell-quote-argument): Escape correctly under Windows.
21877 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21879         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21881 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
21883         * net/tramp.el (tramp-process-actions): Add POS argument.
21884         Delete region between POS and (pos).
21886         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21887         Use `nil' position in `tramp-process-actions' call.
21888         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21890         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21891         position in `tramp-process-actions' call.
21893         * net/trampver.el: Update release number.
21895 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21897         * custom.el (defcustom): Obey lexical-binding.
21899         Fix octave-inf completion problems reported by Alexander Klimov.
21900         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21901         Inherit from octave-mode-syntax-table.
21902         (inferior-octave-mode): Set info-lookup-mode.
21903         (inferior-octave-completion-at-point): New function.
21904         (inferior-octave-complete): Use it and completion-in-region.
21905         (inferior-octave-dynamic-complete-functions): Use it as well, and use
21906         comint-filename-completion.
21907         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21908         symbol elements which shouldn't be word elements.
21909         (octave-font-lock-keywords, octave-beginning-of-defun)
21910         (octave-function-header-regexp): Adjust regexps accordingly.
21911         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21913 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
21915         * net/gnutls.el (gnutls-errorp): Declare before first use.
21917 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
21919         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21920         verify-error, and verify-hostname-error parameters.  Check whether
21921         default trustfile exists before going to use it.  Add missing
21922         argument to gnutls-message-maybe call.  Return value.
21923         Reported by Claudio Bley <claudio.bley@gmail.com>.
21924         (open-gnutls-stream): Add usage example.
21926         * net/network-stream.el (network-stream-open-starttls): Give host
21927         parameter to `gnutls-negotiate'.
21928         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21929         * subr.el (shell-quote-argument): Escape correctly under Windows.
21931 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
21933         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21934         Use correct match group (bug#8438).
21936 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
21938         * emacs-lisp/package.el (package-built-in-p): Fix typo.
21939         (package-menu--generate): New arg specifying packages to show.
21940         (package-menu-refresh, package-menu-execute, list-packages):
21941         Callers changed.
21942         (package-show-package-list): New function, replacing deleted
21943         package--list-packages (renamed because it is non-internal).
21945         * finder.el (finder-list-matches): Use package-show-package-list
21946         instead of deleted package--list-packages.
21948         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21949         Based on a previous implementation by Juanma Barranquero (Bug#8366).
21950         (vc-annotate-mode-map): Bind it to RET.
21952 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
21954         * progmodes/etags.el (next-file): Don't use set-buffer to change
21955         buffers (Bug#8478).
21957 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
21959         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21961         * apropos.el (apropos-label-face): Avoid variable-pitch face.
21962         (apropos-accumulator): Doc fix.
21963         (apropos-function, apropos-macro, apropos-command)
21964         (apropos-variable, apropos-face, apropos-group, apropos-widget)
21965         (apropos-plist): Add face property.
21966         (apropos-symbols-internal): Fix indentation.
21967         (apropos-print): Simplify help, and recognize apropos-multi-type.
21968         (apropos-print-doc): Use button-type-get to extract the button's
21969         face property.  Fill docstring (Bug#8352).
21971 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
21973         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21975         * play/mpuz.el (mpuz-silent): Doc fix.
21976         (mpuz-mode-map): Use mapc.
21977         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21978         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21979         Fix typos in docstrings.
21981         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21982         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21984         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21986 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
21988         * minibuffer.el (completion--do-completion): Avoid the "Next char
21989         not unique" prompt if icomplete-mode is enabled (Bug#5849).
21991         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21992         mouse-2 into unread-command-events, it is interpreted correctly.
21994         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21995         (image-toggle-display): Doc fix.
21997 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
21999         * textmodes/page.el (what-page): Use line-number-at-pos to
22000         calculate line number (Bug#6825).
22002 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
22004         * eshell/esh-mode.el (find-tag-interactive): Declare function.
22005         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22006         Pass argument NO-DEFAULT to `find-tag-interactive'.
22008 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
22010         Lexical-binding cleanup.
22012         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22013         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22014         * progmodes/ada-prj.el (ada-prj-initialize-values)
22015         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22016         (ada-prj-show-value):
22017         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22018         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22019         (antlr-invalidate-context-cache, antlr-options-menu-filter)
22020         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22021         * progmodes/bug-reference.el (bug-reference-push-button):
22022         * progmodes/fortran.el (fortran-line-length):
22023         * progmodes/glasses.el (glasses-change):
22024         * progmodes/octave-mod.el (octave-fill-paragraph):
22025         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22026         (python-pdbtrack-grub-for-buffer, python-sentinel):
22027         * progmodes/sql.el (sql-save-connection):
22028         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22029         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22030         Mark unused parameters.
22032         * progmodes/compile.el (compilation--flush-directory-cache)
22033         (compilation--flush-parse, compile-internal): Mark unused parameters.
22034         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22035         (compilation-next-error-function): Remove unused variable `timestamp'.
22037         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22038         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22040         * progmodes/dcl-mode.el (dcl-end-of-command):
22041         Remove unused variable `start'.
22042         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22043         (dcl-option-value-basic, dcl-option-value-offset)
22044         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22045         Mark unused parameters.
22046         (dcl-save-local-variable): Remove unused variable `val'.
22047         (mode): Declare.
22049         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22050         Mark unused parameters.
22051         (delphi-ignore-changes): Move before first use.
22052         (delphi-charset-token-at): Remove unused variable `start'.
22053         (delphi-else-start): Remove unused variable `if-count'.
22054         (delphi-comment-block-start, delphi-comment-block-end):
22055         Remove unused variable `kind'.
22056         (delphi-indent-line): Remove unused variable `new-point'.
22058         * progmodes/ebrowse.el (ebrowse-files-list)
22059         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22060         Mark unused parameters.  Don't quote `lambda'.
22061         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22062         Don't quote `lambda'.
22063         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22064         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22065         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22066         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22067         Use `ignore-errors'.
22068         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22069         (ebrowse-view/find-file-and-search-pattern)
22070         (ebrowse-view/find-member-declaration/definition):
22071         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22072         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22073         Rename parameter PREFIX-ARG to PREFIX.
22074         (ebrowse-tags-read-name): Remove unused variables `start' and
22075         `member-info'.
22076         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22077         to `tags-file'.
22079         * progmodes/etags.el (local-find-tag-hook): Declare.
22080         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22081         Mark unused parameters.
22083         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22084         (executable-interpret): Mark unused parameter.
22086         * progmodes/flymake.el (flymake-process-sentinel)
22087         (flymake-after-change-function)
22088         (flymake-create-temp-with-folder-structure)
22089         (flymake-get-include-dirs-dot): Mark unused parameters.
22090         (flymake-safe-delete-directory): Remove unused variable `err'.
22092         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22093         (speedbar-timer-fn, speedbar-line-text)
22094         (speedbar-change-expand-button-char, speedbar-delete-subblock)
22095         (speedbar-center-buffer-smartly): Declare functions.
22096         (gdb-find-watch-expression): Remove unused variable `array'.
22097         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22098         (gdb-starting): Mark unused parameters.
22099         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22100         (gdb-table-string): Remove unused variable `res'.
22101         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22102         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22103         (gdb-display-buffer): Remove unused variable `cur-size'.
22105         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22106         allow lexical-binding compilation.
22107         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22108         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22109         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22110         Mark unused parameters.
22111         (gud-gdb-marker-filter): Remove unused variable `match'.
22112         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22113         lambda expressions and funcall them, instead of using `fset'.
22115         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22116         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22118         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22119         variable `header-beg'; use `let'.
22121         * progmodes/icon.el (indent-icon-exp): Remove unused variables
22122         `restart', `last-sexp' and `at-do'.
22124         * progmodes/js.el (js--debug): Mark unused parameter.
22125         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22126         (js--splice-into-items): Remove unused variable `item'.
22127         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22129         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22130         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22131         (makefile-complete): Remove unused variable `try'.
22132         (makefile-fill-paragraph, makefile-match-function-end):
22133         Mark unused parameters.
22135         * progmodes/octave-inf.el (inferior-octave-complete):
22136         Remove unused variable `proc'.
22137         (inferior-octave-output-digest): Mark unused parameter.
22139         * progmodes/perl-mode.el (perl-calculate-indent):
22140         Remove unused variable `err'.
22142         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22143         (prolog-indent-line): Mark unused parameters.
22144         (prolog-indent-line): Remove unused variable `beg'.
22146         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22147         (reporter-dont-compact-list): Declare.
22149         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22150         Remove unused variable `char'.
22151         (sh-debug): Mark unused parameter.
22152         (sh-get-indent-info): Remove unused variable `start'.
22153         (sh-calculate-indent): Remove unused variable `var'.
22155         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22156         (simula-electric-keyword): Remove unused variable `null'.
22157         (simula-search-backward, simula-search-forward): Remove unused
22158         variables `begin' and `end'.
22160         * progmodes/vera-mode.el (vera-guess-basic-syntax):
22161         Remove unused variable `pos'.
22162         (vera-electric-tab, vera-comment-uncomment-region):
22163         Mark unused parameters.
22164         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22166 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
22168         * emacs-lisp/package.el (package--builtins, package-alist)
22169         (package-load-descriptor, package-built-in-p, package-activate)
22170         (define-package, package-installed-p)
22171         (package-compute-transaction, package-buffer-info)
22172         (package--push): Doc fix.  Distinguish more clearly between
22173         version strings and version lists.
22175 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
22177         Lexical-binding cleanup.
22179         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22180         (5x5-make-mutate-best):
22181         * play/fortune.el (fortune-in-buffer):
22182         * play/gomoku.el (gomoku-init-display):
22183         * play/solitaire.el (solitaire, solitaire-do-check):
22184         * play/tetris.el (tetris-default-update-speed-function):
22185         Mark unused parameters.
22187         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22188         (bubbles--shift): Remove unused variable `char-org'.
22189         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
22190         (bubbles--show-images): Remove unused variable `char'.
22192         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22193         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22194         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22195         (decipher-analyze-buffer): Use ?\s.
22196         (decipher-make-checkpoint): Remove unused variable `mapping'.
22198         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22200         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22201         Remove unused variable `result'; use `let'.
22203         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22204         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22205         (gametree-children-shown-p, gametree-compute-reduced-score):
22206         Use `ignore-errors'.
22208         * play/handwrite.el (ps-lpr-switches): Declare.
22209         (handwrite): Remove unused variables `pmin' and `lastp'.
22211         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22213         * play/landmark.el (landmark-init-display)
22214         (landmark-update-naught-weights): Mark unused parameters.
22215         (landmark-y): Remove unused variable `noise'.  Simplify.
22216         (landmark-human-plays): Remove unused variable `score'.
22218         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22219         (mpuz-try-proposal): Remove unused variable `game'.
22221         * play/zone.el (life-patterns): Declare.
22223 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
22225         * vc/vc.el (ediff-vc-internal): Declare function.
22227 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22229         * shell.el: Use lexical-binding and std completion UI.
22230         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22231         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22232         comint-preoutput-filter-functions rather than on
22233         comint-output-filter-functions.
22234         (shell-command-completion, shell--command-completion-data)
22235         (shell-filename-completion, shell-environment-variable-completion)
22236         (shell-c-a-p-replace-by-expanded-directory): New functions.
22237         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22238         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22239         (shell-dynamic-complete-environment-variable): Use them.
22240         (shell-dynamic-complete-as-environment-variable)
22241         (shell-dynamic-complete-as-command): Remove.
22242         (shell-match-partial-variable): Match past point.
22243         * comint.el: Clean up use of completion-at-point-functions.
22244         (comint-completion-at-point): New function.
22245         (comint-mode): Use it completion-at-point-functions.
22246         (comint-dynamic-complete): Make it obsolete.
22247         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22248         (comint-c-a-p-replace-by-expanded-history): New function.
22249         (comint-dynamic-complete-functions)
22250         (comint-replace-by-expanded-history): Use it.
22251         * minibuffer.el (completion-table-with-terminator): Allow dynamic
22252         termination strings.  Try harder to avoid second try-completion.
22253         (completion-in-region-mode-map): Disable bindings that don't work yet.
22255         * comint.el: Use lexical-binding.  Require CL.
22256         (comint-dynamic-complete-functions): Use comint-filename-completion.
22257         (comint-completion-addsuffix): Tweak custom type.
22258         (comint-filename-completion, comint--common-suffix)
22259         (comint--common-quoted-suffix, comint--table-subvert)
22260         (comint--complete-file-name-data): New functions.
22261         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22262         (comint-dynamic-list-filename-completions): Use them.
22263         (comint-dynamic-simple-complete): Make obsolete.
22265         * minibuffer.el (completion-in-region-mode):
22266         Keep completion-in-region-mode--predicate global.
22267         (completion-in-region--postch):
22268         Assume completion-in-region-mode--predicate is not null.
22270         * progmodes/flymake.el (flymake-start-syntax-check-process):
22271         Obey `dir'.  Simplify.
22273         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22274         we're in VC after all.
22276 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
22278         * vc/vc.el (vc-diff-build-argument-list-internal)
22279         (vc-version-ediff, vc-ediff): New commands.
22280         (vc-version-diff): Use vc-diff-build-argument-list-internal.
22282 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22284         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22285         add sanity check.
22287         * obsolete/erc-hecomplete.el: Make obsolete.
22288         * obsolete/: Standardize obsolescence info in the header.
22290 2011-04-20  Glenn Morris  <rgm@gnu.org>
22292         * calendar/solar.el (solar-horizontal-coordinates):
22293         Use the longitude argument rather than `calendar-longitude'.
22294         (solar-date-next-longitude): Remove unused locals.
22296 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
22298         * whitespace.el: New version 13.2.1.
22300 2011-04-20  felix  <EmacsWiki>  (tiny change)
22302         * whitespace.el (global-whitespace-mode): Keep highlight when
22303         switching between major modes on a file.
22305 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22307         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22308         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22309         multi-line comments as well.
22311 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
22313         Lexical-binding cleanup.
22315         * arc-mode.el (archive-mode-revert):
22316         * cmuscheme.el (scheme-interactively-start-process):
22317         * custom.el (custom-initialize-delay):
22318         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22319         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22320         * emacs-lock.el (emacs-lock-clear-sentinel):
22321         * ezimage.el (defezimage):
22322         * follow.el (follow-avoid-tail-recenter):
22323         * fringe.el (set-fringe-mode-1):
22324         * generic-x.el (bat-generic-mode-compile):
22325         * help-mode.el (help-info-variable, help-do-xref)
22326         (help-mode-revert-buffer):
22327         * help.el (view-emacs-todo):
22328         * iswitchb.el (iswitchb-completion-help):
22329         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22330         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22331         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22332         * locate.el (locate-update):
22333         * longlines.el (longlines-encode-region)
22334         (longlines-after-change-function):
22335         * outline.el (outline-isearch-open-invisible):
22336         * ps-def.el (declare-function, charset-dimension, char-width)
22337         (encode-char):
22338         * ps-mule.el (ps-mule-plot-string):
22339         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22340         (recentf-edit-list-select, recentf-edit-list-validate)
22341         (recentf-open-files-action):
22342         * rect.el (delete-whitespace-rectangle-line)
22343         (rectangle-number-line-callback):
22344         * register.el (window-configuration-to-register)
22345         (frame-configuration-to-register):
22346         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22347         * select.el (xselect-convert-to-string, xselect-convert-to-length)
22348         (xselect-convert-to-targets, xselect-convert-to-delete)
22349         (xselect-convert-to-filename, xselect-convert-to-charpos)
22350         (xselect-convert-to-lineno, xselect-convert-to-colno)
22351         (xselect-convert-to-os, xselect-convert-to-host)
22352         (xselect-convert-to-user, xselect-convert-to-class)
22353         (xselect-convert-to-name, xselect-convert-to-integer)
22354         (xselect-convert-to-atom, xselect-convert-to-identity):
22355         * subr.el (declare, ignore, process-kill-without-query)
22356         (text-clone-maintain):
22357         * terminal.el (te-get-char, te-tic-sentinel):
22358         * tool-bar.el (tool-bar-make-keymap):
22359         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22360         * type-break.el (type-break-mode, type-break-noninteractive-query):
22361         * view.el (View-back-to-mark):
22362         * wid-browse.el (widget-browse-action, widget-browse-widget)
22363         (widget-browse-widgets, widget-browse-sexp):
22364         * widget.el (define-widget-keywords):
22365         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22366         Mark unused parameters.
22368         * align.el (align-adjust-col-for-rule): Mark unused parameter.
22369         (align-areas): Remove unused variable `look'.
22370         (align-region): Remove unused variables `real-end' and `pos-list'.
22372         * apropos.el (apropos-score-doc): Remove unused variable `i'.
22374         * bindings.el (mode-line-modified, mode-line-remote):
22375         Mark unused parameters.
22376         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22378         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22379         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22381         * comint.el (comint-history-isearch-pop-state)
22382         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22383         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22384         (comint-substitute-in-file-name): Doc fix.
22386         * completion.el (cmpl-statistics-block): Mark unused parameter.
22387         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22388         (save-completions-to-file, load-completions-from-file):
22389         Remove unused local variable `e'.
22391         * composite.el (compose-chars): Remove unused variable `len'.
22392         (lgstring-insert-glyph): Remove unused variable `g'.
22393         (compose-glyph-string): Remove unused variables `ascent',
22394         `descent', `lbearing' and `rbearing'.
22395         (compose-glyph-string-relative): Remove unused variables
22396         `lbearing', `rbearing' and `wadjust'.
22397         (compose-gstring-for-graphic): Remove unused variables `header',
22398         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
22399         (compose-gstring-for-terminal): Remove unused variables `header'
22400         and `nchars'.  Use `let', not `let*'.
22402         * cus-edit.el (Custom-set, Custom-save, custom-reset)
22403         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22404         (Custom-buffer-done, custom-buffer-create-internal)
22405         (custom-browse-visibility-action, custom-browse-group-tag-action)
22406         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22407         (widget-magic-mouse-down-action, custom-toggle-parent)
22408         (custom-add-parent-links, custom-toggle-hide-variable)
22409         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22410         (custom-toggle-hide-face, face, hook, custom-group-link-action)
22411         (custom-face-menu-create, custom-variable-menu-create, get)
22412         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22413         (custom-reset-standard-save-and-update): Remove unused variable `value'.
22414         (customize-apropos): Remove unused variable `tests'.
22415         (custom-group-value-create): Remove unused variable `hidden-p'.
22416         (sort-fold-case): Declare.
22418         * cus-theme.el (custom-reset-standard-faces-list)
22419         (custom-reset-standard-variables-list): Declare.
22420         (customize-create-theme, custom-theme-revert, custom-theme-write)
22421         (custom-theme-choose-mode, customize-themes, custom-theme-save):
22422         Mark unused parameters.
22424         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22426         * delim-col.el (delimit-columns-max): Move defvar before first use.
22428         * descr-text.el (describe-char-categories): Don't quote `lambda'.
22429         (describe-char): Don't quote `lambda'.  Mark unused parameter.
22431         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22432         (auto-insert): Declare.
22433         (desktop-restore-file-buffer): Rename desktop-* parameters;
22434         mark unused ones.
22435         (desktop-create-buffer): Rename desktop-* parameters and bind them.
22436         (desktop-buffer): Rename desktop-* parameters.
22438         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22439         (dframe-reposition-frame-xemacs, dframe-help-echo)
22440         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22441         Mark unused parameters.
22443         * dired-aux.el (backup-extract-version-start, overwrite-query)
22444         (overwrite-backup-query, rename-regexp-query)
22445         (rename-non-directory-query): Declare.
22446         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22447         (dired-add-entry): Remove unused variable `orig-file-name'.
22448         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22449         Use parameter PRESERVE-TIME instead of accessing dynamic variable
22450         `dired-copy-preserve-time' directly.
22451         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22452         (dired-insert-subdir-newpos): Rename unused variable `pos'.
22454         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22455         (dired-virtual-revert, dired-make-relative-symlink):
22456         Mark unused parameters.
22457         (manual-program): Declare.
22458         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22459         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22460         wrapped in `with-no-warnings' to avoid replacing one warning by another.
22462         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22464         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22466         * echistory.el (electric-history-in-progress, Helper-return-blurb):
22467         Declare.
22469         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22471         * electric.el (Electric-command-loop): Rename parameter
22472         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22474         * expand.el (expand-in-literal): Remove unused variable `here'.
22476         * facemenu.el (facemenu-add-new-color):
22477         Remove unused variable `docstring'.
22479         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22480         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22481         (face-attr-construct): Mark unused parameter.  Doc fix.
22482         (read-color): Remove unused variable `hex-string'.
22484         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22485         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22486         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22487         (display-buffer-other-frame): Remove unused variable `old-window'.
22488         (kill-buffer-hook): Declare.
22489         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22490         Mark unused parameters.
22491         (after-find-file): Pass 1 to `auto-save-mode', not t.
22493         * files-x.el (auto-insert): Declare.
22494         (modify-file-local-variable-prop-line): Remove unused variable `val'.
22496         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22497         variable `buf'.  Mark unused parameter.
22498         (find-lisp-insert-directory): Mark unused parameter.
22500         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22501         (format-encode-region): Remove unused variables `cur-buf' and `result'.
22502         (format-common-tail): Remove, unused.
22503         (format-deannotate-region): Remove unused variable `loc'.
22504         (format-annotate-region): Remove unused variable `p'.
22505         (format-annotate-single-property-change): Remove unused variables
22506         `default' and `tail'.
22508         * forms.el (read-file-filter): Declare.
22509         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22511         * frame.el (frame-creation-function-alist): Mark unused parameter.
22512         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22514         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22515         Remove unused parameters.
22516         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22517         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22519         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22520         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22521         (hfy-prepare-tag-map): Mark unused parameters.
22522         (htmlfontify-buffer): Use `called-interactively-p'.
22524         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22525         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22526         (ibuffer-do-occur): Mark unused parameters.
22527         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22528         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22530         * ibuffer.el: Don't quote `lambda'.
22531         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22532         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22533         Mark unused parameters.
22535         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22536         (ido-completing-read): Mark unused parameters.
22537         (ido-copy-current-word): Mark unused parameters;
22538         remove unused variable `name'.
22539         (ido-sort-merged-list): Remove unused parameter `dirs'.
22541         * ielm.el (ielm-input-sender): Mark unused parameter.
22542         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22543         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22544         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22545         `ielm-string' as a dynamic variable accessible from the IELM prompt.
22546         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
22548         * image-dired.el (image-dired-display-thumbs): Remove unused
22549         variables `curr-file' and `count'.
22550         (image-dired-remove-tag): Remove unused variable `start'.
22551         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22552         variable `curr-file'
22553         (image-dired-rotate-original): Remove unused variable `temp-file'.
22554         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22555         Remove unused variable `file'.
22556         (image-dired-gallery-generate): Remove unused variable `curr'.
22557         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22559         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22561         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22563         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22565         * isearch.el (minibuffer-history-symbol): Declare.
22566         (isearch-edit-string): Remove unused variable `err'.
22567         (isearch-message-prefix, isearch-message-suffix):
22568         Mark unused parameters.
22570         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22572         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22574         * makesum.el (double-column): Remove unused variable `cnt'.
22576         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22577         (ido-ignore-item-temp-list): Declare.
22579         * mouse-drag.el (mouse-drag-throw): Remove unused variables
22580         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22581         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22582         (mouse-drag-drag): Remove unused variables `mouse-delta' and
22583         `mouse-col-delta'.
22585         * mouse-sel.el (mouse-extend-internal):
22586         Remove unused variable `orig-window-frame'.
22588         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22589         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22590         Move declarations before first use.
22591         (pcomplete-opt): Mark unused parameters; doc fix.
22593         * proced.el (proced-revert): Mark unused parameter.
22594         (proced-send-signal): Remove unused variable `err'.
22596         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22597         Rename parameter PREFIX-ARG to ARG.
22598         (ps-basic-plot-string, ps-basic-plot-whitespace):
22599         Mark unused parameters.
22601         * replace.el (replace-count): Define.
22602         (occur-revert-function): Mark unused parameters.
22603         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22604         (isearch-case-fold-search, isearch-string): Declare.
22605         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22606         bind `case-fold-search'.  Remove unused variables `beg' and `end',
22607         and simplify.
22608         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22609         COUNT and bind `replace-count'.
22610         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22611         to COUNT.
22613         * savehist.el (print-readably, print-string-length): Declare.
22615         * shadowfile.el (shadow-expand-cluster-in-file-name):
22616         Remove unused variable `cluster'.
22617         (shadow-copy-file): Remove unused variable `i'.
22618         (shadow-noquery, shadow-clusters, shadow-site-cluster)
22619         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22620         (shadow-define-literal-group, shadow-define-regexp-group)
22621         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22623         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22624         (shell): Use `called-interactively-p'.
22625         (shell-directory-tracker): Remove unused variable `chdir-failure'.
22627         * simple.el (compilation-context-lines, comint-file-name-quote-list)
22628         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22629         (delete-backward-char): Remove unused variable `ocol'.
22630         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22631         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22632         (event-apply-hyper-modifier, event-apply-shift-modifier)
22633         (event-apply-control-modifier, event-apply-meta-modifier):
22634         Mark unused parameters.
22635         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22636         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22638         * speedbar.el (speedbar-ignored-directory-expressions)
22639         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22640         (speedbar-find-file, speedbar-dir-follow)
22641         (speedbar-directory-buttons-follow, speedbar-tag-find)
22642         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22643         (speedbar-buffers-line-directory, speedbar-buffer-click):
22644         Mark unused parameters.
22645         (speedbar-tag-file): Remove unused variable `mode'.
22646         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22648         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22650         * talk.el (talk): Remove unused variable `display'.
22652         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22653         (tar-write-region-annotate): Mark unused parameter.
22655         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22656         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22657         Declare them, wrapped in `with-no-warnings' to avoid replacing one
22658         warning by another.
22660         * time-stamp.el (time-stamp-string-preprocess):
22661         Remove unused variable `require-padding'.
22663         * tree-widget.el (widget-glyph-enable): Declare.
22664         (tree-widget-action): Mark unused parameter.
22666         * w32-fns.el (x-get-selection): Mark unused parameter.
22667         (autoload-make-program, generated-autoload-file): Declare.
22669         * wdired.el (wdired-revert): Mark unused parameters.
22670         (wdired-xcase-word): Remove unused variable `err'.
22672         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22673         (whitespace-help-scroll): Remove unused variable `data-help'.
22675         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22676         (widget-image-insert, widget-after-change, default)
22677         (widget-default-format-handler, widget-default-notify)
22678         (widget-default-prompt-value, widget-info-link-action)
22679         (widget-url-link-action, widget-function-link-action)
22680         (widget-variable-link-action, widget-file-link-action)
22681         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22682         (widget-field-prompt-internal, widget-field-action, widget-field-match)
22683         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22684         (widget-insert-button-action, widget-delete-button-action, visibility)
22685         (widget-documentation-link-action, widget-documentation-string-action)
22686         (widget-const-prompt-value, widget-regexp-match, symbol)
22687         (widget-coding-system-prompt-value)
22688         (widget-key-sequence-value-to-external, sexp)
22689         (widget-sexp-value-to-internal, character, vector, cons)
22690         (widget-choice-prompt-value, widget-boolean-prompt-value)
22691         (widget-color--choose-action): Mark unused parameters.
22692         (widget-item-match-inline, widget-choice-match-inline)
22693         (widget-checklist-match, widget-checklist-match-inline)
22694         (widget-group-match): Rename parameter VALUES to VALS.
22695         (widget-field-value-set): Remove unused variable `size'.
22696         (widget-color-action): Remove unused variables `value' and `start'.
22698         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22699         variable `dir'.  Doc fix.
22700         (windmove-find-other-window): Don't pass it.
22702         * window.el (count-windows): Mark unused parameter.
22703         (bw-adjust-window): Remove unused variable `err'.
22705         * woman.el (woman-file-name): Remove unused variable `default'.
22706         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22707         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22708         (global-font-lock-mode): Declare.
22709         (woman-decode-region): Mark unused parameter.
22710         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22712         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22713         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22714         (x-dnd-handle-moz-url): Remove unused variable `title'.
22715         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22717         * xml.el (xml-parse-tag, xml-parse-attlist):
22718         Remove unused variable `pos'.
22720 2011-04-19  Glenn Morris  <rgm@gnu.org>
22722         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22723         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22724         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22725         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22726         * calendar/cal-html.el (cal-html-insert-minical):
22727         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22728         (calendar-mark-date-pattern):
22729         Prefix "unused" locals.
22731         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22732         optional argument `style'.
22734         * calendar/appt.el (appt-make-list):
22735         * calendar/cal-china.el (calendar-chinese-date-string):
22736         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22737         (diary-hebrew-yahrzeit):
22738         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22739         * calendar/calendar.el (calendar-generate-window):
22740         * calendar/time-date.el (time-to-days):
22741         Remove unused local variables.
22743 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
22745         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22746         glyphless-char-display table.
22747         (tabulated-list-glyphless-char-display): New var.
22749 2011-04-18  Sam Steingold  <sds@gnu.org>
22751         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22752         to acknowledgments.
22754 2011-04-17  Glenn Morris  <rgm@gnu.org>
22756         * calendar/diary-lib.el (diary-sexp-entry):
22757         * calendar/holidays.el (holiday-sexp):
22758         Set debug-on-error rather than the removed stack-trace-on-error.
22760 2011-04-16  Glenn Morris  <rgm@gnu.org>
22762         * progmodes/f90.el: Use lexical-binding.
22763         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22765 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22767         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22768         (mail-mode): Setup mailalias completion here instead.
22769         * mail/mailalias.el: Use lexical-binding.
22770         (pattern, mailalias-done): Declare dynamic.
22771         (mail-completion-at-point-function): New function, from mail-complete.
22772         (mail-complete): Use it.
22773         (mail-completion-expand): New function.
22774         (mail-get-names): Use it.
22775         (mail-directory, mail-directory-process, mail-directory-stream):
22776         Don't use `pattern' for lexically bound arg.
22778         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22780         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22781         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22782         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22784         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22785         (byte-save-window-excursion, byte-temp-output-buffer-setup)
22786         (byte-interactive-p): Define them again, for use when inlining
22787         old code.
22789 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
22791         * loadup.el: Use `string-to-number', not `string-to-int'.
22793 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22795         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22796         gud-gdb-complete-command.
22797         (gud-gdb-completions): New function, from gud-gdb-complete-command.
22798         (gud-gdb-completion-at-point): New function.
22799         (gud-gdb-completions): Remove.
22801 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
22803         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22804         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
22805         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22806         whether `executable-find' is bound.
22808         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22810 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22812         * minibuffer.el (completion-in-region-mode-predicate)
22813         (completion-in-region-mode--predicate): New vars.
22814         (completion-in-region, completion-in-region--postch)
22815         (completion-in-region-mode): Use them.
22816         (completion--capf-wrapper): Also return the hook function.
22817         (completion-at-point, completion-help-at-point):
22818         Adjust and provide a predicate.
22820         Preserve arg names for advice of subr and lexical functions (bug#8457).
22821         * help-fns.el (help-function-arglist): Consolidate the subr and
22822         new-byte-code cases.  Add argument `preserve-names' to extract names
22823         from the docstring when needed.
22824         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22825         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22826         (ad-arglist): Use help-function-arglist's new arg.
22827         (ad-definition-type): Use cond.
22829 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
22831         * autorevert.el (auto-revert-handler):
22832         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22833         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22834         Don't quote lambda.
22836         * image-mode.el (image-transform-set-scale):
22837         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22839 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22841         * net/network-stream.el (network-stream-open-starttls): Only do
22842         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22843         Upgrades via gnutls-cli are too slow to be done opportunistically.
22845 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
22847         * dframe.el (dframe-current-frame): Remove spurious quote.
22849 2011-04-12  Glenn Morris  <rgm@gnu.org>
22851         * calendar/cal-tex.el (cal-tex-end-document):
22852         Try to automatically use latin1 input if needed.
22854         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22855         Don't try to cons a mark onto an empty element.
22857 2011-04-11  Leo Liu  <sdl.web@gmail.com>
22859         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22860         buffers.
22861         (ido-kill-buffer-at-head): Support killing virtual buffers.
22863 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
22865         * minibuffer.el (completion-show-inline-help): New var.
22866         (completion--do-completion, minibuffer-complete)
22867         (minibuffer-force-complete, minibuffer-complete-word):
22868         Inhibit minibuffer messages if completion-show-inline-help is nil.
22870         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22871         to avoid interference from inline help (Bug#5849).
22873 2011-04-10  Leo Liu  <sdl.web@gmail.com>
22875         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22876         Fix typo.
22878 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
22880         * image-mode.el (image-toggle-display-image): Signal an error if
22881         not in Image mode.
22882         (image-transform-mode, image-transform-resize)
22883         (image-transform-set-rotation): Doc fix.
22884         (image-transform-set-resize): Delete.
22885         (image-transform-set-scale, image-transform-fit-to-height)
22886         (image-transform-fit-to-width): Handle image-toggle-display-image
22887         and image-transform-resize directly.
22889 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
22891         * doc-view.el (doc-view-fit-width-to-window)
22892         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22893         New functions for fitting the shown image to the Emacs window size.
22894         (doc-view-mode-map): Add bindings for the new functions.
22896 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
22898         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22899         Fix typo in docstring.
22901 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
22903         * files.el (file-size-human-readable): Produce one digit after
22904         decimal, like "ls -lh" does.
22906         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22907         the file size representation.
22909         * simple.el (list-processes): If async subprocesses are not
22910         available, error out with a clear error message.
22912 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
22914         * help.el (help-form-show): New function, to be called from C.
22915         Put help-form output in a buffer named differently than *Help*.
22917 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
22919         * files.el (file-size-human-readable): New function.
22921         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22922         computing the representation inline.  Don't require `cl'.
22924 2011-04-08  Glenn Morris  <rgm@gnu.org>
22926         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22928         * net/browse-url.el (browse-url-firefox):
22929         Test system-type, not system-configuration.
22931         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22932         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22933         Use log-edit-empty-buffer-p.  (Bug#7598)
22935         * net/rlogin.el (rlogin-process-connection-type): Simplify.
22936         (rlogin-mode-map): Initialize in the defvar.
22937         (rlogin): Use ignore-errors.
22939         * replace.el (occur-mode-map): Some fixes for menu items.
22941 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
22943         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
22945 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
22947         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22948         issuing unused warnings.
22950         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22951         macro directly.
22953         * simple.el: Lisp reimplement of list-processes.  Based on an
22954         earlier reimplementation by Leo Liu, but using tabulated-list.el.
22955         (process-menu-mode): New major mode.
22956         (list-processes--refresh, list-processes):
22957         (process-menu-visit-buffer): New functions.
22959         * files.el (save-buffers-kill-emacs): Don't assume any return
22960         value of list-processes, which is undocumented anyway.
22962 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
22964         * emacs-lisp/tabulated-list.el: New file.
22966         * emacs-lisp/package.el: Use Tabulated List mode.
22967         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22968         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
22969         table format using Tabulated List mode variables.
22970         (package--push): New macro, replacing package-list-maybe-add.
22971         (package-menu--generate): Use package--push.  Renamed from
22972         package--generate-package-list.
22973         (package-menu-refresh, list-packages): Use it.
22974         (package-menu--print-info): Rename from package-print-package.
22975         Return insertion data instead of inserting it directly.
22976         (package-menu-describe-package, package-menu-execute):
22977         Use tabulated-list-get-id.
22978         (package-menu-mark-delete, package-menu-mark-install)
22979         (package-menu-mark-unmark, package-menu-backup-unmark)
22980         (package-menu-mark-obsolete-for-deletion):
22981         Use tabulated-list-put-tag.
22982         (package--list-packages, package-menu-revert)
22983         (package-menu-get-package, package-menu-get-version)
22984         (package-menu-sort-by-column): Functions deleted.
22985         (package-menu-package-list, package-menu-sort-key): Vars deleted.
22986         (package-menu--status-predicate, package-menu--version-predicate)
22987         (package-menu--name-predicate)
22988         (package-menu--description-predicate): Handle arguments in the
22989         Tabulated List format.
22990         (package-list-packages-no-fetch): Call list-packages.
22992 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
22994         * files.el (after-find-file-from-revert-buffer): Remove variable.
22995         (after-find-file): Don't bind it.
22996         (revert-buffer-in-progress-p): New variable.
22997         (revert-buffer): Bind it.
22998         Pass nil for `after-find-file-from-revert-buffer'.
23000         * saveplace.el (save-place-find-file-hook): Use new variable
23001         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23003 2011-04-06  Glenn Morris  <rgm@gnu.org>
23005         * Makefile.in (AUTOGEN_VCS): New variable.
23006         (autoloads): Use $AUTOGEN_VCS.
23008         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23009         * calendar/calendar.el (calendar-mode-map):
23010         Check for toolkit scroll bars.  (Bug#8305)
23012 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
23014         * minibuffer.el (completion-in-region--postch)
23015         (completion-in-region-mode): Remove unnecessary messages.
23017 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
23019         * font-lock.el (font-lock-refresh-defaults):
23020         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23021         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23023         * info.el (Info-directory-list, Info-read-node-name-2)
23024         (Info-split-parameter-string): Doc fixes.
23025         (Info-virtual-nodes): Reflow docstring.
23026         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23027         (Info-apropos-toc-nodes, info-finder, Info-get-token)
23028         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23029         Fix typos in docstrings.
23030         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23031         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23032         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23033         (Info-restore-desktop-buffer): Mark unused parameters.
23034         (Info-directory-find-file, Info-directory-find-node)
23035         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23036         (Info-virtual-index-find-node, Info-apropos-find-file)
23037         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23038         Mark unused parameters; fix typos in docstrings.
23039         (Info-virtual-index): Remove unused local variable `nodename'.
23041 2011-04-05  Deniz Dogan  <deniz@dogan.se>
23043         * net/rcirc.el: Update my e-mail address.
23044         (rcirc-mode-map): Remove M-o binding.
23046 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
23048         * startup.el (command-line): Save the cursor's theme-face
23049         directly, instead of using face-override-spec.
23051         * custom.el (load-theme): Minor optimization in assigning faces.
23053 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
23055         * help-fns.el (describe-variable): Complete all variables having
23056         documentation, including keywords.
23057         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23059 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
23061         Convert to lexical-binding.
23063         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23064         (bs--get-marked-string, bs--get-modified-string)
23065         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23066         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23067         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23069         * ehelp.el (electric-help-execute-extended)
23070         (electric-help-ctrl-x-prefix):
23071         * hexl.el (hexl-revert-buffer-function):
23072         * linum.el (linum-after-change, linum-after-scroll):
23073         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23075         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23077 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
23079         * epa-dired.el:
23080         * epa-mail.el:
23081         * epa-hook.el:
23082         * epa-file.el:
23083         * epa.el:
23084         * epg.el: Use lexical binding.
23086 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
23088         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23090         * textmodes/flyspell.el (flyspell-word): Recognize default
23091         dictionary case for flyspell-mark-duplications-exceptions.
23092         Use regexp matching for languages.
23093         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23094         default dictionary (Bug#7926).
23096 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
23098         * emacs-lisp/package.el (package--with-work-buffer):
23099         Recognize https URLs.
23101         * net/network-stream.el: Move from gnus/proto-stream.el.
23102         Change prefix to network-stream throughout.
23103         (open-protocol-stream): Merge into open-network-stream, leaving
23104         open-protocol-stream as an alias.  Handle nil BUFFER args.
23106         * subr.el (open-network-stream): Move to net/network-stream.el.
23108 2011-04-02  Glenn Morris  <rgm@gnu.org>
23110         * find-dired.el (find-exec-terminator): New option.
23111         (find-ls-option): Test for -ls support.
23112         (find-ls-subdir-switches): Test for -b in find-ls-option.
23113         (find-dired, find-grep-dired): Doc fixes.
23114         (find-dired): Use find-exec-terminator.
23116         * find-dired.el (find-ls-option, find-ls-subdir-switches)
23117         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23118         (find-name-arg): Remove purecopy.
23120         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23121         (grep-compute-defaults): Check for `-exec COMMAND +' support.
23122         Set grep-find-use-xargs, grep-find-command, and grep-find-template
23123         accordingly.  Don't add the null-device if not needed.
23125         * files.el (save-some-buffers): Doc fix.
23127 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
23129         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23131 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
23133         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23134         Use `dolist' rather than `mapcar'.
23136 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23138         Add lexical binding.
23140         * subr.el (apply-partially): Use new closures rather than CL.
23141         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23142         (dolist, dotimes): Use slightly different expansion for lexical code.
23143         (functionp): Move to C.
23144         (letrec): New macro.
23145         (with-wrapper-hook): Use it and apply-partially instead of CL.
23146         (eval-after-load): Preserve lexical-binding.
23147         (save-window-excursion, with-output-to-temp-buffer): Turn them
23148         into macros.
23150         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23152         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23153         than the arglist.
23154         (help-add-fundoc-usage): Don't add `Not documented'.
23155         (help-function-arglist): Handle closures, subroutines, and new
23156         byte-code-functions.
23157         (help-make-usage): Remove leading underscores.
23158         (describe-function-1): Handle closures.
23159         (describe-variable): Use special-variable-p for completion.
23161         * files.el (lexical-binding): Declare safe.
23163         * emacs-lisp/pcase.el: Don't use destructuring-bind.
23164         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
23165         (pcase): Add `let' pattern.
23166         Change memoization so it actually works.
23167         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23168         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23169         <let>: New case.
23171         * emacs-lisp/macroexp.el: Use lexical binding.
23172         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
23173         Don't convert ' to #' without checking that it's indeed quoting
23174         a lambda.
23176         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23177         Use eval-sexp-add-defvars.
23178         (eval-sexp-add-defvars): New fun.
23180         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23182         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23183         Don't autoload.
23184         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23185         than the internal `byte-compile-lambda'.
23186         (defmethod): Don't hide code under quotes.
23187         (eieio-defmethod): New `code' argument.
23189         * emacs-lisp/eieio-comp.el: Remove.
23191         * emacs-lisp/edebug.el (edebug-eval-defun)
23192         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23193         (edebug-toggle): Avoid `eval'.
23195         * emacs-lisp/disass.el (disassemble-internal): Handle new
23196         `closure' objects.
23197         (disassemble-1): Handle new byte codes.
23199         * emacs-lisp/cl.el (pushnew): Silence warning.
23201         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23202         (cl-byte-compile-throw): Remove.
23203         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23205         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23206         closures.
23208         * emacs-lisp/cconv.el: New file.
23210         * emacs-lisp/bytecomp.el: Use lexical binding instead of
23211         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
23212         (byte-compile-initial-macro-environment):
23213         Handle declare-function here.
23214         (byte-compile--lexical-environment): New var.
23215         (byte-stack-ref, byte-stack-set, byte-discardN)
23216         (byte-discardN-preserve-tos): New lap codes.
23217         (byte-interactive-p): Don't use any more.
23218         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23219         New macros.
23220         (byte-compile-lapcode): Use them and handle new lap codes.
23221         (byte-compile-obsolete): Remove.
23222         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23223         (byte-compile-arglist-warn): Check late def of inlinable funs.
23224         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23225         since they should have been expanded by now.
23226         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23227         (byte-compile-from-buffer): Remove unused second arg.
23228         (byte-compile-preprocess): New function.
23229         (byte-compile-toplevel-file-form): New function to distinguish
23230         file-form calls from outside from file-form calls from hunk-handlers.
23231         (byte-compile-file-form): Simplify.
23232         (byte-compile-file-form-defsubst): Remove.
23233         (byte-compile-file-form-defmumble): Simplify now that
23234         byte-compile-lambda always returns a byte-code-function.
23235         (byte-compile): Preprocess.
23236         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23237         Remove, not used any more.
23238         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23239         (byte-compile-make-args-desc): New funs.
23240         (byte-compile-lambda): Handle lexical functions.  Always return
23241         a byte-code-function.
23242         (byte-compile-reserved-constants): New var, to make up room for
23243         closed-over variables.
23244         (byte-compile-constants-vector): Obey it.
23245         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23246         (byte-compile-macroexpand-declare-function): New function.
23247         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23248         byte-code-functions.
23249         (byte-compile-form): Check obsolescence here.
23250         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23251         (byte-compile-variable-ref): Remove.
23252         (byte-compile-dynamic-variable-op): New fun.
23253         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23254         (byte-compile-variable-set): New funs.
23255         (byte-compile-discard): Add 2 args.
23256         (byte-compile-stack-ref, byte-compile-stack-set)
23257         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23258         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23259         macroexpand-all instead.
23260         (byte-compile-quote-form): Remove.
23261         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23262         (byte-compile-bind, byte-compile-unbind): New funs.
23263         (byte-compile-let): Handle let* and lexical binding.
23264         (byte-compile-let*): Remove.
23265         (byte-compile-catch, byte-compile-unwind-protect)
23266         (byte-compile-track-mouse, byte-compile-condition-case):
23267         Handle a new :fun-body form, used for lexical scoping.
23268         (byte-compile-save-window-excursion)
23269         (byte-compile-with-output-to-temp-buffer): Remove.
23270         (byte-compile-defun): Simplify.
23271         (byte-compile-stack-adjustment): New fun.
23272         (byte-compile-out): Use it.
23273         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23275         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23276         handler any more.
23278         * emacs-lisp/byte-opt.el: Use lexical binding.
23279         (byte-inline-lapcode): Remove (to bytecomp).
23280         (byte-compile-inline-expand): Pay attention to inlining to/from
23281         lexically bound code.
23282         (byte-compile-unfold-lambda): Don't handle byte-code-functions
23283         any more.
23284         (byte-optimize-form-code-walker): Don't handle save-window-excursion
23285         any more and don't call compiler-macros.
23286         (byte-compile-splice-in-already-compiled-code): Remove.
23287         (byte-code): Don't inline any more.
23288         (disassemble-offset): Receive `bytes' as argument rather than via
23289         dynamic scoping.
23290         (byte-compile-tag-number): Declare before first use.
23291         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23292         `return' even if make-spliceable.
23293         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23294         obsolete interactive-p.
23295         (byte-optimize-lapcode): Optimize new lap-codes.
23296         Don't trip up on new form of `byte-constant' lap code.
23298         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23300         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23302         * custom.el (custom-initialize-default, custom-declare-variable):
23303         Use `defvar'.
23305         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23306         New variables.
23307         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23308         (COMPILE_FIRST): Add macroexp and cconv.
23309         * makefile.w32-in: Mirror changes in Makefile.in.
23311         * vc/cvs-status.el:
23312         * vc/diff-mode.el:
23313         * vc/log-edit.el:
23314         * vc/log-view.el:
23315         * vc/smerge-mode.el:
23316         * textmodes/bibtex-style.el:
23317         * textmodes/css-mode.el:
23318         * startup.el:
23319         * uniquify.el:
23320         * minibuffer.el:
23321         * newcomment.el:
23322         * reveal.el:
23323         * server.el:
23324         * mpc.el:
23325         * emacs-lisp/smie.el:
23326         * doc-view.el:
23327         * dired.el:
23328         * abbrev.el: Use lexical binding.
23330 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
23332         * info.el (info-display-manual): New function.
23334 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23336         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23338 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
23340         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23341         an entry for that server in rcirc-authinfo.  (Bug#8385)
23343 2011-03-31  Glenn Morris  <rgm@gnu.org>
23345         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23347         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23349 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
23351         * progmodes/python.el (python-default-interpreter)
23352         (python-python-command-args, python-jython-command-args)
23353         (python-which-shell, python-which-args, python-which-bufname)
23354         (python-file-queue, python-comint-output-filter-function)
23355         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23356         variables and functions.
23358 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23360         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23361         (completion-in-region-mode): New minor mode.
23362         (completion-in-region): Use it.
23363         (completion-in-region--data, completion-in-region-mode-map): New vars.
23364         (completion-in-region--postch): New function.
23365         (completion--capf-misbehave-funs, completion--capf-safe-funs):
23366         New vars.
23367         (completion--capf-wrapper): New function.
23368         (completion-at-point): Use it to track well-behavedness of
23369         hook functions.
23370         (completion-help-at-point): New command.
23372 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
23374         * vc/add-log.el (add-change-log-entry): Don't use whitespace
23375         syntax class to search for whitespace on a single line
23376         (Message-ID: <4D938140.4030905@redhat.com>).
23378 2011-03-30  Leo Liu  <sdl.web@gmail.com>
23380         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23381         New commands.
23382         (edit-abbrevs-map): Bind them here.
23383         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
23385 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
23387         * allout.el (allout-hide-by-annotation, allout-flag-region):
23388         Reduce possibility of overlay leakage by making them volatile.
23390         * allout-widgets.el (allout-widgets-tally): Define as nil so the
23391         hash is not shared between buffers.  Mode initialization is
23392         responsible for giving it a useful starting value.
23393         (allout-item-span): Reduce possibility of overlay leakage by
23394         making them volatile.
23395         (allout-widgets-count-buttons-in-region): Add diagnostic function
23396         for tracking down button overlay leaks.
23398 2011-03-29  Leo Liu  <sdl.web@gmail.com>
23400         * ido.el (ido-read-internal): Use the default history var
23401         minibuffer-history if no HISTORY is specified.
23403 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
23405         * net/imap.el (imap-shell-open, imap-process-connection-type):
23406         Use imap-process-connection-type for 'shell' streams as well as
23407         Kerberos, SSL, other subprocesses.
23409 2011-03-28  Leo Liu  <sdl.web@gmail.com>
23411         * abbrev.el (abbrev-table-empty-p): New function.
23412         (prepare-abbrev-list-buffer): Place empty abbrev tables after
23413         nonempty ones.  (Bug#5937)
23415 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
23417         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23419 2011-03-27  Leo Liu  <sdl.web@gmail.com>
23421         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23422         for foreground and background colors.
23423         (ansi-color-make-color-map): Adapt.
23425 2011-03-25  Leo Liu  <sdl.web@gmail.com>
23427         * midnight.el (midnight-time-float): Remove.  Note it calculates
23428         the microsecond component incorrectly and seconds-to-time does the
23429         same job.
23430         Remove redundant (require 'timer).
23432         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23433         (ido-completions): Remove unused arguments.  (Bug#8329)
23435 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23437         * minibuffer.el (completion--flush-all-sorted-completions):
23438         Remove itself from hook.
23439         (completion-at-point): Let the functions perform the completion
23440         immediately and return nil or t.
23441         * comint.el (comint-dynamic-complete-functions): Now identical to
23442         completion-at-point-functions.
23443         (comint-dynamic-list-input-ring): Remove unused var `index'.
23444         (comint--match-partial-filename, comint--unquote&expand-filename):
23445         New funs, split from comint-match-partial-filename.
23446         (comint-dynamic-complete): Use completion-at-point.
23447         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23449 2011-03-24  Drew Adams  <drew.adams@oracle.com>
23451         * thingatpt.el: Support `defun'.
23453 2011-03-23  Leo Liu  <sdl.web@gmail.com>
23455         * abbrevlist.el: Move to obsolete/abbrevlist.el.
23457         * help-mode.el (help-mode-finish): Tweak regexp.
23459 2011-03-23  Glenn Morris  <rgm@gnu.org>
23461         * eshell/esh-opt.el (eshell-eval-using-options):
23462         Do not bind unused local variable `eshell-option-stub'.
23464         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23466 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23468         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23469         keymap variable in `with-no-warnings' to avoid a warning when the
23470         keymap has been already `defconst'ed.
23472 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23474         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23475         encode all chars in abbrevs; otherwise use emacs-mule or
23476         utf-8-emacs.  (Bug#8308)
23478 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23480         * simple.el (backward-delete-char-untabify):
23481         Avoid warning about using `delete-backward-char'.
23483         * image.el (image-type-file-name-regexps): Make it variable.
23484         `imagemagick-register-types' modifies it, and the user may want
23485         to add new extensions for known image types.
23486         (imagemagick-register-types): Throw error if not using ImageMagick.
23488 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23490         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23491         located before rcirc-prompt-end-marker.
23492         (rcirc-complete): Error if point is not after rcirc prompt.
23493         Handle the case when table is nil.
23494         (rcirc-user-authenticated): Define to fix compiler warning.
23496 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
23498         * custom.el (custom--inhibit-theme-enable): Make it affect only
23499         custom-theme-set-variables and custom-theme-set-faces.
23500         (provide-theme): Ignore custom--inhibit-theme-enable.
23501         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23502         (custom-enabling-themes): Delete variable.
23503         (enable-theme): Accept only loaded themes as arguments.
23504         Ignore the special custom-enabled-themes variable.
23505         (custom-enabled-themes): Forbid themes from setting this.
23506         Eliminate use of custom-enabling-themes.
23507         (custom-push-theme): Quote "changed" custom var entry.
23509 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23511         * ido.el (ido-read-internal): Add ido-selected to history instead
23512         of user input.
23514 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
23516         * subr.el (deferred-action-list, deferred-action-function):
23517         Mark obsolete.
23519 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23521         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23522         change on 2011-02-13 (bug#8309).
23524         * minibuffer.el (read-file-name-function): Change default value.
23525         (read-file-name--defaults): Rename from read-file-name-defaults.
23526         (read-file-name-default): Rename from read-file-name.
23527         (read-file-name): Call read-file-name-function.
23529 2011-03-21  Glenn Morris  <rgm@gnu.org>
23531         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23532         Doc fixes.
23534 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
23536         * cus-theme.el: Add missing provide statement.
23537         (customize-create-theme): Extract theme value correctly.
23538         (custom-theme-visit-theme): Autoload.
23539         (customize-create-theme): Prompt before inserting default faces.
23541 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
23543         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23544         units and musical notes.
23546 2011-03-20  Leo Liu  <sdl.web@gmail.com>
23548         * ido.el (ido-read-internal): Use completing-read-default.
23549         (ido-completing-read): Fix compatibility with completing-read.
23551 2011-03-20  Christian Ohler  <ohler@gnu.org>
23553         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23554         (ert-delete-all-tests): Use `called-interactively-p' rather than
23555         `interactive-p'.
23556         (ert--make-xrefs-region): Respect END.
23558 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
23560         * dired-aux.el (dired-create-directory): Signal an error if the
23561         directory already exists (Bug#8246).
23563         * facemenu.el (list-colors-display): Call list-faces-display
23564         inside with-help-window.
23565         (list-colors-print): Use display property to align the final
23566         column, instead of checking window-width.
23568 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
23570         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23571         windows-nt systems.
23572         (emerge-protect-metachars): Quote correctly for ms-dos and
23573         windows-nt systems.
23575 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
23577         * info.el (info-initialize): Replace all uses of `:' with
23578         path-separator for compatibility with non-Unix systems.
23579         Cache quoting of path-separator.  (Bug#8258)
23581 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
23583         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23584         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23585         (mouse-avoidance-mode): Fix typos in docstrings.
23587 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
23589         * startup.el (package-subdirectory-regexp): Move from package.el.
23590         Omit \\` and \\', and let callers add them.
23592         * emacs-lisp/package.el (package-strip-version)
23593         (package-load-all-descriptors): Add \\` and \\' to
23594         package-subdirectory-regexp before using it.
23595         (package-untar-buffer): New arg DIR; ensure that file untars only
23596         into this expected directory.  Remove superfluous delete-region.
23597         (package-unpack): Caller changed.
23598         (package-tar-file-info): Use package-subdirectory-regexp.
23600 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
23602         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23603         diff-mode-shared-map (bug#8284).
23604         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23606 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23608         * calendar/time-date.el (format-seconds): Use assoc instead of
23609         assoc-string, since assoc-string doesn't exist in XEmacs.
23611 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
23613         * custom.el (custom-known-themes): Reflow docstring.
23614         (custom-theme-load-path): Fix typo in docstring.
23615         (load-theme): Fix typo in error message.
23616         (custom-available-themes, custom-variable-theme-value):
23617         Use `let', not `let*'.
23619 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
23621         * calc/README: Mention inclusion of musical notes.
23623         * calc/calc-units.el (calc-lu-quant): Rename from
23624         `calc-logunits-quantity'.
23625         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23626         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23627         (calc-db): Rename from `calc-dblevel'.
23628         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23629         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23630         (calc-np): Rename from `calc-nplevel'.
23631         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23632         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23633         (calc-lu-plus): Rename from `calc-logunits-add'.
23634         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23635         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23636         (calc-lu-minus): Rename from `calc-logunits-sub'.
23637         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23638         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23639         (calc-lu-times): Rename from `calc-logunits-mul'.
23640         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23641         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23642         (calc-lu-divide): Rename from `calc-logunits-div'.
23643         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23644         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23646         * calc/calc-ext.el (calc-init-extensions): Update the names of the
23647         functions being autoloaded.
23649         * calc/calc.el (calc-lu-power-reference): Rename from
23650         `calc-logunits-power-reference'.
23651         (calc-lu-field-reference): Rename from
23652         `calc-logunits-field-reference'.
23654         * calc/calc-help.el (calc-l-prefix-help):
23655         Mention musical note functions.
23657 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23659         * minibuffer.el (completion-all-sorted-completions):
23660         Use :completion-cycle-penalty text property if present.
23662 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
23664         * allout.el (allout-yank-processing): Adjust for new rebulleting
23665         regime so bullet being yanked is used without prompting the user
23666         for a choice.
23668 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
23670         * startup.el (command-line): Warn the user that _emacs is deprecated.
23672 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
23674         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23675         (delphi-verbose, delphi-comment-face, delphi-string-face)
23676         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23677         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23678         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23679         (delphi-new-comment-line, delphi-font-lock-defaults)
23680         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23681         Fix typos in docstrings.
23683 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
23685         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23686         Invert the roles of character and string values for INSTEAD, so a
23687         string is used for the more common case of a defaulting prompt.
23689 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23691         * progmodes/ruby-mode.el (ruby-backward-sexp):
23692         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23693         * play/gamegrid.el (gamegrid-make-face):
23694         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23695         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23696         * notifications.el (notifications-notify):
23697         * net/xesam.el (xesam-search-engines):
23698         * net/quickurl.el (quickurl-list-insert):
23699         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23701 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
23703         * startup.el (command-line): Update package subdirectory regexp.
23705 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23707         * allout.el (allout-abbreviate-flattened-numbering)
23708         (allout-mode-deactivate-hook): Fix up obsolescence "date".
23710         * subr.el (read-char-choice): Only show the cursor after the prompt,
23711         not after the answer.
23713 2011-03-15  Kevin Ryde  <user42@zip.com.au>
23715         * help-fns.el (variable-at-point): Skip leading quotes, if any
23716         (bug#8253).
23718 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23720         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23721         warning message.
23723 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
23725         * shell.el (shell): When called interactively, offer to change the
23726         shell file name on remote hosts.
23728 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
23730         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23731         integration for LDAP parameters.  The host, base, user or binddn,
23732         and secret tokens can be specified in a netrc file, for instance.
23733         This is optional because an `auth-source' parameter must be
23734         specified in the search attributes.
23736 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
23738         * help.el (describe-mode): Link to the mode's definition (bug#8185).
23740 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
23742         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23743         into declaration.  Remove redundant and harmful binding.
23745 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
23747         * files.el (file-ownership-preserved-p): Pass `integer' as an
23748         explicit 2nd argument to `file-attributes'.  If the file's owner
23749         is the Administrators group on Windows, and the current user is
23750         Administrator, consider that a match.
23752         * server.el (server-ensure-safe-dir): Consider server directory
23753         safe on MS-Windows if its owner is the Administrators group while
23754         the current Emacs user is Administrator.  Use `=' to compare
23755         numerical UIDs, since they could be integers or floats.
23757 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
23759         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23761 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
23763         Sync with Tramp 2.2.1.
23765         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23767         * net/trampver.el: Update release number.
23769 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
23771         * progmodes/compile.el (compilation--previous-directory): Fix up
23772         various nil/dead-marker mismatches (bug#8014).
23773         (compilation-directory-properties, compilation-error-properties):
23774         Don't call it at a position past the one we're about to change.
23776         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23777         Disable obsolescence warnings in the file that declares it.
23779 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
23781         * allout-widgets.el (allout-widgets-tally):
23782         Initialize allout-widgets-tally as a hash table rather than nil to
23783         prevent mode-line redisplay warnings.  Also, clarify the module
23784         description and fix a comment typo.
23786 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
23788         * help-fns.el (describe-variable): Don't complete keywords.
23789         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23791 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
23793         * emacs-lisp/package.el (package-version-join): Impose a standard
23794         string representation for pre/alpha/beta version lists.
23795         (package-unpack-single): Standardize the directory name by passing
23796         it through package-version-join.
23797         (package-strip-rcs-id): Accept any version string that does not
23798         signal an error in version-to-list.
23800 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
23802         * simple.el (delete-trailing-whitespace): Return nil for the
23803         benefit of `write-file-functions'.
23805 2011-03-10  Glenn Morris  <rgm@gnu.org>
23807         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23809         * vc/vc-git.el (vc-git-program): New option.
23810         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23811         (vc-git--call): Use it.
23813         * eshell/esh-util.el (eshell-condition-case): Doc fix.
23815         * cus-edit.el (Custom-newline): If no button at point, look
23816         for a subgroup button at start-of-line.  (Bug#2298)
23818         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23820 2011-03-10  Julien Danjou  <julien@danjou.info>
23822         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23823         `cursor-type' is nil.
23825 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
23827         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23829 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
23831         * allout.el: Change so yank of distinctive-bullet items
23832         preserves the existing header prefix, rebulleting it if necessary,
23833         rather than replacing it.  This is necessary for proper operation
23834         of cooperative addons like allout-widgets.
23835         (allout-make-topic-prefix, allout-rebullet-heading):
23836         Change SOLICIT arg to INSTEAD, and interpret additionally a string
23837         value as alternate bullet to be used, instead of prompting the user
23838         for a bullet character.
23840 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
23842         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23843         Do not use `tramp-file-name-port', because this returns also
23844         `tramp-default-port'.
23846 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
23848         * net/rcirc.el (rcirc-handler-001): Remove useless
23849         with-rcirc-process-buffer.
23850         (rcirc-check-auth-status): Swap arguments to string-match.
23852 2011-03-09  Glenn Morris  <rgm@gnu.org>
23854         * shell.el (shell-mode):
23855         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
23857         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23858         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
23860 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
23862         * emacs-lisp/package.el (package-refresh-contents)
23863         (package-menu-execute): Use condition-case-no-debug.
23865 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
23867         * simple.el (shell-command-to-string): Use `process-file'.
23869         * emacs-lisp/package.el (package-tar-file-info): Handle also
23870         remote files.
23872         * emacs-lisp/package-x.el (package-upload-buffer-internal):
23873         Use `equal' for upload base check.
23875 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
23877         * textmodes/texinfo.el (texinfo-environments):
23878         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
23880 2011-03-08  Glenn Morris  <rgm@gnu.org>
23882         * cus-start.el (cursor-in-non-selected-windows):
23883         Fix :set quoting oddness.  (Bug#8192)
23885         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23886         in some setf expressions.  (Bug#2159)
23888 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
23890         * custom.el (custom-available-themes): Return themes in
23891         alphabetical order.
23893 See ChangeLog.15 for earlier changes.
23895 ;; Local Variables:
23896 ;; coding: utf-8
23897 ;; End:
23899   Copyright (C) 2011-2013 Free Software Foundation, Inc.
23901   This file is part of GNU Emacs.
23903   GNU Emacs is free software: you can redistribute it and/or modify
23904   it under the terms of the GNU General Public License as published by
23905   the Free Software Foundation, either version 3 of the License, or
23906   (at your option) any later version.
23908   GNU Emacs is distributed in the hope that it will be useful,
23909   but WITHOUT ANY WARRANTY; without even the implied warranty of
23910   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23911   GNU General Public License for more details.
23913   You should have received a copy of the GNU General Public License
23914   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.